]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
New libstdc++ symbol version for new basic_string symbols
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 ENABLE_ALLOCATOR_NEW_FALSE
704 ENABLE_ALLOCATOR_NEW_TRUE
705 CLOCALE_INTERNAL_H
706 CLOCALE_CC
707 CTIME_CC
708 CTIME_H
709 CNUMERIC_CC
710 CMONEY_CC
711 CMESSAGES_CC
712 CCTYPE_CC
713 CCOLLATE_CC
714 CCODECVT_CC
715 CMESSAGES_H
716 CLOCALE_H
717 USE_NLS
718 glibcxx_localedir
719 glibcxx_POFILES
720 glibcxx_MOFILES
721 check_msgfmt
722 BASIC_FILE_CC
723 BASIC_FILE_H
724 CSTDIO_H
725 SECTION_FLAGS
726 WERROR
727 thread_header
728 glibcxx_PCHFLAGS
729 GLIBCXX_BUILD_PCH_FALSE
730 GLIBCXX_BUILD_PCH_TRUE
731 GLIBCXX_HOSTED_FALSE
732 GLIBCXX_HOSTED_TRUE
733 glibcxx_compiler_shared_flag
734 glibcxx_compiler_pic_flag
735 glibcxx_lt_pic_flag
736 enable_static
737 enable_shared
738 lt_host_flags
739 CXXCPP
740 OTOOL64
741 OTOOL
742 LIPO
743 NMEDIT
744 DSYMUTIL
745 OBJDUMP
746 NM
747 ac_ct_DUMPBIN
748 DUMPBIN
749 LD
750 FGREP
751 SED
752 LIBTOOL
753 EGREP
754 GREP
755 CPP
756 MAINT
757 MAINTAINER_MODE_FALSE
758 MAINTAINER_MODE_TRUE
759 RANLIB
760 AR
761 AS
762 LN_S
763 toplevel_srcdir
764 toplevel_builddir
765 glibcxx_srcdir
766 glibcxx_builddir
767 ac_ct_CXX
768 CXXFLAGS
769 CXX
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
776 CC
777 am__untar
778 am__tar
779 AMTAR
780 am__leading_dot
781 SET_MAKE
782 AWK
783 mkdir_p
784 MKDIR_P
785 INSTALL_STRIP_PROGRAM
786 STRIP
787 install_sh
788 MAKEINFO
789 AUTOHEADER
790 AUTOMAKE
791 AUTOCONF
792 ACLOCAL
793 VERSION
794 PACKAGE
795 CYGPATH_W
796 am__isrc
797 INSTALL_DATA
798 INSTALL_SCRIPT
799 INSTALL_PROGRAM
800 target_os
801 target_vendor
802 target_cpu
803 target
804 host_os
805 host_vendor
806 host_cpu
807 host
808 build_os
809 build_vendor
810 build_cpu
811 build
812 multi_basedir
813 target_alias
814 host_alias
815 build_alias
816 LIBS
817 ECHO_T
818 ECHO_N
819 ECHO_C
820 DEFS
821 mandir
822 localedir
823 libdir
824 psdir
825 pdfdir
826 dvidir
827 htmldir
828 infodir
829 docdir
830 oldincludedir
831 includedir
832 localstatedir
833 sharedstatedir
834 sysconfdir
835 datadir
836 datarootdir
837 libexecdir
838 sbindir
839 bindir
840 program_transform_name
841 prefix
842 exec_prefix
843 PACKAGE_URL
844 PACKAGE_BUGREPORT
845 PACKAGE_STRING
846 PACKAGE_VERSION
847 PACKAGE_TARNAME
848 PACKAGE_NAME
849 PATH_SEPARATOR
850 SHELL'
851 ac_subst_files=''
852 ac_user_opts='
853 enable_option_checking
854 enable_multilib
855 with_target_subdir
856 with_cross_host
857 with_newlib
858 enable_maintainer_mode
859 enable_shared
860 enable_static
861 with_pic
862 enable_fast_install
863 with_gnu_ld
864 enable_libtool_lock
865 enable_hosted_libstdcxx
866 enable_libstdcxx_verbose
867 enable_libstdcxx_pch
868 enable_cstdio
869 enable_clocale
870 enable_nls
871 enable_libstdcxx_allocator
872 enable_cheaders
873 enable_long_long
874 enable_wchar_t
875 enable_c99
876 enable_concept_checks
877 enable_libstdcxx_debug_flags
878 enable_libstdcxx_debug
879 enable_cxx_flags
880 enable_fully_dynamic_string
881 enable_extern_template
882 with_python_dir
883 enable_werror
884 enable_vtable_verify
885 enable_libstdcxx_time
886 enable_tls
887 enable_rpath
888 with_libiconv_prefix
889 with_system_libunwind
890 enable_linux_futex
891 enable_symvers
892 enable_libstdcxx_visibility
893 enable_libstdcxx_dual_abi
894 with_default_libstdcxx_abi
895 enable_libstdcxx_threads
896 enable_libstdcxx_filesystem_ts
897 with_gxx_include_dir
898 enable_version_specific_runtime_libs
899 '
900 ac_precious_vars='build_alias
901 host_alias
902 target_alias
903 CC
904 CFLAGS
905 LDFLAGS
906 LIBS
907 CPPFLAGS
908 CXX
909 CXXFLAGS
910 CCC
911 CPP
912 CXXCPP
913 CXXFILT'
914
915
916 # Initialize some variables set by options.
917 ac_init_help=
918 ac_init_version=false
919 ac_unrecognized_opts=
920 ac_unrecognized_sep=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
923 cache_file=/dev/null
924 exec_prefix=NONE
925 no_create=
926 no_recursion=
927 prefix=NONE
928 program_prefix=NONE
929 program_suffix=NONE
930 program_transform_name=s,x,x,
931 silent=
932 site=
933 srcdir=
934 verbose=
935 x_includes=NONE
936 x_libraries=NONE
937
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir='${exec_prefix}/bin'
945 sbindir='${exec_prefix}/sbin'
946 libexecdir='${exec_prefix}/libexec'
947 datarootdir='${prefix}/share'
948 datadir='${datarootdir}'
949 sysconfdir='${prefix}/etc'
950 sharedstatedir='${prefix}/com'
951 localstatedir='${prefix}/var'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
956 htmldir='${docdir}'
957 dvidir='${docdir}'
958 pdfdir='${docdir}'
959 psdir='${docdir}'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
963
964 ac_prev=
965 ac_dashdash=
966 for ac_option
967 do
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
971 ac_prev=
972 continue
973 fi
974
975 case $ac_option in
976 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 *) ac_optarg=yes ;;
978 esac
979
980 # Accept the important Cygnus configure options, so we can diagnose typos.
981
982 case $ac_dashdash$ac_option in
983 --)
984 ac_dashdash=yes ;;
985
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
987 ac_prev=bindir ;;
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
989 bindir=$ac_optarg ;;
990
991 -build | --build | --buil | --bui | --bu)
992 ac_prev=build_alias ;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias=$ac_optarg ;;
995
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev=cache_file ;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file=$ac_optarg ;;
1002
1003 --config-cache | -C)
1004 cache_file=config.cache ;;
1005
1006 -datadir | --datadir | --datadi | --datad)
1007 ac_prev=datadir ;;
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir=$ac_optarg ;;
1010
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev=datarootdir ;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir=$ac_optarg ;;
1017
1018 -disable-* | --disable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1026 *"
1027 "enable_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval enable_$ac_useropt=no ;;
1033
1034 -docdir | --docdir | --docdi | --doc | --do)
1035 ac_prev=docdir ;;
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1038
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040 ac_prev=dvidir ;;
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1043
1044 -enable-* | --enable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error "invalid feature name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1052 *"
1053 "enable_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval enable_$ac_useropt=\$ac_optarg ;;
1059
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1068
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1071 with_gas=yes ;;
1072
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1079
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1084
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1086 ac_prev=htmldir ;;
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1088 | --ht=*)
1089 htmldir=$ac_optarg ;;
1090
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1097
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1099 ac_prev=infodir ;;
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1102
1103 -libdir | --libdir | --libdi | --libd)
1104 ac_prev=libdir ;;
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1107
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1114
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1119
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1126
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1128 ac_prev=mandir ;;
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1131
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1134 with_fp=no ;;
1135
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1138 no_create=yes ;;
1139
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1142 no_recursion=yes ;;
1143
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1152
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1154 ac_prev=prefix ;;
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1157
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1164
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1171
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1188
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1190 ac_prev=pdfdir ;;
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1193
1194 -psdir | --psdir | --psdi | --psd | --ps)
1195 ac_prev=psdir ;;
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1197 psdir=$ac_optarg ;;
1198
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1201 silent=yes ;;
1202
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1204 ac_prev=sbindir ;;
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1206 | --sbi=* | --sb=*)
1207 sbindir=$ac_optarg ;;
1208
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1212 | --sha | --sh)
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1217 | --sha=* | --sh=*)
1218 sharedstatedir=$ac_optarg ;;
1219
1220 -site | --site | --sit)
1221 ac_prev=site ;;
1222 -site=* | --site=* | --sit=*)
1223 site=$ac_optarg ;;
1224
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1226 ac_prev=srcdir ;;
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1229
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1236
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1241
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1243 verbose=yes ;;
1244
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1247
1248 -with-* | --with-*)
1249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1256 *"
1257 "with_$ac_useropt"
1258 "*) ;;
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1261 esac
1262 eval with_$ac_useropt=\$ac_optarg ;;
1263
1264 -without-* | --without-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1272 *"
1273 "with_$ac_useropt"
1274 "*) ;;
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1277 esac
1278 eval with_$ac_useropt=no ;;
1279
1280 --x)
1281 # Obsolete; use --with-x.
1282 with_x=yes ;;
1283
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1290
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1297
1298 -*) as_fn_error "unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information."
1300 ;;
1301
1302 *=*)
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' | [0-9]* | *[!_$as_cr_alnum]* )
1307 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1308 esac
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1311
1312 *)
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1318 ;;
1319
1320 esac
1321 done
1322
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error "missing argument to $ac_option"
1326 fi
1327
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1330 no) ;;
1331 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 esac
1334 fi
1335
1336 # Check all directory arguments for consistency.
1337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1341 do
1342 eval ac_val=\$$ac_var
1343 # Remove trailing slashes.
1344 case $ac_val in
1345 */ )
1346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\$ac_val;;
1348 esac
1349 # Be sure to have absolute directory names.
1350 case $ac_val in
1351 [\\/$]* | ?:[\\/]* ) continue;;
1352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1353 esac
1354 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1355 done
1356
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1360 build=$build_alias
1361 host=$host_alias
1362 target=$target_alias
1363
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x; then
1366 if test "x$build_alias" = x; then
1367 cross_compiling=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1371 cross_compiling=yes
1372 fi
1373 fi
1374
1375 ac_tool_prefix=
1376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1377
1378 test "$silent" = yes && exec 6>/dev/null
1379
1380
1381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di=`ls -di .` &&
1383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error "working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error "pwd does not report name of working directory"
1387
1388
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 s//\1/
1401 q
1402 }
1403 /^X\(\/\/\)[^/].*/{
1404 s//\1/
1405 q
1406 }
1407 /^X\(\/\/\)$/{
1408 s//\1/
1409 q
1410 }
1411 /^X\(\/\).*/{
1412 s//\1/
1413 q
1414 }
1415 s/.*/./; q'`
1416 srcdir=$ac_confdir
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 srcdir=..
1419 fi
1420 else
1421 ac_srcdir_defaulted=no
1422 fi
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1426 fi
1427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 ac_abs_confdir=`(
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1430 pwd)`
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1433 srcdir=.
1434 fi
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1438 case $srcdir in
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 esac
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446 done
1447
1448 #
1449 # Report the --help message.
1450 #
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1454 cat <<_ACEOF
1455 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1456
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1458
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1461
1462 Defaults for the options are specified in brackets.
1463
1464 Configuration:
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1474
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479 [PREFIX]
1480
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1485
1486 For better control, use the options below.
1487
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1508 _ACEOF
1509
1510 cat <<\_ACEOF
1511
1512 Program names:
1513 --program-prefix=PREFIX prepend PREFIX to installed program names
1514 --program-suffix=SUFFIX append SUFFIX to installed program names
1515 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1516
1517 System types:
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1520 --target=TARGET configure for building compilers for TARGET [HOST]
1521 _ACEOF
1522 fi
1523
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short | recursive ) echo "Configuration of package-unused version-unused:";;
1527 esac
1528 cat <<\_ACEOF
1529
1530 Optional Features:
1531 --disable-option-checking ignore unrecognized --enable/--with options
1532 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1533 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1534 --enable-multilib build many library versions (default)
1535 --enable-maintainer-mode enable make rules and dependencies not useful
1536 (and sometimes confusing) to the casual installer
1537 --enable-shared[=PKGS] build shared libraries [default=yes]
1538 --enable-static[=PKGS] build static libraries [default=yes]
1539 --enable-fast-install[=PKGS]
1540 optimize for fast installation [default=yes]
1541 --disable-libtool-lock avoid locking (might break parallel builds)
1542 --disable-hosted-libstdcxx
1543 only build freestanding C++ runtime support
1544 --disable-libstdcxx-verbose
1545 disable termination messages to standard error
1546 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1547 [default=$is_hosted]
1548 --enable-cstdio[=PACKAGE]
1549 use target-specific I/O package [default=stdio]
1550 --enable-clocale[=MODEL]
1551 use MODEL for target locale package [default=auto]
1552 --enable-nls use Native Language Support (default)
1553 --enable-libstdcxx-allocator[=KIND]
1554 use KIND for target std::allocator base
1555 [default=auto]
1556 --enable-cheaders[=KIND]
1557 construct "C" headers for g++ [default=$c_model]
1558 --enable-long-long enable template specializations for 'long long'
1559 [default=yes]
1560 --enable-wchar_t enable template specializations for 'wchar_t'
1561 [default=yes]
1562 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1563 --enable-concept-checks use Boost-derived template checks [default=no]
1564 --enable-libstdcxx-debug-flags=FLAGS
1565 pass compiler FLAGS when building debug library
1566 [default="-gdwarf-4 -g3 -O0"]
1567 --enable-libstdcxx-debug
1568 build extra debug library [default=no]
1569 --enable-cxx-flags=FLAGS
1570 pass compiler FLAGS when building library [default=]
1571 --enable-fully-dynamic-string
1572 do not put empty strings in per-process static
1573 memory [default=no]
1574 --enable-extern-template
1575 enable extern template [default=yes]
1576 --enable-werror turns on -Werror [default=yes]
1577 --enable-vtable-verify enable vtable verify [default=no]
1578 --enable-libstdcxx-time[=KIND]
1579 use KIND for check type [default=auto]
1580 --enable-tls Use thread-local storage [default=yes]
1581 --disable-rpath do not hardcode runtime library paths
1582 --enable-linux-futex use the Linux futex system call [default=default]
1583 --enable-symvers[=STYLE]
1584 enables symbol versioning of the shared library
1585 [default=yes]
1586 --enable-libstdcxx-visibility
1587 enables visibility safe usage [default=yes]
1588 --enable-libstdcxx-dual-abi
1589 support two versions of std::string [default=yes]
1590 --enable-libstdcxx-threads
1591 enable C++11 threads support [default=auto]
1592 --enable-libstdcxx-filesystem-ts
1593 turns on ISO/IEC TS 18822 support [default=auto]
1594 --enable-version-specific-runtime-libs
1595 Specify that runtime libraries should be installed
1596 in a compiler-specific directory
1597
1598 Optional Packages:
1599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1601 --with-target-subdir=SUBDIR
1602 configuring in a subdirectory
1603 --with-cross-host=HOST configuring with a cross compiler
1604 --with-newlib assume newlib as a system C library
1605 --with-pic try to use only PIC/non-PIC objects [default=use
1606 both]
1607 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1608 --with-python-dir the location to install Python modules. This path is
1609 relative starting from the prefix.
1610 --with-gnu-ld assume the C compiler uses GNU ld default=no
1611 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1612 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1613 --with-system-libunwind use installed libunwind
1614 --with-default-libstdcxx-abi
1615 set the std::string ABI to use by default
1616 --with-gxx-include-dir=DIR
1617 installation directory for include files
1618
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 LIBS libraries to pass to the linker, e.g. -l<library>
1625 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1626 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1629 CPP C preprocessor
1630 CXXCPP C++ preprocessor
1631 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1632 `c++filt', `gc++filt' on PATH.
1633
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1636
1637 Report bugs to the package provider.
1638 _ACEOF
1639 ac_status=$?
1640 fi
1641
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 continue
1648 ac_builddir=.
1649
1650 case "$ac_dir" in
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 *)
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 esac ;;
1660 esac
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1665
1666 case $srcdir in
1667 .) # We are building in place.
1668 ac_srcdir=.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1675 *) # Relative name.
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 esac
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1681
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1688 echo &&
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1690 else
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 fi || ac_status=$?
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1694 done
1695 fi
1696
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1699 cat <<\_ACEOF
1700 package-unused configure version-unused
1701 generated by GNU Autoconf 2.64
1702
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1706 _ACEOF
1707 exit
1708 fi
1709
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1713
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1718 {
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1722 case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1729 ac_status=$?
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1734 fi
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1744
1745 ac_retval=1
1746 fi
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 return $ac_retval
1749
1750 } # ac_fn_c_try_compile
1751
1752 # ac_fn_cxx_try_compile LINENO
1753 # ----------------------------
1754 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_cxx_try_compile ()
1756 {
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext
1759 if { { ac_try="$ac_compile"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_compile") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1772 fi
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_cxx_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest.$ac_objext; then :
1778 ac_retval=0
1779 else
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1782
1783 ac_retval=1
1784 fi
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786 return $ac_retval
1787
1788 } # ac_fn_cxx_try_compile
1789
1790 # ac_fn_c_try_cpp LINENO
1791 # ----------------------
1792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_c_try_cpp ()
1794 {
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1797 case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1800 esac
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804 ac_status=$?
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1809 fi
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } >/dev/null && {
1812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1819
1820 ac_retval=1
1821 fi
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 return $ac_retval
1824
1825 } # ac_fn_c_try_cpp
1826
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_c_try_link ()
1831 {
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1847 fi
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1855 }; then :
1856 ac_retval=0
1857 else
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1860
1861 ac_retval=1
1862 fi
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 return $ac_retval
1870
1871 } # ac_fn_c_try_link
1872
1873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1874 # -------------------------------------------------------
1875 # Tests whether HEADER exists and can be compiled using the include files in
1876 # INCLUDES, setting the cache variable VAR accordingly.
1877 ac_fn_c_check_header_compile ()
1878 {
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1887 $4
1888 #include <$2>
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891 eval "$3=yes"
1892 else
1893 eval "$3=no"
1894 fi
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1896 fi
1897 eval ac_res=\$$3
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901
1902 } # ac_fn_c_check_header_compile
1903
1904 # ac_fn_c_try_run LINENO
1905 # ----------------------
1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1907 # that executables *can* be run.
1908 ac_fn_c_try_run ()
1909 {
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { { ac_try="$ac_link"
1912 case "(($ac_try" in
1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1915 esac
1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_link") 2>&5
1919 ac_status=$?
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1922 { { case "(($ac_try" in
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1925 esac
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_try") 2>&5
1929 ac_status=$?
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; }; }; then :
1932 ac_retval=0
1933 else
1934 $as_echo "$as_me: program exited with status $ac_status" >&5
1935 $as_echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.$ac_ext >&5
1937
1938 ac_retval=$ac_status
1939 fi
1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 return $ac_retval
1943
1944 } # ac_fn_c_try_run
1945
1946 # ac_fn_c_check_func LINENO FUNC VAR
1947 # ----------------------------------
1948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1949 ac_fn_c_check_func ()
1950 {
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 if test x$gcc_no_link = xyes; then
1958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1959 fi
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1962 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1964 #define $2 innocuous_$2
1965
1966 /* System header to define __stub macros and hopefully few prototypes,
1967 which can conflict with char $2 (); below.
1968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1969 <limits.h> exists even on freestanding compilers. */
1970
1971 #ifdef __STDC__
1972 # include <limits.h>
1973 #else
1974 # include <assert.h>
1975 #endif
1976
1977 #undef $2
1978
1979 /* Override any GCC internal prototype to avoid an error.
1980 Use char because int might match the return type of a GCC
1981 builtin and then its argument prototype would still apply. */
1982 #ifdef __cplusplus
1983 extern "C"
1984 #endif
1985 char $2 ();
1986 /* The GNU C library defines this for functions which it implements
1987 to always fail with ENOSYS. Some functions are actually named
1988 something starting with __ and the normal name is an alias. */
1989 #if defined __stub_$2 || defined __stub___$2
1990 choke me
1991 #endif
1992
1993 int
1994 main ()
1995 {
1996 return $2 ();
1997 ;
1998 return 0;
1999 }
2000 _ACEOF
2001 if ac_fn_c_try_link "$LINENO"; then :
2002 eval "$3=yes"
2003 else
2004 eval "$3=no"
2005 fi
2006 rm -f core conftest.err conftest.$ac_objext \
2007 conftest$ac_exeext conftest.$ac_ext
2008 fi
2009 eval ac_res=\$$3
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013
2014 } # ac_fn_c_check_func
2015
2016 # ac_fn_cxx_try_cpp LINENO
2017 # ------------------------
2018 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_cpp ()
2020 {
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_cpp conftest.$ac_ext"
2023 case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2030 ac_status=$?
2031 if test -s conftest.err; then
2032 grep -v '^ *+' conftest.err >conftest.er1
2033 cat conftest.er1 >&5
2034 mv -f conftest.er1 conftest.err
2035 fi
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } >/dev/null && {
2038 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2039 test ! -s conftest.err
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2045
2046 ac_retval=1
2047 fi
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2049 return $ac_retval
2050
2051 } # ac_fn_cxx_try_cpp
2052
2053 # ac_fn_cxx_try_link LINENO
2054 # -------------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_cxx_try_link ()
2057 {
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest$ac_exeext
2060 if { { ac_try="$ac_link"
2061 case "(($ac_try" in
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2064 esac
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_link") 2>conftest.err
2068 ac_status=$?
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2073 fi
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_cxx_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest$ac_exeext && {
2079 test "$cross_compiling" = yes ||
2080 $as_test_x conftest$ac_exeext
2081 }; then :
2082 ac_retval=0
2083 else
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2086
2087 ac_retval=1
2088 fi
2089 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091 # interfere with the next link command; also delete a directory that is
2092 # left behind by Apple's compiler. We do this before executing the actions.
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2095 return $ac_retval
2096
2097 } # ac_fn_cxx_try_link
2098
2099 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2100 # -------------------------------------------------------
2101 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2102 # the include files in INCLUDES and setting the cache variable VAR
2103 # accordingly.
2104 ac_fn_c_check_header_mongrel ()
2105 {
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 $as_echo_n "(cached) " >&6
2112 fi
2113 eval ac_res=\$$3
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2116 else
2117 # Is the header compilable?
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2119 $as_echo_n "checking $2 usability... " >&6; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2122 $4
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_compile "$LINENO"; then :
2126 ac_header_compiler=yes
2127 else
2128 ac_header_compiler=no
2129 fi
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2132 $as_echo "$ac_header_compiler" >&6; }
2133
2134 # Is the header present?
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2136 $as_echo_n "checking $2 presence... " >&6; }
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2139 #include <$2>
2140 _ACEOF
2141 if ac_fn_c_try_cpp "$LINENO"; then :
2142 ac_header_preproc=yes
2143 else
2144 ac_header_preproc=no
2145 fi
2146 rm -f conftest.err conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2148 $as_echo "$ac_header_preproc" >&6; }
2149
2150 # So? What about this header?
2151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2152 yes:no: )
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2154 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2157 ;;
2158 no:yes:* )
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2160 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2162 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2164 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2166 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2169 ;;
2170 esac
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2175 else
2176 eval "$3=\$ac_header_compiler"
2177 fi
2178 eval ac_res=\$$3
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180 $as_echo "$ac_res" >&6; }
2181 fi
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2183
2184 } # ac_fn_c_check_header_mongrel
2185
2186 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2187 # ---------------------------------------------------------
2188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2189 # the include files in INCLUDES and setting the cache variable VAR
2190 # accordingly.
2191 ac_fn_cxx_check_header_mongrel ()
2192 {
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2198 $as_echo_n "(cached) " >&6
2199 fi
2200 eval ac_res=\$$3
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 else
2204 # Is the header compilable?
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2206 $as_echo_n "checking $2 usability... " >&6; }
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2209 $4
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_compile "$LINENO"; then :
2213 ac_header_compiler=yes
2214 else
2215 ac_header_compiler=no
2216 fi
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2219 $as_echo "$ac_header_compiler" >&6; }
2220
2221 # Is the header present?
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2223 $as_echo_n "checking $2 presence... " >&6; }
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 #include <$2>
2227 _ACEOF
2228 if ac_fn_cxx_try_cpp "$LINENO"; then :
2229 ac_header_preproc=yes
2230 else
2231 ac_header_preproc=no
2232 fi
2233 rm -f conftest.err conftest.$ac_ext
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2235 $as_echo "$ac_header_preproc" >&6; }
2236
2237 # So? What about this header?
2238 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2239 yes:no: )
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2244 ;;
2245 no:yes:* )
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2256 ;;
2257 esac
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 eval "$3=\$ac_header_compiler"
2264 fi
2265 eval ac_res=\$$3
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2268 fi
2269 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2270
2271 } # ac_fn_cxx_check_header_mongrel
2272
2273 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2274 # --------------------------------------------
2275 # Tries to find the compile-time value of EXPR in a program that includes
2276 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2277 # computed
2278 ac_fn_c_compute_int ()
2279 {
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 if test "$cross_compiling" = yes; then
2282 # Depending upon the size, compute the lo and hi bounds.
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2285 $4
2286 int
2287 main ()
2288 {
2289 static int test_array [1 - 2 * !(($2) >= 0)];
2290 test_array [0] = 0
2291
2292 ;
2293 return 0;
2294 }
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_lo=0 ac_mid=0
2298 while :; do
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2301 $4
2302 int
2303 main ()
2304 {
2305 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2306 test_array [0] = 0
2307
2308 ;
2309 return 0;
2310 }
2311 _ACEOF
2312 if ac_fn_c_try_compile "$LINENO"; then :
2313 ac_hi=$ac_mid; break
2314 else
2315 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2316 if test $ac_lo -le $ac_mid; then
2317 ac_lo= ac_hi=
2318 break
2319 fi
2320 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2321 fi
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 done
2324 else
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 $4
2328 int
2329 main ()
2330 {
2331 static int test_array [1 - 2 * !(($2) < 0)];
2332 test_array [0] = 0
2333
2334 ;
2335 return 0;
2336 }
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_hi=-1 ac_mid=-1
2340 while :; do
2341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2343 $4
2344 int
2345 main ()
2346 {
2347 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2348 test_array [0] = 0
2349
2350 ;
2351 return 0;
2352 }
2353 _ACEOF
2354 if ac_fn_c_try_compile "$LINENO"; then :
2355 ac_lo=$ac_mid; break
2356 else
2357 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2358 if test $ac_mid -le $ac_hi; then
2359 ac_lo= ac_hi=
2360 break
2361 fi
2362 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2363 fi
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 done
2366 else
2367 ac_lo= ac_hi=
2368 fi
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 fi
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 # Binary search between lo and hi bounds.
2373 while test "x$ac_lo" != "x$ac_hi"; do
2374 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2377 $4
2378 int
2379 main ()
2380 {
2381 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2382 test_array [0] = 0
2383
2384 ;
2385 return 0;
2386 }
2387 _ACEOF
2388 if ac_fn_c_try_compile "$LINENO"; then :
2389 ac_hi=$ac_mid
2390 else
2391 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2392 fi
2393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394 done
2395 case $ac_lo in #((
2396 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2397 '') ac_retval=1 ;;
2398 esac
2399 else
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2402 $4
2403 static long int longval () { return $2; }
2404 static unsigned long int ulongval () { return $2; }
2405 #include <stdio.h>
2406 #include <stdlib.h>
2407 int
2408 main ()
2409 {
2410
2411 FILE *f = fopen ("conftest.val", "w");
2412 if (! f)
2413 return 1;
2414 if (($2) < 0)
2415 {
2416 long int i = longval ();
2417 if (i != ($2))
2418 return 1;
2419 fprintf (f, "%ld", i);
2420 }
2421 else
2422 {
2423 unsigned long int i = ulongval ();
2424 if (i != ($2))
2425 return 1;
2426 fprintf (f, "%lu", i);
2427 }
2428 /* Do not output a trailing newline, as this causes \r\n confusion
2429 on some platforms. */
2430 return ferror (f) || fclose (f) != 0;
2431
2432 ;
2433 return 0;
2434 }
2435 _ACEOF
2436 if ac_fn_c_try_run "$LINENO"; then :
2437 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2438 else
2439 ac_retval=1
2440 fi
2441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2442 conftest.$ac_objext conftest.beam conftest.$ac_ext
2443 rm -f conftest.val
2444
2445 fi
2446 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2447 return $ac_retval
2448
2449 } # ac_fn_c_compute_int
2450
2451 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2452 # -------------------------------------------
2453 # Tests whether TYPE exists after having included INCLUDES, setting cache
2454 # variable VAR accordingly.
2455 ac_fn_c_check_type ()
2456 {
2457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2459 $as_echo_n "checking for $2... " >&6; }
2460 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2461 $as_echo_n "(cached) " >&6
2462 else
2463 eval "$3=no"
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2466 $4
2467 int
2468 main ()
2469 {
2470 if (sizeof ($2))
2471 return 0;
2472 ;
2473 return 0;
2474 }
2475 _ACEOF
2476 if ac_fn_c_try_compile "$LINENO"; then :
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2479 $4
2480 int
2481 main ()
2482 {
2483 if (sizeof (($2)))
2484 return 0;
2485 ;
2486 return 0;
2487 }
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2490
2491 else
2492 eval "$3=yes"
2493 fi
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 fi
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 fi
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2502
2503 } # ac_fn_c_check_type
2504
2505 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2506 # ---------------------------------------------
2507 # Tests whether TYPE exists after having included INCLUDES, setting cache
2508 # variable VAR accordingly.
2509 ac_fn_cxx_check_type ()
2510 {
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 eval "$3=no"
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2520 $4
2521 int
2522 main ()
2523 {
2524 if (sizeof ($2))
2525 return 0;
2526 ;
2527 return 0;
2528 }
2529 _ACEOF
2530 if ac_fn_cxx_try_compile "$LINENO"; then :
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2533 $4
2534 int
2535 main ()
2536 {
2537 if (sizeof (($2)))
2538 return 0;
2539 ;
2540 return 0;
2541 }
2542 _ACEOF
2543 if ac_fn_cxx_try_compile "$LINENO"; then :
2544
2545 else
2546 eval "$3=yes"
2547 fi
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2549 fi
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 fi
2552 eval ac_res=\$$3
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2556
2557 } # ac_fn_cxx_check_type
2558 cat >config.log <<_ACEOF
2559 This file contains any messages produced by compilers while
2560 running configure, to aid debugging if configure makes a mistake.
2561
2562 It was created by package-unused $as_me version-unused, which was
2563 generated by GNU Autoconf 2.64. Invocation command line was
2564
2565 $ $0 $@
2566
2567 _ACEOF
2568 exec 5>>config.log
2569 {
2570 cat <<_ASUNAME
2571 ## --------- ##
2572 ## Platform. ##
2573 ## --------- ##
2574
2575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2580
2581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2583
2584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2591
2592 _ASUNAME
2593
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2596 do
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 $as_echo "PATH: $as_dir"
2600 done
2601 IFS=$as_save_IFS
2602
2603 } >&5
2604
2605 cat >&5 <<_ACEOF
2606
2607
2608 ## ----------- ##
2609 ## Core tests. ##
2610 ## ----------- ##
2611
2612 _ACEOF
2613
2614
2615 # Keep a trace of the command line.
2616 # Strip out --no-create and --no-recursion so they do not pile up.
2617 # Strip out --silent because we don't want to record it for future runs.
2618 # Also quote any args containing shell meta-characters.
2619 # Make two passes to allow for proper duplicate-argument suppression.
2620 ac_configure_args=
2621 ac_configure_args0=
2622 ac_configure_args1=
2623 ac_must_keep_next=false
2624 for ac_pass in 1 2
2625 do
2626 for ac_arg
2627 do
2628 case $ac_arg in
2629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2631 | -silent | --silent | --silen | --sile | --sil)
2632 continue ;;
2633 *\'*)
2634 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2635 esac
2636 case $ac_pass in
2637 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2638 2)
2639 as_fn_append ac_configure_args1 " '$ac_arg'"
2640 if test $ac_must_keep_next = true; then
2641 ac_must_keep_next=false # Got value, back to normal.
2642 else
2643 case $ac_arg in
2644 *=* | --config-cache | -C | -disable-* | --disable-* \
2645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2647 | -with-* | --with-* | -without-* | --without-* | --x)
2648 case "$ac_configure_args0 " in
2649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2650 esac
2651 ;;
2652 -* ) ac_must_keep_next=true ;;
2653 esac
2654 fi
2655 as_fn_append ac_configure_args " '$ac_arg'"
2656 ;;
2657 esac
2658 done
2659 done
2660 { ac_configure_args0=; unset ac_configure_args0;}
2661 { ac_configure_args1=; unset ac_configure_args1;}
2662
2663 # When interrupted or exit'd, cleanup temporary files, and complete
2664 # config.log. We remove comments because anyway the quotes in there
2665 # would cause problems or look ugly.
2666 # WARNING: Use '\'' to represent an apostrophe within the trap.
2667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2668 trap 'exit_status=$?
2669 # Save into config.log some information that might help in debugging.
2670 {
2671 echo
2672
2673 cat <<\_ASBOX
2674 ## ---------------- ##
2675 ## Cache variables. ##
2676 ## ---------------- ##
2677 _ASBOX
2678 echo
2679 # The following way of writing the cache mishandles newlines in values,
2680 (
2681 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2682 eval ac_val=\$$ac_var
2683 case $ac_val in #(
2684 *${as_nl}*)
2685 case $ac_var in #(
2686 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2688 esac
2689 case $ac_var in #(
2690 _ | IFS | as_nl) ;; #(
2691 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2692 *) { eval $ac_var=; unset $ac_var;} ;;
2693 esac ;;
2694 esac
2695 done
2696 (set) 2>&1 |
2697 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2698 *${as_nl}ac_space=\ *)
2699 sed -n \
2700 "s/'\''/'\''\\\\'\'''\''/g;
2701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2702 ;; #(
2703 *)
2704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2705 ;;
2706 esac |
2707 sort
2708 )
2709 echo
2710
2711 cat <<\_ASBOX
2712 ## ----------------- ##
2713 ## Output variables. ##
2714 ## ----------------- ##
2715 _ASBOX
2716 echo
2717 for ac_var in $ac_subst_vars
2718 do
2719 eval ac_val=\$$ac_var
2720 case $ac_val in
2721 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2722 esac
2723 $as_echo "$ac_var='\''$ac_val'\''"
2724 done | sort
2725 echo
2726
2727 if test -n "$ac_subst_files"; then
2728 cat <<\_ASBOX
2729 ## ------------------- ##
2730 ## File substitutions. ##
2731 ## ------------------- ##
2732 _ASBOX
2733 echo
2734 for ac_var in $ac_subst_files
2735 do
2736 eval ac_val=\$$ac_var
2737 case $ac_val in
2738 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2739 esac
2740 $as_echo "$ac_var='\''$ac_val'\''"
2741 done | sort
2742 echo
2743 fi
2744
2745 if test -s confdefs.h; then
2746 cat <<\_ASBOX
2747 ## ----------- ##
2748 ## confdefs.h. ##
2749 ## ----------- ##
2750 _ASBOX
2751 echo
2752 cat confdefs.h
2753 echo
2754 fi
2755 test "$ac_signal" != 0 &&
2756 $as_echo "$as_me: caught signal $ac_signal"
2757 $as_echo "$as_me: exit $exit_status"
2758 } >&5
2759 rm -f core *.core core.conftest.* &&
2760 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2761 exit $exit_status
2762 ' 0
2763 for ac_signal in 1 2 13 15; do
2764 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2765 done
2766 ac_signal=0
2767
2768 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2769 rm -f -r conftest* confdefs.h
2770
2771 $as_echo "/* confdefs.h */" > confdefs.h
2772
2773 # Predefined preprocessor variables.
2774
2775 cat >>confdefs.h <<_ACEOF
2776 #define PACKAGE_NAME "$PACKAGE_NAME"
2777 _ACEOF
2778
2779 cat >>confdefs.h <<_ACEOF
2780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2781 _ACEOF
2782
2783 cat >>confdefs.h <<_ACEOF
2784 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2785 _ACEOF
2786
2787 cat >>confdefs.h <<_ACEOF
2788 #define PACKAGE_STRING "$PACKAGE_STRING"
2789 _ACEOF
2790
2791 cat >>confdefs.h <<_ACEOF
2792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2793 _ACEOF
2794
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE_URL "$PACKAGE_URL"
2797 _ACEOF
2798
2799
2800 # Let the site file select an alternate cache file if it wants to.
2801 # Prefer an explicitly selected file to automatically selected ones.
2802 ac_site_file1=NONE
2803 ac_site_file2=NONE
2804 if test -n "$CONFIG_SITE"; then
2805 ac_site_file1=$CONFIG_SITE
2806 elif test "x$prefix" != xNONE; then
2807 ac_site_file1=$prefix/share/config.site
2808 ac_site_file2=$prefix/etc/config.site
2809 else
2810 ac_site_file1=$ac_default_prefix/share/config.site
2811 ac_site_file2=$ac_default_prefix/etc/config.site
2812 fi
2813 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2814 do
2815 test "x$ac_site_file" = xNONE && continue
2816 if test -r "$ac_site_file"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2818 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2819 sed 's/^/| /' "$ac_site_file" >&5
2820 . "$ac_site_file"
2821 fi
2822 done
2823
2824 if test -r "$cache_file"; then
2825 # Some versions of bash will fail to source /dev/null (special
2826 # files actually), so we avoid doing that.
2827 if test -f "$cache_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2829 $as_echo "$as_me: loading cache $cache_file" >&6;}
2830 case $cache_file in
2831 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2832 *) . "./$cache_file";;
2833 esac
2834 fi
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2837 $as_echo "$as_me: creating cache $cache_file" >&6;}
2838 >$cache_file
2839 fi
2840
2841 # Check that the precious variables saved in the cache have kept the same
2842 # value.
2843 ac_cache_corrupted=false
2844 for ac_var in $ac_precious_vars; do
2845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2846 eval ac_new_set=\$ac_env_${ac_var}_set
2847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2848 eval ac_new_val=\$ac_env_${ac_var}_value
2849 case $ac_old_set,$ac_new_set in
2850 set,)
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2852 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2853 ac_cache_corrupted=: ;;
2854 ,set)
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2856 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2857 ac_cache_corrupted=: ;;
2858 ,);;
2859 *)
2860 if test "x$ac_old_val" != "x$ac_new_val"; then
2861 # differences in whitespace do not lead to failure.
2862 ac_old_val_w=`echo x $ac_old_val`
2863 ac_new_val_w=`echo x $ac_new_val`
2864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2866 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2867 ac_cache_corrupted=:
2868 else
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2870 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2871 eval $ac_var=\$ac_old_val
2872 fi
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2874 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2876 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2877 fi;;
2878 esac
2879 # Pass precious variables to config.status.
2880 if test "$ac_new_set" = set; then
2881 case $ac_new_val in
2882 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2883 *) ac_arg=$ac_var=$ac_new_val ;;
2884 esac
2885 case " $ac_configure_args " in
2886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2888 esac
2889 fi
2890 done
2891 if $ac_cache_corrupted; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2895 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2896 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2897 fi
2898 ## -------------------- ##
2899 ## Main body of script. ##
2900 ## -------------------- ##
2901
2902 ac_ext=c
2903 ac_cpp='$CPP $CPPFLAGS'
2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2907
2908
2909
2910
2911
2912
2913 ac_config_headers="$ac_config_headers config.h"
2914
2915
2916 # This works around the fact that libtool configuration may change LD
2917 # for this particular configuration, but some shells, instead of
2918 # keeping the changes in LD private, export them just because LD is
2919 # exported. Only used at the end of this file.
2920 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2921
2922 # Find the rest of the source tree framework.
2923 # Default to --enable-multilib
2924 # Check whether --enable-multilib was given.
2925 if test "${enable_multilib+set}" = set; then :
2926 enableval=$enable_multilib; case "$enableval" in
2927 yes) multilib=yes ;;
2928 no) multilib=no ;;
2929 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2930 esac
2931 else
2932 multilib=yes
2933 fi
2934
2935
2936 # We may get other options which we leave undocumented:
2937 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2938 # See config-ml.in if you want the gory details.
2939
2940 if test "$srcdir" = "."; then
2941 if test "$with_target_subdir" != "."; then
2942 multi_basedir="$srcdir/$with_multisrctop../.."
2943 else
2944 multi_basedir="$srcdir/$with_multisrctop.."
2945 fi
2946 else
2947 multi_basedir="$srcdir/.."
2948 fi
2949
2950
2951 # Even if the default multilib is not a cross compilation,
2952 # it may be that some of the other multilibs are.
2953 if test $cross_compiling = no && test $multilib = yes \
2954 && test "x${with_multisubdir}" != x ; then
2955 cross_compiling=maybe
2956 fi
2957
2958 ac_config_commands="$ac_config_commands default-1"
2959
2960
2961 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2962 #
2963 # You will slowly go insane if you do not grok the following fact: when
2964 # building v3 as part of the compiler, the top-level /target/ becomes the
2965 # library's /host/. configure then causes --target to default to --host,
2966 # exactly like any other package using autoconf. Therefore, 'target' and
2967 # 'host' will always be the same. This makes sense both for native and
2968 # cross compilers, just think about it for a little while. :-)
2969 #
2970 # Also, if v3 is being configured as part of a cross compiler, the top-level
2971 # configure script will pass the "real" host as $with_cross_host.
2972 #
2973 # Do not delete or change the following two lines. For why, see
2974 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2975 ac_aux_dir=
2976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2977 for ac_t in install-sh install.sh shtool; do
2978 if test -f "$ac_dir/$ac_t"; then
2979 ac_aux_dir=$ac_dir
2980 ac_install_sh="$ac_aux_dir/$ac_t -c"
2981 break 2
2982 fi
2983 done
2984 done
2985 if test -z "$ac_aux_dir"; then
2986 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2987 fi
2988
2989 # These three variables are undocumented and unsupported,
2990 # and are intended to be withdrawn in a future Autoconf release.
2991 # They can cause serious problems if a builder's source tree is in a directory
2992 # whose full name contains unusual characters.
2993 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2994 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2995 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2996
2997
2998 # Make sure we can run config.sub.
2999 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3000 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3001
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3003 $as_echo_n "checking build system type... " >&6; }
3004 if test "${ac_cv_build+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 ac_build_alias=$build_alias
3008 test "x$ac_build_alias" = x &&
3009 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3010 test "x$ac_build_alias" = x &&
3011 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3012 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3014
3015 fi
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3017 $as_echo "$ac_cv_build" >&6; }
3018 case $ac_cv_build in
3019 *-*-*) ;;
3020 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3021 esac
3022 build=$ac_cv_build
3023 ac_save_IFS=$IFS; IFS='-'
3024 set x $ac_cv_build
3025 shift
3026 build_cpu=$1
3027 build_vendor=$2
3028 shift; shift
3029 # Remember, the first character of IFS is used to create $*,
3030 # except with old shells:
3031 build_os=$*
3032 IFS=$ac_save_IFS
3033 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3034
3035
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3037 $as_echo_n "checking host system type... " >&6; }
3038 if test "${ac_cv_host+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 if test "x$host_alias" = x; then
3042 ac_cv_host=$ac_cv_build
3043 else
3044 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3045 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3046 fi
3047
3048 fi
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3050 $as_echo "$ac_cv_host" >&6; }
3051 case $ac_cv_host in
3052 *-*-*) ;;
3053 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3054 esac
3055 host=$ac_cv_host
3056 ac_save_IFS=$IFS; IFS='-'
3057 set x $ac_cv_host
3058 shift
3059 host_cpu=$1
3060 host_vendor=$2
3061 shift; shift
3062 # Remember, the first character of IFS is used to create $*,
3063 # except with old shells:
3064 host_os=$*
3065 IFS=$ac_save_IFS
3066 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3067
3068
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3070 $as_echo_n "checking target system type... " >&6; }
3071 if test "${ac_cv_target+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3073 else
3074 if test "x$target_alias" = x; then
3075 ac_cv_target=$ac_cv_host
3076 else
3077 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3078 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3079 fi
3080
3081 fi
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3083 $as_echo "$ac_cv_target" >&6; }
3084 case $ac_cv_target in
3085 *-*-*) ;;
3086 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3087 esac
3088 target=$ac_cv_target
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_target
3091 shift
3092 target_cpu=$1
3093 target_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 target_os=$*
3098 IFS=$ac_save_IFS
3099 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3100
3101
3102 # The aliases save the names the user supplied, while $host etc.
3103 # will get canonicalized.
3104 test -n "$target_alias" &&
3105 test "$program_prefix$program_suffix$program_transform_name" = \
3106 NONENONEs,x,x, &&
3107 program_prefix=${target_alias}-
3108
3109 target_alias=${target_alias-$host_alias}
3110
3111 # Handy for debugging:
3112 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3113
3114 if test "$build" != "$host"; then
3115 # We are being configured with some form of cross compiler.
3116 GLIBCXX_IS_NATIVE=false
3117 case "$host","$target" in
3118 # Darwin crosses can use the host system's libraries and headers,
3119 # because of the fat library support. Of course, it must be the
3120 # same version of Darwin on both sides. Allow the user to
3121 # just say --target=foo-darwin without a version number to mean
3122 # "the version on this system".
3123 *-*-darwin*,*-*-darwin*)
3124 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3125 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3126 if test $hostos = $targetos -o $targetos = darwin ; then
3127 GLIBCXX_IS_NATIVE=true
3128 fi
3129 ;;
3130
3131 *)
3132
3133 ;;
3134 esac
3135 else
3136 GLIBCXX_IS_NATIVE=true
3137 fi
3138
3139 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3140 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3141 # 1.x: minimum required version
3142 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3143 # of other PACKAGE_* variables will, however, and there's nothing
3144 # we can do about that; they come from AC_INIT).
3145 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3146 # file in the top srcdir, etc, etc), so stop complaining.
3147 # no-dependencies: turns off auto dependency generation (just for now)
3148 # no-dist: we don't want 'dist' and related rules.
3149 # -Wall: turns on all automake warnings...
3150 # -Wno-portability: ...except this one, since GNU make is now required.
3151 am__api_version='1.11'
3152
3153 # Find a good install program. We prefer a C program (faster),
3154 # so one script is as good as another. But avoid the broken or
3155 # incompatible versions:
3156 # SysV /etc/install, /usr/sbin/install
3157 # SunOS /usr/etc/install
3158 # IRIX /sbin/install
3159 # AIX /bin/install
3160 # AmigaOS /C/install, which installs bootblocks on floppy discs
3161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3164 # OS/2's system install, which has a completely different semantic
3165 # ./install, which can be erroneously created by make from ./install.sh.
3166 # Reject install programs that cannot install multiple files.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3168 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3169 if test -z "$INSTALL"; then
3170 if test "${ac_cv_path_install+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3175 do
3176 IFS=$as_save_IFS
3177 test -z "$as_dir" && as_dir=.
3178 # Account for people who put trailing slashes in PATH elements.
3179 case $as_dir/ in #((
3180 ./ | .// | /[cC]/* | \
3181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3182 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3183 /usr/ucb/* ) ;;
3184 *)
3185 # OSF1 and SCO ODT 3.0 have their own names for install.
3186 # Don't use installbsd from OSF since it installs stuff as root
3187 # by default.
3188 for ac_prog in ginstall scoinst install; do
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3191 if test $ac_prog = install &&
3192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3193 # AIX install. It has an incompatible calling convention.
3194 :
3195 elif test $ac_prog = install &&
3196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3197 # program-specific install script used by HP pwplus--don't use.
3198 :
3199 else
3200 rm -rf conftest.one conftest.two conftest.dir
3201 echo one > conftest.one
3202 echo two > conftest.two
3203 mkdir conftest.dir
3204 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3205 test -s conftest.one && test -s conftest.two &&
3206 test -s conftest.dir/conftest.one &&
3207 test -s conftest.dir/conftest.two
3208 then
3209 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3210 break 3
3211 fi
3212 fi
3213 fi
3214 done
3215 done
3216 ;;
3217 esac
3218
3219 done
3220 IFS=$as_save_IFS
3221
3222 rm -rf conftest.one conftest.two conftest.dir
3223
3224 fi
3225 if test "${ac_cv_path_install+set}" = set; then
3226 INSTALL=$ac_cv_path_install
3227 else
3228 # As a last resort, use the slow shell script. Don't cache a
3229 # value for INSTALL within a source directory, because that will
3230 # break other packages using the cache if that directory is
3231 # removed, or if the value is a relative name.
3232 INSTALL=$ac_install_sh
3233 fi
3234 fi
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3236 $as_echo "$INSTALL" >&6; }
3237
3238 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3239 # It thinks the first close brace ends the variable substitution.
3240 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3241
3242 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3243
3244 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3245
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3247 $as_echo_n "checking whether build environment is sane... " >&6; }
3248 # Just in case
3249 sleep 1
3250 echo timestamp > conftest.file
3251 # Reject unsafe characters in $srcdir or the absolute working directory
3252 # name. Accept space and tab only in the latter.
3253 am_lf='
3254 '
3255 case `pwd` in
3256 *[\\\"\#\$\&\'\`$am_lf]*)
3257 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3258 esac
3259 case $srcdir in
3260 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3261 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3262 esac
3263
3264 # Do `set' in a subshell so we don't clobber the current shell's
3265 # arguments. Must try -L first in case configure is actually a
3266 # symlink; some systems play weird games with the mod time of symlinks
3267 # (eg FreeBSD returns the mod time of the symlink's containing
3268 # directory).
3269 if (
3270 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3271 if test "$*" = "X"; then
3272 # -L didn't work.
3273 set X `ls -t "$srcdir/configure" conftest.file`
3274 fi
3275 rm -f conftest.file
3276 if test "$*" != "X $srcdir/configure conftest.file" \
3277 && test "$*" != "X conftest.file $srcdir/configure"; then
3278
3279 # If neither matched, then we have a broken ls. This can happen
3280 # if, for instance, CONFIG_SHELL is bash and it inherits a
3281 # broken ls alias from the environment. This has actually
3282 # happened. Such a system could not be considered "sane".
3283 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3284 alias in your environment" "$LINENO" 5
3285 fi
3286
3287 test "$2" = conftest.file
3288 )
3289 then
3290 # Ok.
3291 :
3292 else
3293 as_fn_error "newly created file is older than distributed files!
3294 Check your system clock" "$LINENO" 5
3295 fi
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3298 test "$program_prefix" != NONE &&
3299 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3300 # Use a double $ so make ignores it.
3301 test "$program_suffix" != NONE &&
3302 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3303 # Double any \ or $.
3304 # By default was `s,x,x', remove it if useless.
3305 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3306 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3307
3308 # expand $ac_aux_dir to an absolute path
3309 am_aux_dir=`cd $ac_aux_dir && pwd`
3310
3311 if test x"${MISSING+set}" != xset; then
3312 case $am_aux_dir in
3313 *\ * | *\ *)
3314 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3315 *)
3316 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3317 esac
3318 fi
3319 # Use eval to expand $SHELL
3320 if eval "$MISSING --run true"; then
3321 am_missing_run="$MISSING --run "
3322 else
3323 am_missing_run=
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3325 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3326 fi
3327
3328 if test x"${install_sh}" != xset; then
3329 case $am_aux_dir in
3330 *\ * | *\ *)
3331 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3332 *)
3333 install_sh="\${SHELL} $am_aux_dir/install-sh"
3334 esac
3335 fi
3336
3337 # Installed binaries are usually stripped using `strip' when the user
3338 # run `make install-strip'. However `strip' might not be the right
3339 # tool to use in cross-compilation environments, therefore Automake
3340 # will honor the `STRIP' environment variable to overrule this program.
3341 if test "$cross_compiling" != no; then
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}strip; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if test "${ac_cv_prog_STRIP+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 if test -n "$STRIP"; then
3351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3355 do
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3363 fi
3364 done
3365 done
3366 IFS=$as_save_IFS
3367
3368 fi
3369 fi
3370 STRIP=$ac_cv_prog_STRIP
3371 if test -n "$STRIP"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3373 $as_echo "$STRIP" >&6; }
3374 else
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3377 fi
3378
3379
3380 fi
3381 if test -z "$ac_cv_prog_STRIP"; then
3382 ac_ct_STRIP=$STRIP
3383 # Extract the first word of "strip", so it can be a program name with args.
3384 set dummy strip; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 if test -n "$ac_ct_STRIP"; then
3391 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3395 do
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_STRIP="strip"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3403 fi
3404 done
3405 done
3406 IFS=$as_save_IFS
3407
3408 fi
3409 fi
3410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3411 if test -n "$ac_ct_STRIP"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3413 $as_echo "$ac_ct_STRIP" >&6; }
3414 else
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3417 fi
3418
3419 if test "x$ac_ct_STRIP" = x; then
3420 STRIP=":"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3426 ac_tool_warned=yes ;;
3427 esac
3428 STRIP=$ac_ct_STRIP
3429 fi
3430 else
3431 STRIP="$ac_cv_prog_STRIP"
3432 fi
3433
3434 fi
3435 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3436
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3438 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3439 if test -z "$MKDIR_P"; then
3440 if test "${ac_cv_path_mkdir+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3445 do
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_prog in mkdir gmkdir; do
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3451 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3452 'mkdir (GNU coreutils) '* | \
3453 'mkdir (coreutils) '* | \
3454 'mkdir (fileutils) '4.1*)
3455 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3456 break 3;;
3457 esac
3458 done
3459 done
3460 done
3461 IFS=$as_save_IFS
3462
3463 fi
3464
3465 if test "${ac_cv_path_mkdir+set}" = set; then
3466 MKDIR_P="$ac_cv_path_mkdir -p"
3467 else
3468 # As a last resort, use the slow shell script. Don't cache a
3469 # value for MKDIR_P within a source directory, because that will
3470 # break other packages using the cache if that directory is
3471 # removed, or if the value is a relative name.
3472 test -d ./--version && rmdir ./--version
3473 MKDIR_P="$ac_install_sh -d"
3474 fi
3475 fi
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3477 $as_echo "$MKDIR_P" >&6; }
3478
3479 mkdir_p="$MKDIR_P"
3480 case $mkdir_p in
3481 [\\/$]* | ?:[\\/]*) ;;
3482 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3483 esac
3484
3485 for ac_prog in gawk mawk nawk awk
3486 do
3487 # Extract the first word of "$ac_prog", so it can be a program name with args.
3488 set dummy $ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if test "${ac_cv_prog_AWK+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 if test -n "$AWK"; then
3495 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3499 do
3500 IFS=$as_save_IFS
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 ac_cv_prog_AWK="$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 break 2
3507 fi
3508 done
3509 done
3510 IFS=$as_save_IFS
3511
3512 fi
3513 fi
3514 AWK=$ac_cv_prog_AWK
3515 if test -n "$AWK"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3517 $as_echo "$AWK" >&6; }
3518 else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3521 fi
3522
3523
3524 test -n "$AWK" && break
3525 done
3526
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3528 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529 set x ${MAKE-make}
3530 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3531 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 cat >conftest.make <<\_ACEOF
3535 SHELL = /bin/sh
3536 all:
3537 @echo '@@@%%%=$(MAKE)=@@@%%%'
3538 _ACEOF
3539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3540 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541 *@@@%%%=?*=@@@%%%*)
3542 eval ac_cv_prog_make_${ac_make}_set=yes;;
3543 *)
3544 eval ac_cv_prog_make_${ac_make}_set=no;;
3545 esac
3546 rm -f conftest.make
3547 fi
3548 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3551 SET_MAKE=
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 SET_MAKE="MAKE=${MAKE-make}"
3556 fi
3557
3558 rm -rf .tst 2>/dev/null
3559 mkdir .tst 2>/dev/null
3560 if test -d .tst; then
3561 am__leading_dot=.
3562 else
3563 am__leading_dot=_
3564 fi
3565 rmdir .tst 2>/dev/null
3566
3567 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3568 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3569 # is not polluted with repeated "-I."
3570 am__isrc=' -I$(srcdir)'
3571 # test to see if srcdir already configured
3572 if test -f $srcdir/config.status; then
3573 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3574 fi
3575 fi
3576
3577 # test whether we have cygpath
3578 if test -z "$CYGPATH_W"; then
3579 if (cygpath --version) >/dev/null 2>/dev/null; then
3580 CYGPATH_W='cygpath -w'
3581 else
3582 CYGPATH_W=echo
3583 fi
3584 fi
3585
3586
3587 # Define the identity of the package.
3588 PACKAGE='libstdc++'
3589 VERSION='version-unused'
3590
3591
3592 # Some tools Automake needs.
3593
3594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3595
3596
3597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3598
3599
3600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3601
3602
3603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3604
3605
3606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3607
3608 # We need awk for the "check" target. The system "awk" is bad on
3609 # some platforms.
3610 # Always define AMTAR for backward compatibility. Yes, it's still used
3611 # in the wild :-( We should find a proper way to deprecate it ...
3612 AMTAR='$${TAR-tar}'
3613
3614 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3615
3616
3617
3618
3619
3620
3621
3622
3623 # -fno-builtin must be present here so that a non-conflicting form of
3624 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3625
3626 save_CXXFLAGS="$CXXFLAGS"
3627 CXXFLAGS="$CXXFLAGS -fno-builtin"
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3646 do
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3654 fi
3655 done
3656 done
3657 IFS=$as_save_IFS
3658
3659 fi
3660 fi
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3668 fi
3669
3670
3671 fi
3672 if test -z "$ac_cv_prog_CC"; then
3673 ac_ct_CC=$CC
3674 # Extract the first word of "gcc", so it can be a program name with args.
3675 set dummy gcc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$ac_ct_CC"; then
3682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3686 do
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 ac_cv_prog_ac_ct_CC="gcc"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3694 fi
3695 done
3696 done
3697 IFS=$as_save_IFS
3698
3699 fi
3700 fi
3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3702 if test -n "$ac_ct_CC"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3704 $as_echo "$ac_ct_CC" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3708 fi
3709
3710 if test "x$ac_ct_CC" = x; then
3711 CC=""
3712 else
3713 case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719 CC=$ac_ct_CC
3720 fi
3721 else
3722 CC="$ac_cv_prog_CC"
3723 fi
3724
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}cc; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_CC+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3739 do
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_CC="${ac_tool_prefix}cc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3747 fi
3748 done
3749 done
3750 IFS=$as_save_IFS
3751
3752 fi
3753 fi
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3761 fi
3762
3763
3764 fi
3765 fi
3766 if test -z "$CC"; then
3767 # Extract the first word of "cc", so it can be a program name with args.
3768 set dummy cc; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_CC+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 ac_prog_rejected=no
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3780 do
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3786 ac_prog_rejected=yes
3787 continue
3788 fi
3789 ac_cv_prog_CC="cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3792 fi
3793 done
3794 done
3795 IFS=$as_save_IFS
3796
3797 if test $ac_prog_rejected = yes; then
3798 # We found a bogon in the path, so make sure we never use it.
3799 set dummy $ac_cv_prog_CC
3800 shift
3801 if test $# != 0; then
3802 # We chose a different compiler from the bogus one.
3803 # However, it has the same basename, so the bogon will be chosen
3804 # first if we set CC to just the basename; use the full file name.
3805 shift
3806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3807 fi
3808 fi
3809 fi
3810 fi
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3818 fi
3819
3820
3821 fi
3822 if test -z "$CC"; then
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in cl.exe
3825 do
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3832 else
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 else
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH
3838 do
3839 IFS=$as_save_IFS
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 break 2
3846 fi
3847 done
3848 done
3849 IFS=$as_save_IFS
3850
3851 fi
3852 fi
3853 CC=$ac_cv_prog_CC
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3860 fi
3861
3862
3863 test -n "$CC" && break
3864 done
3865 fi
3866 if test -z "$CC"; then
3867 ac_ct_CC=$CC
3868 for ac_prog in cl.exe
3869 do
3870 # Extract the first word of "$ac_prog", so it can be a program name with args.
3871 set dummy $ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3882 do
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 ac_cv_prog_ac_ct_CC="$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3890 fi
3891 done
3892 done
3893 IFS=$as_save_IFS
3894
3895 fi
3896 fi
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3904 fi
3905
3906
3907 test -n "$ac_ct_CC" && break
3908 done
3909
3910 if test "x$ac_ct_CC" = x; then
3911 CC=""
3912 else
3913 case $cross_compiling:$ac_tool_warned in
3914 yes:)
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3918 esac
3919 CC=$ac_ct_CC
3920 fi
3921 fi
3922
3923 fi
3924
3925
3926 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error "no acceptable C compiler found in \$PATH
3929 See \`config.log' for more details." "$LINENO" 5; }
3930
3931 # Provide some information about the compiler.
3932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3933 set X $ac_compile
3934 ac_compiler=$2
3935 for ac_option in --version -v -V -qversion; do
3936 { { ac_try="$ac_compiler $ac_option >&5"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 ac_status=$?
3945 if test -s conftest.err; then
3946 sed '10a\
3947 ... rest of stderr output deleted ...
3948 10q' conftest.err >conftest.er1
3949 cat conftest.er1 >&5
3950 rm -f conftest.er1 conftest.err
3951 fi
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }
3954 done
3955
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3958
3959 int
3960 main ()
3961 {
3962
3963 ;
3964 return 0;
3965 }
3966 _ACEOF
3967 # FIXME: Cleanup?
3968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3969 (eval $ac_link) 2>&5
3970 ac_status=$?
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 gcc_no_link=no
3974 else
3975 gcc_no_link=yes
3976 fi
3977 if test x$gcc_no_link = xyes; then
3978 # Setting cross_compile will disable run tests; it will
3979 # also disable AC_CHECK_FILE but that's generally
3980 # correct if we can't link.
3981 cross_compiling=yes
3982 EXEEXT=
3983 else
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3986
3987 int
3988 main ()
3989 {
3990
3991 ;
3992 return 0;
3993 }
3994 _ACEOF
3995 ac_clean_files_save=$ac_clean_files
3996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3997 # Try to create an executable without -o first, disregard a.out.
3998 # It will help us diagnose broken compilers, and finding out an intuition
3999 # of exeext.
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4001 $as_echo_n "checking for C compiler default output file name... " >&6; }
4002 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4003
4004 # The possible output files:
4005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4006
4007 ac_rmfiles=
4008 for ac_file in $ac_files
4009 do
4010 case $ac_file in
4011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4012 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4013 esac
4014 done
4015 rm -f $ac_rmfiles
4016
4017 if { { ac_try="$ac_link_default"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_link_default") 2>&5
4025 ac_status=$?
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; then :
4028 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4029 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4030 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4031 # so that the user can short-circuit this test for compilers unknown to
4032 # Autoconf.
4033 for ac_file in $ac_files ''
4034 do
4035 test -f "$ac_file" || continue
4036 case $ac_file in
4037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4038 ;;
4039 [ab].out )
4040 # We found the default executable, but exeext='' is most
4041 # certainly right.
4042 break;;
4043 *.* )
4044 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4045 then :; else
4046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4047 fi
4048 # We set ac_cv_exeext here because the later test for it is not
4049 # safe: cross compilers may not add the suffix if given an `-o'
4050 # argument, so we may need to know it at that point already.
4051 # Even if this section looks crufty: it has the advantage of
4052 # actually working.
4053 break;;
4054 * )
4055 break;;
4056 esac
4057 done
4058 test "$ac_cv_exeext" = no && ac_cv_exeext=
4059
4060 else
4061 ac_file=''
4062 fi
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4064 $as_echo "$ac_file" >&6; }
4065 if test -z "$ac_file"; then :
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4068
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 { as_fn_set_status 77
4072 as_fn_error "C compiler cannot create executables
4073 See \`config.log' for more details." "$LINENO" 5; }; }
4074 fi
4075 ac_exeext=$ac_cv_exeext
4076
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4080 $as_echo_n "checking whether the C compiler works... " >&6; }
4081 # If not cross compiling, check that we can run a simple program.
4082 if test "$cross_compiling" != yes; then
4083 if { ac_try='./$ac_file'
4084 { { case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_try") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; }; then
4094 cross_compiling=no
4095 else
4096 if test "$cross_compiling" = maybe; then
4097 cross_compiling=yes
4098 else
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error "cannot run C compiled programs.
4102 If you meant to cross compile, use \`--host'.
4103 See \`config.log' for more details." "$LINENO" 5; }
4104 fi
4105 fi
4106 fi
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4108 $as_echo "yes" >&6; }
4109
4110 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4111 ac_clean_files=$ac_clean_files_save
4112 # Check that the compiler produces executables we can run. If not, either
4113 # the compiler is broken, or we cross compile.
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4115 $as_echo_n "checking whether we are cross compiling... " >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4117 $as_echo "$cross_compiling" >&6; }
4118
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4120 $as_echo_n "checking for suffix of executables... " >&6; }
4121 if { { ac_try="$ac_link"
4122 case "(($ac_try" in
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4125 esac
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_link") 2>&5
4129 ac_status=$?
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4134 # work properly (i.e., refer to `conftest.exe'), while it won't with
4135 # `rm'.
4136 for ac_file in conftest.exe conftest conftest.*; do
4137 test -f "$ac_file" || continue
4138 case $ac_file in
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4140 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 break;;
4142 * ) break;;
4143 esac
4144 done
4145 else
4146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error "cannot compute suffix of executables: cannot compile and link
4149 See \`config.log' for more details." "$LINENO" 5; }
4150 fi
4151 rm -f conftest$ac_cv_exeext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4153 $as_echo "$ac_cv_exeext" >&6; }
4154
4155 rm -f conftest.$ac_ext
4156 EXEEXT=$ac_cv_exeext
4157 ac_exeext=$EXEEXT
4158 fi
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4160 $as_echo_n "checking for suffix of object files... " >&6; }
4161 if test "${ac_cv_objext+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4166
4167 int
4168 main ()
4169 {
4170
4171 ;
4172 return 0;
4173 }
4174 _ACEOF
4175 rm -f conftest.o conftest.obj
4176 if { { ac_try="$ac_compile"
4177 case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180 esac
4181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4182 $as_echo "$ac_try_echo"; } >&5
4183 (eval "$ac_compile") 2>&5
4184 ac_status=$?
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then :
4187 for ac_file in conftest.o conftest.obj conftest.*; do
4188 test -f "$ac_file" || continue;
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4191 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4192 break;;
4193 esac
4194 done
4195 else
4196 $as_echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4198
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error "cannot compute suffix of object files: cannot compile
4202 See \`config.log' for more details." "$LINENO" 5; }
4203 fi
4204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4205 fi
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4207 $as_echo "$ac_cv_objext" >&6; }
4208 OBJEXT=$ac_cv_objext
4209 ac_objext=$OBJEXT
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4211 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4212 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4217
4218 int
4219 main ()
4220 {
4221 #ifndef __GNUC__
4222 choke me
4223 #endif
4224
4225 ;
4226 return 0;
4227 }
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_compiler_gnu=yes
4231 else
4232 ac_compiler_gnu=no
4233 fi
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4236
4237 fi
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4240 if test $ac_compiler_gnu = yes; then
4241 GCC=yes
4242 else
4243 GCC=
4244 fi
4245 ac_test_CFLAGS=${CFLAGS+set}
4246 ac_save_CFLAGS=$CFLAGS
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4249 if test "${ac_cv_prog_cc_g+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_save_c_werror_flag=$ac_c_werror_flag
4253 ac_c_werror_flag=yes
4254 ac_cv_prog_cc_g=no
4255 CFLAGS="-g"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4258
4259 int
4260 main ()
4261 {
4262
4263 ;
4264 return 0;
4265 }
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268 ac_cv_prog_cc_g=yes
4269 else
4270 CFLAGS=""
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4273
4274 int
4275 main ()
4276 {
4277
4278 ;
4279 return 0;
4280 }
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4283
4284 else
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4286 CFLAGS="-g"
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4289
4290 int
4291 main ()
4292 {
4293
4294 ;
4295 return 0;
4296 }
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_g=yes
4300 fi
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 fi
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 fi
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_c_werror_flag=$ac_save_c_werror_flag
4307 fi
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4309 $as_echo "$ac_cv_prog_cc_g" >&6; }
4310 if test "$ac_test_CFLAGS" = set; then
4311 CFLAGS=$ac_save_CFLAGS
4312 elif test $ac_cv_prog_cc_g = yes; then
4313 if test "$GCC" = yes; then
4314 CFLAGS="-g -O2"
4315 else
4316 CFLAGS="-g"
4317 fi
4318 else
4319 if test "$GCC" = yes; then
4320 CFLAGS="-O2"
4321 else
4322 CFLAGS=
4323 fi
4324 fi
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4326 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4327 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 ac_cv_prog_cc_c89=no
4331 ac_save_CC=$CC
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdarg.h>
4335 #include <stdio.h>
4336 #include <sys/types.h>
4337 #include <sys/stat.h>
4338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4339 struct buf { int x; };
4340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4341 static char *e (p, i)
4342 char **p;
4343 int i;
4344 {
4345 return p[i];
4346 }
4347 static char *f (char * (*g) (char **, int), char **p, ...)
4348 {
4349 char *s;
4350 va_list v;
4351 va_start (v,p);
4352 s = g (p, va_arg (v,int));
4353 va_end (v);
4354 return s;
4355 }
4356
4357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4358 function prototypes and stuff, but not '\xHH' hex character constants.
4359 These don't provoke an error unfortunately, instead are silently treated
4360 as 'x'. The following induces an error, until -std is added to get
4361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4362 array size at least. It's necessary to write '\x00'==0 to get something
4363 that's true only with -std. */
4364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4365
4366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4367 inside strings and character constants. */
4368 #define FOO(x) 'x'
4369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4370
4371 int test (int i, double x);
4372 struct s1 {int (*f) (int a);};
4373 struct s2 {int (*f) (double a);};
4374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4375 int argc;
4376 char **argv;
4377 int
4378 main ()
4379 {
4380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4381 ;
4382 return 0;
4383 }
4384 _ACEOF
4385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4387 do
4388 CC="$ac_save_CC $ac_arg"
4389 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_cv_prog_cc_c89=$ac_arg
4391 fi
4392 rm -f core conftest.err conftest.$ac_objext
4393 test "x$ac_cv_prog_cc_c89" != "xno" && break
4394 done
4395 rm -f conftest.$ac_ext
4396 CC=$ac_save_CC
4397
4398 fi
4399 # AC_CACHE_VAL
4400 case "x$ac_cv_prog_cc_c89" in
4401 x)
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4404 xno)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4407 *)
4408 CC="$CC $ac_cv_prog_cc_c89"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4411 esac
4412 if test "x$ac_cv_prog_cc_c89" != xno; then :
4413
4414 fi
4415
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4421
4422 ac_ext=cpp
4423 ac_cpp='$CXXCPP $CPPFLAGS'
4424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4427 if test -z "$CXX"; then
4428 if test -n "$CCC"; then
4429 CXX=$CCC
4430 else
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4433 do
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if test "${ac_cv_prog_CXX+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 if test -n "$CXX"; then
4442 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4443 else
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4446 do
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4454 fi
4455 done
4456 done
4457 IFS=$as_save_IFS
4458
4459 fi
4460 fi
4461 CXX=$ac_cv_prog_CXX
4462 if test -n "$CXX"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4464 $as_echo "$CXX" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4468 fi
4469
4470
4471 test -n "$CXX" && break
4472 done
4473 fi
4474 if test -z "$CXX"; then
4475 ac_ct_CXX=$CXX
4476 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4477 do
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479 set dummy $ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$ac_ct_CXX"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4490 do
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_ac_ct_CXX="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4498 fi
4499 done
4500 done
4501 IFS=$as_save_IFS
4502
4503 fi
4504 fi
4505 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4506 if test -n "$ac_ct_CXX"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4508 $as_echo "$ac_ct_CXX" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4512 fi
4513
4514
4515 test -n "$ac_ct_CXX" && break
4516 done
4517
4518 if test "x$ac_ct_CXX" = x; then
4519 CXX="g++"
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527 CXX=$ac_ct_CXX
4528 fi
4529 fi
4530
4531 fi
4532 fi
4533 # Provide some information about the compiler.
4534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4535 set X $ac_compile
4536 ac_compiler=$2
4537 for ac_option in --version -v -V -qversion; do
4538 { { ac_try="$ac_compiler $ac_option >&5"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4546 ac_status=$?
4547 if test -s conftest.err; then
4548 sed '10a\
4549 ... rest of stderr output deleted ...
4550 10q' conftest.err >conftest.er1
4551 cat conftest.er1 >&5
4552 rm -f conftest.er1 conftest.err
4553 fi
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }
4556 done
4557
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4559 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4565
4566 int
4567 main ()
4568 {
4569 #ifndef __GNUC__
4570 choke me
4571 #endif
4572
4573 ;
4574 return 0;
4575 }
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4578 ac_compiler_gnu=yes
4579 else
4580 ac_compiler_gnu=no
4581 fi
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4584
4585 fi
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4587 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4588 if test $ac_compiler_gnu = yes; then
4589 GXX=yes
4590 else
4591 GXX=
4592 fi
4593 ac_test_CXXFLAGS=${CXXFLAGS+set}
4594 ac_save_CXXFLAGS=$CXXFLAGS
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4596 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4597 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4601 ac_cxx_werror_flag=yes
4602 ac_cv_prog_cxx_g=no
4603 CXXFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4606
4607 int
4608 main ()
4609 {
4610
4611 ;
4612 return 0;
4613 }
4614 _ACEOF
4615 if ac_fn_cxx_try_compile "$LINENO"; then :
4616 ac_cv_prog_cxx_g=yes
4617 else
4618 CXXFLAGS=""
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4621
4622 int
4623 main ()
4624 {
4625
4626 ;
4627 return 0;
4628 }
4629 _ACEOF
4630 if ac_fn_cxx_try_compile "$LINENO"; then :
4631
4632 else
4633 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4634 CXXFLAGS="-g"
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4637
4638 int
4639 main ()
4640 {
4641
4642 ;
4643 return 0;
4644 }
4645 _ACEOF
4646 if ac_fn_cxx_try_compile "$LINENO"; then :
4647 ac_cv_prog_cxx_g=yes
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 fi
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 fi
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4655 fi
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4657 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4658 if test "$ac_test_CXXFLAGS" = set; then
4659 CXXFLAGS=$ac_save_CXXFLAGS
4660 elif test $ac_cv_prog_cxx_g = yes; then
4661 if test "$GXX" = yes; then
4662 CXXFLAGS="-g -O2"
4663 else
4664 CXXFLAGS="-g"
4665 fi
4666 else
4667 if test "$GXX" = yes; then
4668 CXXFLAGS="-O2"
4669 else
4670 CXXFLAGS=
4671 fi
4672 fi
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4678
4679 CXXFLAGS="$save_CXXFLAGS"
4680
4681 # Runs configure.host, and assorted other critical bits. Sets
4682 # up critical shell variables.
4683
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4690 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4691 # On Suns, sometimes $CPP names a directory.
4692 if test -n "$CPP" && test -d "$CPP"; then
4693 CPP=
4694 fi
4695 if test -z "$CPP"; then
4696 if test "${ac_cv_prog_CPP+set}" = set; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 # Double quotes because CPP needs to be expanded
4700 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4701 do
4702 ac_preproc_ok=false
4703 for ac_c_preproc_warn_flag in '' yes
4704 do
4705 # Use a header file that comes with gcc, so configuring glibc
4706 # with a fresh cross-compiler works.
4707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708 # <limits.h> exists even on freestanding compilers.
4709 # On the NeXT, cc -E runs the code through the compiler's parser,
4710 # not just through cpp. "Syntax error" is here to catch this case.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifdef __STDC__
4714 # include <limits.h>
4715 #else
4716 # include <assert.h>
4717 #endif
4718 Syntax error
4719 _ACEOF
4720 if ac_fn_c_try_cpp "$LINENO"; then :
4721
4722 else
4723 # Broken: fails on valid input.
4724 continue
4725 fi
4726 rm -f conftest.err conftest.$ac_ext
4727
4728 # OK, works on sane cases. Now check whether nonexistent headers
4729 # can be detected and how.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # Broken: success on invalid input.
4736 continue
4737 else
4738 # Passes both tests.
4739 ac_preproc_ok=:
4740 break
4741 fi
4742 rm -f conftest.err conftest.$ac_ext
4743
4744 done
4745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4746 rm -f conftest.err conftest.$ac_ext
4747 if $ac_preproc_ok; then :
4748 break
4749 fi
4750
4751 done
4752 ac_cv_prog_CPP=$CPP
4753
4754 fi
4755 CPP=$ac_cv_prog_CPP
4756 else
4757 ac_cv_prog_CPP=$CPP
4758 fi
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4760 $as_echo "$CPP" >&6; }
4761 ac_preproc_ok=false
4762 for ac_c_preproc_warn_flag in '' yes
4763 do
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4772 #ifdef __STDC__
4773 # include <limits.h>
4774 #else
4775 # include <assert.h>
4776 #endif
4777 Syntax error
4778 _ACEOF
4779 if ac_fn_c_try_cpp "$LINENO"; then :
4780
4781 else
4782 # Broken: fails on valid input.
4783 continue
4784 fi
4785 rm -f conftest.err conftest.$ac_ext
4786
4787 # OK, works on sane cases. Now check whether nonexistent headers
4788 # can be detected and how.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4794 # Broken: success on invalid input.
4795 continue
4796 else
4797 # Passes both tests.
4798 ac_preproc_ok=:
4799 break
4800 fi
4801 rm -f conftest.err conftest.$ac_ext
4802
4803 done
4804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4805 rm -f conftest.err conftest.$ac_ext
4806 if $ac_preproc_ok; then :
4807
4808 else
4809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4812 See \`config.log' for more details." "$LINENO" 5; }
4813 fi
4814
4815 ac_ext=c
4816 ac_cpp='$CPP $CPPFLAGS'
4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4820
4821
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4823 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4824 if test "${ac_cv_path_GREP+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 if test -z "$GREP"; then
4828 ac_path_GREP_found=false
4829 # Loop through the user's path and test for each of PROGNAME-LIST
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4832 do
4833 IFS=$as_save_IFS
4834 test -z "$as_dir" && as_dir=.
4835 for ac_prog in grep ggrep; do
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4838 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4839 # Check for GNU ac_path_GREP and select it if it is found.
4840 # Check for GNU $ac_path_GREP
4841 case `"$ac_path_GREP" --version 2>&1` in
4842 *GNU*)
4843 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4844 *)
4845 ac_count=0
4846 $as_echo_n 0123456789 >"conftest.in"
4847 while :
4848 do
4849 cat "conftest.in" "conftest.in" >"conftest.tmp"
4850 mv "conftest.tmp" "conftest.in"
4851 cp "conftest.in" "conftest.nl"
4852 $as_echo 'GREP' >> "conftest.nl"
4853 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4855 as_fn_arith $ac_count + 1 && ac_count=$as_val
4856 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4857 # Best one so far, save it but keep looking for a better one
4858 ac_cv_path_GREP="$ac_path_GREP"
4859 ac_path_GREP_max=$ac_count
4860 fi
4861 # 10*(2^10) chars as input seems more than enough
4862 test $ac_count -gt 10 && break
4863 done
4864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4865 esac
4866
4867 $ac_path_GREP_found && break 3
4868 done
4869 done
4870 done
4871 IFS=$as_save_IFS
4872 if test -z "$ac_cv_path_GREP"; then
4873 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4874 fi
4875 else
4876 ac_cv_path_GREP=$GREP
4877 fi
4878
4879 fi
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4881 $as_echo "$ac_cv_path_GREP" >&6; }
4882 GREP="$ac_cv_path_GREP"
4883
4884
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4886 $as_echo_n "checking for egrep... " >&6; }
4887 if test "${ac_cv_path_EGREP+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4891 then ac_cv_path_EGREP="$GREP -E"
4892 else
4893 if test -z "$EGREP"; then
4894 ac_path_EGREP_found=false
4895 # Loop through the user's path and test for each of PROGNAME-LIST
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4898 do
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_prog in egrep; do
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4904 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4905 # Check for GNU ac_path_EGREP and select it if it is found.
4906 # Check for GNU $ac_path_EGREP
4907 case `"$ac_path_EGREP" --version 2>&1` in
4908 *GNU*)
4909 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4910 *)
4911 ac_count=0
4912 $as_echo_n 0123456789 >"conftest.in"
4913 while :
4914 do
4915 cat "conftest.in" "conftest.in" >"conftest.tmp"
4916 mv "conftest.tmp" "conftest.in"
4917 cp "conftest.in" "conftest.nl"
4918 $as_echo 'EGREP' >> "conftest.nl"
4919 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921 as_fn_arith $ac_count + 1 && ac_count=$as_val
4922 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4923 # Best one so far, save it but keep looking for a better one
4924 ac_cv_path_EGREP="$ac_path_EGREP"
4925 ac_path_EGREP_max=$ac_count
4926 fi
4927 # 10*(2^10) chars as input seems more than enough
4928 test $ac_count -gt 10 && break
4929 done
4930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4931 esac
4932
4933 $ac_path_EGREP_found && break 3
4934 done
4935 done
4936 done
4937 IFS=$as_save_IFS
4938 if test -z "$ac_cv_path_EGREP"; then
4939 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4940 fi
4941 else
4942 ac_cv_path_EGREP=$EGREP
4943 fi
4944
4945 fi
4946 fi
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4948 $as_echo "$ac_cv_path_EGREP" >&6; }
4949 EGREP="$ac_cv_path_EGREP"
4950
4951
4952
4953 # Keep these sync'd with the list in Makefile.am. The first provides an
4954 # expandable list at autoconf time; the second provides an expandable list
4955 # (i.e., shell variable) at configure time.
4956
4957 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4958
4959 # These need to be absolute paths, yet at the same time need to
4960 # canonicalize only relative paths, because then amd will not unmount
4961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4962 glibcxx_builddir=`${PWDCMD-pwd}`
4963 case $srcdir in
4964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4966 esac
4967 toplevel_builddir=${glibcxx_builddir}/..
4968 toplevel_srcdir=${glibcxx_srcdir}/..
4969
4970
4971
4972
4973
4974 # We use these options to decide which functions to include. They are
4975 # set from the top level.
4976
4977 # Check whether --with-target-subdir was given.
4978 if test "${with_target_subdir+set}" = set; then :
4979 withval=$with_target_subdir;
4980 fi
4981
4982
4983
4984 # Check whether --with-cross-host was given.
4985 if test "${with_cross_host+set}" = set; then :
4986 withval=$with_cross_host;
4987 fi
4988
4989
4990
4991 # Check whether --with-newlib was given.
4992 if test "${with_newlib+set}" = set; then :
4993 withval=$with_newlib;
4994 fi
4995
4996
4997 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4998 # available). Uncomment the next line to force a particular method.
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5000 $as_echo_n "checking whether ln -s works... " >&6; }
5001 LN_S=$as_ln_s
5002 if test "$LN_S" = "ln -s"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5007 $as_echo "no, using $LN_S" >&6; }
5008 fi
5009
5010 #LN_S='cp -p'
5011
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}as; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AS+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AS"; then
5021 ac_cv_prog_AS="$AS" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5025 do
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_AS="${ac_tool_prefix}as"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5033 fi
5034 done
5035 done
5036 IFS=$as_save_IFS
5037
5038 fi
5039 fi
5040 AS=$ac_cv_prog_AS
5041 if test -n "$AS"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5043 $as_echo "$AS" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5047 fi
5048
5049
5050 fi
5051 if test -z "$ac_cv_prog_AS"; then
5052 ac_ct_AS=$AS
5053 # Extract the first word of "as", so it can be a program name with args.
5054 set dummy as; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AS"; then
5061 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5065 do
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_AS="as"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5073 fi
5074 done
5075 done
5076 IFS=$as_save_IFS
5077
5078 fi
5079 fi
5080 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5081 if test -n "$ac_ct_AS"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5083 $as_echo "$ac_ct_AS" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5087 fi
5088
5089 if test "x$ac_ct_AS" = x; then
5090 AS=""
5091 else
5092 case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098 AS=$ac_ct_AS
5099 fi
5100 else
5101 AS="$ac_cv_prog_AS"
5102 fi
5103
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ar; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_AR+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$AR"; then
5113 ac_cv_prog_AR="$AR" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5117 do
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_AR="${ac_tool_prefix}ar"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5125 fi
5126 done
5127 done
5128 IFS=$as_save_IFS
5129
5130 fi
5131 fi
5132 AR=$ac_cv_prog_AR
5133 if test -n "$AR"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5135 $as_echo "$AR" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5139 fi
5140
5141
5142 fi
5143 if test -z "$ac_cv_prog_AR"; then
5144 ac_ct_AR=$AR
5145 # Extract the first word of "ar", so it can be a program name with args.
5146 set dummy ar; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_AR"; then
5153 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5157 do
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AR="ar"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5165 fi
5166 done
5167 done
5168 IFS=$as_save_IFS
5169
5170 fi
5171 fi
5172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5173 if test -n "$ac_ct_AR"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5175 $as_echo "$ac_ct_AR" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5179 fi
5180
5181 if test "x$ac_ct_AR" = x; then
5182 AR=""
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 AR=$ac_ct_AR
5191 fi
5192 else
5193 AR="$ac_cv_prog_AR"
5194 fi
5195
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 if test -n "$RANLIB"; then
5205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5209 do
5210 IFS=$as_save_IFS
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 break 2
5217 fi
5218 done
5219 done
5220 IFS=$as_save_IFS
5221
5222 fi
5223 fi
5224 RANLIB=$ac_cv_prog_RANLIB
5225 if test -n "$RANLIB"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5227 $as_echo "$RANLIB" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5231 fi
5232
5233
5234 fi
5235 if test -z "$ac_cv_prog_RANLIB"; then
5236 ac_ct_RANLIB=$RANLIB
5237 # Extract the first word of "ranlib", so it can be a program name with args.
5238 set dummy ranlib; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$ac_ct_RANLIB"; then
5245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5249 do
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_ac_ct_RANLIB="ranlib"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5257 fi
5258 done
5259 done
5260 IFS=$as_save_IFS
5261
5262 fi
5263 fi
5264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5265 if test -n "$ac_ct_RANLIB"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5267 $as_echo "$ac_ct_RANLIB" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5271 fi
5272
5273 if test "x$ac_ct_RANLIB" = x; then
5274 RANLIB="ranlib-not-found-in-path-error"
5275 else
5276 case $cross_compiling:$ac_tool_warned in
5277 yes:)
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned=yes ;;
5281 esac
5282 RANLIB=$ac_ct_RANLIB
5283 fi
5284 else
5285 RANLIB="$ac_cv_prog_RANLIB"
5286 fi
5287
5288
5289
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5291 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5292 # Check whether --enable-maintainer-mode was given.
5293 if test "${enable_maintainer_mode+set}" = set; then :
5294 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5295 else
5296 USE_MAINTAINER_MODE=no
5297 fi
5298
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5300 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5301 if test $USE_MAINTAINER_MODE = yes; then
5302 MAINTAINER_MODE_TRUE=
5303 MAINTAINER_MODE_FALSE='#'
5304 else
5305 MAINTAINER_MODE_TRUE='#'
5306 MAINTAINER_MODE_FALSE=
5307 fi
5308
5309 MAINT=$MAINTAINER_MODE_TRUE
5310
5311
5312
5313 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5314 # which are themselves conditionally expanded.
5315 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5316 ## other macros from doing the same. This should be automated.) -pme
5317
5318 # Check for C library flavor since GNU/Linux platforms use different
5319 # configuration directories depending on the C library in use.
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5322
5323 #include <stdio.h>
5324 #if __UCLIBC__
5325 _using_uclibc
5326 #endif
5327
5328 _ACEOF
5329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5330 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5331 uclibc=yes
5332 else
5333 uclibc=no
5334 fi
5335 rm -f conftest*
5336
5337
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5340
5341 #include <stdio.h>
5342 #if __BIONIC__
5343 _using_bionic
5344 #endif
5345
5346 _ACEOF
5347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5348 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5349 bionic=yes
5350 else
5351 bionic=no
5352 fi
5353 rm -f conftest*
5354
5355
5356 # Find platform-specific directories containing configuration info.
5357 # Also possibly modify flags used elsewhere, as needed by the platform.
5358
5359 . $glibcxx_srcdir/configure.host
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5361 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5363 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5364
5365
5366
5367 # Libtool setup.
5368 if test "x${with_newlib}" != "xyes"; then
5369 enable_dlopen=yes
5370
5371
5372
5373 fi
5374 case `pwd` in
5375 *\ * | *\ *)
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5378 esac
5379
5380
5381
5382 macro_version='2.2.7a'
5383 macro_revision='1.3134'
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397 ltmain="$ac_aux_dir/ltmain.sh"
5398
5399 # Backslashify metacharacters that are still active within
5400 # double-quoted strings.
5401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5402
5403 # Same as above, but do not quote variable references.
5404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5405
5406 # Sed substitution to delay expansion of an escaped shell variable in a
5407 # double_quote_subst'ed string.
5408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5409
5410 # Sed substitution to delay expansion of an escaped single quote.
5411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5412
5413 # Sed substitution to avoid accidental globbing in evaled expressions
5414 no_glob_subst='s/\*/\\\*/g'
5415
5416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5419
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5421 $as_echo_n "checking how to print strings... " >&6; }
5422 # Test print first, because it will be a builtin if present.
5423 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5424 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='print -r --'
5426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5427 ECHO='printf %s\n'
5428 else
5429 # Use this function as a fallback that always works.
5430 func_fallback_echo ()
5431 {
5432 eval 'cat <<_LTECHO_EOF
5433 $1
5434 _LTECHO_EOF'
5435 }
5436 ECHO='func_fallback_echo'
5437 fi
5438
5439 # func_echo_all arg...
5440 # Invoke $ECHO with all args, space-separated.
5441 func_echo_all ()
5442 {
5443 $ECHO ""
5444 }
5445
5446 case "$ECHO" in
5447 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5448 $as_echo "printf" >&6; } ;;
5449 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5450 $as_echo "print -r" >&6; } ;;
5451 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5452 $as_echo "cat" >&6; } ;;
5453 esac
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5470 if test "${ac_cv_path_SED+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5474 for ac_i in 1 2 3 4 5 6 7; do
5475 ac_script="$ac_script$as_nl$ac_script"
5476 done
5477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5478 { ac_script=; unset ac_script;}
5479 if test -z "$SED"; then
5480 ac_path_SED_found=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5484 do
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in sed gsed; do
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5490 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5491 # Check for GNU ac_path_SED and select it if it is found.
5492 # Check for GNU $ac_path_SED
5493 case `"$ac_path_SED" --version 2>&1` in
5494 *GNU*)
5495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5496 *)
5497 ac_count=0
5498 $as_echo_n 0123456789 >"conftest.in"
5499 while :
5500 do
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo '' >> "conftest.nl"
5505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5507 as_fn_arith $ac_count + 1 && ac_count=$as_val
5508 if test $ac_count -gt ${ac_path_SED_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_SED="$ac_path_SED"
5511 ac_path_SED_max=$ac_count
5512 fi
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5515 done
5516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5517 esac
5518
5519 $ac_path_SED_found && break 3
5520 done
5521 done
5522 done
5523 IFS=$as_save_IFS
5524 if test -z "$ac_cv_path_SED"; then
5525 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5526 fi
5527 else
5528 ac_cv_path_SED=$SED
5529 fi
5530
5531 fi
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5533 $as_echo "$ac_cv_path_SED" >&6; }
5534 SED="$ac_cv_path_SED"
5535 rm -f conftest.sed
5536
5537 test -z "$SED" && SED=sed
5538 Xsed="$SED -e 1s/^X//"
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5551 $as_echo_n "checking for fgrep... " >&6; }
5552 if test "${ac_cv_path_FGREP+set}" = set; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5556 then ac_cv_path_FGREP="$GREP -F"
5557 else
5558 if test -z "$FGREP"; then
5559 ac_path_FGREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5563 do
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in fgrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5569 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5570 # Check for GNU ac_path_FGREP and select it if it is found.
5571 # Check for GNU $ac_path_FGREP
5572 case `"$ac_path_FGREP" --version 2>&1` in
5573 *GNU*)
5574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5575 *)
5576 ac_count=0
5577 $as_echo_n 0123456789 >"conftest.in"
5578 while :
5579 do
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'FGREP' >> "conftest.nl"
5584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_FGREP="$ac_path_FGREP"
5590 ac_path_FGREP_max=$ac_count
5591 fi
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5594 done
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5596 esac
5597
5598 $ac_path_FGREP_found && break 3
5599 done
5600 done
5601 done
5602 IFS=$as_save_IFS
5603 if test -z "$ac_cv_path_FGREP"; then
5604 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5605 fi
5606 else
5607 ac_cv_path_FGREP=$FGREP
5608 fi
5609
5610 fi
5611 fi
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5613 $as_echo "$ac_cv_path_FGREP" >&6; }
5614 FGREP="$ac_cv_path_FGREP"
5615
5616
5617 test -z "$GREP" && GREP=grep
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637 # Check whether --with-gnu-ld was given.
5638 if test "${with_gnu_ld+set}" = set; then :
5639 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5640 else
5641 with_gnu_ld=no
5642 fi
5643
5644 ac_prog=ld
5645 if test "$GCC" = yes; then
5646 # Check if gcc -print-prog-name=ld gives a path.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5648 $as_echo_n "checking for ld used by $CC... " >&6; }
5649 case $host in
5650 *-*-mingw*)
5651 # gcc leaves a trailing carriage return which upsets mingw
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5653 *)
5654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5655 esac
5656 case $ac_prog in
5657 # Accept absolute paths.
5658 [\\/]* | ?:[\\/]*)
5659 re_direlt='/[^/][^/]*/\.\./'
5660 # Canonicalize the pathname of ld
5661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5664 done
5665 test -z "$LD" && LD="$ac_prog"
5666 ;;
5667 "")
5668 # If it fails, then pretend we aren't using GCC.
5669 ac_prog=ld
5670 ;;
5671 *)
5672 # If it is relative, then search for the first ld in PATH.
5673 with_gnu_ld=unknown
5674 ;;
5675 esac
5676 elif test "$with_gnu_ld" = yes; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5678 $as_echo_n "checking for GNU ld... " >&6; }
5679 else
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5681 $as_echo_n "checking for non-GNU ld... " >&6; }
5682 fi
5683 if test "${lt_cv_path_LD+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -z "$LD"; then
5687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5688 for ac_dir in $PATH; do
5689 IFS="$lt_save_ifs"
5690 test -z "$ac_dir" && ac_dir=.
5691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5692 lt_cv_path_LD="$ac_dir/$ac_prog"
5693 # Check to see if the program is GNU ld. I'd rather use --version,
5694 # but apparently some variants of GNU ld only accept -v.
5695 # Break only if it was the GNU/non-GNU ld that we prefer.
5696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5697 *GNU* | *'with BFD'*)
5698 test "$with_gnu_ld" != no && break
5699 ;;
5700 *)
5701 test "$with_gnu_ld" != yes && break
5702 ;;
5703 esac
5704 fi
5705 done
5706 IFS="$lt_save_ifs"
5707 else
5708 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5709 fi
5710 fi
5711
5712 LD="$lt_cv_path_LD"
5713 if test -n "$LD"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5715 $as_echo "$LD" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5719 fi
5720 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5723 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5727 case `$LD -v 2>&1 </dev/null` in
5728 *GNU* | *'with BFD'*)
5729 lt_cv_prog_gnu_ld=yes
5730 ;;
5731 *)
5732 lt_cv_prog_gnu_ld=no
5733 ;;
5734 esac
5735 fi
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5738 with_gnu_ld=$lt_cv_prog_gnu_ld
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5750 if test "${lt_cv_path_NM+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$NM"; then
5754 # Let the user override the test.
5755 lt_cv_path_NM="$NM"
5756 else
5757 lt_nm_to_check="${ac_tool_prefix}nm"
5758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5759 lt_nm_to_check="$lt_nm_to_check nm"
5760 fi
5761 for lt_tmp_nm in $lt_nm_to_check; do
5762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5764 IFS="$lt_save_ifs"
5765 test -z "$ac_dir" && ac_dir=.
5766 tmp_nm="$ac_dir/$lt_tmp_nm"
5767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5768 # Check to see if the nm accepts a BSD-compat flag.
5769 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5770 # nm: unknown option "B" ignored
5771 # Tru64's nm complains that /dev/null is an invalid object file
5772 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5773 */dev/null* | *'Invalid file or object type'*)
5774 lt_cv_path_NM="$tmp_nm -B"
5775 break
5776 ;;
5777 *)
5778 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5779 */dev/null*)
5780 lt_cv_path_NM="$tmp_nm -p"
5781 break
5782 ;;
5783 *)
5784 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5785 continue # so that we can try to find one that supports BSD flags
5786 ;;
5787 esac
5788 ;;
5789 esac
5790 fi
5791 done
5792 IFS="$lt_save_ifs"
5793 done
5794 : ${lt_cv_path_NM=no}
5795 fi
5796 fi
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5798 $as_echo "$lt_cv_path_NM" >&6; }
5799 if test "$lt_cv_path_NM" != "no"; then
5800 NM="$lt_cv_path_NM"
5801 else
5802 # Didn't find any BSD compatible name lister, look for dumpbin.
5803 if test -n "$DUMPBIN"; then :
5804 # Let the user override the test.
5805 else
5806 if test -n "$ac_tool_prefix"; then
5807 for ac_prog in dumpbin "link -dump"
5808 do
5809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -n "$DUMPBIN"; then
5817 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5821 do
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5829 fi
5830 done
5831 done
5832 IFS=$as_save_IFS
5833
5834 fi
5835 fi
5836 DUMPBIN=$ac_cv_prog_DUMPBIN
5837 if test -n "$DUMPBIN"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5839 $as_echo "$DUMPBIN" >&6; }
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5843 fi
5844
5845
5846 test -n "$DUMPBIN" && break
5847 done
5848 fi
5849 if test -z "$DUMPBIN"; then
5850 ac_ct_DUMPBIN=$DUMPBIN
5851 for ac_prog in dumpbin "link -dump"
5852 do
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy $ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$ac_ct_DUMPBIN"; then
5861 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5865 do
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5873 fi
5874 done
5875 done
5876 IFS=$as_save_IFS
5877
5878 fi
5879 fi
5880 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5881 if test -n "$ac_ct_DUMPBIN"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5883 $as_echo "$ac_ct_DUMPBIN" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5887 fi
5888
5889
5890 test -n "$ac_ct_DUMPBIN" && break
5891 done
5892
5893 if test "x$ac_ct_DUMPBIN" = x; then
5894 DUMPBIN=":"
5895 else
5896 case $cross_compiling:$ac_tool_warned in
5897 yes:)
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5900 ac_tool_warned=yes ;;
5901 esac
5902 DUMPBIN=$ac_ct_DUMPBIN
5903 fi
5904 fi
5905
5906 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5907 *COFF*)
5908 DUMPBIN="$DUMPBIN -symbols"
5909 ;;
5910 *)
5911 DUMPBIN=:
5912 ;;
5913 esac
5914 fi
5915
5916 if test "$DUMPBIN" != ":"; then
5917 NM="$DUMPBIN"
5918 fi
5919 fi
5920 test -z "$NM" && NM=nm
5921
5922
5923
5924
5925
5926
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5928 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5929 if test "${lt_cv_nm_interface+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 lt_cv_nm_interface="BSD nm"
5933 echo "int some_variable = 0;" > conftest.$ac_ext
5934 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5935 (eval "$ac_compile" 2>conftest.err)
5936 cat conftest.err >&5
5937 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5938 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5939 cat conftest.err >&5
5940 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5941 cat conftest.out >&5
5942 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5943 lt_cv_nm_interface="MS dumpbin"
5944 fi
5945 rm -f conftest*
5946 fi
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5948 $as_echo "$lt_cv_nm_interface" >&6; }
5949
5950 # find the maximum length of command line arguments
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5952 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5953 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5956 i=0
5957 teststring="ABCD"
5958
5959 case $build_os in
5960 msdosdjgpp*)
5961 # On DJGPP, this test can blow up pretty badly due to problems in libc
5962 # (any single argument exceeding 2000 bytes causes a buffer overrun
5963 # during glob expansion). Even if it were fixed, the result of this
5964 # check would be larger than it should be.
5965 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5966 ;;
5967
5968 gnu*)
5969 # Under GNU Hurd, this test is not required because there is
5970 # no limit to the length of command line arguments.
5971 # Libtool will interpret -1 as no limit whatsoever
5972 lt_cv_sys_max_cmd_len=-1;
5973 ;;
5974
5975 cygwin* | mingw* | cegcc*)
5976 # On Win9x/ME, this test blows up -- it succeeds, but takes
5977 # about 5 minutes as the teststring grows exponentially.
5978 # Worse, since 9x/ME are not pre-emptively multitasking,
5979 # you end up with a "frozen" computer, even though with patience
5980 # the test eventually succeeds (with a max line length of 256k).
5981 # Instead, let's just punt: use the minimum linelength reported by
5982 # all of the supported platforms: 8192 (on NT/2K/XP).
5983 lt_cv_sys_max_cmd_len=8192;
5984 ;;
5985
5986 mint*)
5987 # On MiNT this can take a long time and run out of memory.
5988 lt_cv_sys_max_cmd_len=8192;
5989 ;;
5990
5991 amigaos*)
5992 # On AmigaOS with pdksh, this test takes hours, literally.
5993 # So we just punt and use a minimum line length of 8192.
5994 lt_cv_sys_max_cmd_len=8192;
5995 ;;
5996
5997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5998 # This has been around since 386BSD, at least. Likely further.
5999 if test -x /sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6001 elif test -x /usr/sbin/sysctl; then
6002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6003 else
6004 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6005 fi
6006 # And add a safety zone
6007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6009 ;;
6010
6011 interix*)
6012 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6013 lt_cv_sys_max_cmd_len=196608
6014 ;;
6015
6016 osf*)
6017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6019 # nice to cause kernel panics so lets avoid the loop below.
6020 # First set a reasonable default.
6021 lt_cv_sys_max_cmd_len=16384
6022 #
6023 if test -x /sbin/sysconfig; then
6024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6025 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026 esac
6027 fi
6028 ;;
6029 sco3.2v5*)
6030 lt_cv_sys_max_cmd_len=102400
6031 ;;
6032 sysv5* | sco5v6* | sysv4.2uw2*)
6033 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6034 if test -n "$kargmax"; then
6035 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6036 else
6037 lt_cv_sys_max_cmd_len=32768
6038 fi
6039 ;;
6040 *)
6041 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6042 if test -n "$lt_cv_sys_max_cmd_len"; then
6043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6045 else
6046 # Make teststring a little bigger before we do anything with it.
6047 # a 1K string should be a reasonable start.
6048 for i in 1 2 3 4 5 6 7 8 ; do
6049 teststring=$teststring$teststring
6050 done
6051 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6052 # If test is not a shell built-in, we'll probably end up computing a
6053 # maximum length that is only half of the actual maximum length, but
6054 # we can't tell.
6055 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6056 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6057 test $i != 17 # 1/2 MB should be enough
6058 do
6059 i=`expr $i + 1`
6060 teststring=$teststring$teststring
6061 done
6062 # Only check the string length outside the loop.
6063 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6064 teststring=
6065 # Add a significant safety factor because C++ compilers can tack on
6066 # massive amounts of additional arguments before passing them to the
6067 # linker. It appears as though 1/2 is a usable value.
6068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6069 fi
6070 ;;
6071 esac
6072
6073 fi
6074
6075 if test -n $lt_cv_sys_max_cmd_len ; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6080 $as_echo "none" >&6; }
6081 fi
6082 max_cmd_len=$lt_cv_sys_max_cmd_len
6083
6084
6085
6086
6087
6088
6089 : ${CP="cp -f"}
6090 : ${MV="mv -f"}
6091 : ${RM="rm -f"}
6092
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6094 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6095 # Try some XSI features
6096 xsi_shell=no
6097 ( _lt_dummy="a/b/c"
6098 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6099 = c,a/b,, \
6100 && eval 'test $(( 1 + 1 )) -eq 2 \
6101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6102 && xsi_shell=yes
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6104 $as_echo "$xsi_shell" >&6; }
6105
6106
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6108 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6109 lt_shell_append=no
6110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6111 >/dev/null 2>&1 \
6112 && lt_shell_append=yes
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6114 $as_echo "$lt_shell_append" >&6; }
6115
6116
6117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6118 lt_unset=unset
6119 else
6120 lt_unset=false
6121 fi
6122
6123
6124
6125
6126
6127 # test EBCDIC or ASCII
6128 case `echo X|tr X '\101'` in
6129 A) # ASCII based system
6130 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6131 lt_SP2NL='tr \040 \012'
6132 lt_NL2SP='tr \015\012 \040\040'
6133 ;;
6134 *) # EBCDIC based system
6135 lt_SP2NL='tr \100 \n'
6136 lt_NL2SP='tr \r\n \100\100'
6137 ;;
6138 esac
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6149 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6150 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 lt_cv_ld_reload_flag='-r'
6154 fi
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6156 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6157 reload_flag=$lt_cv_ld_reload_flag
6158 case $reload_flag in
6159 "" | " "*) ;;
6160 *) reload_flag=" $reload_flag" ;;
6161 esac
6162 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6163 case $host_os in
6164 darwin*)
6165 if test "$GCC" = yes; then
6166 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6167 else
6168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6169 fi
6170 ;;
6171 esac
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$OBJDUMP"; then
6190 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6194 do
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6202 fi
6203 done
6204 done
6205 IFS=$as_save_IFS
6206
6207 fi
6208 fi
6209 OBJDUMP=$ac_cv_prog_OBJDUMP
6210 if test -n "$OBJDUMP"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6212 $as_echo "$OBJDUMP" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6216 fi
6217
6218
6219 fi
6220 if test -z "$ac_cv_prog_OBJDUMP"; then
6221 ac_ct_OBJDUMP=$OBJDUMP
6222 # Extract the first word of "objdump", so it can be a program name with args.
6223 set dummy objdump; ac_word=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 if test -n "$ac_ct_OBJDUMP"; then
6230 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6234 do
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6242 fi
6243 done
6244 done
6245 IFS=$as_save_IFS
6246
6247 fi
6248 fi
6249 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6250 if test -n "$ac_ct_OBJDUMP"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6252 $as_echo "$ac_ct_OBJDUMP" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6256 fi
6257
6258 if test "x$ac_ct_OBJDUMP" = x; then
6259 OBJDUMP="false"
6260 else
6261 case $cross_compiling:$ac_tool_warned in
6262 yes:)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned=yes ;;
6266 esac
6267 OBJDUMP=$ac_ct_OBJDUMP
6268 fi
6269 else
6270 OBJDUMP="$ac_cv_prog_OBJDUMP"
6271 fi
6272
6273 test -z "$OBJDUMP" && OBJDUMP=objdump
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6284 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6285 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 lt_cv_file_magic_cmd='$MAGIC_CMD'
6289 lt_cv_file_magic_test_file=
6290 lt_cv_deplibs_check_method='unknown'
6291 # Need to set the preceding variable on all platforms that support
6292 # interlibrary dependencies.
6293 # 'none' -- dependencies not supported.
6294 # `unknown' -- same as none, but documents that we really don't know.
6295 # 'pass_all' -- all dependencies passed with no checks.
6296 # 'test_compile' -- check by making test program.
6297 # 'file_magic [[regex]]' -- check by looking for files in library path
6298 # which responds to the $file_magic_cmd with a given extended regex.
6299 # If you have `file' or equivalent on your system and you're not sure
6300 # whether `pass_all' will *always* work, you probably want this one.
6301
6302 case $host_os in
6303 aix[4-9]*)
6304 lt_cv_deplibs_check_method=pass_all
6305 ;;
6306
6307 beos*)
6308 lt_cv_deplibs_check_method=pass_all
6309 ;;
6310
6311 bsdi[45]*)
6312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6313 lt_cv_file_magic_cmd='/usr/bin/file -L'
6314 lt_cv_file_magic_test_file=/shlib/libc.so
6315 ;;
6316
6317 cygwin*)
6318 # func_win32_libid is a shell function defined in ltmain.sh
6319 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6320 lt_cv_file_magic_cmd='func_win32_libid'
6321 ;;
6322
6323 mingw* | pw32*)
6324 # Base MSYS/MinGW do not provide the 'file' command needed by
6325 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6326 # unless we find 'file', for example because we are cross-compiling.
6327 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6328 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330 lt_cv_file_magic_cmd='func_win32_libid'
6331 else
6332 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6333 lt_cv_file_magic_cmd='$OBJDUMP -f'
6334 fi
6335 ;;
6336
6337 cegcc*)
6338 # use the weaker test based on 'objdump'. See mingw*.
6339 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6340 lt_cv_file_magic_cmd='$OBJDUMP -f'
6341 ;;
6342
6343 darwin* | rhapsody*)
6344 lt_cv_deplibs_check_method=pass_all
6345 ;;
6346
6347 freebsd* | dragonfly*)
6348 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6349 case $host_cpu in
6350 i*86 )
6351 # Not sure whether the presence of OpenBSD here was a mistake.
6352 # Let's accept both of them until this is cleared up.
6353 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6356 ;;
6357 esac
6358 else
6359 lt_cv_deplibs_check_method=pass_all
6360 fi
6361 ;;
6362
6363 gnu*)
6364 lt_cv_deplibs_check_method=pass_all
6365 ;;
6366
6367 haiku*)
6368 lt_cv_deplibs_check_method=pass_all
6369 ;;
6370
6371 hpux10.20* | hpux11*)
6372 lt_cv_file_magic_cmd=/usr/bin/file
6373 case $host_cpu in
6374 ia64*)
6375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6376 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6377 ;;
6378 hppa*64*)
6379 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]'
6380 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6381 ;;
6382 *)
6383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6384 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6385 ;;
6386 esac
6387 ;;
6388
6389 interix[3-9]*)
6390 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6392 ;;
6393
6394 irix5* | irix6* | nonstopux*)
6395 case $LD in
6396 *-32|*"-32 ") libmagic=32-bit;;
6397 *-n32|*"-n32 ") libmagic=N32;;
6398 *-64|*"-64 ") libmagic=64-bit;;
6399 *) libmagic=never-match;;
6400 esac
6401 lt_cv_deplibs_check_method=pass_all
6402 ;;
6403
6404 # This must be Linux ELF.
6405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6406 lt_cv_deplibs_check_method=pass_all
6407 ;;
6408
6409 netbsd*)
6410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6412 else
6413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6414 fi
6415 ;;
6416
6417 newos6*)
6418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6419 lt_cv_file_magic_cmd=/usr/bin/file
6420 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6421 ;;
6422
6423 *nto* | *qnx*)
6424 lt_cv_deplibs_check_method=pass_all
6425 ;;
6426
6427 openbsd*)
6428 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6430 else
6431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6432 fi
6433 ;;
6434
6435 osf3* | osf4* | osf5*)
6436 lt_cv_deplibs_check_method=pass_all
6437 ;;
6438
6439 rdos*)
6440 lt_cv_deplibs_check_method=pass_all
6441 ;;
6442
6443 solaris*)
6444 lt_cv_deplibs_check_method=pass_all
6445 ;;
6446
6447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6448 lt_cv_deplibs_check_method=pass_all
6449 ;;
6450
6451 sysv4 | sysv4.3*)
6452 case $host_vendor in
6453 motorola)
6454 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]'
6455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6456 ;;
6457 ncr)
6458 lt_cv_deplibs_check_method=pass_all
6459 ;;
6460 sequent)
6461 lt_cv_file_magic_cmd='/bin/file'
6462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6463 ;;
6464 sni)
6465 lt_cv_file_magic_cmd='/bin/file'
6466 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6467 lt_cv_file_magic_test_file=/lib/libc.so
6468 ;;
6469 siemens)
6470 lt_cv_deplibs_check_method=pass_all
6471 ;;
6472 pc)
6473 lt_cv_deplibs_check_method=pass_all
6474 ;;
6475 esac
6476 ;;
6477
6478 tpf*)
6479 lt_cv_deplibs_check_method=pass_all
6480 ;;
6481 esac
6482
6483 fi
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6485 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6486 file_magic_cmd=$lt_cv_file_magic_cmd
6487 deplibs_check_method=$lt_cv_deplibs_check_method
6488 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501 if test -n "$ac_tool_prefix"; then
6502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6503 set dummy ${ac_tool_prefix}ar; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if test "${ac_cv_prog_AR+set}" = set; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$AR"; then
6510 ac_cv_prog_AR="$AR" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6514 do
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_AR="${ac_tool_prefix}ar"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6522 fi
6523 done
6524 done
6525 IFS=$as_save_IFS
6526
6527 fi
6528 fi
6529 AR=$ac_cv_prog_AR
6530 if test -n "$AR"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6532 $as_echo "$AR" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6536 fi
6537
6538
6539 fi
6540 if test -z "$ac_cv_prog_AR"; then
6541 ac_ct_AR=$AR
6542 # Extract the first word of "ar", so it can be a program name with args.
6543 set dummy ar; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$ac_ct_AR"; then
6550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6554 do
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_ac_ct_AR="ar"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6562 fi
6563 done
6564 done
6565 IFS=$as_save_IFS
6566
6567 fi
6568 fi
6569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6570 if test -n "$ac_ct_AR"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6572 $as_echo "$ac_ct_AR" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6576 fi
6577
6578 if test "x$ac_ct_AR" = x; then
6579 AR="false"
6580 else
6581 case $cross_compiling:$ac_tool_warned in
6582 yes:)
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585 ac_tool_warned=yes ;;
6586 esac
6587 AR=$ac_ct_AR
6588 fi
6589 else
6590 AR="$ac_cv_prog_AR"
6591 fi
6592
6593 test -z "$AR" && AR=ar
6594 test -z "$AR_FLAGS" && AR_FLAGS=cru
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6608 set dummy ${ac_tool_prefix}strip; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if test "${ac_cv_prog_STRIP+set}" = set; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$STRIP"; then
6615 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6619 do
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6627 fi
6628 done
6629 done
6630 IFS=$as_save_IFS
6631
6632 fi
6633 fi
6634 STRIP=$ac_cv_prog_STRIP
6635 if test -n "$STRIP"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6637 $as_echo "$STRIP" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6641 fi
6642
6643
6644 fi
6645 if test -z "$ac_cv_prog_STRIP"; then
6646 ac_ct_STRIP=$STRIP
6647 # Extract the first word of "strip", so it can be a program name with args.
6648 set dummy strip; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$ac_ct_STRIP"; then
6655 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6659 do
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_ac_ct_STRIP="strip"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6667 fi
6668 done
6669 done
6670 IFS=$as_save_IFS
6671
6672 fi
6673 fi
6674 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6675 if test -n "$ac_ct_STRIP"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6677 $as_echo "$ac_ct_STRIP" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6681 fi
6682
6683 if test "x$ac_ct_STRIP" = x; then
6684 STRIP=":"
6685 else
6686 case $cross_compiling:$ac_tool_warned in
6687 yes:)
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6690 ac_tool_warned=yes ;;
6691 esac
6692 STRIP=$ac_ct_STRIP
6693 fi
6694 else
6695 STRIP="$ac_cv_prog_STRIP"
6696 fi
6697
6698 test -z "$STRIP" && STRIP=:
6699
6700
6701
6702
6703
6704
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6707 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$RANLIB"; then
6714 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6718 do
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6726 fi
6727 done
6728 done
6729 IFS=$as_save_IFS
6730
6731 fi
6732 fi
6733 RANLIB=$ac_cv_prog_RANLIB
6734 if test -n "$RANLIB"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6736 $as_echo "$RANLIB" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6740 fi
6741
6742
6743 fi
6744 if test -z "$ac_cv_prog_RANLIB"; then
6745 ac_ct_RANLIB=$RANLIB
6746 # Extract the first word of "ranlib", so it can be a program name with args.
6747 set dummy ranlib; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6752 else
6753 if test -n "$ac_ct_RANLIB"; then
6754 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6758 do
6759 IFS=$as_save_IFS
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_ac_ct_RANLIB="ranlib"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 break 2
6766 fi
6767 done
6768 done
6769 IFS=$as_save_IFS
6770
6771 fi
6772 fi
6773 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6774 if test -n "$ac_ct_RANLIB"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6776 $as_echo "$ac_ct_RANLIB" >&6; }
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6780 fi
6781
6782 if test "x$ac_ct_RANLIB" = x; then
6783 RANLIB=":"
6784 else
6785 case $cross_compiling:$ac_tool_warned in
6786 yes:)
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789 ac_tool_warned=yes ;;
6790 esac
6791 RANLIB=$ac_ct_RANLIB
6792 fi
6793 else
6794 RANLIB="$ac_cv_prog_RANLIB"
6795 fi
6796
6797 test -z "$RANLIB" && RANLIB=:
6798
6799
6800
6801
6802
6803
6804 # Determine commands to create old-style static archives.
6805 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6806 old_postinstall_cmds='chmod 644 $oldlib'
6807 old_postuninstall_cmds=
6808
6809 if test -n "$RANLIB"; then
6810 case $host_os in
6811 openbsd*)
6812 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6813 ;;
6814 *)
6815 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6816 ;;
6817 esac
6818 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6819 fi
6820
6821 case $host_os in
6822 darwin*)
6823 lock_old_archive_extraction=yes ;;
6824 *)
6825 lock_old_archive_extraction=no ;;
6826 esac
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866 # If no C compiler was specified, use CC.
6867 LTCC=${LTCC-"$CC"}
6868
6869 # If no C compiler flags were specified, use CFLAGS.
6870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6871
6872 # Allow CC to be a program name with arguments.
6873 compiler=$CC
6874
6875
6876 # Check for command to grab the raw symbol name followed by C symbol from nm.
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6878 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6879 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882
6883 # These are sane defaults that work on at least a few old systems.
6884 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6885
6886 # Character class describing NM global symbol codes.
6887 symcode='[BCDEGRST]'
6888
6889 # Regexp to match symbols that can be accessed directly from C.
6890 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6891
6892 # Define system-specific variables.
6893 case $host_os in
6894 aix*)
6895 symcode='[BCDT]'
6896 ;;
6897 cygwin* | mingw* | pw32* | cegcc*)
6898 symcode='[ABCDGISTW]'
6899 ;;
6900 hpux*)
6901 if test "$host_cpu" = ia64; then
6902 symcode='[ABCDEGRST]'
6903 fi
6904 ;;
6905 irix* | nonstopux*)
6906 symcode='[BCDEGRST]'
6907 ;;
6908 osf*)
6909 symcode='[BCDEGQRST]'
6910 ;;
6911 solaris*)
6912 symcode='[BDRT]'
6913 ;;
6914 sco3.2v5*)
6915 symcode='[DT]'
6916 ;;
6917 sysv4.2uw2*)
6918 symcode='[DT]'
6919 ;;
6920 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6921 symcode='[ABDT]'
6922 ;;
6923 sysv4)
6924 symcode='[DFNSTU]'
6925 ;;
6926 esac
6927
6928 # If we're using GNU nm, then use its standard symbol codes.
6929 case `$NM -V 2>&1` in
6930 *GNU* | *'with BFD'*)
6931 symcode='[ABCDGIRSTW]' ;;
6932 esac
6933
6934 # Transform an extracted symbol line into a proper C declaration.
6935 # Some systems (esp. on ia64) link data and code symbols differently,
6936 # so use this general approach.
6937 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6938
6939 # Transform an extracted symbol line into symbol name and symbol address
6940 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6941 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'"
6942
6943 # Handle CRLF in mingw tool chain
6944 opt_cr=
6945 case $build_os in
6946 mingw*)
6947 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6948 ;;
6949 esac
6950
6951 # Try without a prefix underscore, then with it.
6952 for ac_symprfx in "" "_"; do
6953
6954 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6955 symxfrm="\\1 $ac_symprfx\\2 \\2"
6956
6957 # Write the raw and C identifiers.
6958 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6959 # Fake it for dumpbin and say T for any non-static function
6960 # and D for any global variable.
6961 # Also find C++ and __fastcall symbols from MSVC++,
6962 # which start with @ or ?.
6963 lt_cv_sys_global_symbol_pipe="$AWK '"\
6964 " {last_section=section; section=\$ 3};"\
6965 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6966 " \$ 0!~/External *\|/{next};"\
6967 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6968 " {if(hide[section]) next};"\
6969 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6970 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6971 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6972 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6973 " ' prfx=^$ac_symprfx"
6974 else
6975 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6976 fi
6977
6978 # Check to see that the pipe works correctly.
6979 pipe_works=no
6980
6981 rm -f conftest*
6982 cat > conftest.$ac_ext <<_LT_EOF
6983 #ifdef __cplusplus
6984 extern "C" {
6985 #endif
6986 char nm_test_var;
6987 void nm_test_func(void);
6988 void nm_test_func(void){}
6989 #ifdef __cplusplus
6990 }
6991 #endif
6992 int main(){nm_test_var='a';nm_test_func();return(0);}
6993 _LT_EOF
6994
6995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6996 (eval $ac_compile) 2>&5
6997 ac_status=$?
6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6999 test $ac_status = 0; }; then
7000 # Now try to grab the symbols.
7001 nlist=conftest.nm
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7003 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s "$nlist"; then
7007 # Try sorting and uniquifying the output.
7008 if sort "$nlist" | uniq > "$nlist"T; then
7009 mv -f "$nlist"T "$nlist"
7010 else
7011 rm -f "$nlist"T
7012 fi
7013
7014 # Make sure that we snagged all the symbols we need.
7015 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7016 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7017 cat <<_LT_EOF > conftest.$ac_ext
7018 #ifdef __cplusplus
7019 extern "C" {
7020 #endif
7021
7022 _LT_EOF
7023 # Now generate the symbol file.
7024 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7025
7026 cat <<_LT_EOF >> conftest.$ac_ext
7027
7028 /* The mapping between symbol names and symbols. */
7029 const struct {
7030 const char *name;
7031 void *address;
7032 }
7033 lt__PROGRAM__LTX_preloaded_symbols[] =
7034 {
7035 { "@PROGRAM@", (void *) 0 },
7036 _LT_EOF
7037 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7038 cat <<\_LT_EOF >> conftest.$ac_ext
7039 {0, (void *) 0}
7040 };
7041
7042 /* This works around a problem in FreeBSD linker */
7043 #ifdef FREEBSD_WORKAROUND
7044 static const void *lt_preloaded_setup() {
7045 return lt__PROGRAM__LTX_preloaded_symbols;
7046 }
7047 #endif
7048
7049 #ifdef __cplusplus
7050 }
7051 #endif
7052 _LT_EOF
7053 # Now try linking the two files.
7054 mv conftest.$ac_objext conftstm.$ac_objext
7055 lt_save_LIBS="$LIBS"
7056 lt_save_CFLAGS="$CFLAGS"
7057 LIBS="conftstm.$ac_objext"
7058 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7060 (eval $ac_link) 2>&5
7061 ac_status=$?
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7064 pipe_works=yes
7065 fi
7066 LIBS="$lt_save_LIBS"
7067 CFLAGS="$lt_save_CFLAGS"
7068 else
7069 echo "cannot find nm_test_func in $nlist" >&5
7070 fi
7071 else
7072 echo "cannot find nm_test_var in $nlist" >&5
7073 fi
7074 else
7075 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7076 fi
7077 else
7078 echo "$progname: failed program was:" >&5
7079 cat conftest.$ac_ext >&5
7080 fi
7081 rm -rf conftest* conftst*
7082
7083 # Do not use the global_symbol_pipe unless it works.
7084 if test "$pipe_works" = yes; then
7085 break
7086 else
7087 lt_cv_sys_global_symbol_pipe=
7088 fi
7089 done
7090
7091 fi
7092
7093 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7094 lt_cv_sys_global_symbol_to_cdecl=
7095 fi
7096 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7098 $as_echo "failed" >&6; }
7099 else
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7101 $as_echo "ok" >&6; }
7102 fi
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125 # Check whether --enable-libtool-lock was given.
7126 if test "${enable_libtool_lock+set}" = set; then :
7127 enableval=$enable_libtool_lock;
7128 fi
7129
7130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7131
7132 # Some flags need to be propagated to the compiler or linker for good
7133 # libtool support.
7134 case $host in
7135 ia64-*-hpux*)
7136 # Find out which ABI we are using.
7137 echo 'int i;' > conftest.$ac_ext
7138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7139 (eval $ac_compile) 2>&5
7140 ac_status=$?
7141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7142 test $ac_status = 0; }; then
7143 case `/usr/bin/file conftest.$ac_objext` in
7144 *ELF-32*)
7145 HPUX_IA64_MODE="32"
7146 ;;
7147 *ELF-64*)
7148 HPUX_IA64_MODE="64"
7149 ;;
7150 esac
7151 fi
7152 rm -rf conftest*
7153 ;;
7154 *-*-irix6*)
7155 # Find out which ABI we are using.
7156 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7158 (eval $ac_compile) 2>&5
7159 ac_status=$?
7160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7161 test $ac_status = 0; }; then
7162 if test "$lt_cv_prog_gnu_ld" = yes; then
7163 case `/usr/bin/file conftest.$ac_objext` in
7164 *32-bit*)
7165 LD="${LD-ld} -melf32bsmip"
7166 ;;
7167 *N32*)
7168 LD="${LD-ld} -melf32bmipn32"
7169 ;;
7170 *64-bit*)
7171 LD="${LD-ld} -melf64bmip"
7172 ;;
7173 esac
7174 else
7175 case `/usr/bin/file conftest.$ac_objext` in
7176 *32-bit*)
7177 LD="${LD-ld} -32"
7178 ;;
7179 *N32*)
7180 LD="${LD-ld} -n32"
7181 ;;
7182 *64-bit*)
7183 LD="${LD-ld} -64"
7184 ;;
7185 esac
7186 fi
7187 fi
7188 rm -rf conftest*
7189 ;;
7190
7191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7193 # Find out which ABI we are using.
7194 echo 'int i;' > conftest.$ac_ext
7195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196 (eval $ac_compile) 2>&5
7197 ac_status=$?
7198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199 test $ac_status = 0; }; then
7200 case `/usr/bin/file conftest.o` in
7201 *32-bit*)
7202 case $host in
7203 x86_64-*kfreebsd*-gnu)
7204 LD="${LD-ld} -m elf_i386_fbsd"
7205 ;;
7206 x86_64-*linux*)
7207 case `/usr/bin/file conftest.o` in
7208 *x86-64*)
7209 LD="${LD-ld} -m elf32_x86_64"
7210 ;;
7211 *)
7212 LD="${LD-ld} -m elf_i386"
7213 ;;
7214 esac
7215 ;;
7216 powerpc64le-*linux*)
7217 LD="${LD-ld} -m elf32lppclinux"
7218 ;;
7219 powerpc64-*linux*)
7220 LD="${LD-ld} -m elf32ppclinux"
7221 ;;
7222 s390x-*linux*)
7223 LD="${LD-ld} -m elf_s390"
7224 ;;
7225 sparc64-*linux*)
7226 LD="${LD-ld} -m elf32_sparc"
7227 ;;
7228 esac
7229 ;;
7230 *64-bit*)
7231 case $host in
7232 x86_64-*kfreebsd*-gnu)
7233 LD="${LD-ld} -m elf_x86_64_fbsd"
7234 ;;
7235 x86_64-*linux*)
7236 LD="${LD-ld} -m elf_x86_64"
7237 ;;
7238 powerpcle-*linux*)
7239 LD="${LD-ld} -m elf64lppc"
7240 ;;
7241 powerpc-*linux*)
7242 LD="${LD-ld} -m elf64ppc"
7243 ;;
7244 s390*-*linux*|s390*-*tpf*)
7245 LD="${LD-ld} -m elf64_s390"
7246 ;;
7247 sparc*-*linux*)
7248 LD="${LD-ld} -m elf64_sparc"
7249 ;;
7250 esac
7251 ;;
7252 esac
7253 fi
7254 rm -rf conftest*
7255 ;;
7256
7257 *-*-sco3.2v5*)
7258 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7259 SAVE_CFLAGS="$CFLAGS"
7260 CFLAGS="$CFLAGS -belf"
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7262 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7263 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7265 else
7266 ac_ext=c
7267 ac_cpp='$CPP $CPPFLAGS'
7268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7271
7272 if test x$gcc_no_link = xyes; then
7273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7274 fi
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277
7278 int
7279 main ()
7280 {
7281
7282 ;
7283 return 0;
7284 }
7285 _ACEOF
7286 if ac_fn_c_try_link "$LINENO"; then :
7287 lt_cv_cc_needs_belf=yes
7288 else
7289 lt_cv_cc_needs_belf=no
7290 fi
7291 rm -f core conftest.err conftest.$ac_objext \
7292 conftest$ac_exeext conftest.$ac_ext
7293 ac_ext=c
7294 ac_cpp='$CPP $CPPFLAGS'
7295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7298
7299 fi
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7301 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7302 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7303 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7304 CFLAGS="$SAVE_CFLAGS"
7305 fi
7306 ;;
7307 sparc*-*solaris*)
7308 # Find out which ABI we are using.
7309 echo 'int i;' > conftest.$ac_ext
7310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7312 ac_status=$?
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 case `/usr/bin/file conftest.o` in
7316 *64-bit*)
7317 case $lt_cv_prog_gnu_ld in
7318 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7319 *)
7320 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 LD="${LD-ld} -64"
7322 fi
7323 ;;
7324 esac
7325 ;;
7326 esac
7327 fi
7328 rm -rf conftest*
7329 ;;
7330 esac
7331
7332 need_locks="$enable_libtool_lock"
7333
7334
7335 case $host_os in
7336 rhapsody* | darwin*)
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$DSYMUTIL"; then
7346 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7350 do
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7358 fi
7359 done
7360 done
7361 IFS=$as_save_IFS
7362
7363 fi
7364 fi
7365 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7366 if test -n "$DSYMUTIL"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7368 $as_echo "$DSYMUTIL" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7372 fi
7373
7374
7375 fi
7376 if test -z "$ac_cv_prog_DSYMUTIL"; then
7377 ac_ct_DSYMUTIL=$DSYMUTIL
7378 # Extract the first word of "dsymutil", so it can be a program name with args.
7379 set dummy dsymutil; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$ac_ct_DSYMUTIL"; then
7386 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7390 do
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7398 fi
7399 done
7400 done
7401 IFS=$as_save_IFS
7402
7403 fi
7404 fi
7405 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7406 if test -n "$ac_ct_DSYMUTIL"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7408 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7412 fi
7413
7414 if test "x$ac_ct_DSYMUTIL" = x; then
7415 DSYMUTIL=":"
7416 else
7417 case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423 DSYMUTIL=$ac_ct_DSYMUTIL
7424 fi
7425 else
7426 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7427 fi
7428
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$NMEDIT"; then
7438 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7442 do
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7447 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7450 fi
7451 done
7452 done
7453 IFS=$as_save_IFS
7454
7455 fi
7456 fi
7457 NMEDIT=$ac_cv_prog_NMEDIT
7458 if test -n "$NMEDIT"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7460 $as_echo "$NMEDIT" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7464 fi
7465
7466
7467 fi
7468 if test -z "$ac_cv_prog_NMEDIT"; then
7469 ac_ct_NMEDIT=$NMEDIT
7470 # Extract the first word of "nmedit", so it can be a program name with args.
7471 set dummy nmedit; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_NMEDIT"; then
7478 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7482 do
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7490 fi
7491 done
7492 done
7493 IFS=$as_save_IFS
7494
7495 fi
7496 fi
7497 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7498 if test -n "$ac_ct_NMEDIT"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7500 $as_echo "$ac_ct_NMEDIT" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7504 fi
7505
7506 if test "x$ac_ct_NMEDIT" = x; then
7507 NMEDIT=":"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 NMEDIT=$ac_ct_NMEDIT
7516 fi
7517 else
7518 NMEDIT="$ac_cv_prog_NMEDIT"
7519 fi
7520
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_LIPO+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$LIPO"; then
7530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7534 do
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7542 fi
7543 done
7544 done
7545 IFS=$as_save_IFS
7546
7547 fi
7548 fi
7549 LIPO=$ac_cv_prog_LIPO
7550 if test -n "$LIPO"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7552 $as_echo "$LIPO" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7556 fi
7557
7558
7559 fi
7560 if test -z "$ac_cv_prog_LIPO"; then
7561 ac_ct_LIPO=$LIPO
7562 # Extract the first word of "lipo", so it can be a program name with args.
7563 set dummy lipo; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_LIPO"; then
7570 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7574 do
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 ac_cv_prog_ac_ct_LIPO="lipo"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7582 fi
7583 done
7584 done
7585 IFS=$as_save_IFS
7586
7587 fi
7588 fi
7589 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7590 if test -n "$ac_ct_LIPO"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7592 $as_echo "$ac_ct_LIPO" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7596 fi
7597
7598 if test "x$ac_ct_LIPO" = x; then
7599 LIPO=":"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 LIPO=$ac_ct_LIPO
7608 fi
7609 else
7610 LIPO="$ac_cv_prog_LIPO"
7611 fi
7612
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}otool; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$OTOOL"; then
7622 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7626 do
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7634 fi
7635 done
7636 done
7637 IFS=$as_save_IFS
7638
7639 fi
7640 fi
7641 OTOOL=$ac_cv_prog_OTOOL
7642 if test -n "$OTOOL"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7644 $as_echo "$OTOOL" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7648 fi
7649
7650
7651 fi
7652 if test -z "$ac_cv_prog_OTOOL"; then
7653 ac_ct_OTOOL=$OTOOL
7654 # Extract the first word of "otool", so it can be a program name with args.
7655 set dummy otool; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_OTOOL"; then
7662 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7666 do
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7671 ac_cv_prog_ac_ct_OTOOL="otool"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7674 fi
7675 done
7676 done
7677 IFS=$as_save_IFS
7678
7679 fi
7680 fi
7681 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7682 if test -n "$ac_ct_OTOOL"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7684 $as_echo "$ac_ct_OTOOL" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7688 fi
7689
7690 if test "x$ac_ct_OTOOL" = x; then
7691 OTOOL=":"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 OTOOL=$ac_ct_OTOOL
7700 fi
7701 else
7702 OTOOL="$ac_cv_prog_OTOOL"
7703 fi
7704
7705 if test -n "$ac_tool_prefix"; then
7706 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7707 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709 $as_echo_n "checking for $ac_word... " >&6; }
7710 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7711 $as_echo_n "(cached) " >&6
7712 else
7713 if test -n "$OTOOL64"; then
7714 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7715 else
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 for as_dir in $PATH
7718 do
7719 IFS=$as_save_IFS
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 break 2
7726 fi
7727 done
7728 done
7729 IFS=$as_save_IFS
7730
7731 fi
7732 fi
7733 OTOOL64=$ac_cv_prog_OTOOL64
7734 if test -n "$OTOOL64"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7736 $as_echo "$OTOOL64" >&6; }
7737 else
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7740 fi
7741
7742
7743 fi
7744 if test -z "$ac_cv_prog_OTOOL64"; then
7745 ac_ct_OTOOL64=$OTOOL64
7746 # Extract the first word of "otool64", so it can be a program name with args.
7747 set dummy otool64; ac_word=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7752 else
7753 if test -n "$ac_ct_OTOOL64"; then
7754 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7755 else
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 for as_dir in $PATH
7758 do
7759 IFS=$as_save_IFS
7760 test -z "$as_dir" && as_dir=.
7761 for ac_exec_ext in '' $ac_executable_extensions; do
7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 ac_cv_prog_ac_ct_OTOOL64="otool64"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 break 2
7766 fi
7767 done
7768 done
7769 IFS=$as_save_IFS
7770
7771 fi
7772 fi
7773 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7774 if test -n "$ac_ct_OTOOL64"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7776 $as_echo "$ac_ct_OTOOL64" >&6; }
7777 else
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 $as_echo "no" >&6; }
7780 fi
7781
7782 if test "x$ac_ct_OTOOL64" = x; then
7783 OTOOL64=":"
7784 else
7785 case $cross_compiling:$ac_tool_warned in
7786 yes:)
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7789 ac_tool_warned=yes ;;
7790 esac
7791 OTOOL64=$ac_ct_OTOOL64
7792 fi
7793 else
7794 OTOOL64="$ac_cv_prog_OTOOL64"
7795 fi
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7824 $as_echo_n "checking for -single_module linker flag... " >&6; }
7825 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7826 $as_echo_n "(cached) " >&6
7827 else
7828 lt_cv_apple_cc_single_mod=no
7829 if test -z "${LT_MULTI_MODULE}"; then
7830 # By default we will add the -single_module flag. You can override
7831 # by either setting the environment variable LT_MULTI_MODULE
7832 # non-empty at configure time, or by adding -multi_module to the
7833 # link flags.
7834 rm -rf libconftest.dylib*
7835 echo "int foo(void){return 1;}" > conftest.c
7836 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c" >&5
7838 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7839 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7840 _lt_result=$?
7841 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7842 lt_cv_apple_cc_single_mod=yes
7843 else
7844 cat conftest.err >&5
7845 fi
7846 rm -rf libconftest.dylib*
7847 rm -f conftest.*
7848 fi
7849 fi
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7851 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7853 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7854 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 lt_cv_ld_exported_symbols_list=no
7858 save_LDFLAGS=$LDFLAGS
7859 echo "_main" > conftest.sym
7860 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7861 if test x$gcc_no_link = xyes; then
7862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7863 fi
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7866
7867 int
7868 main ()
7869 {
7870
7871 ;
7872 return 0;
7873 }
7874 _ACEOF
7875 if ac_fn_c_try_link "$LINENO"; then :
7876 lt_cv_ld_exported_symbols_list=yes
7877 else
7878 lt_cv_ld_exported_symbols_list=no
7879 fi
7880 rm -f core conftest.err conftest.$ac_objext \
7881 conftest$ac_exeext conftest.$ac_ext
7882 LDFLAGS="$save_LDFLAGS"
7883
7884 fi
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7886 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7888 $as_echo_n "checking for -force_load linker flag... " >&6; }
7889 if test "${lt_cv_ld_force_load+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 lt_cv_ld_force_load=no
7893 cat > conftest.c << _LT_EOF
7894 int forced_loaded() { return 2;}
7895 _LT_EOF
7896 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7897 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7898 echo "$AR cru libconftest.a conftest.o" >&5
7899 $AR cru libconftest.a conftest.o 2>&5
7900 cat > conftest.c << _LT_EOF
7901 int main() { return 0;}
7902 _LT_EOF
7903 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7904 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7905 _lt_result=$?
7906 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7907 lt_cv_ld_force_load=yes
7908 else
7909 cat conftest.err >&5
7910 fi
7911 rm -f conftest.err libconftest.a conftest conftest.c
7912 rm -rf conftest.dSYM
7913
7914 fi
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7916 $as_echo "$lt_cv_ld_force_load" >&6; }
7917 case $host_os in
7918 rhapsody* | darwin1.[012])
7919 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7920 darwin1.*)
7921 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7922 darwin*) # darwin 5.x on
7923 # if running on 10.5 or later, the deployment target defaults
7924 # to the OS version, if on x86, and 10.4, the deployment
7925 # target defaults to 10.4. Don't you love it?
7926 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7927 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7928 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7929 10.[012][,.]*)
7930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7931 10.*)
7932 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7933 esac
7934 ;;
7935 esac
7936 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7937 _lt_dar_single_mod='$single_module'
7938 fi
7939 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7940 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7941 else
7942 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7943 fi
7944 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7945 _lt_dsymutil='~$DSYMUTIL $lib || :'
7946 else
7947 _lt_dsymutil=
7948 fi
7949 ;;
7950 esac
7951
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7953 $as_echo_n "checking for ANSI C header files... " >&6; }
7954 if test "${ac_cv_header_stdc+set}" = set; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 #include <stdlib.h>
7960 #include <stdarg.h>
7961 #include <string.h>
7962 #include <float.h>
7963
7964 int
7965 main ()
7966 {
7967
7968 ;
7969 return 0;
7970 }
7971 _ACEOF
7972 if ac_fn_c_try_compile "$LINENO"; then :
7973 ac_cv_header_stdc=yes
7974 else
7975 ac_cv_header_stdc=no
7976 fi
7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7978
7979 if test $ac_cv_header_stdc = yes; then
7980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 #include <string.h>
7984
7985 _ACEOF
7986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7987 $EGREP "memchr" >/dev/null 2>&1; then :
7988
7989 else
7990 ac_cv_header_stdc=no
7991 fi
7992 rm -f conftest*
7993
7994 fi
7995
7996 if test $ac_cv_header_stdc = yes; then
7997 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 #include <stdlib.h>
8001
8002 _ACEOF
8003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8004 $EGREP "free" >/dev/null 2>&1; then :
8005
8006 else
8007 ac_cv_header_stdc=no
8008 fi
8009 rm -f conftest*
8010
8011 fi
8012
8013 if test $ac_cv_header_stdc = yes; then
8014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8015 if test "$cross_compiling" = yes; then :
8016 :
8017 else
8018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 #include <ctype.h>
8021 #include <stdlib.h>
8022 #if ((' ' & 0x0FF) == 0x020)
8023 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8024 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8025 #else
8026 # define ISLOWER(c) \
8027 (('a' <= (c) && (c) <= 'i') \
8028 || ('j' <= (c) && (c) <= 'r') \
8029 || ('s' <= (c) && (c) <= 'z'))
8030 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8031 #endif
8032
8033 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8034 int
8035 main ()
8036 {
8037 int i;
8038 for (i = 0; i < 256; i++)
8039 if (XOR (islower (i), ISLOWER (i))
8040 || toupper (i) != TOUPPER (i))
8041 return 2;
8042 return 0;
8043 }
8044 _ACEOF
8045 if ac_fn_c_try_run "$LINENO"; then :
8046
8047 else
8048 ac_cv_header_stdc=no
8049 fi
8050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8051 conftest.$ac_objext conftest.beam conftest.$ac_ext
8052 fi
8053
8054 fi
8055 fi
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8057 $as_echo "$ac_cv_header_stdc" >&6; }
8058 if test $ac_cv_header_stdc = yes; then
8059
8060 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8061
8062 fi
8063
8064 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8066 inttypes.h stdint.h unistd.h
8067 do :
8068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8070 "
8071 eval as_val=\$$as_ac_Header
8072 if test "x$as_val" = x""yes; then :
8073 cat >>confdefs.h <<_ACEOF
8074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8075 _ACEOF
8076
8077 fi
8078
8079 done
8080
8081
8082 for ac_header in dlfcn.h
8083 do :
8084 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8085 "
8086 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_DLFCN_H 1
8089 _ACEOF
8090
8091 fi
8092
8093 done
8094
8095
8096
8097
8098
8099
8100 # Set options
8101
8102
8103
8104
8105 enable_win32_dll=no
8106
8107
8108 # Check whether --enable-shared was given.
8109 if test "${enable_shared+set}" = set; then :
8110 enableval=$enable_shared; p=${PACKAGE-default}
8111 case $enableval in
8112 yes) enable_shared=yes ;;
8113 no) enable_shared=no ;;
8114 *)
8115 enable_shared=no
8116 # Look at the argument we got. We use all the common list separators.
8117 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8118 for pkg in $enableval; do
8119 IFS="$lt_save_ifs"
8120 if test "X$pkg" = "X$p"; then
8121 enable_shared=yes
8122 fi
8123 done
8124 IFS="$lt_save_ifs"
8125 ;;
8126 esac
8127 else
8128 enable_shared=yes
8129 fi
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139 # Check whether --enable-static was given.
8140 if test "${enable_static+set}" = set; then :
8141 enableval=$enable_static; p=${PACKAGE-default}
8142 case $enableval in
8143 yes) enable_static=yes ;;
8144 no) enable_static=no ;;
8145 *)
8146 enable_static=no
8147 # Look at the argument we got. We use all the common list separators.
8148 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8149 for pkg in $enableval; do
8150 IFS="$lt_save_ifs"
8151 if test "X$pkg" = "X$p"; then
8152 enable_static=yes
8153 fi
8154 done
8155 IFS="$lt_save_ifs"
8156 ;;
8157 esac
8158 else
8159 enable_static=yes
8160 fi
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171 # Check whether --with-pic was given.
8172 if test "${with_pic+set}" = set; then :
8173 withval=$with_pic; pic_mode="$withval"
8174 else
8175 pic_mode=default
8176 fi
8177
8178
8179 test -z "$pic_mode" && pic_mode=default
8180
8181
8182
8183
8184
8185
8186
8187 # Check whether --enable-fast-install was given.
8188 if test "${enable_fast_install+set}" = set; then :
8189 enableval=$enable_fast_install; p=${PACKAGE-default}
8190 case $enableval in
8191 yes) enable_fast_install=yes ;;
8192 no) enable_fast_install=no ;;
8193 *)
8194 enable_fast_install=no
8195 # Look at the argument we got. We use all the common list separators.
8196 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8197 for pkg in $enableval; do
8198 IFS="$lt_save_ifs"
8199 if test "X$pkg" = "X$p"; then
8200 enable_fast_install=yes
8201 fi
8202 done
8203 IFS="$lt_save_ifs"
8204 ;;
8205 esac
8206 else
8207 enable_fast_install=yes
8208 fi
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220 # This can be used to rebuild libtool when needed
8221 LIBTOOL_DEPS="$ltmain"
8222
8223 # Always use our own libtool.
8224 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251 test -z "$LN_S" && LN_S="ln -s"
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266 if test -n "${ZSH_VERSION+set}" ; then
8267 setopt NO_GLOB_SUBST
8268 fi
8269
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8271 $as_echo_n "checking for objdir... " >&6; }
8272 if test "${lt_cv_objdir+set}" = set; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 rm -f .libs 2>/dev/null
8276 mkdir .libs 2>/dev/null
8277 if test -d .libs; then
8278 lt_cv_objdir=.libs
8279 else
8280 # MS-DOS does not allow filenames that begin with a dot.
8281 lt_cv_objdir=_libs
8282 fi
8283 rmdir .libs 2>/dev/null
8284 fi
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8286 $as_echo "$lt_cv_objdir" >&6; }
8287 objdir=$lt_cv_objdir
8288
8289
8290
8291
8292
8293 cat >>confdefs.h <<_ACEOF
8294 #define LT_OBJDIR "$lt_cv_objdir/"
8295 _ACEOF
8296
8297
8298
8299
8300 case $host_os in
8301 aix3*)
8302 # AIX sometimes has problems with the GCC collect2 program. For some
8303 # reason, if we set the COLLECT_NAMES environment variable, the problems
8304 # vanish in a puff of smoke.
8305 if test "X${COLLECT_NAMES+set}" != Xset; then
8306 COLLECT_NAMES=
8307 export COLLECT_NAMES
8308 fi
8309 ;;
8310 esac
8311
8312 # Global variables:
8313 ofile=libtool
8314 can_build_shared=yes
8315
8316 # All known linkers require a `.a' archive for static linking (except MSVC,
8317 # which needs '.lib').
8318 libext=a
8319
8320 with_gnu_ld="$lt_cv_prog_gnu_ld"
8321
8322 old_CC="$CC"
8323 old_CFLAGS="$CFLAGS"
8324
8325 # Set sane defaults for various variables
8326 test -z "$CC" && CC=cc
8327 test -z "$LTCC" && LTCC=$CC
8328 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8329 test -z "$LD" && LD=ld
8330 test -z "$ac_objext" && ac_objext=o
8331
8332 for cc_temp in $compiler""; do
8333 case $cc_temp in
8334 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8335 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8336 \-*) ;;
8337 *) break;;
8338 esac
8339 done
8340 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8341
8342
8343 # Only perform the check for file, if the check method requires it
8344 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8345 case $deplibs_check_method in
8346 file_magic*)
8347 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8349 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8350 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 case $MAGIC_CMD in
8354 [\\/*] | ?:[\\/]*)
8355 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8356 ;;
8357 *)
8358 lt_save_MAGIC_CMD="$MAGIC_CMD"
8359 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8360 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8361 for ac_dir in $ac_dummy; do
8362 IFS="$lt_save_ifs"
8363 test -z "$ac_dir" && ac_dir=.
8364 if test -f $ac_dir/${ac_tool_prefix}file; then
8365 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8366 if test -n "$file_magic_test_file"; then
8367 case $deplibs_check_method in
8368 "file_magic "*)
8369 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8371 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8372 $EGREP "$file_magic_regex" > /dev/null; then
8373 :
8374 else
8375 cat <<_LT_EOF 1>&2
8376
8377 *** Warning: the command libtool uses to detect shared libraries,
8378 *** $file_magic_cmd, produces output that libtool cannot recognize.
8379 *** The result is that libtool may fail to recognize shared libraries
8380 *** as such. This will affect the creation of libtool libraries that
8381 *** depend on shared libraries, but programs linked with such libtool
8382 *** libraries will work regardless of this problem. Nevertheless, you
8383 *** may want to report the problem to your system manager and/or to
8384 *** bug-libtool@gnu.org
8385
8386 _LT_EOF
8387 fi ;;
8388 esac
8389 fi
8390 break
8391 fi
8392 done
8393 IFS="$lt_save_ifs"
8394 MAGIC_CMD="$lt_save_MAGIC_CMD"
8395 ;;
8396 esac
8397 fi
8398
8399 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8400 if test -n "$MAGIC_CMD"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8402 $as_echo "$MAGIC_CMD" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8406 fi
8407
8408
8409
8410
8411
8412 if test -z "$lt_cv_path_MAGIC_CMD"; then
8413 if test -n "$ac_tool_prefix"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8415 $as_echo_n "checking for file... " >&6; }
8416 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 case $MAGIC_CMD in
8420 [\\/*] | ?:[\\/]*)
8421 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8422 ;;
8423 *)
8424 lt_save_MAGIC_CMD="$MAGIC_CMD"
8425 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8426 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8427 for ac_dir in $ac_dummy; do
8428 IFS="$lt_save_ifs"
8429 test -z "$ac_dir" && ac_dir=.
8430 if test -f $ac_dir/file; then
8431 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8432 if test -n "$file_magic_test_file"; then
8433 case $deplibs_check_method in
8434 "file_magic "*)
8435 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8436 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8437 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8438 $EGREP "$file_magic_regex" > /dev/null; then
8439 :
8440 else
8441 cat <<_LT_EOF 1>&2
8442
8443 *** Warning: the command libtool uses to detect shared libraries,
8444 *** $file_magic_cmd, produces output that libtool cannot recognize.
8445 *** The result is that libtool may fail to recognize shared libraries
8446 *** as such. This will affect the creation of libtool libraries that
8447 *** depend on shared libraries, but programs linked with such libtool
8448 *** libraries will work regardless of this problem. Nevertheless, you
8449 *** may want to report the problem to your system manager and/or to
8450 *** bug-libtool@gnu.org
8451
8452 _LT_EOF
8453 fi ;;
8454 esac
8455 fi
8456 break
8457 fi
8458 done
8459 IFS="$lt_save_ifs"
8460 MAGIC_CMD="$lt_save_MAGIC_CMD"
8461 ;;
8462 esac
8463 fi
8464
8465 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8466 if test -n "$MAGIC_CMD"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8468 $as_echo "$MAGIC_CMD" >&6; }
8469 else
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8471 $as_echo "no" >&6; }
8472 fi
8473
8474
8475 else
8476 MAGIC_CMD=:
8477 fi
8478 fi
8479
8480 fi
8481 ;;
8482 esac
8483
8484 # Use C for the default configuration in the libtool script
8485
8486 lt_save_CC="$CC"
8487 ac_ext=c
8488 ac_cpp='$CPP $CPPFLAGS'
8489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8492
8493
8494 # Source file extension for C test sources.
8495 ac_ext=c
8496
8497 # Object file extension for compiled C test sources.
8498 objext=o
8499 objext=$objext
8500
8501 # Code to be used in simple compile tests
8502 lt_simple_compile_test_code="int some_variable = 0;"
8503
8504 # Code to be used in simple link tests
8505 lt_simple_link_test_code='int main(){return(0);}'
8506
8507
8508
8509
8510
8511
8512
8513 # If no C compiler was specified, use CC.
8514 LTCC=${LTCC-"$CC"}
8515
8516 # If no C compiler flags were specified, use CFLAGS.
8517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8518
8519 # Allow CC to be a program name with arguments.
8520 compiler=$CC
8521
8522 # Save the default compiler, since it gets overwritten when the other
8523 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8524 compiler_DEFAULT=$CC
8525
8526 # save warnings/boilerplate of simple test code
8527 ac_outfile=conftest.$ac_objext
8528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8530 _lt_compiler_boilerplate=`cat conftest.err`
8531 $RM conftest*
8532
8533 ac_outfile=conftest.$ac_objext
8534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8536 _lt_linker_boilerplate=`cat conftest.err`
8537 $RM -r conftest*
8538
8539
8540 ## CAVEAT EMPTOR:
8541 ## There is no encapsulation within the following macros, do not change
8542 ## the running order or otherwise move them around unless you know exactly
8543 ## what you are doing...
8544 if test -n "$compiler"; then
8545
8546 lt_prog_compiler_no_builtin_flag=
8547
8548 if test "$GCC" = yes; then
8549 case $cc_basename in
8550 nvcc*)
8551 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8552 *)
8553 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8554 esac
8555
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8557 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8558 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 lt_cv_prog_compiler_rtti_exceptions=no
8562 ac_outfile=conftest.$ac_objext
8563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8564 lt_compiler_flag="-fno-rtti -fno-exceptions"
8565 # Insert the option either (1) after the last *FLAGS variable, or
8566 # (2) before a word containing "conftest.", or (3) at the end.
8567 # Note that $ac_compile itself does not contain backslashes and begins
8568 # with a dollar sign (not a hyphen), so the echo should work correctly.
8569 # The option is referenced via a variable to avoid confusing sed.
8570 lt_compile=`echo "$ac_compile" | $SED \
8571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573 -e 's:$: $lt_compiler_flag:'`
8574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8575 (eval "$lt_compile" 2>conftest.err)
8576 ac_status=$?
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 if (exit $ac_status) && test -s "$ac_outfile"; then
8580 # The compiler can only warn and ignore the option if not recognized
8581 # So say no if there are warnings other than the usual output.
8582 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8583 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8584 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8585 lt_cv_prog_compiler_rtti_exceptions=yes
8586 fi
8587 fi
8588 $RM conftest*
8589
8590 fi
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8592 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8593
8594 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8595 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8596 else
8597 :
8598 fi
8599
8600 fi
8601
8602
8603
8604
8605
8606
8607 lt_prog_compiler_wl=
8608 lt_prog_compiler_pic=
8609 lt_prog_compiler_static=
8610
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8613
8614 if test "$GCC" = yes; then
8615 lt_prog_compiler_wl='-Wl,'
8616 lt_prog_compiler_static='-static'
8617
8618 case $host_os in
8619 aix*)
8620 # All AIX code is PIC.
8621 if test "$host_cpu" = ia64; then
8622 # AIX 5 now supports IA64 processor
8623 lt_prog_compiler_static='-Bstatic'
8624 fi
8625 lt_prog_compiler_pic='-fPIC'
8626 ;;
8627
8628 amigaos*)
8629 case $host_cpu in
8630 powerpc)
8631 # see comment about AmigaOS4 .so support
8632 lt_prog_compiler_pic='-fPIC'
8633 ;;
8634 m68k)
8635 # FIXME: we need at least 68020 code to build shared libraries, but
8636 # adding the `-m68020' flag to GCC prevents building anything better,
8637 # like `-m68040'.
8638 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8639 ;;
8640 esac
8641 ;;
8642
8643 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8644 # PIC is the default for these OSes.
8645 ;;
8646
8647 mingw* | cygwin* | pw32* | os2* | cegcc*)
8648 # This hack is so that the source file can tell whether it is being
8649 # built for inclusion in a dll (and should export symbols for example).
8650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8651 # (--disable-auto-import) libraries
8652 lt_prog_compiler_pic='-DDLL_EXPORT'
8653 ;;
8654
8655 darwin* | rhapsody*)
8656 # PIC is the default on this platform
8657 # Common symbols not allowed in MH_DYLIB files
8658 lt_prog_compiler_pic='-fno-common'
8659 ;;
8660
8661 haiku*)
8662 # PIC is the default for Haiku.
8663 # The "-static" flag exists, but is broken.
8664 lt_prog_compiler_static=
8665 ;;
8666
8667 hpux*)
8668 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8669 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8670 # sets the default TLS model and affects inlining.
8671 case $host_cpu in
8672 hppa*64*)
8673 # +Z the default
8674 ;;
8675 *)
8676 lt_prog_compiler_pic='-fPIC'
8677 ;;
8678 esac
8679 ;;
8680
8681 interix[3-9]*)
8682 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8683 # Instead, we relocate shared libraries at runtime.
8684 ;;
8685
8686 msdosdjgpp*)
8687 # Just because we use GCC doesn't mean we suddenly get shared libraries
8688 # on systems that don't support them.
8689 lt_prog_compiler_can_build_shared=no
8690 enable_shared=no
8691 ;;
8692
8693 *nto* | *qnx*)
8694 # QNX uses GNU C++, but need to define -shared option too, otherwise
8695 # it will coredump.
8696 lt_prog_compiler_pic='-fPIC -shared'
8697 ;;
8698
8699 sysv4*MP*)
8700 if test -d /usr/nec; then
8701 lt_prog_compiler_pic=-Kconform_pic
8702 fi
8703 ;;
8704
8705 *)
8706 lt_prog_compiler_pic='-fPIC'
8707 ;;
8708 esac
8709
8710 case $cc_basename in
8711 nvcc*) # Cuda Compiler Driver 2.2
8712 lt_prog_compiler_wl='-Xlinker '
8713 lt_prog_compiler_pic='-Xcompiler -fPIC'
8714 ;;
8715 esac
8716 else
8717 # PORTME Check for flag to pass linker flags through the system compiler.
8718 case $host_os in
8719 aix*)
8720 lt_prog_compiler_wl='-Wl,'
8721 if test "$host_cpu" = ia64; then
8722 # AIX 5 now supports IA64 processor
8723 lt_prog_compiler_static='-Bstatic'
8724 else
8725 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8726 fi
8727 ;;
8728
8729 mingw* | cygwin* | pw32* | os2* | cegcc*)
8730 # This hack is so that the source file can tell whether it is being
8731 # built for inclusion in a dll (and should export symbols for example).
8732 lt_prog_compiler_pic='-DDLL_EXPORT'
8733 ;;
8734
8735 hpux9* | hpux10* | hpux11*)
8736 lt_prog_compiler_wl='-Wl,'
8737 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8738 # not for PA HP-UX.
8739 case $host_cpu in
8740 hppa*64*|ia64*)
8741 # +Z the default
8742 ;;
8743 *)
8744 lt_prog_compiler_pic='+Z'
8745 ;;
8746 esac
8747 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8748 lt_prog_compiler_static='${wl}-a ${wl}archive'
8749 ;;
8750
8751 irix5* | irix6* | nonstopux*)
8752 lt_prog_compiler_wl='-Wl,'
8753 # PIC (with -KPIC) is the default.
8754 lt_prog_compiler_static='-non_shared'
8755 ;;
8756
8757 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8758 case $cc_basename in
8759 # old Intel for x86_64 which still supported -KPIC.
8760 ecc*)
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-static'
8764 ;;
8765 # icc used to be incompatible with GCC.
8766 # ICC 10 doesn't accept -KPIC any more.
8767 icc* | ifort*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-fPIC'
8770 lt_prog_compiler_static='-static'
8771 ;;
8772 # Lahey Fortran 8.1.
8773 lf95*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='--shared'
8776 lt_prog_compiler_static='--static'
8777 ;;
8778 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8779 # Portland Group compilers (*not* the Pentium gcc compiler,
8780 # which looks to be a dead project)
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_pic='-fpic'
8783 lt_prog_compiler_static='-Bstatic'
8784 ;;
8785 ccc*)
8786 lt_prog_compiler_wl='-Wl,'
8787 # All Alpha code is PIC.
8788 lt_prog_compiler_static='-non_shared'
8789 ;;
8790 xl* | bgxl* | bgf* | mpixl*)
8791 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-qpic'
8794 lt_prog_compiler_static='-qstaticlink'
8795 ;;
8796 *)
8797 case `$CC -V 2>&1 | sed 5q` in
8798 *Sun\ F* | *Sun*Fortran*)
8799 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8800 lt_prog_compiler_pic='-KPIC'
8801 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl=''
8803 ;;
8804 *Sun\ C*)
8805 # Sun C 5.9
8806 lt_prog_compiler_pic='-KPIC'
8807 lt_prog_compiler_static='-Bstatic'
8808 lt_prog_compiler_wl='-Wl,'
8809 ;;
8810 esac
8811 ;;
8812 esac
8813 ;;
8814
8815 newsos6)
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-Bstatic'
8818 ;;
8819
8820 *nto* | *qnx*)
8821 # QNX uses GNU C++, but need to define -shared option too, otherwise
8822 # it will coredump.
8823 lt_prog_compiler_pic='-fPIC -shared'
8824 ;;
8825
8826 osf3* | osf4* | osf5*)
8827 lt_prog_compiler_wl='-Wl,'
8828 # All OSF/1 code is PIC.
8829 lt_prog_compiler_static='-non_shared'
8830 ;;
8831
8832 rdos*)
8833 lt_prog_compiler_static='-non_shared'
8834 ;;
8835
8836 solaris*)
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-Bstatic'
8839 case $cc_basename in
8840 f77* | f90* | f95*)
8841 lt_prog_compiler_wl='-Qoption ld ';;
8842 *)
8843 lt_prog_compiler_wl='-Wl,';;
8844 esac
8845 ;;
8846
8847 sunos4*)
8848 lt_prog_compiler_wl='-Qoption ld '
8849 lt_prog_compiler_pic='-PIC'
8850 lt_prog_compiler_static='-Bstatic'
8851 ;;
8852
8853 sysv4 | sysv4.2uw2* | sysv4.3*)
8854 lt_prog_compiler_wl='-Wl,'
8855 lt_prog_compiler_pic='-KPIC'
8856 lt_prog_compiler_static='-Bstatic'
8857 ;;
8858
8859 sysv4*MP*)
8860 if test -d /usr/nec ;then
8861 lt_prog_compiler_pic='-Kconform_pic'
8862 lt_prog_compiler_static='-Bstatic'
8863 fi
8864 ;;
8865
8866 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8867 lt_prog_compiler_wl='-Wl,'
8868 lt_prog_compiler_pic='-KPIC'
8869 lt_prog_compiler_static='-Bstatic'
8870 ;;
8871
8872 unicos*)
8873 lt_prog_compiler_wl='-Wl,'
8874 lt_prog_compiler_can_build_shared=no
8875 ;;
8876
8877 uts4*)
8878 lt_prog_compiler_pic='-pic'
8879 lt_prog_compiler_static='-Bstatic'
8880 ;;
8881
8882 *)
8883 lt_prog_compiler_can_build_shared=no
8884 ;;
8885 esac
8886 fi
8887
8888 case $host_os in
8889 # For platforms which do not support PIC, -DPIC is meaningless:
8890 *djgpp*)
8891 lt_prog_compiler_pic=
8892 ;;
8893 *)
8894 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8895 ;;
8896 esac
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8898 $as_echo "$lt_prog_compiler_pic" >&6; }
8899
8900
8901
8902
8903
8904
8905 #
8906 # Check to make sure the PIC flag actually works.
8907 #
8908 if test -n "$lt_prog_compiler_pic"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8910 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8911 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_pic_works=no
8915 ac_outfile=conftest.$ac_objext
8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8917 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8918 # Insert the option either (1) after the last *FLAGS variable, or
8919 # (2) before a word containing "conftest.", or (3) at the end.
8920 # Note that $ac_compile itself does not contain backslashes and begins
8921 # with a dollar sign (not a hyphen), so the echo should work correctly.
8922 # The option is referenced via a variable to avoid confusing sed.
8923 lt_compile=`echo "$ac_compile" | $SED \
8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926 -e 's:$: $lt_compiler_flag:'`
8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928 (eval "$lt_compile" 2>conftest.err)
8929 ac_status=$?
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 if (exit $ac_status) && test -s "$ac_outfile"; then
8933 # The compiler can only warn and ignore the option if not recognized
8934 # So say no if there are warnings other than the usual output.
8935 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8936 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8937 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8938 lt_cv_prog_compiler_pic_works=yes
8939 fi
8940 fi
8941 $RM conftest*
8942
8943 fi
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8945 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8946
8947 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8948 case $lt_prog_compiler_pic in
8949 "" | " "*) ;;
8950 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8951 esac
8952 else
8953 lt_prog_compiler_pic=
8954 lt_prog_compiler_can_build_shared=no
8955 fi
8956
8957 fi
8958
8959
8960
8961
8962
8963
8964 #
8965 # Check to make sure the static flag actually works.
8966 #
8967 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8969 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8970 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 lt_cv_prog_compiler_static_works=no
8974 save_LDFLAGS="$LDFLAGS"
8975 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8976 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8977 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8978 # The linker can only warn and ignore the option if not recognized
8979 # So say no if there are warnings
8980 if test -s conftest.err; then
8981 # Append any errors to the config.log.
8982 cat conftest.err 1>&5
8983 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8984 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8985 if diff conftest.exp conftest.er2 >/dev/null; then
8986 lt_cv_prog_compiler_static_works=yes
8987 fi
8988 else
8989 lt_cv_prog_compiler_static_works=yes
8990 fi
8991 fi
8992 $RM -r conftest*
8993 LDFLAGS="$save_LDFLAGS"
8994
8995 fi
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8997 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8998
8999 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9000 :
9001 else
9002 lt_prog_compiler_static=
9003 fi
9004
9005
9006
9007
9008
9009
9010
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9012 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9013 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 lt_cv_prog_compiler_c_o=no
9017 $RM -r conftest 2>/dev/null
9018 mkdir conftest
9019 cd conftest
9020 mkdir out
9021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9022
9023 lt_compiler_flag="-o out/conftest2.$ac_objext"
9024 # Insert the option either (1) after the last *FLAGS variable, or
9025 # (2) before a word containing "conftest.", or (3) at the end.
9026 # Note that $ac_compile itself does not contain backslashes and begins
9027 # with a dollar sign (not a hyphen), so the echo should work correctly.
9028 lt_compile=`echo "$ac_compile" | $SED \
9029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031 -e 's:$: $lt_compiler_flag:'`
9032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9033 (eval "$lt_compile" 2>out/conftest.err)
9034 ac_status=$?
9035 cat out/conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9038 then
9039 # The compiler can only warn and ignore the option if not recognized
9040 # So say no if there are warnings
9041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9042 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9043 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9044 lt_cv_prog_compiler_c_o=yes
9045 fi
9046 fi
9047 chmod u+w . 2>&5
9048 $RM conftest*
9049 # SGI C++ compiler will create directory out/ii_files/ for
9050 # template instantiation
9051 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9052 $RM out/* && rmdir out
9053 cd ..
9054 $RM -r conftest
9055 $RM conftest*
9056
9057 fi
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9059 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9060
9061
9062
9063
9064
9065
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9068 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 lt_cv_prog_compiler_c_o=no
9072 $RM -r conftest 2>/dev/null
9073 mkdir conftest
9074 cd conftest
9075 mkdir out
9076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9077
9078 lt_compiler_flag="-o out/conftest2.$ac_objext"
9079 # Insert the option either (1) after the last *FLAGS variable, or
9080 # (2) before a word containing "conftest.", or (3) at the end.
9081 # Note that $ac_compile itself does not contain backslashes and begins
9082 # with a dollar sign (not a hyphen), so the echo should work correctly.
9083 lt_compile=`echo "$ac_compile" | $SED \
9084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9086 -e 's:$: $lt_compiler_flag:'`
9087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9088 (eval "$lt_compile" 2>out/conftest.err)
9089 ac_status=$?
9090 cat out/conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9093 then
9094 # The compiler can only warn and ignore the option if not recognized
9095 # So say no if there are warnings
9096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9099 lt_cv_prog_compiler_c_o=yes
9100 fi
9101 fi
9102 chmod u+w . 2>&5
9103 $RM conftest*
9104 # SGI C++ compiler will create directory out/ii_files/ for
9105 # template instantiation
9106 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9107 $RM out/* && rmdir out
9108 cd ..
9109 $RM -r conftest
9110 $RM conftest*
9111
9112 fi
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9114 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9115
9116
9117
9118
9119 hard_links="nottested"
9120 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9121 # do not overwrite the value of need_locks provided by the user
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9123 $as_echo_n "checking if we can lock with hard links... " >&6; }
9124 hard_links=yes
9125 $RM conftest*
9126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9127 touch conftest.a
9128 ln conftest.a conftest.b 2>&5 || hard_links=no
9129 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9131 $as_echo "$hard_links" >&6; }
9132 if test "$hard_links" = no; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9134 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9135 need_locks=warn
9136 fi
9137 else
9138 need_locks=no
9139 fi
9140
9141
9142
9143
9144
9145
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9147 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9148
9149 runpath_var=
9150 allow_undefined_flag=
9151 always_export_symbols=no
9152 archive_cmds=
9153 archive_expsym_cmds=
9154 compiler_needs_object=no
9155 enable_shared_with_static_runtimes=no
9156 export_dynamic_flag_spec=
9157 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9158 hardcode_automatic=no
9159 hardcode_direct=no
9160 hardcode_direct_absolute=no
9161 hardcode_libdir_flag_spec=
9162 hardcode_libdir_flag_spec_ld=
9163 hardcode_libdir_separator=
9164 hardcode_minus_L=no
9165 hardcode_shlibpath_var=unsupported
9166 inherit_rpath=no
9167 link_all_deplibs=unknown
9168 module_cmds=
9169 module_expsym_cmds=
9170 old_archive_from_new_cmds=
9171 old_archive_from_expsyms_cmds=
9172 thread_safe_flag_spec=
9173 whole_archive_flag_spec=
9174 # include_expsyms should be a list of space-separated symbols to be *always*
9175 # included in the symbol list
9176 include_expsyms=
9177 # exclude_expsyms can be an extended regexp of symbols to exclude
9178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9180 # as well as any symbol that contains `d'.
9181 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9183 # platforms (ab)use it in PIC code, but their linkers get confused if
9184 # the symbol is explicitly referenced. Since portable code cannot
9185 # rely on this symbol name, it's probably fine to never include it in
9186 # preloaded symbol tables.
9187 # Exclude shared library initialization/finalization symbols.
9188 extract_expsyms_cmds=
9189
9190 case $host_os in
9191 cygwin* | mingw* | pw32* | cegcc*)
9192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9193 # When not using gcc, we currently assume that we are using
9194 # Microsoft Visual C++.
9195 if test "$GCC" != yes; then
9196 with_gnu_ld=no
9197 fi
9198 ;;
9199 interix*)
9200 # we just hope/assume this is gcc and not c89 (= MSVC++)
9201 with_gnu_ld=yes
9202 ;;
9203 openbsd*)
9204 with_gnu_ld=no
9205 ;;
9206 esac
9207
9208 ld_shlibs=yes
9209
9210 # On some targets, GNU ld is compatible enough with the native linker
9211 # that we're better off using the native interface for both.
9212 lt_use_gnu_ld_interface=no
9213 if test "$with_gnu_ld" = yes; then
9214 case $host_os in
9215 aix*)
9216 # The AIX port of GNU ld has always aspired to compatibility
9217 # with the native linker. However, as the warning in the GNU ld
9218 # block says, versions before 2.19.5* couldn't really create working
9219 # shared libraries, regardless of the interface used.
9220 case `$LD -v 2>&1` in
9221 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9222 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9223 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9224 *)
9225 lt_use_gnu_ld_interface=yes
9226 ;;
9227 esac
9228 ;;
9229 *)
9230 lt_use_gnu_ld_interface=yes
9231 ;;
9232 esac
9233 fi
9234
9235 if test "$lt_use_gnu_ld_interface" = yes; then
9236 # If archive_cmds runs LD, not CC, wlarc should be empty
9237 wlarc='${wl}'
9238
9239 # Set some defaults for GNU ld with shared library support. These
9240 # are reset later if shared libraries are not supported. Putting them
9241 # here allows them to be overridden if necessary.
9242 runpath_var=LD_RUN_PATH
9243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9244 export_dynamic_flag_spec='${wl}--export-dynamic'
9245 # ancient GNU ld didn't support --whole-archive et. al.
9246 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9247 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9248 else
9249 whole_archive_flag_spec=
9250 fi
9251 supports_anon_versioning=no
9252 case `$LD -v 2>&1` in
9253 *GNU\ gold*) supports_anon_versioning=yes ;;
9254 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9255 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9256 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9257 *\ 2.11.*) ;; # other 2.11 versions
9258 *) supports_anon_versioning=yes ;;
9259 esac
9260
9261 # See if GNU ld supports shared libraries.
9262 case $host_os in
9263 aix[3-9]*)
9264 # On AIX/PPC, the GNU linker is very broken
9265 if test "$host_cpu" != ia64; then
9266 ld_shlibs=no
9267 cat <<_LT_EOF 1>&2
9268
9269 *** Warning: the GNU linker, at least up to release 2.19, is reported
9270 *** to be unable to reliably create shared libraries on AIX.
9271 *** Therefore, libtool is disabling shared libraries support. If you
9272 *** really care for shared libraries, you may want to install binutils
9273 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9274 *** You will then need to restart the configuration process.
9275
9276 _LT_EOF
9277 fi
9278 ;;
9279
9280 amigaos*)
9281 case $host_cpu in
9282 powerpc)
9283 # see comment about AmigaOS4 .so support
9284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285 archive_expsym_cmds=''
9286 ;;
9287 m68k)
9288 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)'
9289 hardcode_libdir_flag_spec='-L$libdir'
9290 hardcode_minus_L=yes
9291 ;;
9292 esac
9293 ;;
9294
9295 beos*)
9296 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9297 allow_undefined_flag=unsupported
9298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9299 # support --undefined. This deserves some investigation. FIXME
9300 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 else
9302 ld_shlibs=no
9303 fi
9304 ;;
9305
9306 cygwin* | mingw* | pw32* | cegcc*)
9307 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9308 # as there is no search path for DLLs.
9309 hardcode_libdir_flag_spec='-L$libdir'
9310 export_dynamic_flag_spec='${wl}--export-all-symbols'
9311 allow_undefined_flag=unsupported
9312 always_export_symbols=no
9313 enable_shared_with_static_runtimes=yes
9314 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9315
9316 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9318 # If the export-symbols file already is a .def file (1st line
9319 # is EXPORTS), use it as is; otherwise, prepend...
9320 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9321 cp $export_symbols $output_objdir/$soname.def;
9322 else
9323 echo EXPORTS > $output_objdir/$soname.def;
9324 cat $export_symbols >> $output_objdir/$soname.def;
9325 fi~
9326 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 else
9328 ld_shlibs=no
9329 fi
9330 ;;
9331
9332 haiku*)
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 link_all_deplibs=yes
9335 ;;
9336
9337 interix[3-9]*)
9338 hardcode_direct=no
9339 hardcode_shlibpath_var=no
9340 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9341 export_dynamic_flag_spec='${wl}-E'
9342 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9343 # Instead, shared libraries are loaded at an image base (0x10000000 by
9344 # default) and relocated if they conflict, which is a slow very memory
9345 # consuming and fragmenting process. To avoid this, we pick a random,
9346 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9347 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9348 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9349 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'
9350 ;;
9351
9352 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9353 tmp_diet=no
9354 if test "$host_os" = linux-dietlibc; then
9355 case $cc_basename in
9356 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9357 esac
9358 fi
9359 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9360 && test "$tmp_diet" = no
9361 then
9362 tmp_addflag=' $pic_flag'
9363 tmp_sharedflag='-shared'
9364 case $cc_basename,$host_cpu in
9365 pgcc*) # Portland Group C compiler
9366 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'
9367 tmp_addflag=' $pic_flag'
9368 ;;
9369 pgf77* | pgf90* | pgf95* | pgfortran*)
9370 # Portland Group f77 and f90 compilers
9371 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'
9372 tmp_addflag=' $pic_flag -Mnomain' ;;
9373 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9374 tmp_addflag=' -i_dynamic' ;;
9375 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9376 tmp_addflag=' -i_dynamic -nofor_main' ;;
9377 ifc* | ifort*) # Intel Fortran compiler
9378 tmp_addflag=' -nofor_main' ;;
9379 lf95*) # Lahey Fortran 8.1
9380 whole_archive_flag_spec=
9381 tmp_sharedflag='--shared' ;;
9382 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9383 tmp_sharedflag='-qmkshrobj'
9384 tmp_addflag= ;;
9385 nvcc*) # Cuda Compiler Driver 2.2
9386 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'
9387 compiler_needs_object=yes
9388 ;;
9389 esac
9390 case `$CC -V 2>&1 | sed 5q` in
9391 *Sun\ C*) # Sun C 5.9
9392 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'
9393 compiler_needs_object=yes
9394 tmp_sharedflag='-G' ;;
9395 *Sun\ F*) # Sun Fortran 8.3
9396 tmp_sharedflag='-G' ;;
9397 esac
9398 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399
9400 if test "x$supports_anon_versioning" = xyes; then
9401 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9402 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9403 echo "local: *; };" >> $output_objdir/$libname.ver~
9404 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9405 fi
9406
9407 case $cc_basename in
9408 xlf* | bgf* | bgxlf* | mpixlf*)
9409 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9410 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9411 hardcode_libdir_flag_spec=
9412 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9413 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9414 if test "x$supports_anon_versioning" = xyes; then
9415 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9416 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9417 echo "local: *; };" >> $output_objdir/$libname.ver~
9418 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9419 fi
9420 ;;
9421 esac
9422 else
9423 ld_shlibs=no
9424 fi
9425 ;;
9426
9427 netbsd*)
9428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9429 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9430 wlarc=
9431 else
9432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9434 fi
9435 ;;
9436
9437 solaris*)
9438 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9439 ld_shlibs=no
9440 cat <<_LT_EOF 1>&2
9441
9442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9443 *** create shared libraries on Solaris systems. Therefore, libtool
9444 *** is disabling shared libraries support. We urge you to upgrade GNU
9445 *** binutils to release 2.9.1 or newer. Another option is to modify
9446 *** your PATH or compiler configuration so that the native linker is
9447 *** used, and then restart.
9448
9449 _LT_EOF
9450 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9453 else
9454 ld_shlibs=no
9455 fi
9456 ;;
9457
9458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9459 case `$LD -v 2>&1` in
9460 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9461 ld_shlibs=no
9462 cat <<_LT_EOF 1>&2
9463
9464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9465 *** reliably create shared libraries on SCO systems. Therefore, libtool
9466 *** is disabling shared libraries support. We urge you to upgrade GNU
9467 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9468 *** your PATH or compiler configuration so that the native linker is
9469 *** used, and then restart.
9470
9471 _LT_EOF
9472 ;;
9473 *)
9474 # For security reasons, it is highly recommended that you always
9475 # use absolute paths for naming shared libraries, and exclude the
9476 # DT_RUNPATH tag from executables and libraries. But doing so
9477 # requires that you compile everything twice, which is a pain.
9478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482 else
9483 ld_shlibs=no
9484 fi
9485 ;;
9486 esac
9487 ;;
9488
9489 sunos4*)
9490 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 wlarc=
9492 hardcode_direct=yes
9493 hardcode_shlibpath_var=no
9494 ;;
9495
9496 *)
9497 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 else
9501 ld_shlibs=no
9502 fi
9503 ;;
9504 esac
9505
9506 if test "$ld_shlibs" = no; then
9507 runpath_var=
9508 hardcode_libdir_flag_spec=
9509 export_dynamic_flag_spec=
9510 whole_archive_flag_spec=
9511 fi
9512 else
9513 # PORTME fill in a description of your system's linker (not GNU ld)
9514 case $host_os in
9515 aix3*)
9516 allow_undefined_flag=unsupported
9517 always_export_symbols=yes
9518 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'
9519 # Note: this linker hardcodes the directories in LIBPATH if there
9520 # are no directories specified by -L.
9521 hardcode_minus_L=yes
9522 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9523 # Neither direct hardcoding nor static linking is supported with a
9524 # broken collect2.
9525 hardcode_direct=unsupported
9526 fi
9527 ;;
9528
9529 aix[4-9]*)
9530 if test "$host_cpu" = ia64; then
9531 # On IA64, the linker does run time linking by default, so we don't
9532 # have to do anything special.
9533 aix_use_runtimelinking=no
9534 exp_sym_flag='-Bexport'
9535 no_entry_flag=""
9536 else
9537 # If we're using GNU nm, then we don't want the "-C" option.
9538 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9539 # Also, AIX nm treats weak defined symbols like other global
9540 # defined symbols, whereas GNU nm marks them as "W".
9541 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9542 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'
9543 else
9544 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'
9545 fi
9546 aix_use_runtimelinking=no
9547
9548 # Test if we are trying to use run time linking or normal
9549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9550 # need to do runtime linking.
9551 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9552 for ld_flag in $LDFLAGS; do
9553 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9554 aix_use_runtimelinking=yes
9555 break
9556 fi
9557 done
9558 ;;
9559 esac
9560
9561 exp_sym_flag='-bexport'
9562 no_entry_flag='-bnoentry'
9563 fi
9564
9565 # When large executables or shared objects are built, AIX ld can
9566 # have problems creating the table of contents. If linking a library
9567 # or program results in "error TOC overflow" add -mminimal-toc to
9568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9570
9571 archive_cmds=''
9572 hardcode_direct=yes
9573 hardcode_direct_absolute=yes
9574 hardcode_libdir_separator=':'
9575 link_all_deplibs=yes
9576 file_list_spec='${wl}-f,'
9577
9578 if test "$GCC" = yes; then
9579 case $host_os in aix4.[012]|aix4.[012].*)
9580 # We only want to do this on AIX 4.2 and lower, the check
9581 # below for broken collect2 doesn't work under 4.3+
9582 collect2name=`${CC} -print-prog-name=collect2`
9583 if test -f "$collect2name" &&
9584 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9585 then
9586 # We have reworked collect2
9587 :
9588 else
9589 # We have old collect2
9590 hardcode_direct=unsupported
9591 # It fails to find uninstalled libraries when the uninstalled
9592 # path is not listed in the libpath. Setting hardcode_minus_L
9593 # to unsupported forces relinking
9594 hardcode_minus_L=yes
9595 hardcode_libdir_flag_spec='-L$libdir'
9596 hardcode_libdir_separator=
9597 fi
9598 ;;
9599 esac
9600 shared_flag='-shared'
9601 if test "$aix_use_runtimelinking" = yes; then
9602 shared_flag="$shared_flag "'${wl}-G'
9603 fi
9604 else
9605 # not using gcc
9606 if test "$host_cpu" = ia64; then
9607 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9608 # chokes on -Wl,-G. The following line is correct:
9609 shared_flag='-G'
9610 else
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag='${wl}-G'
9613 else
9614 shared_flag='${wl}-bM:SRE'
9615 fi
9616 fi
9617 fi
9618
9619 export_dynamic_flag_spec='${wl}-bexpall'
9620 # It seems that -bexpall does not export symbols beginning with
9621 # underscore (_), so it is better to generate a list of symbols to export.
9622 always_export_symbols=yes
9623 if test "$aix_use_runtimelinking" = yes; then
9624 # Warning - without using the other runtime loading flags (-brtl),
9625 # -berok will link without error, but may produce a broken library.
9626 allow_undefined_flag='-berok'
9627 # Determine the default libpath from the value encoded in an
9628 # empty executable.
9629 if test x$gcc_no_link = xyes; then
9630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9631 fi
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634
9635 int
9636 main ()
9637 {
9638
9639 ;
9640 return 0;
9641 }
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644
9645 lt_aix_libpath_sed='
9646 /Import File Strings/,/^$/ {
9647 /^0/ {
9648 s/^0 *\(.*\)$/\1/
9649 p
9650 }
9651 }'
9652 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 # Check for a 64-bit object if we didn't find anything.
9654 if test -z "$aix_libpath"; then
9655 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9656 fi
9657 fi
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9661
9662 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 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"
9664 else
9665 if test "$host_cpu" = ia64; then
9666 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9667 allow_undefined_flag="-z nodefs"
9668 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"
9669 else
9670 # Determine the default libpath from the value encoded in an
9671 # empty executable.
9672 if test x$gcc_no_link = xyes; then
9673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9674 fi
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9677
9678 int
9679 main ()
9680 {
9681
9682 ;
9683 return 0;
9684 }
9685 _ACEOF
9686 if ac_fn_c_try_link "$LINENO"; then :
9687
9688 lt_aix_libpath_sed='
9689 /Import File Strings/,/^$/ {
9690 /^0/ {
9691 s/^0 *\(.*\)$/\1/
9692 p
9693 }
9694 }'
9695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9696 # Check for a 64-bit object if we didn't find anything.
9697 if test -z "$aix_libpath"; then
9698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 fi
9700 fi
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9704
9705 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9706 # Warning - without using the other run time loading flags,
9707 # -berok will link without error, but may produce a broken library.
9708 no_undefined_flag=' ${wl}-bernotok'
9709 allow_undefined_flag=' ${wl}-berok'
9710 if test "$with_gnu_ld" = yes; then
9711 # We only use this code for GNU lds that support --whole-archive.
9712 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9713 else
9714 # Exported symbols can be pulled into shared objects from archives
9715 whole_archive_flag_spec='$convenience'
9716 fi
9717 archive_cmds_need_lc=yes
9718 # This is similar to how AIX traditionally builds its shared libraries.
9719 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'
9720 fi
9721 fi
9722 ;;
9723
9724 amigaos*)
9725 case $host_cpu in
9726 powerpc)
9727 # see comment about AmigaOS4 .so support
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds=''
9730 ;;
9731 m68k)
9732 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)'
9733 hardcode_libdir_flag_spec='-L$libdir'
9734 hardcode_minus_L=yes
9735 ;;
9736 esac
9737 ;;
9738
9739 bsdi[45]*)
9740 export_dynamic_flag_spec=-rdynamic
9741 ;;
9742
9743 cygwin* | mingw* | pw32* | cegcc*)
9744 # When not using gcc, we currently assume that we are using
9745 # Microsoft Visual C++.
9746 # hardcode_libdir_flag_spec is actually meaningless, as there is
9747 # no search path for DLLs.
9748 hardcode_libdir_flag_spec=' '
9749 allow_undefined_flag=unsupported
9750 # Tell ltmain to make .lib files, not .a files.
9751 libext=lib
9752 # Tell ltmain to make .dll files, not .so files.
9753 shrext_cmds=".dll"
9754 # FIXME: Setting linknames here is a bad hack.
9755 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9756 # The linker will automatically build a .lib file if we build a DLL.
9757 old_archive_from_new_cmds='true'
9758 # FIXME: Should let the user specify the lib program.
9759 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9760 fix_srcfile_path='`cygpath -w "$srcfile"`'
9761 enable_shared_with_static_runtimes=yes
9762 ;;
9763
9764 darwin* | rhapsody*)
9765
9766
9767 archive_cmds_need_lc=no
9768 hardcode_direct=no
9769 hardcode_automatic=yes
9770 hardcode_shlibpath_var=unsupported
9771 if test "$lt_cv_ld_force_load" = "yes"; then
9772 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\"`'
9773 else
9774 whole_archive_flag_spec=''
9775 fi
9776 link_all_deplibs=yes
9777 allow_undefined_flag="$_lt_dar_allow_undefined"
9778 case $cc_basename in
9779 ifort*) _lt_dar_can_shared=yes ;;
9780 *) _lt_dar_can_shared=$GCC ;;
9781 esac
9782 if test "$_lt_dar_can_shared" = "yes"; then
9783 output_verbose_link_cmd=func_echo_all
9784 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9785 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9786 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}"
9787 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}"
9788
9789 else
9790 ld_shlibs=no
9791 fi
9792
9793 ;;
9794
9795 dgux*)
9796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_shlibpath_var=no
9799 ;;
9800
9801 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9802 # support. Future versions do this automatically, but an explicit c++rt0.o
9803 # does not break anything, and helps significantly (at the cost of a little
9804 # extra space).
9805 freebsd2.2*)
9806 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9807 hardcode_libdir_flag_spec='-R$libdir'
9808 hardcode_direct=yes
9809 hardcode_shlibpath_var=no
9810 ;;
9811
9812 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9813 freebsd2.*)
9814 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9815 hardcode_direct=yes
9816 hardcode_minus_L=yes
9817 hardcode_shlibpath_var=no
9818 ;;
9819
9820 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9821 freebsd* | dragonfly*)
9822 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9823 hardcode_libdir_flag_spec='-R$libdir'
9824 hardcode_direct=yes
9825 hardcode_shlibpath_var=no
9826 ;;
9827
9828 hpux9*)
9829 if test "$GCC" = yes; then
9830 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'
9831 else
9832 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'
9833 fi
9834 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9835 hardcode_libdir_separator=:
9836 hardcode_direct=yes
9837
9838 # hardcode_minus_L: Not really in the search PATH,
9839 # but as the default location of the library.
9840 hardcode_minus_L=yes
9841 export_dynamic_flag_spec='${wl}-E'
9842 ;;
9843
9844 hpux10*)
9845 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9846 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9847 else
9848 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9849 fi
9850 if test "$with_gnu_ld" = no; then
9851 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9852 hardcode_libdir_flag_spec_ld='+b $libdir'
9853 hardcode_libdir_separator=:
9854 hardcode_direct=yes
9855 hardcode_direct_absolute=yes
9856 export_dynamic_flag_spec='${wl}-E'
9857 # hardcode_minus_L: Not really in the search PATH,
9858 # but as the default location of the library.
9859 hardcode_minus_L=yes
9860 fi
9861 ;;
9862
9863 hpux11*)
9864 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9865 case $host_cpu in
9866 hppa*64*)
9867 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 ;;
9869 ia64*)
9870 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9871 ;;
9872 *)
9873 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9874 ;;
9875 esac
9876 else
9877 case $host_cpu in
9878 hppa*64*)
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9880 ;;
9881 ia64*)
9882 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9883 ;;
9884 *)
9885
9886 # Older versions of the 11.00 compiler do not understand -b yet
9887 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9889 $as_echo_n "checking if $CC understands -b... " >&6; }
9890 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 lt_cv_prog_compiler__b=no
9894 save_LDFLAGS="$LDFLAGS"
9895 LDFLAGS="$LDFLAGS -b"
9896 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9897 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9898 # The linker can only warn and ignore the option if not recognized
9899 # So say no if there are warnings
9900 if test -s conftest.err; then
9901 # Append any errors to the config.log.
9902 cat conftest.err 1>&5
9903 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9905 if diff conftest.exp conftest.er2 >/dev/null; then
9906 lt_cv_prog_compiler__b=yes
9907 fi
9908 else
9909 lt_cv_prog_compiler__b=yes
9910 fi
9911 fi
9912 $RM -r conftest*
9913 LDFLAGS="$save_LDFLAGS"
9914
9915 fi
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9917 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9918
9919 if test x"$lt_cv_prog_compiler__b" = xyes; then
9920 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9921 else
9922 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9923 fi
9924
9925 ;;
9926 esac
9927 fi
9928 if test "$with_gnu_ld" = no; then
9929 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9930 hardcode_libdir_separator=:
9931
9932 case $host_cpu in
9933 hppa*64*|ia64*)
9934 hardcode_direct=no
9935 hardcode_shlibpath_var=no
9936 ;;
9937 *)
9938 hardcode_direct=yes
9939 hardcode_direct_absolute=yes
9940 export_dynamic_flag_spec='${wl}-E'
9941
9942 # hardcode_minus_L: Not really in the search PATH,
9943 # but as the default location of the library.
9944 hardcode_minus_L=yes
9945 ;;
9946 esac
9947 fi
9948 ;;
9949
9950 irix5* | irix6* | nonstopux*)
9951 if test "$GCC" = yes; then
9952 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'
9953 # Try to use the -exported_symbol ld option, if it does not
9954 # work, assume that -exports_file does not work either and
9955 # implicitly export all symbols.
9956 save_LDFLAGS="$LDFLAGS"
9957 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9958 if test x$gcc_no_link = xyes; then
9959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9960 fi
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo(void) {}
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 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'
9967
9968 fi
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LDFLAGS="$save_LDFLAGS"
9972 else
9973 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'
9974 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'
9975 fi
9976 archive_cmds_need_lc='no'
9977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9978 hardcode_libdir_separator=:
9979 inherit_rpath=yes
9980 link_all_deplibs=yes
9981 ;;
9982
9983 netbsd*)
9984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9986 else
9987 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9988 fi
9989 hardcode_libdir_flag_spec='-R$libdir'
9990 hardcode_direct=yes
9991 hardcode_shlibpath_var=no
9992 ;;
9993
9994 newsos6)
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=yes
9997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9998 hardcode_libdir_separator=:
9999 hardcode_shlibpath_var=no
10000 ;;
10001
10002 *nto* | *qnx*)
10003 ;;
10004
10005 openbsd*)
10006 if test -f /usr/libexec/ld.so; then
10007 hardcode_direct=yes
10008 hardcode_shlibpath_var=no
10009 hardcode_direct_absolute=yes
10010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10011 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10014 export_dynamic_flag_spec='${wl}-E'
10015 else
10016 case $host_os in
10017 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10018 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_libdir_flag_spec='-R$libdir'
10020 ;;
10021 *)
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10024 ;;
10025 esac
10026 fi
10027 else
10028 ld_shlibs=no
10029 fi
10030 ;;
10031
10032 os2*)
10033 hardcode_libdir_flag_spec='-L$libdir'
10034 hardcode_minus_L=yes
10035 allow_undefined_flag=unsupported
10036 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'
10037 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10038 ;;
10039
10040 osf3*)
10041 if test "$GCC" = yes; then
10042 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10043 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'
10044 else
10045 allow_undefined_flag=' -expect_unresolved \*'
10046 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'
10047 fi
10048 archive_cmds_need_lc='no'
10049 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10050 hardcode_libdir_separator=:
10051 ;;
10052
10053 osf4* | osf5*) # as osf3* with the addition of -msym flag
10054 if test "$GCC" = yes; then
10055 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10056 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'
10057 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10058 else
10059 allow_undefined_flag=' -expect_unresolved \*'
10060 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'
10061 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~
10062 $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'
10063
10064 # Both c and cxx compiler support -rpath directly
10065 hardcode_libdir_flag_spec='-rpath $libdir'
10066 fi
10067 archive_cmds_need_lc='no'
10068 hardcode_libdir_separator=:
10069 ;;
10070
10071 solaris*)
10072 no_undefined_flag=' -z defs'
10073 if test "$GCC" = yes; then
10074 wlarc='${wl}'
10075 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10077 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10078 else
10079 case `$CC -V 2>&1` in
10080 *"Compilers 5.0"*)
10081 wlarc=''
10082 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10085 ;;
10086 *)
10087 wlarc='${wl}'
10088 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10090 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10091 ;;
10092 esac
10093 fi
10094 hardcode_libdir_flag_spec='-R$libdir'
10095 hardcode_shlibpath_var=no
10096 case $host_os in
10097 solaris2.[0-5] | solaris2.[0-5].*) ;;
10098 *)
10099 # The compiler driver will combine and reorder linker options,
10100 # but understands `-z linker_flag'. GCC discards it without `$wl',
10101 # but is careful enough not to reorder.
10102 # Supported since Solaris 2.6 (maybe 2.5.1?)
10103 if test "$GCC" = yes; then
10104 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10105 else
10106 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10107 fi
10108 ;;
10109 esac
10110 link_all_deplibs=yes
10111 ;;
10112
10113 sunos4*)
10114 if test "x$host_vendor" = xsequent; then
10115 # Use $CC to link under sequent, because it throws in some extra .o
10116 # files that make .init and .fini sections work.
10117 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10118 else
10119 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10120 fi
10121 hardcode_libdir_flag_spec='-L$libdir'
10122 hardcode_direct=yes
10123 hardcode_minus_L=yes
10124 hardcode_shlibpath_var=no
10125 ;;
10126
10127 sysv4)
10128 case $host_vendor in
10129 sni)
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_direct=yes # is this really true???
10132 ;;
10133 siemens)
10134 ## LD is ld it makes a PLAMLIB
10135 ## CC just makes a GrossModule.
10136 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10137 reload_cmds='$CC -r -o $output$reload_objs'
10138 hardcode_direct=no
10139 ;;
10140 motorola)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10143 ;;
10144 esac
10145 runpath_var='LD_RUN_PATH'
10146 hardcode_shlibpath_var=no
10147 ;;
10148
10149 sysv4.3*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_shlibpath_var=no
10152 export_dynamic_flag_spec='-Bexport'
10153 ;;
10154
10155 sysv4*MP*)
10156 if test -d /usr/nec; then
10157 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_shlibpath_var=no
10159 runpath_var=LD_RUN_PATH
10160 hardcode_runpath_var=yes
10161 ld_shlibs=yes
10162 fi
10163 ;;
10164
10165 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10166 no_undefined_flag='${wl}-z,text'
10167 archive_cmds_need_lc=no
10168 hardcode_shlibpath_var=no
10169 runpath_var='LD_RUN_PATH'
10170
10171 if test "$GCC" = yes; then
10172 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 else
10175 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 fi
10178 ;;
10179
10180 sysv5* | sco3.2v5* | sco5v6*)
10181 # Note: We can NOT use -z defs as we might desire, because we do not
10182 # link with -lc, and that would cause any symbols used from libc to
10183 # always be unresolved, which means just about no library would
10184 # ever link correctly. If we're not using GNU ld we use -z text
10185 # though, which does catch some bad symbols but isn't as heavy-handed
10186 # as -z defs.
10187 no_undefined_flag='${wl}-z,text'
10188 allow_undefined_flag='${wl}-z,nodefs'
10189 archive_cmds_need_lc=no
10190 hardcode_shlibpath_var=no
10191 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10192 hardcode_libdir_separator=':'
10193 link_all_deplibs=yes
10194 export_dynamic_flag_spec='${wl}-Bexport'
10195 runpath_var='LD_RUN_PATH'
10196
10197 if test "$GCC" = yes; then
10198 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 else
10201 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10203 fi
10204 ;;
10205
10206 uts4*)
10207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_libdir_flag_spec='-L$libdir'
10209 hardcode_shlibpath_var=no
10210 ;;
10211
10212 *)
10213 ld_shlibs=no
10214 ;;
10215 esac
10216
10217 if test x$host_vendor = xsni; then
10218 case $host in
10219 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10220 export_dynamic_flag_spec='${wl}-Blargedynsym'
10221 ;;
10222 esac
10223 fi
10224 fi
10225
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10227 $as_echo "$ld_shlibs" >&6; }
10228 test "$ld_shlibs" = no && can_build_shared=no
10229
10230 with_gnu_ld=$with_gnu_ld
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246 #
10247 # Do we need to explicitly link libc?
10248 #
10249 case "x$archive_cmds_need_lc" in
10250 x|xyes)
10251 # Assume -lc should be added
10252 archive_cmds_need_lc=yes
10253
10254 if test "$enable_shared" = yes && test "$GCC" = yes; then
10255 case $archive_cmds in
10256 *'~'*)
10257 # FIXME: we may have to deal with multi-command sequences.
10258 ;;
10259 '$CC '*)
10260 # Test whether the compiler implicitly links with -lc since on some
10261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10262 # to ld, don't add -lc before -lgcc.
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10264 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10265 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 $RM conftest*
10269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10270
10271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10272 (eval $ac_compile) 2>&5
10273 ac_status=$?
10274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10275 test $ac_status = 0; } 2>conftest.err; then
10276 soname=conftest
10277 lib=conftest
10278 libobjs=conftest.$ac_objext
10279 deplibs=
10280 wl=$lt_prog_compiler_wl
10281 pic_flag=$lt_prog_compiler_pic
10282 compiler_flags=-v
10283 linker_flags=-v
10284 verstring=
10285 output_objdir=.
10286 libname=conftest
10287 lt_save_allow_undefined_flag=$allow_undefined_flag
10288 allow_undefined_flag=
10289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10290 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10291 ac_status=$?
10292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293 test $ac_status = 0; }
10294 then
10295 lt_cv_archive_cmds_need_lc=no
10296 else
10297 lt_cv_archive_cmds_need_lc=yes
10298 fi
10299 allow_undefined_flag=$lt_save_allow_undefined_flag
10300 else
10301 cat conftest.err 1>&5
10302 fi
10303 $RM conftest*
10304
10305 fi
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10307 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10308 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10309 ;;
10310 esac
10311 fi
10312 ;;
10313 esac
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10473
10474 if test "$GCC" = yes; then
10475 case $host_os in
10476 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10477 *) lt_awk_arg="/^libraries:/" ;;
10478 esac
10479 case $host_os in
10480 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10481 *) lt_sed_strip_eq="s,=/,/,g" ;;
10482 esac
10483 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10484 case $lt_search_path_spec in
10485 *\;*)
10486 # if the path contains ";" then we assume it to be the separator
10487 # otherwise default to the standard path separator (i.e. ":") - it is
10488 # assumed that no part of a normal pathname contains ";" but that should
10489 # okay in the real world where ";" in dirpaths is itself problematic.
10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10491 ;;
10492 *)
10493 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10494 ;;
10495 esac
10496 # Ok, now we have the path, separated by spaces, we can step through it
10497 # and add multilib dir if necessary.
10498 lt_tmp_lt_search_path_spec=
10499 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10500 for lt_sys_path in $lt_search_path_spec; do
10501 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10503 else
10504 test -d "$lt_sys_path" && \
10505 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10506 fi
10507 done
10508 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10509 BEGIN {RS=" "; FS="/|\n";} {
10510 lt_foo="";
10511 lt_count=0;
10512 for (lt_i = NF; lt_i > 0; lt_i--) {
10513 if ($lt_i != "" && $lt_i != ".") {
10514 if ($lt_i == "..") {
10515 lt_count++;
10516 } else {
10517 if (lt_count == 0) {
10518 lt_foo="/" $lt_i lt_foo;
10519 } else {
10520 lt_count--;
10521 }
10522 }
10523 }
10524 }
10525 if (lt_foo != "") { lt_freq[lt_foo]++; }
10526 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10527 }'`
10528 # AWK program above erroneously prepends '/' to C:/dos/paths
10529 # for these hosts.
10530 case $host_os in
10531 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10532 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10533 esac
10534 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10535 else
10536 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10537 fi
10538 library_names_spec=
10539 libname_spec='lib$name'
10540 soname_spec=
10541 shrext_cmds=".so"
10542 postinstall_cmds=
10543 postuninstall_cmds=
10544 finish_cmds=
10545 finish_eval=
10546 shlibpath_var=
10547 shlibpath_overrides_runpath=unknown
10548 version_type=none
10549 dynamic_linker="$host_os ld.so"
10550 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10551 need_lib_prefix=unknown
10552 hardcode_into_libs=no
10553
10554 # when you set need_version to no, make sure it does not cause -set_version
10555 # flags to be left without arguments
10556 need_version=unknown
10557
10558 case $host_os in
10559 aix3*)
10560 version_type=linux
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10562 shlibpath_var=LIBPATH
10563
10564 # AIX 3 has no versioning support, so we append a major version to the name.
10565 soname_spec='${libname}${release}${shared_ext}$major'
10566 ;;
10567
10568 aix[4-9]*)
10569 version_type=linux
10570 need_lib_prefix=no
10571 need_version=no
10572 hardcode_into_libs=yes
10573 if test "$host_cpu" = ia64; then
10574 # AIX 5 supports IA64
10575 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10576 shlibpath_var=LD_LIBRARY_PATH
10577 else
10578 # With GCC up to 2.95.x, collect2 would create an import file
10579 # for dependence libraries. The import file would start with
10580 # the line `#! .'. This would cause the generated library to
10581 # depend on `.', always an invalid library. This was fixed in
10582 # development snapshots of GCC prior to 3.0.
10583 case $host_os in
10584 aix4 | aix4.[01] | aix4.[01].*)
10585 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10586 echo ' yes '
10587 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10588 :
10589 else
10590 can_build_shared=no
10591 fi
10592 ;;
10593 esac
10594 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10595 # soname into executable. Probably we can add versioning support to
10596 # collect2, so additional links can be useful in future.
10597 if test "$aix_use_runtimelinking" = yes; then
10598 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10599 # instead of lib<name>.a to let people know that these are not
10600 # typical AIX shared libraries.
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 else
10603 # We preserve .a as extension for shared libraries through AIX4.2
10604 # and later when we are not doing run time linking.
10605 library_names_spec='${libname}${release}.a $libname.a'
10606 soname_spec='${libname}${release}${shared_ext}$major'
10607 fi
10608 shlibpath_var=LIBPATH
10609 fi
10610 ;;
10611
10612 amigaos*)
10613 case $host_cpu in
10614 powerpc)
10615 # Since July 2007 AmigaOS4 officially supports .so libraries.
10616 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618 ;;
10619 m68k)
10620 library_names_spec='$libname.ixlibrary $libname.a'
10621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10622 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'
10623 ;;
10624 esac
10625 ;;
10626
10627 beos*)
10628 library_names_spec='${libname}${shared_ext}'
10629 dynamic_linker="$host_os ld.so"
10630 shlibpath_var=LIBRARY_PATH
10631 ;;
10632
10633 bsdi[45]*)
10634 version_type=linux
10635 need_version=no
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10641 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10642 # the default ld.so.conf also contains /usr/contrib/lib and
10643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10644 # libtool to hard-code these into programs
10645 ;;
10646
10647 cygwin* | mingw* | pw32* | cegcc*)
10648 version_type=windows
10649 shrext_cmds=".dll"
10650 need_version=no
10651 need_lib_prefix=no
10652
10653 case $GCC,$host_os in
10654 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10655 library_names_spec='$libname.dll.a'
10656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10657 postinstall_cmds='base_file=`basename \${file}`~
10658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10659 dldir=$destdir/`dirname \$dlpath`~
10660 test -d \$dldir || mkdir -p \$dldir~
10661 $install_prog $dir/$dlname \$dldir/$dlname~
10662 chmod a+x \$dldir/$dlname~
10663 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10664 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10665 fi'
10666 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10667 dlpath=$dir/\$dldll~
10668 $RM \$dlpath'
10669 shlibpath_overrides_runpath=yes
10670
10671 case $host_os in
10672 cygwin*)
10673 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10674 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10675
10676 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10677 ;;
10678 mingw* | cegcc*)
10679 # MinGW DLLs use traditional 'lib' prefix
10680 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10681 ;;
10682 pw32*)
10683 # pw32 DLLs use 'pw' prefix rather than 'lib'
10684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10685 ;;
10686 esac
10687 ;;
10688
10689 *)
10690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10691 ;;
10692 esac
10693 dynamic_linker='Win32 ld.exe'
10694 # FIXME: first we should search . and the directory the executable is in
10695 shlibpath_var=PATH
10696 ;;
10697
10698 darwin* | rhapsody*)
10699 dynamic_linker="$host_os dyld"
10700 version_type=darwin
10701 need_lib_prefix=no
10702 need_version=no
10703 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10704 soname_spec='${libname}${release}${major}$shared_ext'
10705 shlibpath_overrides_runpath=yes
10706 shlibpath_var=DYLD_LIBRARY_PATH
10707 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10708
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10710 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10711 ;;
10712
10713 dgux*)
10714 version_type=linux
10715 need_lib_prefix=no
10716 need_version=no
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10719 shlibpath_var=LD_LIBRARY_PATH
10720 ;;
10721
10722 freebsd* | dragonfly*)
10723 # DragonFly does not have aout. When/if they implement a new
10724 # versioning mechanism, adjust this.
10725 if test -x /usr/bin/objformat; then
10726 objformat=`/usr/bin/objformat`
10727 else
10728 case $host_os in
10729 freebsd[23].*) objformat=aout ;;
10730 *) objformat=elf ;;
10731 esac
10732 fi
10733 version_type=freebsd-$objformat
10734 case $version_type in
10735 freebsd-elf*)
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 need_version=no
10738 need_lib_prefix=no
10739 ;;
10740 freebsd-*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10742 need_version=yes
10743 ;;
10744 esac
10745 shlibpath_var=LD_LIBRARY_PATH
10746 case $host_os in
10747 freebsd2.*)
10748 shlibpath_overrides_runpath=yes
10749 ;;
10750 freebsd3.[01]* | freebsdelf3.[01]*)
10751 shlibpath_overrides_runpath=yes
10752 hardcode_into_libs=yes
10753 ;;
10754 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10755 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10756 shlibpath_overrides_runpath=no
10757 hardcode_into_libs=yes
10758 ;;
10759 *) # from 4.6 on, and DragonFly
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10762 ;;
10763 esac
10764 ;;
10765
10766 gnu*)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 hardcode_into_libs=yes
10774 ;;
10775
10776 haiku*)
10777 version_type=linux
10778 need_lib_prefix=no
10779 need_version=no
10780 dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
10784 shlibpath_overrides_runpath=yes
10785 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10786 hardcode_into_libs=yes
10787 ;;
10788
10789 hpux9* | hpux10* | hpux11*)
10790 # Give a soname corresponding to the major version so that dld.sl refuses to
10791 # link against other versions.
10792 version_type=sunos
10793 need_lib_prefix=no
10794 need_version=no
10795 case $host_cpu in
10796 ia64*)
10797 shrext_cmds='.so'
10798 hardcode_into_libs=yes
10799 dynamic_linker="$host_os dld.so"
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 if test "X$HPUX_IA64_MODE" = X32; then
10805 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10806 else
10807 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10808 fi
10809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10810 ;;
10811 hppa*64*)
10812 shrext_cmds='.sl'
10813 hardcode_into_libs=yes
10814 dynamic_linker="$host_os dld.sl"
10815 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821 ;;
10822 *)
10823 shrext_cmds='.sl'
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=SHLIB_PATH
10826 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10829 ;;
10830 esac
10831 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10832 postinstall_cmds='chmod 555 $lib'
10833 # or fails outright, so override atomically:
10834 install_override_mode=555
10835 ;;
10836
10837 interix[3-9]*)
10838 version_type=linux
10839 need_lib_prefix=no
10840 need_version=no
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10846 hardcode_into_libs=yes
10847 ;;
10848
10849 irix5* | irix6* | nonstopux*)
10850 case $host_os in
10851 nonstopux*) version_type=nonstopux ;;
10852 *)
10853 if test "$lt_cv_prog_gnu_ld" = yes; then
10854 version_type=linux
10855 else
10856 version_type=irix
10857 fi ;;
10858 esac
10859 need_lib_prefix=no
10860 need_version=no
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10863 case $host_os in
10864 irix5* | nonstopux*)
10865 libsuff= shlibsuff=
10866 ;;
10867 *)
10868 case $LD in # libtool.m4 will add one of these switches to LD
10869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10870 libsuff= shlibsuff= libmagic=32-bit;;
10871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10872 libsuff=32 shlibsuff=N32 libmagic=N32;;
10873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10875 *) libsuff= shlibsuff= libmagic=never-match;;
10876 esac
10877 ;;
10878 esac
10879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10880 shlibpath_overrides_runpath=no
10881 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10883 hardcode_into_libs=yes
10884 ;;
10885
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux*oldld* | linux*aout* | linux*coff*)
10888 dynamic_linker=no
10889 ;;
10890
10891 # This must be Linux ELF.
10892 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10893 version_type=linux
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath=no
10901
10902 # Some binutils ld are patched to set DT_RUNPATH
10903 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 lt_cv_shlibpath_overrides_runpath=no
10907 save_LDFLAGS=$LDFLAGS
10908 save_libdir=$libdir
10909 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10910 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10911 if test x$gcc_no_link = xyes; then
10912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10913 fi
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10916
10917 int
10918 main ()
10919 {
10920
10921 ;
10922 return 0;
10923 }
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10927 lt_cv_shlibpath_overrides_runpath=yes
10928 fi
10929 fi
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LDFLAGS=$save_LDFLAGS
10933 libdir=$save_libdir
10934
10935 fi
10936
10937 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10938
10939 # This implies no fast_install, which is unacceptable.
10940 # Some rework will be needed to allow for fast_install
10941 # before this can be enabled.
10942 hardcode_into_libs=yes
10943
10944 # Append ld.so.conf contents to the search path
10945 if test -f /etc/ld.so.conf; then
10946 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' ' '`
10947 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10948 fi
10949
10950 # We used to test for /lib/ld.so.1 and disable shared libraries on
10951 # powerpc, because MkLinux only supported shared libraries with the
10952 # GNU dynamic linker. Since this was broken with cross compilers,
10953 # most powerpc-linux boxes support dynamic linking these days and
10954 # people can always --disable-shared, the test was removed, and we
10955 # assume the GNU/Linux dynamic linker is in use.
10956 dynamic_linker='GNU/Linux ld.so'
10957 ;;
10958
10959 netbsd*)
10960 version_type=sunos
10961 need_lib_prefix=no
10962 need_version=no
10963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10966 dynamic_linker='NetBSD (a.out) ld.so'
10967 else
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 dynamic_linker='NetBSD ld.elf_so'
10971 fi
10972 shlibpath_var=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath=yes
10974 hardcode_into_libs=yes
10975 ;;
10976
10977 newsos6)
10978 version_type=linux
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 ;;
10983
10984 *nto* | *qnx*)
10985 version_type=qnx
10986 need_lib_prefix=no
10987 need_version=no
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec='${libname}${release}${shared_ext}$major'
10990 shlibpath_var=LD_LIBRARY_PATH
10991 shlibpath_overrides_runpath=no
10992 hardcode_into_libs=yes
10993 dynamic_linker='ldqnx.so'
10994 ;;
10995
10996 openbsd*)
10997 version_type=sunos
10998 sys_lib_dlsearch_path_spec="/usr/lib"
10999 need_lib_prefix=no
11000 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11001 case $host_os in
11002 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11003 *) need_version=no ;;
11004 esac
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11009 case $host_os in
11010 openbsd2.[89] | openbsd2.[89].*)
11011 shlibpath_overrides_runpath=no
11012 ;;
11013 *)
11014 shlibpath_overrides_runpath=yes
11015 ;;
11016 esac
11017 else
11018 shlibpath_overrides_runpath=yes
11019 fi
11020 ;;
11021
11022 os2*)
11023 libname_spec='$name'
11024 shrext_cmds=".dll"
11025 need_lib_prefix=no
11026 library_names_spec='$libname${shared_ext} $libname.a'
11027 dynamic_linker='OS/2 ld.exe'
11028 shlibpath_var=LIBPATH
11029 ;;
11030
11031 osf3* | osf4* | osf5*)
11032 version_type=osf
11033 need_lib_prefix=no
11034 need_version=no
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11039 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11040 ;;
11041
11042 rdos*)
11043 dynamic_linker=no
11044 ;;
11045
11046 solaris*)
11047 version_type=linux
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 # ldd complains unless libraries are executable
11056 postinstall_cmds='chmod +x $lib'
11057 ;;
11058
11059 sunos4*)
11060 version_type=sunos
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11062 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 if test "$with_gnu_ld" = yes; then
11066 need_lib_prefix=no
11067 fi
11068 need_version=yes
11069 ;;
11070
11071 sysv4 | sysv4.3*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 case $host_vendor in
11077 sni)
11078 shlibpath_overrides_runpath=no
11079 need_lib_prefix=no
11080 runpath_var=LD_RUN_PATH
11081 ;;
11082 siemens)
11083 need_lib_prefix=no
11084 ;;
11085 motorola)
11086 need_lib_prefix=no
11087 need_version=no
11088 shlibpath_overrides_runpath=no
11089 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11090 ;;
11091 esac
11092 ;;
11093
11094 sysv4*MP*)
11095 if test -d /usr/nec ;then
11096 version_type=linux
11097 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11098 soname_spec='$libname${shared_ext}.$major'
11099 shlibpath_var=LD_LIBRARY_PATH
11100 fi
11101 ;;
11102
11103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11104 version_type=freebsd-elf
11105 need_lib_prefix=no
11106 need_version=no
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11108 soname_spec='${libname}${release}${shared_ext}$major'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11111 hardcode_into_libs=yes
11112 if test "$with_gnu_ld" = yes; then
11113 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11114 else
11115 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11116 case $host_os in
11117 sco3.2v5*)
11118 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11119 ;;
11120 esac
11121 fi
11122 sys_lib_dlsearch_path_spec='/usr/lib'
11123 ;;
11124
11125 tpf*)
11126 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11127 version_type=linux
11128 need_lib_prefix=no
11129 need_version=no
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=no
11133 hardcode_into_libs=yes
11134 ;;
11135
11136 uts4*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11141 ;;
11142
11143 *)
11144 dynamic_linker=no
11145 ;;
11146 esac
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11148 $as_echo "$dynamic_linker" >&6; }
11149 test "$dynamic_linker" = no && can_build_shared=no
11150
11151 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11152 if test "$GCC" = yes; then
11153 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11154 fi
11155
11156 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11157 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11158 fi
11159 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11160 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11161 fi
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11255 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11256 hardcode_action=
11257 if test -n "$hardcode_libdir_flag_spec" ||
11258 test -n "$runpath_var" ||
11259 test "X$hardcode_automatic" = "Xyes" ; then
11260
11261 # We can hardcode non-existent directories.
11262 if test "$hardcode_direct" != no &&
11263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11264 # have to relink, otherwise we might link with an installed library
11265 # when we should be linking with a yet-to-be-installed one
11266 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11267 test "$hardcode_minus_L" != no; then
11268 # Linking always hardcodes the temporary library directory.
11269 hardcode_action=relink
11270 else
11271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11272 hardcode_action=immediate
11273 fi
11274 else
11275 # We cannot hardcode anything, or else we can only hardcode existing
11276 # directories.
11277 hardcode_action=unsupported
11278 fi
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11280 $as_echo "$hardcode_action" >&6; }
11281
11282 if test "$hardcode_action" = relink ||
11283 test "$inherit_rpath" = yes; then
11284 # Fast installation is not supported
11285 enable_fast_install=no
11286 elif test "$shlibpath_overrides_runpath" = yes ||
11287 test "$enable_shared" = no; then
11288 # Fast installation is not necessary
11289 enable_fast_install=needless
11290 fi
11291
11292
11293
11294
11295
11296
11297 if test "x$enable_dlopen" != xyes; then
11298 enable_dlopen=unknown
11299 enable_dlopen_self=unknown
11300 enable_dlopen_self_static=unknown
11301 else
11302 lt_cv_dlopen=no
11303 lt_cv_dlopen_libs=
11304
11305 case $host_os in
11306 beos*)
11307 lt_cv_dlopen="load_add_on"
11308 lt_cv_dlopen_libs=
11309 lt_cv_dlopen_self=yes
11310 ;;
11311
11312 mingw* | pw32* | cegcc*)
11313 lt_cv_dlopen="LoadLibrary"
11314 lt_cv_dlopen_libs=
11315 ;;
11316
11317 cygwin*)
11318 lt_cv_dlopen="dlopen"
11319 lt_cv_dlopen_libs=
11320 ;;
11321
11322 darwin*)
11323 # if libdl is installed we need to link against it
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11325 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11326 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-ldl $LIBS"
11331 if test x$gcc_no_link = xyes; then
11332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11333 fi
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11336
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char dlopen ();
11344 int
11345 main ()
11346 {
11347 return dlopen ();
11348 ;
11349 return 0;
11350 }
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_dl_dlopen=yes
11354 else
11355 ac_cv_lib_dl_dlopen=no
11356 fi
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11360 fi
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11365 else
11366
11367 lt_cv_dlopen="dyld"
11368 lt_cv_dlopen_libs=
11369 lt_cv_dlopen_self=yes
11370
11371 fi
11372
11373 ;;
11374
11375 *)
11376 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 if test "x$ac_cv_func_shl_load" = x""yes; then :
11378 lt_cv_dlopen="shl_load"
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-ldld $LIBS"
11387 if test x$gcc_no_link = xyes; then
11388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11389 fi
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11392
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char shl_load ();
11400 int
11401 main ()
11402 {
11403 return shl_load ();
11404 ;
11405 return 0;
11406 }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_dld_shl_load=yes
11410 else
11411 ac_cv_lib_dld_shl_load=no
11412 fi
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11416 fi
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11418 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11419 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11420 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11421 else
11422 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11423 if test "x$ac_cv_func_dlopen" = x""yes; then :
11424 lt_cv_dlopen="dlopen"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldl $LIBS"
11433 if test x$gcc_no_link = xyes; then
11434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11435 fi
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11438
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dlopen ();
11446 int
11447 main ()
11448 {
11449 return dlopen ();
11450 ;
11451 return 0;
11452 }
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dl_dlopen=yes
11456 else
11457 ac_cv_lib_dl_dlopen=no
11458 fi
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11462 fi
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11467 else
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11469 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11470 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lsvld $LIBS"
11475 if test x$gcc_no_link = xyes; then
11476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11477 fi
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11480
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char dlopen ();
11488 int
11489 main ()
11490 {
11491 return dlopen ();
11492 ;
11493 return 0;
11494 }
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 ac_cv_lib_svld_dlopen=yes
11498 else
11499 ac_cv_lib_svld_dlopen=no
11500 fi
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_lib_save_LIBS
11504 fi
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11506 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11507 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11508 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11511 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11512 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-ldld $LIBS"
11517 if test x$gcc_no_link = xyes; then
11518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11519 fi
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11522
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char dld_link ();
11530 int
11531 main ()
11532 {
11533 return dld_link ();
11534 ;
11535 return 0;
11536 }
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_dld_dld_link=yes
11540 else
11541 ac_cv_lib_dld_dld_link=no
11542 fi
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11546 fi
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11549 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11550 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11551 fi
11552
11553
11554 fi
11555
11556
11557 fi
11558
11559
11560 fi
11561
11562
11563 fi
11564
11565
11566 fi
11567
11568 ;;
11569 esac
11570
11571 if test "x$lt_cv_dlopen" != xno; then
11572 enable_dlopen=yes
11573 else
11574 enable_dlopen=no
11575 fi
11576
11577 case $lt_cv_dlopen in
11578 dlopen)
11579 save_CPPFLAGS="$CPPFLAGS"
11580 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11581
11582 save_LDFLAGS="$LDFLAGS"
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11584
11585 save_LIBS="$LIBS"
11586 LIBS="$lt_cv_dlopen_libs $LIBS"
11587
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11590 if test "${lt_cv_dlopen_self+set}" = set; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 if test "$cross_compiling" = yes; then :
11594 lt_cv_dlopen_self=cross
11595 else
11596 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11597 lt_status=$lt_dlunknown
11598 cat > conftest.$ac_ext <<_LT_EOF
11599 #line 11599 "configure"
11600 #include "confdefs.h"
11601
11602 #if HAVE_DLFCN_H
11603 #include <dlfcn.h>
11604 #endif
11605
11606 #include <stdio.h>
11607
11608 #ifdef RTLD_GLOBAL
11609 # define LT_DLGLOBAL RTLD_GLOBAL
11610 #else
11611 # ifdef DL_GLOBAL
11612 # define LT_DLGLOBAL DL_GLOBAL
11613 # else
11614 # define LT_DLGLOBAL 0
11615 # endif
11616 #endif
11617
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619 find out it does not work in some platform. */
11620 #ifndef LT_DLLAZY_OR_NOW
11621 # ifdef RTLD_LAZY
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # else
11624 # ifdef DL_LAZY
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # else
11627 # ifdef RTLD_NOW
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # else
11630 # ifdef DL_NOW
11631 # define LT_DLLAZY_OR_NOW DL_NOW
11632 # else
11633 # define LT_DLLAZY_OR_NOW 0
11634 # endif
11635 # endif
11636 # endif
11637 # endif
11638 #endif
11639
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
11641 correspondingly for the symbols needed. */
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11643 void fnord () __attribute__((visibility("default")));
11644 #endif
11645
11646 void fnord () { int i=42; }
11647 int main ()
11648 {
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11650 int status = $lt_dlunknown;
11651
11652 if (self)
11653 {
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 else
11656 {
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11658 else puts (dlerror ());
11659 }
11660 /* dlclose (self); */
11661 }
11662 else
11663 puts (dlerror ());
11664
11665 return status;
11666 }
11667 _LT_EOF
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11669 (eval $ac_link) 2>&5
11670 ac_status=$?
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11673 (./conftest; exit; ) >&5 2>/dev/null
11674 lt_status=$?
11675 case x$lt_status in
11676 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11677 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11679 esac
11680 else :
11681 # compilation failed
11682 lt_cv_dlopen_self=no
11683 fi
11684 fi
11685 rm -fr conftest*
11686
11687
11688 fi
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11690 $as_echo "$lt_cv_dlopen_self" >&6; }
11691
11692 if test "x$lt_cv_dlopen_self" = xyes; then
11693 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11696 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 if test "$cross_compiling" = yes; then :
11700 lt_cv_dlopen_self_static=cross
11701 else
11702 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11703 lt_status=$lt_dlunknown
11704 cat > conftest.$ac_ext <<_LT_EOF
11705 #line 11705 "configure"
11706 #include "confdefs.h"
11707
11708 #if HAVE_DLFCN_H
11709 #include <dlfcn.h>
11710 #endif
11711
11712 #include <stdio.h>
11713
11714 #ifdef RTLD_GLOBAL
11715 # define LT_DLGLOBAL RTLD_GLOBAL
11716 #else
11717 # ifdef DL_GLOBAL
11718 # define LT_DLGLOBAL DL_GLOBAL
11719 # else
11720 # define LT_DLGLOBAL 0
11721 # endif
11722 #endif
11723
11724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11725 find out it does not work in some platform. */
11726 #ifndef LT_DLLAZY_OR_NOW
11727 # ifdef RTLD_LAZY
11728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11729 # else
11730 # ifdef DL_LAZY
11731 # define LT_DLLAZY_OR_NOW DL_LAZY
11732 # else
11733 # ifdef RTLD_NOW
11734 # define LT_DLLAZY_OR_NOW RTLD_NOW
11735 # else
11736 # ifdef DL_NOW
11737 # define LT_DLLAZY_OR_NOW DL_NOW
11738 # else
11739 # define LT_DLLAZY_OR_NOW 0
11740 # endif
11741 # endif
11742 # endif
11743 # endif
11744 #endif
11745
11746 /* When -fvisbility=hidden is used, assume the code has been annotated
11747 correspondingly for the symbols needed. */
11748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11749 void fnord () __attribute__((visibility("default")));
11750 #endif
11751
11752 void fnord () { int i=42; }
11753 int main ()
11754 {
11755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11756 int status = $lt_dlunknown;
11757
11758 if (self)
11759 {
11760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11761 else
11762 {
11763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11764 else puts (dlerror ());
11765 }
11766 /* dlclose (self); */
11767 }
11768 else
11769 puts (dlerror ());
11770
11771 return status;
11772 }
11773 _LT_EOF
11774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11775 (eval $ac_link) 2>&5
11776 ac_status=$?
11777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11778 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11779 (./conftest; exit; ) >&5 2>/dev/null
11780 lt_status=$?
11781 case x$lt_status in
11782 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11783 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11785 esac
11786 else :
11787 # compilation failed
11788 lt_cv_dlopen_self_static=no
11789 fi
11790 fi
11791 rm -fr conftest*
11792
11793
11794 fi
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11797 fi
11798
11799 CPPFLAGS="$save_CPPFLAGS"
11800 LDFLAGS="$save_LDFLAGS"
11801 LIBS="$save_LIBS"
11802 ;;
11803 esac
11804
11805 case $lt_cv_dlopen_self in
11806 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11807 *) enable_dlopen_self=unknown ;;
11808 esac
11809
11810 case $lt_cv_dlopen_self_static in
11811 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11812 *) enable_dlopen_self_static=unknown ;;
11813 esac
11814 fi
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832 striplib=
11833 old_striplib=
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11836 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11837 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11838 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11840 $as_echo "yes" >&6; }
11841 else
11842 # FIXME - insert some real tests, host_os isn't really good enough
11843 case $host_os in
11844 darwin*)
11845 if test -n "$STRIP" ; then
11846 striplib="$STRIP -x"
11847 old_striplib="$STRIP -S"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11849 $as_echo "yes" >&6; }
11850 else
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11853 fi
11854 ;;
11855 *)
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11858 ;;
11859 esac
11860 fi
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873 # Report which library types will actually be built
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11877 $as_echo "$can_build_shared" >&6; }
11878
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11880 $as_echo_n "checking whether to build shared libraries... " >&6; }
11881 test "$can_build_shared" = "no" && enable_shared=no
11882
11883 # On AIX, shared libraries and static libraries use the same namespace, and
11884 # are all built from PIC.
11885 case $host_os in
11886 aix3*)
11887 test "$enable_shared" = yes && enable_static=no
11888 if test -n "$RANLIB"; then
11889 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11890 postinstall_cmds='$RANLIB $lib'
11891 fi
11892 ;;
11893
11894 aix[4-9]*)
11895 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11896 test "$enable_shared" = yes && enable_static=no
11897 fi
11898 ;;
11899 esac
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11901 $as_echo "$enable_shared" >&6; }
11902
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11904 $as_echo_n "checking whether to build static libraries... " >&6; }
11905 # Make sure either enable_shared or enable_static is yes.
11906 test "$enable_shared" = yes || enable_static=yes
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11908 $as_echo "$enable_static" >&6; }
11909
11910
11911
11912
11913 fi
11914 ac_ext=c
11915 ac_cpp='$CPP $CPPFLAGS'
11916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11919
11920 CC="$lt_save_CC"
11921
11922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11924 (test "X$CXX" != "Xg++"))) ; then
11925 ac_ext=cpp
11926 ac_cpp='$CXXCPP $CPPFLAGS'
11927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11931 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11932 if test -z "$CXXCPP"; then
11933 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 # Double quotes because CXXCPP needs to be expanded
11937 for CXXCPP in "$CXX -E" "/lib/cpp"
11938 do
11939 ac_preproc_ok=false
11940 for ac_cxx_preproc_warn_flag in '' yes
11941 do
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef __STDC__
11951 # include <limits.h>
11952 #else
11953 # include <assert.h>
11954 #endif
11955 Syntax error
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11958
11959 else
11960 # Broken: fails on valid input.
11961 continue
11962 fi
11963 rm -f conftest.err conftest.$ac_ext
11964
11965 # OK, works on sane cases. Now check whether nonexistent headers
11966 # can be detected and how.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <ac_nonexistent.h>
11970 _ACEOF
11971 if ac_fn_cxx_try_cpp "$LINENO"; then :
11972 # Broken: success on invalid input.
11973 continue
11974 else
11975 # Passes both tests.
11976 ac_preproc_ok=:
11977 break
11978 fi
11979 rm -f conftest.err conftest.$ac_ext
11980
11981 done
11982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11983 rm -f conftest.err conftest.$ac_ext
11984 if $ac_preproc_ok; then :
11985 break
11986 fi
11987
11988 done
11989 ac_cv_prog_CXXCPP=$CXXCPP
11990
11991 fi
11992 CXXCPP=$ac_cv_prog_CXXCPP
11993 else
11994 ac_cv_prog_CXXCPP=$CXXCPP
11995 fi
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11997 $as_echo "$CXXCPP" >&6; }
11998 ac_preproc_ok=false
11999 for ac_cxx_preproc_warn_flag in '' yes
12000 do
12001 # Use a header file that comes with gcc, so configuring glibc
12002 # with a fresh cross-compiler works.
12003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 # <limits.h> exists even on freestanding compilers.
12005 # On the NeXT, cc -E runs the code through the compiler's parser,
12006 # not just through cpp. "Syntax error" is here to catch this case.
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #ifdef __STDC__
12010 # include <limits.h>
12011 #else
12012 # include <assert.h>
12013 #endif
12014 Syntax error
12015 _ACEOF
12016 if ac_fn_cxx_try_cpp "$LINENO"; then :
12017
12018 else
12019 # Broken: fails on valid input.
12020 continue
12021 fi
12022 rm -f conftest.err conftest.$ac_ext
12023
12024 # OK, works on sane cases. Now check whether nonexistent headers
12025 # can be detected and how.
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <ac_nonexistent.h>
12029 _ACEOF
12030 if ac_fn_cxx_try_cpp "$LINENO"; then :
12031 # Broken: success on invalid input.
12032 continue
12033 else
12034 # Passes both tests.
12035 ac_preproc_ok=:
12036 break
12037 fi
12038 rm -f conftest.err conftest.$ac_ext
12039
12040 done
12041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12042 rm -f conftest.err conftest.$ac_ext
12043 if $ac_preproc_ok; then :
12044
12045 else
12046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12049 See \`config.log' for more details." "$LINENO" 5; }
12050 fi
12051
12052 ac_ext=c
12053 ac_cpp='$CPP $CPPFLAGS'
12054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12057
12058 else
12059 _lt_caught_CXX_error=yes
12060 fi
12061
12062 ac_ext=cpp
12063 ac_cpp='$CXXCPP $CPPFLAGS'
12064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12067
12068 archive_cmds_need_lc_CXX=no
12069 allow_undefined_flag_CXX=
12070 always_export_symbols_CXX=no
12071 archive_expsym_cmds_CXX=
12072 compiler_needs_object_CXX=no
12073 export_dynamic_flag_spec_CXX=
12074 hardcode_direct_CXX=no
12075 hardcode_direct_absolute_CXX=no
12076 hardcode_libdir_flag_spec_CXX=
12077 hardcode_libdir_flag_spec_ld_CXX=
12078 hardcode_libdir_separator_CXX=
12079 hardcode_minus_L_CXX=no
12080 hardcode_shlibpath_var_CXX=unsupported
12081 hardcode_automatic_CXX=no
12082 inherit_rpath_CXX=no
12083 module_cmds_CXX=
12084 module_expsym_cmds_CXX=
12085 link_all_deplibs_CXX=unknown
12086 old_archive_cmds_CXX=$old_archive_cmds
12087 reload_flag_CXX=$reload_flag
12088 reload_cmds_CXX=$reload_cmds
12089 no_undefined_flag_CXX=
12090 whole_archive_flag_spec_CXX=
12091 enable_shared_with_static_runtimes_CXX=no
12092
12093 # Source file extension for C++ test sources.
12094 ac_ext=cpp
12095
12096 # Object file extension for compiled C++ test sources.
12097 objext=o
12098 objext_CXX=$objext
12099
12100 # No sense in running all these tests if we already determined that
12101 # the CXX compiler isn't working. Some variables (like enable_shared)
12102 # are currently assumed to apply to all compilers on this platform,
12103 # and will be corrupted by setting them based on a non-working compiler.
12104 if test "$_lt_caught_CXX_error" != yes; then
12105 # Code to be used in simple compile tests
12106 lt_simple_compile_test_code="int some_variable = 0;"
12107
12108 # Code to be used in simple link tests
12109 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12110
12111 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12112
12113
12114
12115
12116
12117
12118 # If no C compiler was specified, use CC.
12119 LTCC=${LTCC-"$CC"}
12120
12121 # If no C compiler flags were specified, use CFLAGS.
12122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12123
12124 # Allow CC to be a program name with arguments.
12125 compiler=$CC
12126
12127
12128 # save warnings/boilerplate of simple test code
12129 ac_outfile=conftest.$ac_objext
12130 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12131 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12132 _lt_compiler_boilerplate=`cat conftest.err`
12133 $RM conftest*
12134
12135 ac_outfile=conftest.$ac_objext
12136 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12137 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12138 _lt_linker_boilerplate=`cat conftest.err`
12139 $RM -r conftest*
12140
12141
12142 # Allow CC to be a program name with arguments.
12143 lt_save_CC=$CC
12144 lt_save_LD=$LD
12145 lt_save_GCC=$GCC
12146 GCC=$GXX
12147 lt_save_with_gnu_ld=$with_gnu_ld
12148 lt_save_path_LD=$lt_cv_path_LD
12149 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12150 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12151 else
12152 $as_unset lt_cv_prog_gnu_ld
12153 fi
12154 if test -n "${lt_cv_path_LDCXX+set}"; then
12155 lt_cv_path_LD=$lt_cv_path_LDCXX
12156 else
12157 $as_unset lt_cv_path_LD
12158 fi
12159 test -z "${LDCXX+set}" || LD=$LDCXX
12160 CC=${CXX-"c++"}
12161 compiler=$CC
12162 compiler_CXX=$CC
12163 for cc_temp in $compiler""; do
12164 case $cc_temp in
12165 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12166 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12167 \-*) ;;
12168 *) break;;
12169 esac
12170 done
12171 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12172
12173
12174 if test -n "$compiler"; then
12175 # We don't want -fno-exception when compiling C++ code, so set the
12176 # no_builtin_flag separately
12177 if test "$GXX" = yes; then
12178 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12179 else
12180 lt_prog_compiler_no_builtin_flag_CXX=
12181 fi
12182
12183 if test "$GXX" = yes; then
12184 # Set up default GNU C++ configuration
12185
12186
12187
12188 # Check whether --with-gnu-ld was given.
12189 if test "${with_gnu_ld+set}" = set; then :
12190 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12191 else
12192 with_gnu_ld=no
12193 fi
12194
12195 ac_prog=ld
12196 if test "$GCC" = yes; then
12197 # Check if gcc -print-prog-name=ld gives a path.
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12199 $as_echo_n "checking for ld used by $CC... " >&6; }
12200 case $host in
12201 *-*-mingw*)
12202 # gcc leaves a trailing carriage return which upsets mingw
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12204 *)
12205 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12206 esac
12207 case $ac_prog in
12208 # Accept absolute paths.
12209 [\\/]* | ?:[\\/]*)
12210 re_direlt='/[^/][^/]*/\.\./'
12211 # Canonicalize the pathname of ld
12212 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12213 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12214 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12215 done
12216 test -z "$LD" && LD="$ac_prog"
12217 ;;
12218 "")
12219 # If it fails, then pretend we aren't using GCC.
12220 ac_prog=ld
12221 ;;
12222 *)
12223 # If it is relative, then search for the first ld in PATH.
12224 with_gnu_ld=unknown
12225 ;;
12226 esac
12227 elif test "$with_gnu_ld" = yes; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12229 $as_echo_n "checking for GNU ld... " >&6; }
12230 else
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12232 $as_echo_n "checking for non-GNU ld... " >&6; }
12233 fi
12234 if test "${lt_cv_path_LD+set}" = set; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 if test -z "$LD"; then
12238 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12239 for ac_dir in $PATH; do
12240 IFS="$lt_save_ifs"
12241 test -z "$ac_dir" && ac_dir=.
12242 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12243 lt_cv_path_LD="$ac_dir/$ac_prog"
12244 # Check to see if the program is GNU ld. I'd rather use --version,
12245 # but apparently some variants of GNU ld only accept -v.
12246 # Break only if it was the GNU/non-GNU ld that we prefer.
12247 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12248 *GNU* | *'with BFD'*)
12249 test "$with_gnu_ld" != no && break
12250 ;;
12251 *)
12252 test "$with_gnu_ld" != yes && break
12253 ;;
12254 esac
12255 fi
12256 done
12257 IFS="$lt_save_ifs"
12258 else
12259 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12260 fi
12261 fi
12262
12263 LD="$lt_cv_path_LD"
12264 if test -n "$LD"; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12266 $as_echo "$LD" >&6; }
12267 else
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12269 $as_echo "no" >&6; }
12270 fi
12271 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12273 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12274 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12276 else
12277 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12278 case `$LD -v 2>&1 </dev/null` in
12279 *GNU* | *'with BFD'*)
12280 lt_cv_prog_gnu_ld=yes
12281 ;;
12282 *)
12283 lt_cv_prog_gnu_ld=no
12284 ;;
12285 esac
12286 fi
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12288 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12289 with_gnu_ld=$lt_cv_prog_gnu_ld
12290
12291
12292
12293
12294
12295
12296
12297 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12298 # archiving commands below assume that GNU ld is being used.
12299 if test "$with_gnu_ld" = yes; then
12300 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 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'
12302
12303 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12304 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12305
12306 # If archive_cmds runs LD, not CC, wlarc should be empty
12307 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12308 # investigate it a little bit more. (MM)
12309 wlarc='${wl}'
12310
12311 # ancient GNU ld didn't support --whole-archive et. al.
12312 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12313 $GREP 'no-whole-archive' > /dev/null; then
12314 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12315 else
12316 whole_archive_flag_spec_CXX=
12317 fi
12318 else
12319 with_gnu_ld=no
12320 wlarc=
12321
12322 # A generic and very simple default shared library creation
12323 # command for GNU C++ for the case where it uses the native
12324 # linker, instead of GNU ld. If possible, this setting should
12325 # overridden to take advantage of the native linker features on
12326 # the platform it is being used on.
12327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12328 fi
12329
12330 # Commands to make compiler produce verbose output that lists
12331 # what "hidden" libraries, object files and flags are used when
12332 # linking a shared library.
12333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12334
12335 else
12336 GXX=no
12337 with_gnu_ld=no
12338 wlarc=
12339 fi
12340
12341 # PORTME: fill in a description of your system's C++ link characteristics
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12344 ld_shlibs_CXX=yes
12345 case $host_os in
12346 aix3*)
12347 # FIXME: insert proper C++ library support
12348 ld_shlibs_CXX=no
12349 ;;
12350 aix[4-9]*)
12351 if test "$host_cpu" = ia64; then
12352 # On IA64, the linker does run time linking by default, so we don't
12353 # have to do anything special.
12354 aix_use_runtimelinking=no
12355 exp_sym_flag='-Bexport'
12356 no_entry_flag=""
12357 else
12358 aix_use_runtimelinking=no
12359
12360 # Test if we are trying to use run time linking or normal
12361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12362 # need to do runtime linking.
12363 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12364 for ld_flag in $LDFLAGS; do
12365 case $ld_flag in
12366 *-brtl*)
12367 aix_use_runtimelinking=yes
12368 break
12369 ;;
12370 esac
12371 done
12372 ;;
12373 esac
12374
12375 exp_sym_flag='-bexport'
12376 no_entry_flag='-bnoentry'
12377 fi
12378
12379 # When large executables or shared objects are built, AIX ld can
12380 # have problems creating the table of contents. If linking a library
12381 # or program results in "error TOC overflow" add -mminimal-toc to
12382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12384
12385 archive_cmds_CXX=''
12386 hardcode_direct_CXX=yes
12387 hardcode_direct_absolute_CXX=yes
12388 hardcode_libdir_separator_CXX=':'
12389 link_all_deplibs_CXX=yes
12390 file_list_spec_CXX='${wl}-f,'
12391
12392 if test "$GXX" = yes; then
12393 case $host_os in aix4.[012]|aix4.[012].*)
12394 # We only want to do this on AIX 4.2 and lower, the check
12395 # below for broken collect2 doesn't work under 4.3+
12396 collect2name=`${CC} -print-prog-name=collect2`
12397 if test -f "$collect2name" &&
12398 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12399 then
12400 # We have reworked collect2
12401 :
12402 else
12403 # We have old collect2
12404 hardcode_direct_CXX=unsupported
12405 # It fails to find uninstalled libraries when the uninstalled
12406 # path is not listed in the libpath. Setting hardcode_minus_L
12407 # to unsupported forces relinking
12408 hardcode_minus_L_CXX=yes
12409 hardcode_libdir_flag_spec_CXX='-L$libdir'
12410 hardcode_libdir_separator_CXX=
12411 fi
12412 esac
12413 shared_flag='-shared'
12414 if test "$aix_use_runtimelinking" = yes; then
12415 shared_flag="$shared_flag "'${wl}-G'
12416 fi
12417 else
12418 # not using gcc
12419 if test "$host_cpu" = ia64; then
12420 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12421 # chokes on -Wl,-G. The following line is correct:
12422 shared_flag='-G'
12423 else
12424 if test "$aix_use_runtimelinking" = yes; then
12425 shared_flag='${wl}-G'
12426 else
12427 shared_flag='${wl}-bM:SRE'
12428 fi
12429 fi
12430 fi
12431
12432 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12433 # It seems that -bexpall does not export symbols beginning with
12434 # underscore (_), so it is better to generate a list of symbols to
12435 # export.
12436 always_export_symbols_CXX=yes
12437 if test "$aix_use_runtimelinking" = yes; then
12438 # Warning - without using the other runtime loading flags (-brtl),
12439 # -berok will link without error, but may produce a broken library.
12440 allow_undefined_flag_CXX='-berok'
12441 # Determine the default libpath from the value encoded in an empty
12442 # executable.
12443 if test x$gcc_no_link = xyes; then
12444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12445 fi
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12448
12449 int
12450 main ()
12451 {
12452
12453 ;
12454 return 0;
12455 }
12456 _ACEOF
12457 if ac_fn_cxx_try_link "$LINENO"; then :
12458
12459 lt_aix_libpath_sed='
12460 /Import File Strings/,/^$/ {
12461 /^0/ {
12462 s/^0 *\(.*\)$/\1/
12463 p
12464 }
12465 }'
12466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12467 # Check for a 64-bit object if we didn't find anything.
12468 if test -z "$aix_libpath"; then
12469 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12470 fi
12471 fi
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12475
12476 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12477
12478 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"
12479 else
12480 if test "$host_cpu" = ia64; then
12481 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12482 allow_undefined_flag_CXX="-z nodefs"
12483 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"
12484 else
12485 # Determine the default libpath from the value encoded in an
12486 # empty executable.
12487 if test x$gcc_no_link = xyes; then
12488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12489 fi
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492
12493 int
12494 main ()
12495 {
12496
12497 ;
12498 return 0;
12499 }
12500 _ACEOF
12501 if ac_fn_cxx_try_link "$LINENO"; then :
12502
12503 lt_aix_libpath_sed='
12504 /Import File Strings/,/^$/ {
12505 /^0/ {
12506 s/^0 *\(.*\)$/\1/
12507 p
12508 }
12509 }'
12510 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511 # Check for a 64-bit object if we didn't find anything.
12512 if test -z "$aix_libpath"; then
12513 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12514 fi
12515 fi
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12519
12520 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12521 # Warning - without using the other run time loading flags,
12522 # -berok will link without error, but may produce a broken library.
12523 no_undefined_flag_CXX=' ${wl}-bernotok'
12524 allow_undefined_flag_CXX=' ${wl}-berok'
12525 if test "$with_gnu_ld" = yes; then
12526 # We only use this code for GNU lds that support --whole-archive.
12527 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12528 else
12529 # Exported symbols can be pulled into shared objects from archives
12530 whole_archive_flag_spec_CXX='$convenience'
12531 fi
12532 archive_cmds_need_lc_CXX=yes
12533 # This is similar to how AIX traditionally builds its shared
12534 # libraries.
12535 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'
12536 fi
12537 fi
12538 ;;
12539
12540 beos*)
12541 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12542 allow_undefined_flag_CXX=unsupported
12543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12544 # support --undefined. This deserves some investigation. FIXME
12545 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12546 else
12547 ld_shlibs_CXX=no
12548 fi
12549 ;;
12550
12551 chorus*)
12552 case $cc_basename in
12553 *)
12554 # FIXME: insert proper C++ library support
12555 ld_shlibs_CXX=no
12556 ;;
12557 esac
12558 ;;
12559
12560 cygwin* | mingw* | pw32* | cegcc*)
12561 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12562 # as there is no search path for DLLs.
12563 hardcode_libdir_flag_spec_CXX='-L$libdir'
12564 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12565 allow_undefined_flag_CXX=unsupported
12566 always_export_symbols_CXX=no
12567 enable_shared_with_static_runtimes_CXX=yes
12568
12569 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12571 # If the export-symbols file already is a .def file (1st line
12572 # is EXPORTS), use it as is; otherwise, prepend...
12573 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574 cp $export_symbols $output_objdir/$soname.def;
12575 else
12576 echo EXPORTS > $output_objdir/$soname.def;
12577 cat $export_symbols >> $output_objdir/$soname.def;
12578 fi~
12579 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12580 else
12581 ld_shlibs_CXX=no
12582 fi
12583 ;;
12584 darwin* | rhapsody*)
12585
12586
12587 archive_cmds_need_lc_CXX=no
12588 hardcode_direct_CXX=no
12589 hardcode_automatic_CXX=yes
12590 hardcode_shlibpath_var_CXX=unsupported
12591 if test "$lt_cv_ld_force_load" = "yes"; then
12592 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\"`'
12593 else
12594 whole_archive_flag_spec_CXX=''
12595 fi
12596 link_all_deplibs_CXX=yes
12597 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12598 case $cc_basename in
12599 ifort*) _lt_dar_can_shared=yes ;;
12600 *) _lt_dar_can_shared=$GCC ;;
12601 esac
12602 if test "$_lt_dar_can_shared" = "yes"; then
12603 output_verbose_link_cmd=func_echo_all
12604 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}"
12605 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12606 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}"
12607 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}"
12608 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12609 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}"
12610 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}"
12611 fi
12612
12613 else
12614 ld_shlibs_CXX=no
12615 fi
12616
12617 ;;
12618
12619 dgux*)
12620 case $cc_basename in
12621 ec++*)
12622 # FIXME: insert proper C++ library support
12623 ld_shlibs_CXX=no
12624 ;;
12625 ghcx*)
12626 # Green Hills C++ Compiler
12627 # FIXME: insert proper C++ library support
12628 ld_shlibs_CXX=no
12629 ;;
12630 *)
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12633 ;;
12634 esac
12635 ;;
12636
12637 freebsd2.*)
12638 # C++ shared libraries reported to be fairly broken before
12639 # switch to ELF
12640 ld_shlibs_CXX=no
12641 ;;
12642
12643 freebsd-elf*)
12644 archive_cmds_need_lc_CXX=no
12645 ;;
12646
12647 freebsd* | dragonfly*)
12648 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12649 # conventions
12650 ld_shlibs_CXX=yes
12651 ;;
12652
12653 gnu*)
12654 ;;
12655
12656 haiku*)
12657 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12658 link_all_deplibs_CXX=yes
12659 ;;
12660
12661 hpux9*)
12662 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12663 hardcode_libdir_separator_CXX=:
12664 export_dynamic_flag_spec_CXX='${wl}-E'
12665 hardcode_direct_CXX=yes
12666 hardcode_minus_L_CXX=yes # Not in the search PATH,
12667 # but as the default
12668 # location of the library.
12669
12670 case $cc_basename in
12671 CC*)
12672 # FIXME: insert proper C++ library support
12673 ld_shlibs_CXX=no
12674 ;;
12675 aCC*)
12676 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'
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12680 #
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 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"'
12686 ;;
12687 *)
12688 if test "$GXX" = yes; then
12689 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'
12690 else
12691 # FIXME: insert proper C++ library support
12692 ld_shlibs_CXX=no
12693 fi
12694 ;;
12695 esac
12696 ;;
12697
12698 hpux10*|hpux11*)
12699 if test $with_gnu_ld = no; then
12700 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12701 hardcode_libdir_separator_CXX=:
12702
12703 case $host_cpu in
12704 hppa*64*|ia64*)
12705 ;;
12706 *)
12707 export_dynamic_flag_spec_CXX='${wl}-E'
12708 ;;
12709 esac
12710 fi
12711 case $host_cpu in
12712 hppa*64*|ia64*)
12713 hardcode_direct_CXX=no
12714 hardcode_shlibpath_var_CXX=no
12715 ;;
12716 *)
12717 hardcode_direct_CXX=yes
12718 hardcode_direct_absolute_CXX=yes
12719 hardcode_minus_L_CXX=yes # Not in the search PATH,
12720 # but as the default
12721 # location of the library.
12722 ;;
12723 esac
12724
12725 case $cc_basename in
12726 CC*)
12727 # FIXME: insert proper C++ library support
12728 ld_shlibs_CXX=no
12729 ;;
12730 aCC*)
12731 case $host_cpu in
12732 hppa*64*)
12733 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12734 ;;
12735 ia64*)
12736 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12737 ;;
12738 *)
12739 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12740 ;;
12741 esac
12742 # Commands to make compiler produce verbose output that lists
12743 # what "hidden" libraries, object files and flags are used when
12744 # linking a shared library.
12745 #
12746 # There doesn't appear to be a way to prevent this compiler from
12747 # explicitly linking system object files so we need to strip them
12748 # from the output so that they don't get included in the library
12749 # dependencies.
12750 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"'
12751 ;;
12752 *)
12753 if test "$GXX" = yes; then
12754 if test $with_gnu_ld = no; then
12755 case $host_cpu in
12756 hppa*64*)
12757 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12758 ;;
12759 ia64*)
12760 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12761 ;;
12762 *)
12763 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'
12764 ;;
12765 esac
12766 fi
12767 else
12768 # FIXME: insert proper C++ library support
12769 ld_shlibs_CXX=no
12770 fi
12771 ;;
12772 esac
12773 ;;
12774
12775 interix[3-9]*)
12776 hardcode_direct_CXX=no
12777 hardcode_shlibpath_var_CXX=no
12778 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12779 export_dynamic_flag_spec_CXX='${wl}-E'
12780 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12781 # Instead, shared libraries are loaded at an image base (0x10000000 by
12782 # default) and relocated if they conflict, which is a slow very memory
12783 # consuming and fragmenting process. To avoid this, we pick a random,
12784 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12785 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12786 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'
12787 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'
12788 ;;
12789 irix5* | irix6*)
12790 case $cc_basename in
12791 CC*)
12792 # SGI C++
12793 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'
12794
12795 # Archives containing C++ object files must be created using
12796 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12797 # necessary to make sure instantiated templates are included
12798 # in the archive.
12799 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12800 ;;
12801 *)
12802 if test "$GXX" = yes; then
12803 if test "$with_gnu_ld" = no; then
12804 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12805 else
12806 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'
12807 fi
12808 fi
12809 link_all_deplibs_CXX=yes
12810 ;;
12811 esac
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 hardcode_libdir_separator_CXX=:
12814 inherit_rpath_CXX=yes
12815 ;;
12816
12817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12818 case $cc_basename in
12819 KCC*)
12820 # Kuck and Associates, Inc. (KAI) C++ Compiler
12821
12822 # KCC will only create a shared library if the output file
12823 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12824 # to its proper name (with version) after linking.
12825 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'
12826 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'
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12830 #
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 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"'
12836
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12839
12840 # Archives containing C++ object files must be created using
12841 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12842 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12843 ;;
12844 icpc* | ecpc* )
12845 # Intel C++
12846 with_gnu_ld=yes
12847 # version 8.0 and above of icpc choke on multiply defined symbols
12848 # if we add $predep_objects and $postdep_objects, however 7.1 and
12849 # earlier do not add the objects themselves.
12850 case `$CC -V 2>&1` in
12851 *"Version 7."*)
12852 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853 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'
12854 ;;
12855 *) # Version 8.0 or newer
12856 tmp_idyn=
12857 case $host_cpu in
12858 ia64*) tmp_idyn=' -i_dynamic';;
12859 esac
12860 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12861 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'
12862 ;;
12863 esac
12864 archive_cmds_need_lc_CXX=no
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12868 ;;
12869 pgCC* | pgcpp*)
12870 # Portland Group C++ compiler
12871 case `$CC -V` in
12872 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12873 prelink_cmds_CXX='tpldir=Template.dir~
12874 rm -rf $tpldir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12876 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12877 old_archive_cmds_CXX='tpldir=Template.dir~
12878 rm -rf $tpldir~
12879 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12880 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12881 $RANLIB $oldlib'
12882 archive_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12886 archive_expsym_cmds_CXX='tpldir=Template.dir~
12887 rm -rf $tpldir~
12888 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12889 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12890 ;;
12891 *) # Version 6 and above use weak symbols
12892 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12893 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'
12894 ;;
12895 esac
12896
12897 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12898 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12899 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'
12900 ;;
12901 cxx*)
12902 # Compaq C++
12903 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12904 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'
12905
12906 runpath_var=LD_RUN_PATH
12907 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12908 hardcode_libdir_separator_CXX=:
12909
12910 # Commands to make compiler produce verbose output that lists
12911 # what "hidden" libraries, object files and flags are used when
12912 # linking a shared library.
12913 #
12914 # There doesn't appear to be a way to prevent this compiler from
12915 # explicitly linking system object files so we need to strip them
12916 # from the output so that they don't get included in the library
12917 # dependencies.
12918 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'
12919 ;;
12920 xl* | mpixl* | bgxl*)
12921 # IBM XL 8.0 on PPC, with GNU ld
12922 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12923 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12924 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12925 if test "x$supports_anon_versioning" = xyes; then
12926 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12928 echo "local: *; };" >> $output_objdir/$libname.ver~
12929 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12930 fi
12931 ;;
12932 *)
12933 case `$CC -V 2>&1 | sed 5q` in
12934 *Sun\ C*)
12935 # Sun C++ 5.9
12936 no_undefined_flag_CXX=' -zdefs'
12937 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12938 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'
12939 hardcode_libdir_flag_spec_CXX='-R$libdir'
12940 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'
12941 compiler_needs_object_CXX=yes
12942
12943 # Not sure whether something based on
12944 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12945 # would be better.
12946 output_verbose_link_cmd='func_echo_all'
12947
12948 # Archives containing C++ object files must be created using
12949 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12950 # necessary to make sure instantiated templates are included
12951 # in the archive.
12952 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12953 ;;
12954 esac
12955 ;;
12956 esac
12957 ;;
12958
12959 lynxos*)
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12962 ;;
12963
12964 m88k*)
12965 # FIXME: insert proper C++ library support
12966 ld_shlibs_CXX=no
12967 ;;
12968
12969 mvs*)
12970 case $cc_basename in
12971 cxx*)
12972 # FIXME: insert proper C++ library support
12973 ld_shlibs_CXX=no
12974 ;;
12975 *)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979 esac
12980 ;;
12981
12982 netbsd*)
12983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12984 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12985 wlarc=
12986 hardcode_libdir_flag_spec_CXX='-R$libdir'
12987 hardcode_direct_CXX=yes
12988 hardcode_shlibpath_var_CXX=no
12989 fi
12990 # Workaround some broken pre-1.5 toolchains
12991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12992 ;;
12993
12994 *nto* | *qnx*)
12995 ld_shlibs_CXX=yes
12996 ;;
12997
12998 openbsd2*)
12999 # C++ shared libraries are fairly broken
13000 ld_shlibs_CXX=no
13001 ;;
13002
13003 openbsd*)
13004 if test -f /usr/libexec/ld.so; then
13005 hardcode_direct_CXX=yes
13006 hardcode_shlibpath_var_CXX=no
13007 hardcode_direct_absolute_CXX=yes
13008 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13009 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13010 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13011 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13012 export_dynamic_flag_spec_CXX='${wl}-E'
13013 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13014 fi
13015 output_verbose_link_cmd=func_echo_all
13016 else
13017 ld_shlibs_CXX=no
13018 fi
13019 ;;
13020
13021 osf3* | osf4* | osf5*)
13022 case $cc_basename in
13023 KCC*)
13024 # Kuck and Associates, Inc. (KAI) C++ Compiler
13025
13026 # KCC will only create a shared library if the output file
13027 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13028 # to its proper name (with version) after linking.
13029 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'
13030
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13032 hardcode_libdir_separator_CXX=:
13033
13034 # Archives containing C++ object files must be created using
13035 # the KAI C++ compiler.
13036 case $host in
13037 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13038 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13039 esac
13040 ;;
13041 RCC*)
13042 # Rational C++ 2.4.1
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13045 ;;
13046 cxx*)
13047 case $host in
13048 osf3*)
13049 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13050 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'
13051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13052 ;;
13053 *)
13054 allow_undefined_flag_CXX=' -expect_unresolved \*'
13055 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'
13056 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13057 echo "-hidden">> $lib.exp~
13058 $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~
13059 $RM $lib.exp'
13060 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13061 ;;
13062 esac
13063
13064 hardcode_libdir_separator_CXX=:
13065
13066 # Commands to make compiler produce verbose output that lists
13067 # what "hidden" libraries, object files and flags are used when
13068 # linking a shared library.
13069 #
13070 # There doesn't appear to be a way to prevent this compiler from
13071 # explicitly linking system object files so we need to strip them
13072 # from the output so that they don't get included in the library
13073 # dependencies.
13074 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"'
13075 ;;
13076 *)
13077 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13078 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13079 case $host in
13080 osf3*)
13081 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'
13082 ;;
13083 *)
13084 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'
13085 ;;
13086 esac
13087
13088 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13089 hardcode_libdir_separator_CXX=:
13090
13091 # Commands to make compiler produce verbose output that lists
13092 # what "hidden" libraries, object files and flags are used when
13093 # linking a shared library.
13094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13095
13096 else
13097 # FIXME: insert proper C++ library support
13098 ld_shlibs_CXX=no
13099 fi
13100 ;;
13101 esac
13102 ;;
13103
13104 psos*)
13105 # FIXME: insert proper C++ library support
13106 ld_shlibs_CXX=no
13107 ;;
13108
13109 sunos4*)
13110 case $cc_basename in
13111 CC*)
13112 # Sun C++ 4.x
13113 # FIXME: insert proper C++ library support
13114 ld_shlibs_CXX=no
13115 ;;
13116 lcc*)
13117 # Lucid
13118 # FIXME: insert proper C++ library support
13119 ld_shlibs_CXX=no
13120 ;;
13121 *)
13122 # FIXME: insert proper C++ library support
13123 ld_shlibs_CXX=no
13124 ;;
13125 esac
13126 ;;
13127
13128 solaris*)
13129 case $cc_basename in
13130 CC*)
13131 # Sun C++ 4.2, 5.x and Centerline C++
13132 archive_cmds_need_lc_CXX=yes
13133 no_undefined_flag_CXX=' -zdefs'
13134 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13136 $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'
13137
13138 hardcode_libdir_flag_spec_CXX='-R$libdir'
13139 hardcode_shlibpath_var_CXX=no
13140 case $host_os in
13141 solaris2.[0-5] | solaris2.[0-5].*) ;;
13142 *)
13143 # The compiler driver will combine and reorder linker options,
13144 # but understands `-z linker_flag'.
13145 # Supported since Solaris 2.6 (maybe 2.5.1?)
13146 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13147 ;;
13148 esac
13149 link_all_deplibs_CXX=yes
13150
13151 output_verbose_link_cmd='func_echo_all'
13152
13153 # Archives containing C++ object files must be created using
13154 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13155 # necessary to make sure instantiated templates are included
13156 # in the archive.
13157 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13158 ;;
13159 gcx*)
13160 # Green Hills C++ Compiler
13161 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13162
13163 # The C++ compiler must be used to create the archive.
13164 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13165 ;;
13166 *)
13167 # GNU C++ compiler with Solaris linker
13168 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13169 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13170 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13171 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13173 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13174
13175 # Commands to make compiler produce verbose output that lists
13176 # what "hidden" libraries, object files and flags are used when
13177 # linking a shared library.
13178 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13179 else
13180 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13181 # platform.
13182 archive_cmds_CXX='$CC -G -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 -G -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 -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 fi
13191
13192 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13193 case $host_os in
13194 solaris2.[0-5] | solaris2.[0-5].*) ;;
13195 *)
13196 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13197 ;;
13198 esac
13199 fi
13200 ;;
13201 esac
13202 ;;
13203
13204 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13205 no_undefined_flag_CXX='${wl}-z,text'
13206 archive_cmds_need_lc_CXX=no
13207 hardcode_shlibpath_var_CXX=no
13208 runpath_var='LD_RUN_PATH'
13209
13210 case $cc_basename in
13211 CC*)
13212 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 ;;
13215 *)
13216 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13218 ;;
13219 esac
13220 ;;
13221
13222 sysv5* | sco3.2v5* | sco5v6*)
13223 # Note: We can NOT use -z defs as we might desire, because we do not
13224 # link with -lc, and that would cause any symbols used from libc to
13225 # always be unresolved, which means just about no library would
13226 # ever link correctly. If we're not using GNU ld we use -z text
13227 # though, which does catch some bad symbols but isn't as heavy-handed
13228 # as -z defs.
13229 no_undefined_flag_CXX='${wl}-z,text'
13230 allow_undefined_flag_CXX='${wl}-z,nodefs'
13231 archive_cmds_need_lc_CXX=no
13232 hardcode_shlibpath_var_CXX=no
13233 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13234 hardcode_libdir_separator_CXX=':'
13235 link_all_deplibs_CXX=yes
13236 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13237 runpath_var='LD_RUN_PATH'
13238
13239 case $cc_basename in
13240 CC*)
13241 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13244 '"$old_archive_cmds_CXX"
13245 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13246 '"$reload_cmds_CXX"
13247 ;;
13248 *)
13249 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251 ;;
13252 esac
13253 ;;
13254
13255 tandem*)
13256 case $cc_basename in
13257 NCC*)
13258 # NonStop-UX NCC 3.20
13259 # FIXME: insert proper C++ library support
13260 ld_shlibs_CXX=no
13261 ;;
13262 *)
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13265 ;;
13266 esac
13267 ;;
13268
13269 vxworks*)
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13272 ;;
13273
13274 *)
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13277 ;;
13278 esac
13279
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13281 $as_echo "$ld_shlibs_CXX" >&6; }
13282 test "$ld_shlibs_CXX" = no && can_build_shared=no
13283
13284 GCC_CXX="$GXX"
13285 LD_CXX="$LD"
13286
13287 ## CAVEAT EMPTOR:
13288 ## There is no encapsulation within the following macros, do not change
13289 ## the running order or otherwise move them around unless you know exactly
13290 ## what you are doing...
13291 # Dependencies to place before and after the object being linked:
13292 predep_objects_CXX=
13293 postdep_objects_CXX=
13294 predeps_CXX=
13295 postdeps_CXX=
13296 compiler_lib_search_path_CXX=
13297
13298 cat > conftest.$ac_ext <<_LT_EOF
13299 class Foo
13300 {
13301 public:
13302 Foo (void) { a = 0; }
13303 private:
13304 int a;
13305 };
13306 _LT_EOF
13307
13308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13309 (eval $ac_compile) 2>&5
13310 ac_status=$?
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; }; then
13313 # Parse the compiler output and extract the necessary
13314 # objects, libraries and library flags.
13315
13316 # Sentinel used to keep track of whether or not we are before
13317 # the conftest object file.
13318 pre_test_object_deps_done=no
13319
13320 for p in `eval "$output_verbose_link_cmd"`; do
13321 case $p in
13322
13323 -L* | -R* | -l*)
13324 # Some compilers place space between "-{L,R}" and the path.
13325 # Remove the space.
13326 if test $p = "-L" ||
13327 test $p = "-R"; then
13328 prev=$p
13329 continue
13330 else
13331 prev=
13332 fi
13333
13334 if test "$pre_test_object_deps_done" = no; then
13335 case $p in
13336 -L* | -R*)
13337 # Internal compiler library paths should come after those
13338 # provided the user. The postdeps already come after the
13339 # user supplied libs so there is no need to process them.
13340 if test -z "$compiler_lib_search_path_CXX"; then
13341 compiler_lib_search_path_CXX="${prev}${p}"
13342 else
13343 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13344 fi
13345 ;;
13346 # The "-l" case would never come before the object being
13347 # linked, so don't bother handling this case.
13348 esac
13349 else
13350 if test -z "$postdeps_CXX"; then
13351 postdeps_CXX="${prev}${p}"
13352 else
13353 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13354 fi
13355 fi
13356 ;;
13357
13358 *.$objext)
13359 # This assumes that the test object file only shows up
13360 # once in the compiler output.
13361 if test "$p" = "conftest.$objext"; then
13362 pre_test_object_deps_done=yes
13363 continue
13364 fi
13365
13366 if test "$pre_test_object_deps_done" = no; then
13367 if test -z "$predep_objects_CXX"; then
13368 predep_objects_CXX="$p"
13369 else
13370 predep_objects_CXX="$predep_objects_CXX $p"
13371 fi
13372 else
13373 if test -z "$postdep_objects_CXX"; then
13374 postdep_objects_CXX="$p"
13375 else
13376 postdep_objects_CXX="$postdep_objects_CXX $p"
13377 fi
13378 fi
13379 ;;
13380
13381 *) ;; # Ignore the rest.
13382
13383 esac
13384 done
13385
13386 # Clean up.
13387 rm -f a.out a.exe
13388 else
13389 echo "libtool.m4: error: problem compiling CXX test program"
13390 fi
13391
13392 $RM -f confest.$objext
13393
13394 # PORTME: override above test on systems where it is broken
13395 case $host_os in
13396 interix[3-9]*)
13397 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13398 # hack all around it, let's just trust "g++" to DTRT.
13399 predep_objects_CXX=
13400 postdep_objects_CXX=
13401 postdeps_CXX=
13402 ;;
13403
13404 linux*)
13405 case `$CC -V 2>&1 | sed 5q` in
13406 *Sun\ C*)
13407 # Sun C++ 5.9
13408
13409 # The more standards-conforming stlport4 library is
13410 # incompatible with the Cstd library. Avoid specifying
13411 # it if it's in CXXFLAGS. Ignore libCrun as
13412 # -library=stlport4 depends on it.
13413 case " $CXX $CXXFLAGS " in
13414 *" -library=stlport4 "*)
13415 solaris_use_stlport4=yes
13416 ;;
13417 esac
13418
13419 if test "$solaris_use_stlport4" != yes; then
13420 postdeps_CXX='-library=Cstd -library=Crun'
13421 fi
13422 ;;
13423 esac
13424 ;;
13425
13426 solaris*)
13427 case $cc_basename in
13428 CC*)
13429 # The more standards-conforming stlport4 library is
13430 # incompatible with the Cstd library. Avoid specifying
13431 # it if it's in CXXFLAGS. Ignore libCrun as
13432 # -library=stlport4 depends on it.
13433 case " $CXX $CXXFLAGS " in
13434 *" -library=stlport4 "*)
13435 solaris_use_stlport4=yes
13436 ;;
13437 esac
13438
13439 # Adding this requires a known-good setup of shared libraries for
13440 # Sun compiler versions before 5.6, else PIC objects from an old
13441 # archive will be linked into the output, leading to subtle bugs.
13442 if test "$solaris_use_stlport4" != yes; then
13443 postdeps_CXX='-library=Cstd -library=Crun'
13444 fi
13445 ;;
13446 esac
13447 ;;
13448 esac
13449
13450
13451 case " $postdeps_CXX " in
13452 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13453 esac
13454 compiler_lib_search_dirs_CXX=
13455 if test -n "${compiler_lib_search_path_CXX}"; then
13456 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13457 fi
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489 lt_prog_compiler_wl_CXX=
13490 lt_prog_compiler_pic_CXX=
13491 lt_prog_compiler_static_CXX=
13492
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13495
13496 # C++ specific cases for pic, static, wl, etc.
13497 if test "$GXX" = yes; then
13498 lt_prog_compiler_wl_CXX='-Wl,'
13499 lt_prog_compiler_static_CXX='-static'
13500
13501 case $host_os in
13502 aix*)
13503 # All AIX code is PIC.
13504 if test "$host_cpu" = ia64; then
13505 # AIX 5 now supports IA64 processor
13506 lt_prog_compiler_static_CXX='-Bstatic'
13507 fi
13508 lt_prog_compiler_pic_CXX='-fPIC'
13509 ;;
13510
13511 amigaos*)
13512 case $host_cpu in
13513 powerpc)
13514 # see comment about AmigaOS4 .so support
13515 lt_prog_compiler_pic_CXX='-fPIC'
13516 ;;
13517 m68k)
13518 # FIXME: we need at least 68020 code to build shared libraries, but
13519 # adding the `-m68020' flag to GCC prevents building anything better,
13520 # like `-m68040'.
13521 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13522 ;;
13523 esac
13524 ;;
13525
13526 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13527 # PIC is the default for these OSes.
13528 ;;
13529 mingw* | cygwin* | os2* | pw32* | cegcc*)
13530 # This hack is so that the source file can tell whether it is being
13531 # built for inclusion in a dll (and should export symbols for example).
13532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13533 # (--disable-auto-import) libraries
13534 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13535 ;;
13536 darwin* | rhapsody*)
13537 # PIC is the default on this platform
13538 # Common symbols not allowed in MH_DYLIB files
13539 lt_prog_compiler_pic_CXX='-fno-common'
13540 ;;
13541 *djgpp*)
13542 # DJGPP does not support shared libraries at all
13543 lt_prog_compiler_pic_CXX=
13544 ;;
13545 haiku*)
13546 # PIC is the default for Haiku.
13547 # The "-static" flag exists, but is broken.
13548 lt_prog_compiler_static_CXX=
13549 ;;
13550 interix[3-9]*)
13551 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13552 # Instead, we relocate shared libraries at runtime.
13553 ;;
13554 sysv4*MP*)
13555 if test -d /usr/nec; then
13556 lt_prog_compiler_pic_CXX=-Kconform_pic
13557 fi
13558 ;;
13559 hpux*)
13560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13562 # sets the default TLS model and affects inlining.
13563 case $host_cpu in
13564 hppa*64*)
13565 ;;
13566 *)
13567 lt_prog_compiler_pic_CXX='-fPIC'
13568 ;;
13569 esac
13570 ;;
13571 *qnx* | *nto*)
13572 # QNX uses GNU C++, but need to define -shared option too, otherwise
13573 # it will coredump.
13574 lt_prog_compiler_pic_CXX='-fPIC -shared'
13575 ;;
13576 *)
13577 lt_prog_compiler_pic_CXX='-fPIC'
13578 ;;
13579 esac
13580 else
13581 case $host_os in
13582 aix[4-9]*)
13583 # All AIX code is PIC.
13584 if test "$host_cpu" = ia64; then
13585 # AIX 5 now supports IA64 processor
13586 lt_prog_compiler_static_CXX='-Bstatic'
13587 else
13588 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13589 fi
13590 ;;
13591 chorus*)
13592 case $cc_basename in
13593 cxch68*)
13594 # Green Hills C++ Compiler
13595 # _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"
13596 ;;
13597 esac
13598 ;;
13599 dgux*)
13600 case $cc_basename in
13601 ec++*)
13602 lt_prog_compiler_pic_CXX='-KPIC'
13603 ;;
13604 ghcx*)
13605 # Green Hills C++ Compiler
13606 lt_prog_compiler_pic_CXX='-pic'
13607 ;;
13608 *)
13609 ;;
13610 esac
13611 ;;
13612 freebsd* | dragonfly*)
13613 # FreeBSD uses GNU C++
13614 ;;
13615 hpux9* | hpux10* | hpux11*)
13616 case $cc_basename in
13617 CC*)
13618 lt_prog_compiler_wl_CXX='-Wl,'
13619 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13620 if test "$host_cpu" != ia64; then
13621 lt_prog_compiler_pic_CXX='+Z'
13622 fi
13623 ;;
13624 aCC*)
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13627 case $host_cpu in
13628 hppa*64*|ia64*)
13629 # +Z the default
13630 ;;
13631 *)
13632 lt_prog_compiler_pic_CXX='+Z'
13633 ;;
13634 esac
13635 ;;
13636 *)
13637 ;;
13638 esac
13639 ;;
13640 interix*)
13641 # This is c89, which is MS Visual C++ (no shared libs)
13642 # Anyone wants to do a port?
13643 ;;
13644 irix5* | irix6* | nonstopux*)
13645 case $cc_basename in
13646 CC*)
13647 lt_prog_compiler_wl_CXX='-Wl,'
13648 lt_prog_compiler_static_CXX='-non_shared'
13649 # CC pic flag -KPIC is the default.
13650 ;;
13651 *)
13652 ;;
13653 esac
13654 ;;
13655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13656 case $cc_basename in
13657 KCC*)
13658 # KAI C++ Compiler
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13660 lt_prog_compiler_pic_CXX='-fPIC'
13661 ;;
13662 ecpc* )
13663 # old Intel C++ for x86_64 which still supported -KPIC.
13664 lt_prog_compiler_wl_CXX='-Wl,'
13665 lt_prog_compiler_pic_CXX='-KPIC'
13666 lt_prog_compiler_static_CXX='-static'
13667 ;;
13668 icpc* )
13669 # Intel C++, used to be incompatible with GCC.
13670 # ICC 10 doesn't accept -KPIC any more.
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-fPIC'
13673 lt_prog_compiler_static_CXX='-static'
13674 ;;
13675 pgCC* | pgcpp*)
13676 # Portland Group C++ compiler
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_pic_CXX='-fpic'
13679 lt_prog_compiler_static_CXX='-Bstatic'
13680 ;;
13681 cxx*)
13682 # Compaq C++
13683 # Make sure the PIC flag is empty. It appears that all Alpha
13684 # Linux and Compaq Tru64 Unix objects are PIC.
13685 lt_prog_compiler_pic_CXX=
13686 lt_prog_compiler_static_CXX='-non_shared'
13687 ;;
13688 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13689 # IBM XL 8.0, 9.0 on PPC and BlueGene
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-qpic'
13692 lt_prog_compiler_static_CXX='-qstaticlink'
13693 ;;
13694 *)
13695 case `$CC -V 2>&1 | sed 5q` in
13696 *Sun\ C*)
13697 # Sun C++ 5.9
13698 lt_prog_compiler_pic_CXX='-KPIC'
13699 lt_prog_compiler_static_CXX='-Bstatic'
13700 lt_prog_compiler_wl_CXX='-Qoption ld '
13701 ;;
13702 esac
13703 ;;
13704 esac
13705 ;;
13706 lynxos*)
13707 ;;
13708 m88k*)
13709 ;;
13710 mvs*)
13711 case $cc_basename in
13712 cxx*)
13713 lt_prog_compiler_pic_CXX='-W c,exportall'
13714 ;;
13715 *)
13716 ;;
13717 esac
13718 ;;
13719 netbsd*)
13720 ;;
13721 *qnx* | *nto*)
13722 # QNX uses GNU C++, but need to define -shared option too, otherwise
13723 # it will coredump.
13724 lt_prog_compiler_pic_CXX='-fPIC -shared'
13725 ;;
13726 osf3* | osf4* | osf5*)
13727 case $cc_basename in
13728 KCC*)
13729 lt_prog_compiler_wl_CXX='--backend -Wl,'
13730 ;;
13731 RCC*)
13732 # Rational C++ 2.4.1
13733 lt_prog_compiler_pic_CXX='-pic'
13734 ;;
13735 cxx*)
13736 # Digital/Compaq C++
13737 lt_prog_compiler_wl_CXX='-Wl,'
13738 # Make sure the PIC flag is empty. It appears that all Alpha
13739 # Linux and Compaq Tru64 Unix objects are PIC.
13740 lt_prog_compiler_pic_CXX=
13741 lt_prog_compiler_static_CXX='-non_shared'
13742 ;;
13743 *)
13744 ;;
13745 esac
13746 ;;
13747 psos*)
13748 ;;
13749 solaris*)
13750 case $cc_basename in
13751 CC*)
13752 # Sun C++ 4.2, 5.x and Centerline C++
13753 lt_prog_compiler_pic_CXX='-KPIC'
13754 lt_prog_compiler_static_CXX='-Bstatic'
13755 lt_prog_compiler_wl_CXX='-Qoption ld '
13756 ;;
13757 gcx*)
13758 # Green Hills C++ Compiler
13759 lt_prog_compiler_pic_CXX='-PIC'
13760 ;;
13761 *)
13762 ;;
13763 esac
13764 ;;
13765 sunos4*)
13766 case $cc_basename in
13767 CC*)
13768 # Sun C++ 4.x
13769 lt_prog_compiler_pic_CXX='-pic'
13770 lt_prog_compiler_static_CXX='-Bstatic'
13771 ;;
13772 lcc*)
13773 # Lucid
13774 lt_prog_compiler_pic_CXX='-pic'
13775 ;;
13776 *)
13777 ;;
13778 esac
13779 ;;
13780 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13781 case $cc_basename in
13782 CC*)
13783 lt_prog_compiler_wl_CXX='-Wl,'
13784 lt_prog_compiler_pic_CXX='-KPIC'
13785 lt_prog_compiler_static_CXX='-Bstatic'
13786 ;;
13787 esac
13788 ;;
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 lt_prog_compiler_pic_CXX='-KPIC'
13794 ;;
13795 *)
13796 ;;
13797 esac
13798 ;;
13799 vxworks*)
13800 ;;
13801 *)
13802 lt_prog_compiler_can_build_shared_CXX=no
13803 ;;
13804 esac
13805 fi
13806
13807 case $host_os in
13808 # For platforms which do not support PIC, -DPIC is meaningless:
13809 *djgpp*)
13810 lt_prog_compiler_pic_CXX=
13811 ;;
13812 *)
13813 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13814 ;;
13815 esac
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13817 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13818
13819
13820
13821 #
13822 # Check to make sure the PIC flag actually works.
13823 #
13824 if test -n "$lt_prog_compiler_pic_CXX"; then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13827 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 lt_cv_prog_compiler_pic_works_CXX=no
13831 ac_outfile=conftest.$ac_objext
13832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13833 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 # The option is referenced via a variable to avoid confusing sed.
13839 lt_compile=`echo "$ac_compile" | $SED \
13840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13842 -e 's:$: $lt_compiler_flag:'`
13843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13844 (eval "$lt_compile" 2>conftest.err)
13845 ac_status=$?
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 if (exit $ac_status) && test -s "$ac_outfile"; then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings other than the usual output.
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_pic_works_CXX=yes
13855 fi
13856 fi
13857 $RM conftest*
13858
13859 fi
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13862
13863 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13864 case $lt_prog_compiler_pic_CXX in
13865 "" | " "*) ;;
13866 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13867 esac
13868 else
13869 lt_prog_compiler_pic_CXX=
13870 lt_prog_compiler_can_build_shared_CXX=no
13871 fi
13872
13873 fi
13874
13875
13876
13877 #
13878 # Check to make sure the static flag actually works.
13879 #
13880 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13882 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13883 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 lt_cv_prog_compiler_static_works_CXX=no
13887 save_LDFLAGS="$LDFLAGS"
13888 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13889 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13890 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13891 # The linker can only warn and ignore the option if not recognized
13892 # So say no if there are warnings
13893 if test -s conftest.err; then
13894 # Append any errors to the config.log.
13895 cat conftest.err 1>&5
13896 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13898 if diff conftest.exp conftest.er2 >/dev/null; then
13899 lt_cv_prog_compiler_static_works_CXX=yes
13900 fi
13901 else
13902 lt_cv_prog_compiler_static_works_CXX=yes
13903 fi
13904 fi
13905 $RM -r conftest*
13906 LDFLAGS="$save_LDFLAGS"
13907
13908 fi
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13911
13912 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13913 :
13914 else
13915 lt_prog_compiler_static_CXX=
13916 fi
13917
13918
13919
13920
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13922 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13923 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 lt_cv_prog_compiler_c_o_CXX=no
13927 $RM -r conftest 2>/dev/null
13928 mkdir conftest
13929 cd conftest
13930 mkdir out
13931 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13932
13933 lt_compiler_flag="-o out/conftest2.$ac_objext"
13934 # Insert the option either (1) after the last *FLAGS variable, or
13935 # (2) before a word containing "conftest.", or (3) at the end.
13936 # Note that $ac_compile itself does not contain backslashes and begins
13937 # with a dollar sign (not a hyphen), so the echo should work correctly.
13938 lt_compile=`echo "$ac_compile" | $SED \
13939 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13940 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13941 -e 's:$: $lt_compiler_flag:'`
13942 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13943 (eval "$lt_compile" 2>out/conftest.err)
13944 ac_status=$?
13945 cat out/conftest.err >&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13948 then
13949 # The compiler can only warn and ignore the option if not recognized
13950 # So say no if there are warnings
13951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13952 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13953 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13954 lt_cv_prog_compiler_c_o_CXX=yes
13955 fi
13956 fi
13957 chmod u+w . 2>&5
13958 $RM conftest*
13959 # SGI C++ compiler will create directory out/ii_files/ for
13960 # template instantiation
13961 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13962 $RM out/* && rmdir out
13963 cd ..
13964 $RM -r conftest
13965 $RM conftest*
13966
13967 fi
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13969 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13970
13971
13972
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 lt_cv_prog_compiler_c_o_CXX=no
13979 $RM -r conftest 2>/dev/null
13980 mkdir conftest
13981 cd conftest
13982 mkdir out
13983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13984
13985 lt_compiler_flag="-o out/conftest2.$ac_objext"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 lt_compile=`echo "$ac_compile" | $SED \
13991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13993 -e 's:$: $lt_compiler_flag:'`
13994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13995 (eval "$lt_compile" 2>out/conftest.err)
13996 ac_status=$?
13997 cat out/conftest.err >&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14000 then
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings
14003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14006 lt_cv_prog_compiler_c_o_CXX=yes
14007 fi
14008 fi
14009 chmod u+w . 2>&5
14010 $RM conftest*
14011 # SGI C++ compiler will create directory out/ii_files/ for
14012 # template instantiation
14013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14014 $RM out/* && rmdir out
14015 cd ..
14016 $RM -r conftest
14017 $RM conftest*
14018
14019 fi
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14021 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14022
14023
14024
14025
14026 hard_links="nottested"
14027 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14028 # do not overwrite the value of need_locks provided by the user
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14030 $as_echo_n "checking if we can lock with hard links... " >&6; }
14031 hard_links=yes
14032 $RM conftest*
14033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14034 touch conftest.a
14035 ln conftest.a conftest.b 2>&5 || hard_links=no
14036 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14038 $as_echo "$hard_links" >&6; }
14039 if test "$hard_links" = no; then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14042 need_locks=warn
14043 fi
14044 else
14045 need_locks=no
14046 fi
14047
14048
14049
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14051 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14052
14053 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14054 case $host_os in
14055 aix[4-9]*)
14056 # If we're using GNU nm, then we don't want the "-C" option.
14057 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14058 # Also, AIX nm treats weak defined symbols like other global defined
14059 # symbols, whereas GNU nm marks them as "W".
14060 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14061 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'
14062 else
14063 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'
14064 fi
14065 ;;
14066 pw32*)
14067 export_symbols_cmds_CXX="$ltdll_cmds"
14068 ;;
14069 cygwin* | mingw* | cegcc*)
14070 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'
14071 ;;
14072 *)
14073 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14074 ;;
14075 esac
14076 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14077
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14079 $as_echo "$ld_shlibs_CXX" >&6; }
14080 test "$ld_shlibs_CXX" = no && can_build_shared=no
14081
14082 with_gnu_ld_CXX=$with_gnu_ld
14083
14084
14085
14086
14087
14088
14089 #
14090 # Do we need to explicitly link libc?
14091 #
14092 case "x$archive_cmds_need_lc_CXX" in
14093 x|xyes)
14094 # Assume -lc should be added
14095 archive_cmds_need_lc_CXX=yes
14096
14097 if test "$enable_shared" = yes && test "$GCC" = yes; then
14098 case $archive_cmds_CXX in
14099 *'~'*)
14100 # FIXME: we may have to deal with multi-command sequences.
14101 ;;
14102 '$CC '*)
14103 # Test whether the compiler implicitly links with -lc since on some
14104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14105 # to ld, don't add -lc before -lgcc.
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14107 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14108 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 $RM conftest*
14112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14113
14114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14115 (eval $ac_compile) 2>&5
14116 ac_status=$?
14117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14118 test $ac_status = 0; } 2>conftest.err; then
14119 soname=conftest
14120 lib=conftest
14121 libobjs=conftest.$ac_objext
14122 deplibs=
14123 wl=$lt_prog_compiler_wl_CXX
14124 pic_flag=$lt_prog_compiler_pic_CXX
14125 compiler_flags=-v
14126 linker_flags=-v
14127 verstring=
14128 output_objdir=.
14129 libname=conftest
14130 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14131 allow_undefined_flag_CXX=
14132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14133 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14134 ac_status=$?
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }
14137 then
14138 lt_cv_archive_cmds_need_lc_CXX=no
14139 else
14140 lt_cv_archive_cmds_need_lc_CXX=yes
14141 fi
14142 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14143 else
14144 cat conftest.err 1>&5
14145 fi
14146 $RM conftest*
14147
14148 fi
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14150 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14151 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14152 ;;
14153 esac
14154 fi
14155 ;;
14156 esac
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14223
14224 library_names_spec=
14225 libname_spec='lib$name'
14226 soname_spec=
14227 shrext_cmds=".so"
14228 postinstall_cmds=
14229 postuninstall_cmds=
14230 finish_cmds=
14231 finish_eval=
14232 shlibpath_var=
14233 shlibpath_overrides_runpath=unknown
14234 version_type=none
14235 dynamic_linker="$host_os ld.so"
14236 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14237 need_lib_prefix=unknown
14238 hardcode_into_libs=no
14239
14240 # when you set need_version to no, make sure it does not cause -set_version
14241 # flags to be left without arguments
14242 need_version=unknown
14243
14244 case $host_os in
14245 aix3*)
14246 version_type=linux
14247 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14248 shlibpath_var=LIBPATH
14249
14250 # AIX 3 has no versioning support, so we append a major version to the name.
14251 soname_spec='${libname}${release}${shared_ext}$major'
14252 ;;
14253
14254 aix[4-9]*)
14255 version_type=linux
14256 need_lib_prefix=no
14257 need_version=no
14258 hardcode_into_libs=yes
14259 if test "$host_cpu" = ia64; then
14260 # AIX 5 supports IA64
14261 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14262 shlibpath_var=LD_LIBRARY_PATH
14263 else
14264 # With GCC up to 2.95.x, collect2 would create an import file
14265 # for dependence libraries. The import file would start with
14266 # the line `#! .'. This would cause the generated library to
14267 # depend on `.', always an invalid library. This was fixed in
14268 # development snapshots of GCC prior to 3.0.
14269 case $host_os in
14270 aix4 | aix4.[01] | aix4.[01].*)
14271 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14272 echo ' yes '
14273 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14274 :
14275 else
14276 can_build_shared=no
14277 fi
14278 ;;
14279 esac
14280 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14281 # soname into executable. Probably we can add versioning support to
14282 # collect2, so additional links can be useful in future.
14283 if test "$aix_use_runtimelinking" = yes; then
14284 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14285 # instead of lib<name>.a to let people know that these are not
14286 # typical AIX shared libraries.
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 else
14289 # We preserve .a as extension for shared libraries through AIX4.2
14290 # and later when we are not doing run time linking.
14291 library_names_spec='${libname}${release}.a $libname.a'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14293 fi
14294 shlibpath_var=LIBPATH
14295 fi
14296 ;;
14297
14298 amigaos*)
14299 case $host_cpu in
14300 powerpc)
14301 # Since July 2007 AmigaOS4 officially supports .so libraries.
14302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14304 ;;
14305 m68k)
14306 library_names_spec='$libname.ixlibrary $libname.a'
14307 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14308 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'
14309 ;;
14310 esac
14311 ;;
14312
14313 beos*)
14314 library_names_spec='${libname}${shared_ext}'
14315 dynamic_linker="$host_os ld.so"
14316 shlibpath_var=LIBRARY_PATH
14317 ;;
14318
14319 bsdi[45]*)
14320 version_type=linux
14321 need_version=no
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14324 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14325 shlibpath_var=LD_LIBRARY_PATH
14326 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14327 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14328 # the default ld.so.conf also contains /usr/contrib/lib and
14329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14330 # libtool to hard-code these into programs
14331 ;;
14332
14333 cygwin* | mingw* | pw32* | cegcc*)
14334 version_type=windows
14335 shrext_cmds=".dll"
14336 need_version=no
14337 need_lib_prefix=no
14338
14339 case $GCC,$host_os in
14340 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14341 library_names_spec='$libname.dll.a'
14342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14343 postinstall_cmds='base_file=`basename \${file}`~
14344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14345 dldir=$destdir/`dirname \$dlpath`~
14346 test -d \$dldir || mkdir -p \$dldir~
14347 $install_prog $dir/$dlname \$dldir/$dlname~
14348 chmod a+x \$dldir/$dlname~
14349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14351 fi'
14352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14353 dlpath=$dir/\$dldll~
14354 $RM \$dlpath'
14355 shlibpath_overrides_runpath=yes
14356
14357 case $host_os in
14358 cygwin*)
14359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14361
14362 ;;
14363 mingw* | cegcc*)
14364 # MinGW DLLs use traditional 'lib' prefix
14365 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14366 ;;
14367 pw32*)
14368 # pw32 DLLs use 'pw' prefix rather than 'lib'
14369 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14370 ;;
14371 esac
14372 ;;
14373
14374 *)
14375 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14376 ;;
14377 esac
14378 dynamic_linker='Win32 ld.exe'
14379 # FIXME: first we should search . and the directory the executable is in
14380 shlibpath_var=PATH
14381 ;;
14382
14383 darwin* | rhapsody*)
14384 dynamic_linker="$host_os dyld"
14385 version_type=darwin
14386 need_lib_prefix=no
14387 need_version=no
14388 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14389 soname_spec='${libname}${release}${major}$shared_ext'
14390 shlibpath_overrides_runpath=yes
14391 shlibpath_var=DYLD_LIBRARY_PATH
14392 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14393
14394 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14395 ;;
14396
14397 dgux*)
14398 version_type=linux
14399 need_lib_prefix=no
14400 need_version=no
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 shlibpath_var=LD_LIBRARY_PATH
14404 ;;
14405
14406 freebsd* | dragonfly*)
14407 # DragonFly does not have aout. When/if they implement a new
14408 # versioning mechanism, adjust this.
14409 if test -x /usr/bin/objformat; then
14410 objformat=`/usr/bin/objformat`
14411 else
14412 case $host_os in
14413 freebsd[23].*) objformat=aout ;;
14414 *) objformat=elf ;;
14415 esac
14416 fi
14417 version_type=freebsd-$objformat
14418 case $version_type in
14419 freebsd-elf*)
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14421 need_version=no
14422 need_lib_prefix=no
14423 ;;
14424 freebsd-*)
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14426 need_version=yes
14427 ;;
14428 esac
14429 shlibpath_var=LD_LIBRARY_PATH
14430 case $host_os in
14431 freebsd2.*)
14432 shlibpath_overrides_runpath=yes
14433 ;;
14434 freebsd3.[01]* | freebsdelf3.[01]*)
14435 shlibpath_overrides_runpath=yes
14436 hardcode_into_libs=yes
14437 ;;
14438 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14439 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14440 shlibpath_overrides_runpath=no
14441 hardcode_into_libs=yes
14442 ;;
14443 *) # from 4.6 on, and DragonFly
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14446 ;;
14447 esac
14448 ;;
14449
14450 gnu*)
14451 version_type=linux
14452 need_lib_prefix=no
14453 need_version=no
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14455 soname_spec='${libname}${release}${shared_ext}$major'
14456 shlibpath_var=LD_LIBRARY_PATH
14457 hardcode_into_libs=yes
14458 ;;
14459
14460 haiku*)
14461 version_type=linux
14462 need_lib_prefix=no
14463 need_version=no
14464 dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
14468 shlibpath_overrides_runpath=yes
14469 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14470 hardcode_into_libs=yes
14471 ;;
14472
14473 hpux9* | hpux10* | hpux11*)
14474 # Give a soname corresponding to the major version so that dld.sl refuses to
14475 # link against other versions.
14476 version_type=sunos
14477 need_lib_prefix=no
14478 need_version=no
14479 case $host_cpu in
14480 ia64*)
14481 shrext_cmds='.so'
14482 hardcode_into_libs=yes
14483 dynamic_linker="$host_os dld.so"
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 if test "X$HPUX_IA64_MODE" = X32; then
14489 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14490 else
14491 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14492 fi
14493 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14494 ;;
14495 hppa*64*)
14496 shrext_cmds='.sl'
14497 hardcode_into_libs=yes
14498 dynamic_linker="$host_os dld.sl"
14499 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505 ;;
14506 *)
14507 shrext_cmds='.sl'
14508 dynamic_linker="$host_os dld.sl"
14509 shlibpath_var=SHLIB_PATH
14510 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14513 ;;
14514 esac
14515 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14516 postinstall_cmds='chmod 555 $lib'
14517 # or fails outright, so override atomically:
14518 install_override_mode=555
14519 ;;
14520
14521 interix[3-9]*)
14522 version_type=linux
14523 need_lib_prefix=no
14524 need_version=no
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14526 soname_spec='${libname}${release}${shared_ext}$major'
14527 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14528 shlibpath_var=LD_LIBRARY_PATH
14529 shlibpath_overrides_runpath=no
14530 hardcode_into_libs=yes
14531 ;;
14532
14533 irix5* | irix6* | nonstopux*)
14534 case $host_os in
14535 nonstopux*) version_type=nonstopux ;;
14536 *)
14537 if test "$lt_cv_prog_gnu_ld" = yes; then
14538 version_type=linux
14539 else
14540 version_type=irix
14541 fi ;;
14542 esac
14543 need_lib_prefix=no
14544 need_version=no
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14547 case $host_os in
14548 irix5* | nonstopux*)
14549 libsuff= shlibsuff=
14550 ;;
14551 *)
14552 case $LD in # libtool.m4 will add one of these switches to LD
14553 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14554 libsuff= shlibsuff= libmagic=32-bit;;
14555 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14556 libsuff=32 shlibsuff=N32 libmagic=N32;;
14557 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14558 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14559 *) libsuff= shlibsuff= libmagic=never-match;;
14560 esac
14561 ;;
14562 esac
14563 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14564 shlibpath_overrides_runpath=no
14565 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14566 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14567 hardcode_into_libs=yes
14568 ;;
14569
14570 # No shared lib support for Linux oldld, aout, or coff.
14571 linux*oldld* | linux*aout* | linux*coff*)
14572 dynamic_linker=no
14573 ;;
14574
14575 # This must be Linux ELF.
14576 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14577 version_type=linux
14578 need_lib_prefix=no
14579 need_version=no
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 soname_spec='${libname}${release}${shared_ext}$major'
14582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath=no
14585
14586 # Some binutils ld are patched to set DT_RUNPATH
14587 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 lt_cv_shlibpath_overrides_runpath=no
14591 save_LDFLAGS=$LDFLAGS
14592 save_libdir=$libdir
14593 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14594 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14595 if test x$gcc_no_link = xyes; then
14596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14597 fi
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600
14601 int
14602 main ()
14603 {
14604
14605 ;
14606 return 0;
14607 }
14608 _ACEOF
14609 if ac_fn_cxx_try_link "$LINENO"; then :
14610 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14611 lt_cv_shlibpath_overrides_runpath=yes
14612 fi
14613 fi
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LDFLAGS=$save_LDFLAGS
14617 libdir=$save_libdir
14618
14619 fi
14620
14621 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14622
14623 # This implies no fast_install, which is unacceptable.
14624 # Some rework will be needed to allow for fast_install
14625 # before this can be enabled.
14626 hardcode_into_libs=yes
14627
14628 # Append ld.so.conf contents to the search path
14629 if test -f /etc/ld.so.conf; then
14630 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' ' '`
14631 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14632 fi
14633
14634 # We used to test for /lib/ld.so.1 and disable shared libraries on
14635 # powerpc, because MkLinux only supported shared libraries with the
14636 # GNU dynamic linker. Since this was broken with cross compilers,
14637 # most powerpc-linux boxes support dynamic linking these days and
14638 # people can always --disable-shared, the test was removed, and we
14639 # assume the GNU/Linux dynamic linker is in use.
14640 dynamic_linker='GNU/Linux ld.so'
14641 ;;
14642
14643 netbsd*)
14644 version_type=sunos
14645 need_lib_prefix=no
14646 need_version=no
14647 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14650 dynamic_linker='NetBSD (a.out) ld.so'
14651 else
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 dynamic_linker='NetBSD ld.elf_so'
14655 fi
14656 shlibpath_var=LD_LIBRARY_PATH
14657 shlibpath_overrides_runpath=yes
14658 hardcode_into_libs=yes
14659 ;;
14660
14661 newsos6)
14662 version_type=linux
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 ;;
14667
14668 *nto* | *qnx*)
14669 version_type=qnx
14670 need_lib_prefix=no
14671 need_version=no
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14673 soname_spec='${libname}${release}${shared_ext}$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 shlibpath_overrides_runpath=no
14676 hardcode_into_libs=yes
14677 dynamic_linker='ldqnx.so'
14678 ;;
14679
14680 openbsd*)
14681 version_type=sunos
14682 sys_lib_dlsearch_path_spec="/usr/lib"
14683 need_lib_prefix=no
14684 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14685 case $host_os in
14686 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14687 *) need_version=no ;;
14688 esac
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14691 shlibpath_var=LD_LIBRARY_PATH
14692 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14693 case $host_os in
14694 openbsd2.[89] | openbsd2.[89].*)
14695 shlibpath_overrides_runpath=no
14696 ;;
14697 *)
14698 shlibpath_overrides_runpath=yes
14699 ;;
14700 esac
14701 else
14702 shlibpath_overrides_runpath=yes
14703 fi
14704 ;;
14705
14706 os2*)
14707 libname_spec='$name'
14708 shrext_cmds=".dll"
14709 need_lib_prefix=no
14710 library_names_spec='$libname${shared_ext} $libname.a'
14711 dynamic_linker='OS/2 ld.exe'
14712 shlibpath_var=LIBPATH
14713 ;;
14714
14715 osf3* | osf4* | osf5*)
14716 version_type=osf
14717 need_lib_prefix=no
14718 need_version=no
14719 soname_spec='${libname}${release}${shared_ext}$major'
14720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 shlibpath_var=LD_LIBRARY_PATH
14722 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14723 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14724 ;;
14725
14726 rdos*)
14727 dynamic_linker=no
14728 ;;
14729
14730 solaris*)
14731 version_type=linux
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 hardcode_into_libs=yes
14739 # ldd complains unless libraries are executable
14740 postinstall_cmds='chmod +x $lib'
14741 ;;
14742
14743 sunos4*)
14744 version_type=sunos
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14746 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 if test "$with_gnu_ld" = yes; then
14750 need_lib_prefix=no
14751 fi
14752 need_version=yes
14753 ;;
14754
14755 sysv4 | sysv4.3*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 case $host_vendor in
14761 sni)
14762 shlibpath_overrides_runpath=no
14763 need_lib_prefix=no
14764 runpath_var=LD_RUN_PATH
14765 ;;
14766 siemens)
14767 need_lib_prefix=no
14768 ;;
14769 motorola)
14770 need_lib_prefix=no
14771 need_version=no
14772 shlibpath_overrides_runpath=no
14773 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14774 ;;
14775 esac
14776 ;;
14777
14778 sysv4*MP*)
14779 if test -d /usr/nec ;then
14780 version_type=linux
14781 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14782 soname_spec='$libname${shared_ext}.$major'
14783 shlibpath_var=LD_LIBRARY_PATH
14784 fi
14785 ;;
14786
14787 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14788 version_type=freebsd-elf
14789 need_lib_prefix=no
14790 need_version=no
14791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14792 soname_spec='${libname}${release}${shared_ext}$major'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=yes
14795 hardcode_into_libs=yes
14796 if test "$with_gnu_ld" = yes; then
14797 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14798 else
14799 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14800 case $host_os in
14801 sco3.2v5*)
14802 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14803 ;;
14804 esac
14805 fi
14806 sys_lib_dlsearch_path_spec='/usr/lib'
14807 ;;
14808
14809 tpf*)
14810 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14811 version_type=linux
14812 need_lib_prefix=no
14813 need_version=no
14814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14815 shlibpath_var=LD_LIBRARY_PATH
14816 shlibpath_overrides_runpath=no
14817 hardcode_into_libs=yes
14818 ;;
14819
14820 uts4*)
14821 version_type=linux
14822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14823 soname_spec='${libname}${release}${shared_ext}$major'
14824 shlibpath_var=LD_LIBRARY_PATH
14825 ;;
14826
14827 *)
14828 dynamic_linker=no
14829 ;;
14830 esac
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14832 $as_echo "$dynamic_linker" >&6; }
14833 test "$dynamic_linker" = no && can_build_shared=no
14834
14835 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14836 if test "$GCC" = yes; then
14837 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14838 fi
14839
14840 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14841 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14842 fi
14843 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14844 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14845 fi
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14885 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14886 hardcode_action_CXX=
14887 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14888 test -n "$runpath_var_CXX" ||
14889 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14890
14891 # We can hardcode non-existent directories.
14892 if test "$hardcode_direct_CXX" != no &&
14893 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14894 # have to relink, otherwise we might link with an installed library
14895 # when we should be linking with a yet-to-be-installed one
14896 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14897 test "$hardcode_minus_L_CXX" != no; then
14898 # Linking always hardcodes the temporary library directory.
14899 hardcode_action_CXX=relink
14900 else
14901 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14902 hardcode_action_CXX=immediate
14903 fi
14904 else
14905 # We cannot hardcode anything, or else we can only hardcode existing
14906 # directories.
14907 hardcode_action_CXX=unsupported
14908 fi
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14910 $as_echo "$hardcode_action_CXX" >&6; }
14911
14912 if test "$hardcode_action_CXX" = relink ||
14913 test "$inherit_rpath_CXX" = yes; then
14914 # Fast installation is not supported
14915 enable_fast_install=no
14916 elif test "$shlibpath_overrides_runpath" = yes ||
14917 test "$enable_shared" = no; then
14918 # Fast installation is not necessary
14919 enable_fast_install=needless
14920 fi
14921
14922
14923
14924
14925
14926
14927
14928 fi # test -n "$compiler"
14929
14930 CC=$lt_save_CC
14931 LDCXX=$LD
14932 LD=$lt_save_LD
14933 GCC=$lt_save_GCC
14934 with_gnu_ld=$lt_save_with_gnu_ld
14935 lt_cv_path_LDCXX=$lt_cv_path_LD
14936 lt_cv_path_LD=$lt_save_path_LD
14937 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14938 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14939 fi # test "$_lt_caught_CXX_error" != yes
14940
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959 ac_config_commands="$ac_config_commands libtool"
14960
14961
14962
14963
14964 # Only expand once:
14965
14966
14967
14968
14969
14970 case $host in
14971 *-cygwin* | *-mingw*)
14972 # 'host' will be top-level target in the case of a target lib,
14973 # we must compare to with_cross_host to decide if this is a native
14974 # or cross-compiler and select where to install dlls appropriately.
14975 if test -n "$with_cross_host" &&
14976 test x"$with_cross_host" != x"no"; then
14977 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14978 else
14979 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14980 fi
14981 ;;
14982 *)
14983 lt_host_flags=
14984 ;;
14985 esac
14986
14987
14988
14989
14990
14991
14992 if test "$enable_vtable_verify" = yes; then
14993 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14994 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14995 fi
14996
14997
14998 # libtool variables for C++ shared and position-independent compiles.
14999 #
15000 # Use glibcxx_lt_pic_flag to designate the automake variable
15001 # used to encapsulate the default libtool approach to creating objects
15002 # with position-independent code. Default: -prefer-pic.
15003 #
15004 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15005 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15006 #
15007 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15008 # creating position-independent objects. This varies with the target
15009 # hardware and operating system, but is often: -DPIC -fPIC.
15010 if test "$enable_shared" = yes; then
15011 glibcxx_lt_pic_flag="-prefer-pic"
15012 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15013 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15014
15015 else
15016 glibcxx_lt_pic_flag=
15017 glibcxx_compiler_pic_flag=
15018 glibcxx_compiler_shared_flag=
15019 fi
15020
15021
15022
15023
15024 # Override the libtool's pic_flag and pic_mode.
15025 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15026 # NB: this impacts --with-pic and --without-pic.
15027 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15028 pic_mode='default'
15029
15030 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15031 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15032
15033 # Possibly disable most of the library.
15034 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15035 ## than just ignoring the results. Faster /and/ more correct, win win.
15036
15037 # Check whether --enable-hosted-libstdcxx was given.
15038 if test "${enable_hosted_libstdcxx+set}" = set; then :
15039 enableval=$enable_hosted_libstdcxx;
15040 else
15041 case "$host" in
15042 arm*-*-symbianelf*)
15043 enable_hosted_libstdcxx=no
15044 ;;
15045 *)
15046 enable_hosted_libstdcxx=yes
15047 ;;
15048 esac
15049 fi
15050
15051 if test "$enable_hosted_libstdcxx" = no; then
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15053 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15054 is_hosted=no
15055 hosted_define=0
15056 enable_abi_check=no
15057 enable_libstdcxx_pch=no
15058 else
15059 is_hosted=yes
15060 hosted_define=1
15061 fi
15062
15063
15064 cat >>confdefs.h <<_ACEOF
15065 #define _GLIBCXX_HOSTED $hosted_define
15066 _ACEOF
15067
15068
15069
15070 # Enable descriptive messages to standard output on termination.
15071
15072 # Check whether --enable-libstdcxx-verbose was given.
15073 if test "${enable_libstdcxx_verbose+set}" = set; then :
15074 enableval=$enable_libstdcxx_verbose;
15075 else
15076 enable_libstdcxx_verbose=yes
15077 fi
15078
15079 if test x"$enable_libstdcxx_verbose" = xyes; then
15080 verbose_define=1
15081 else
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15083 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15084 verbose_define=0
15085 fi
15086
15087 cat >>confdefs.h <<_ACEOF
15088 #define _GLIBCXX_VERBOSE $verbose_define
15089 _ACEOF
15090
15091
15092
15093 # Enable compiler support that doesn't require linking.
15094
15095 # Check whether --enable-libstdcxx-pch was given.
15096 if test "${enable_libstdcxx_pch+set}" = set; then :
15097 enableval=$enable_libstdcxx_pch;
15098 case "$enableval" in
15099 yes|no) ;;
15100 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15101 esac
15102
15103 else
15104 enable_libstdcxx_pch=$is_hosted
15105 fi
15106
15107
15108 if test $enable_libstdcxx_pch = yes; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15110 $as_echo_n "checking for compiler with PCH support... " >&6; }
15111 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_save_CXXFLAGS="$CXXFLAGS"
15115 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15116
15117 ac_ext=cpp
15118 ac_cpp='$CXXCPP $CPPFLAGS'
15119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15122
15123 echo '#include <math.h>' > conftest.h
15124 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15125 -o conftest.h.gch 1>&5 2>&1 &&
15126 echo '#error "pch failed"' > conftest.h &&
15127 echo '#include "conftest.h"' > conftest.cc &&
15128 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15129 then
15130 glibcxx_cv_prog_CXX_pch=yes
15131 else
15132 glibcxx_cv_prog_CXX_pch=no
15133 fi
15134 rm -f conftest*
15135 CXXFLAGS=$ac_save_CXXFLAGS
15136 ac_ext=c
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15141
15142
15143 fi
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15145 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15146 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15147 fi
15148
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15150 $as_echo_n "checking for enabled PCH... " >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15152 $as_echo "$enable_libstdcxx_pch" >&6; }
15153
15154
15155 if test $enable_libstdcxx_pch = yes; then
15156 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15157 else
15158 glibcxx_PCHFLAGS=""
15159 fi
15160
15161
15162
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15164 $as_echo_n "checking for thread model used by GCC... " >&6; }
15165 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15167 $as_echo "$target_thread_file" >&6; }
15168
15169 case $target_thread_file in
15170 aix) thread_header=config/rs6000/gthr-aix.h ;;
15171 dce) thread_header=config/pa/gthr-dce.h ;;
15172 lynx) thread_header=config/gthr-lynx.h ;;
15173 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15174 posix) thread_header=gthr-posix.h ;;
15175 rtems) thread_header=config/gthr-rtems.h ;;
15176 single) thread_header=gthr-single.h ;;
15177 tpf) thread_header=config/s390/gthr-tpf.h ;;
15178 vxworks) thread_header=config/gthr-vxworks.h ;;
15179 win32) thread_header=config/i386/gthr-win32.h ;;
15180 esac
15181
15182
15183
15184
15185
15186 ac_ext=cpp
15187 ac_cpp='$CXXCPP $CPPFLAGS'
15188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15191
15192 old_CXXFLAGS="$CXXFLAGS"
15193
15194 # Do link tests if possible, instead asm tests, limited to some platforms
15195 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15196 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15197 atomic_builtins_link_tests=no
15198 if test x$gcc_no_link != xyes; then
15199 # Can do link tests. Limit to some tested platforms
15200 case "$host" in
15201 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15202 atomic_builtins_link_tests=yes
15203 ;;
15204 esac
15205 fi
15206
15207 if test x$atomic_builtins_link_tests = xyes; then
15208
15209 # Do link tests.
15210
15211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15212
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15214 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15215 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15218
15219 if test x$gcc_no_link = xyes; then
15220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15221 fi
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224
15225 int
15226 main ()
15227 {
15228 typedef bool atomic_type;
15229 atomic_type c1;
15230 atomic_type c2;
15231 atomic_type c3(0);
15232 // N.B. __atomic_fetch_add is not supported for bool.
15233 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15234 __ATOMIC_RELAXED);
15235 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15236 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15237
15238 ;
15239 return 0;
15240 }
15241 _ACEOF
15242 if ac_fn_cxx_try_link "$LINENO"; then :
15243 glibcxx_cv_atomic_bool=yes
15244 else
15245 glibcxx_cv_atomic_bool=no
15246 fi
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15249
15250 fi
15251
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15253 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15254
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15256 $as_echo_n "checking for atomic builtins for short... " >&6; }
15257 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15258 $as_echo_n "(cached) " >&6
15259 else
15260
15261 if test x$gcc_no_link = xyes; then
15262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15263 fi
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15266
15267 int
15268 main ()
15269 {
15270 typedef short atomic_type;
15271 atomic_type c1;
15272 atomic_type c2;
15273 atomic_type c3(0);
15274 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15275 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15276 __ATOMIC_RELAXED);
15277 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15278 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15279
15280 ;
15281 return 0;
15282 }
15283 _ACEOF
15284 if ac_fn_cxx_try_link "$LINENO"; then :
15285 glibcxx_cv_atomic_short=yes
15286 else
15287 glibcxx_cv_atomic_short=no
15288 fi
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15291
15292 fi
15293
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15295 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15296
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15298 $as_echo_n "checking for atomic builtins for int... " >&6; }
15299 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302
15303 if test x$gcc_no_link = xyes; then
15304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15305 fi
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15308
15309 int
15310 main ()
15311 {
15312 typedef int atomic_type;
15313 atomic_type c1;
15314 atomic_type c2;
15315 atomic_type c3(0);
15316 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15317 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15318 __ATOMIC_RELAXED);
15319 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15320 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15321
15322 ;
15323 return 0;
15324 }
15325 _ACEOF
15326 if ac_fn_cxx_try_link "$LINENO"; then :
15327 glibcxx_cv_atomic_int=yes
15328 else
15329 glibcxx_cv_atomic_int=no
15330 fi
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15333
15334 fi
15335
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15337 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15338
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15340 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15341 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15344
15345 if test x$gcc_no_link = xyes; then
15346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15347 fi
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15350
15351 int
15352 main ()
15353 {
15354 typedef long long atomic_type;
15355 atomic_type c1;
15356 atomic_type c2;
15357 atomic_type c3(0);
15358 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15359 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15360 __ATOMIC_RELAXED);
15361 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15362 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15363
15364 ;
15365 return 0;
15366 }
15367 _ACEOF
15368 if ac_fn_cxx_try_link "$LINENO"; then :
15369 glibcxx_cv_atomic_long_long=yes
15370 else
15371 glibcxx_cv_atomic_long_long=no
15372 fi
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15375
15376 fi
15377
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15379 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15380
15381 else
15382
15383 # Do asm tests.
15384
15385 # Compile unoptimized.
15386 CXXFLAGS='-O0 -S'
15387
15388 # Fake what AC_TRY_COMPILE does.
15389
15390 cat > conftest.$ac_ext << EOF
15391 #line 15391 "configure"
15392 int main()
15393 {
15394 typedef bool atomic_type;
15395 atomic_type c1;
15396 atomic_type c2;
15397 atomic_type c3(0);
15398 // N.B. __atomic_fetch_add is not supported for bool.
15399 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15400 __ATOMIC_RELAXED);
15401 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15402 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15403
15404 return 0;
15405 }
15406 EOF
15407
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15409 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15411 (eval $ac_compile) 2>&5
15412 ac_status=$?
15413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15414 test $ac_status = 0; }; then
15415 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15416 glibcxx_cv_atomic_bool=no
15417 else
15418 glibcxx_cv_atomic_bool=yes
15419 fi
15420 fi
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15422 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15423 rm -f conftest*
15424
15425 cat > conftest.$ac_ext << EOF
15426 #line 15426 "configure"
15427 int main()
15428 {
15429 typedef short atomic_type;
15430 atomic_type c1;
15431 atomic_type c2;
15432 atomic_type c3(0);
15433 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15434 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15435 __ATOMIC_RELAXED);
15436 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15437 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15438
15439 return 0;
15440 }
15441 EOF
15442
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15444 $as_echo_n "checking for atomic builtins for short... " >&6; }
15445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15446 (eval $ac_compile) 2>&5
15447 ac_status=$?
15448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449 test $ac_status = 0; }; then
15450 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15451 glibcxx_cv_atomic_short=no
15452 else
15453 glibcxx_cv_atomic_short=yes
15454 fi
15455 fi
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15457 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15458 rm -f conftest*
15459
15460 cat > conftest.$ac_ext << EOF
15461 #line 15461 "configure"
15462 int main()
15463 {
15464 // NB: _Atomic_word not necessarily int.
15465 typedef int atomic_type;
15466 atomic_type c1;
15467 atomic_type c2;
15468 atomic_type c3(0);
15469 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15470 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15471 __ATOMIC_RELAXED);
15472 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15473 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15474
15475 return 0;
15476 }
15477 EOF
15478
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15480 $as_echo_n "checking for atomic builtins for int... " >&6; }
15481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15482 (eval $ac_compile) 2>&5
15483 ac_status=$?
15484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15485 test $ac_status = 0; }; then
15486 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15487 glibcxx_cv_atomic_int=no
15488 else
15489 glibcxx_cv_atomic_int=yes
15490 fi
15491 fi
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15493 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15494 rm -f conftest*
15495
15496 cat > conftest.$ac_ext << EOF
15497 #line 15497 "configure"
15498 int main()
15499 {
15500 typedef long long atomic_type;
15501 atomic_type c1;
15502 atomic_type c2;
15503 atomic_type c3(0);
15504 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15505 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15506 __ATOMIC_RELAXED);
15507 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15508 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15509
15510 return 0;
15511 }
15512 EOF
15513
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15515 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15518 ac_status=$?
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; }; then
15521 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15522 glibcxx_cv_atomic_long_long=no
15523 else
15524 glibcxx_cv_atomic_long_long=yes
15525 fi
15526 fi
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15528 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15529 rm -f conftest*
15530
15531 fi
15532
15533 CXXFLAGS="$old_CXXFLAGS"
15534 ac_ext=c
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15539
15540
15541 # Set atomicity_dir to builtins if all but the long long test above passes.
15542 if test "$glibcxx_cv_atomic_bool" = yes \
15543 && test "$glibcxx_cv_atomic_short" = yes \
15544 && test "$glibcxx_cv_atomic_int" = yes; then
15545
15546 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15547
15548 atomicity_dir=cpu/generic/atomicity_builtins
15549 fi
15550
15551 # If still generic, set to mutex.
15552 if test $atomicity_dir = "cpu/generic" ; then
15553 atomicity_dir=cpu/generic/atomicity_mutex
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15555 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15556 if test "x$target_thread_file" = xsingle; then
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15558 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15560 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15561 else
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15563 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15565 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15566 fi
15567 fi
15568
15569
15570
15571
15572 # Fake what AC_TRY_COMPILE does, without linking as this is
15573 # unnecessary for this test.
15574
15575 cat > conftest.$ac_ext << EOF
15576 #line 15576 "configure"
15577 int main()
15578 {
15579 _Decimal32 d1;
15580 _Decimal64 d2;
15581 _Decimal128 d3;
15582 return 0;
15583 }
15584 EOF
15585
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15587 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15589 (eval $ac_compile) 2>&5
15590 ac_status=$?
15591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15592 test $ac_status = 0; }; then
15593
15594 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15595
15596 enable_dfp=yes
15597 else
15598 enable_dfp=no
15599 fi
15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15601 $as_echo "$enable_dfp" >&6; }
15602 rm -f conftest*
15603
15604
15605
15606
15607 ac_ext=cpp
15608 ac_cpp='$CXXCPP $CPPFLAGS'
15609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15612
15613
15614 # Fake what AC_TRY_COMPILE does, without linking as this is
15615 # unnecessary for this test.
15616
15617 cat > conftest.$ac_ext << EOF
15618 #line 15618 "configure"
15619 template<typename T1, typename T2>
15620 struct same
15621 { typedef T2 type; };
15622
15623 template<typename T>
15624 struct same<T, T>;
15625
15626 int main()
15627 {
15628 typename same<long, __int128>::type i1;
15629 typename same<long long, __int128>::type i2;
15630 }
15631 EOF
15632
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15634 $as_echo_n "checking for __int128... " >&6; }
15635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15636 (eval $ac_compile) 2>&5
15637 ac_status=$?
15638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15639 test $ac_status = 0; }; then
15640
15641 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15642
15643 enable_int128=yes
15644 else
15645 enable_int128=no
15646 fi
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15648 $as_echo "$enable_int128" >&6; }
15649 rm -f conftest*
15650
15651 cat > conftest.$ac_ext << EOF
15652 #line 15652 "configure"
15653 template<typename T1, typename T2>
15654 struct same
15655 { typedef T2 type; };
15656
15657 template<typename T>
15658 struct same<T, T>;
15659
15660 int main()
15661 {
15662 typename same<double, __float128>::type f1;
15663 typename same<long double, __float128>::type f2;
15664 }
15665 EOF
15666
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15668 $as_echo_n "checking for __float128... " >&6; }
15669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15670 (eval $ac_compile) 2>&5
15671 ac_status=$?
15672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15673 test $ac_status = 0; }; then
15674
15675 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15676
15677 enable_float128=yes
15678 else
15679 enable_float128=no
15680 fi
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15682 $as_echo "$enable_float128" >&6; }
15683 rm -f conftest*
15684
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690
15691
15692 if test "$enable_float128" = yes; then
15693 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15694 fi
15695
15696 # Checks for compiler support that doesn't require linking.
15697
15698 # All these tests are for C++; save the language and the compiler flags.
15699 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15700 # found in GLIBCXX_CONFIGURE.
15701
15702 ac_ext=cpp
15703 ac_cpp='$CXXCPP $CPPFLAGS'
15704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15707
15708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15709 ac_save_CXXFLAGS="$CXXFLAGS"
15710
15711 # Check for maintainer-mode bits.
15712 if test x"$USE_MAINTAINER_MODE" = xno; then
15713 WERROR=''
15714 else
15715 WERROR='-Werror'
15716 fi
15717
15718 # Check for -ffunction-sections -fdata-sections
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15720 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15721 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15724 int foo; void bar() { };
15725 int
15726 main ()
15727 {
15728
15729 ;
15730 return 0;
15731 }
15732 _ACEOF
15733 if ac_fn_cxx_try_compile "$LINENO"; then :
15734 ac_fdsections=yes
15735 else
15736 ac_fdsections=no
15737 fi
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 if test "$ac_test_CXXFLAGS" = set; then
15740 CXXFLAGS="$ac_save_CXXFLAGS"
15741 else
15742 # this is the suspicious part
15743 CXXFLAGS=''
15744 fi
15745 if test x"$ac_fdsections" = x"yes"; then
15746 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15747 fi
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15749 $as_echo "$ac_fdsections" >&6; }
15750
15751 ac_ext=c
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15756
15757
15758
15759
15760
15761 # Enable all the variable C++ runtime options that don't require linking.
15762
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15764 $as_echo_n "checking for underlying I/O to use... " >&6; }
15765 # Check whether --enable-cstdio was given.
15766 if test "${enable_cstdio+set}" = set; then :
15767 enableval=$enable_cstdio;
15768 case "$enableval" in
15769 stdio) ;;
15770 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15771 esac
15772
15773 else
15774 enable_cstdio=stdio
15775 fi
15776
15777
15778
15779 # Now that libio has been removed, you can have any color you want as long
15780 # as it's black. This is one big no-op until other packages are added, but
15781 # showing the framework never hurts.
15782 case ${enable_cstdio} in
15783 stdio)
15784 CSTDIO_H=config/io/c_io_stdio.h
15785 BASIC_FILE_H=config/io/basic_file_stdio.h
15786 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15788 $as_echo "stdio" >&6; }
15789 ;;
15790 esac
15791
15792
15793
15794
15795
15796
15797 # Check whether --enable-clocale was given.
15798 if test "${enable_clocale+set}" = set; then :
15799 enableval=$enable_clocale;
15800 case "$enableval" in
15801 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15802 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15803 esac
15804
15805 else
15806 enable_clocale=auto
15807 fi
15808
15809
15810
15811 # Deal with gettext issues. Default to not using it (=no) until we detect
15812 # support for it later. Let the user turn it off via --e/d, but let that
15813 # default to on for easier handling.
15814 USE_NLS=no
15815 # Check whether --enable-nls was given.
15816 if test "${enable_nls+set}" = set; then :
15817 enableval=$enable_nls;
15818 else
15819 enable_nls=yes
15820 fi
15821
15822
15823 # Either a known package, or "auto"
15824 if test $enable_clocale = no || test $enable_clocale = yes; then
15825 enable_clocale=auto
15826 fi
15827 enable_clocale_flag=$enable_clocale
15828
15829 # Probe for locale model to use if none specified.
15830 # Default to "generic".
15831 if test $enable_clocale_flag = auto; then
15832 case ${target_os} in
15833 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15834 enable_clocale_flag=gnu
15835 ;;
15836 darwin*)
15837 enable_clocale_flag=darwin
15838 ;;
15839 dragonfly* | freebsd*)
15840 enable_clocale_flag=dragonfly
15841 ;;
15842 openbsd*)
15843 enable_clocale_flag=newlib
15844 ;;
15845 *)
15846 if test x"$with_newlib" = x"yes"; then
15847 enable_clocale_flag=newlib
15848 else
15849 enable_clocale_flag=generic
15850 fi
15851 ;;
15852 esac
15853 fi
15854
15855 # Sanity check model, and test for special functionality.
15856 if test $enable_clocale_flag = gnu; then
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15859
15860 #include <features.h>
15861 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15862 _GLIBCXX_ok
15863 #endif
15864
15865 _ACEOF
15866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15867 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15868 enable_clocale_flag=gnu
15869 else
15870 enable_clocale_flag=generic
15871 fi
15872 rm -f conftest*
15873
15874
15875 # Set it to scream when it hurts.
15876 ac_save_CFLAGS="$CFLAGS"
15877 CFLAGS="-Wimplicit-function-declaration -Werror"
15878
15879 # Use strxfrm_l if available.
15880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15881 /* end confdefs.h. */
15882 #define _GNU_SOURCE 1
15883 #include <string.h>
15884 #include <locale.h>
15885 int
15886 main ()
15887 {
15888 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15889 ;
15890 return 0;
15891 }
15892 _ACEOF
15893 if ac_fn_c_try_compile "$LINENO"; then :
15894
15895 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15896
15897 fi
15898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15899
15900 # Use strerror_l if available.
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15903 #define _GNU_SOURCE 1
15904 #include <string.h>
15905 #include <locale.h>
15906 int
15907 main ()
15908 {
15909 __locale_t loc; strerror_l(5, loc);
15910 ;
15911 return 0;
15912 }
15913 _ACEOF
15914 if ac_fn_c_try_compile "$LINENO"; then :
15915
15916 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15917
15918 fi
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15920
15921 CFLAGS="$ac_save_CFLAGS"
15922 fi
15923
15924 # Perhaps use strerror_r if available, and strerror_l isn't.
15925 ac_save_CFLAGS="$CFLAGS"
15926 CFLAGS="-Wimplicit-function-declaration -Werror"
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */
15929 #define _GNU_SOURCE 1
15930 #include <string.h>
15931 #include <locale.h>
15932 int
15933 main ()
15934 {
15935 char s[128]; strerror_r(5, s, 128);
15936 ;
15937 return 0;
15938 }
15939 _ACEOF
15940 if ac_fn_c_try_compile "$LINENO"; then :
15941
15942 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15943
15944 fi
15945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15946 CFLAGS="$ac_save_CFLAGS"
15947
15948 # Set configure bits for specified locale package
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15950 $as_echo_n "checking for C locale to use... " >&6; }
15951 case ${enable_clocale_flag} in
15952 generic)
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15954 $as_echo "generic" >&6; }
15955
15956 CLOCALE_H=config/locale/generic/c_locale.h
15957 CLOCALE_CC=config/locale/generic/c_locale.cc
15958 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15959 CCOLLATE_CC=config/locale/generic/collate_members.cc
15960 CCTYPE_CC=config/locale/generic/ctype_members.cc
15961 CMESSAGES_H=config/locale/generic/messages_members.h
15962 CMESSAGES_CC=config/locale/generic/messages_members.cc
15963 CMONEY_CC=config/locale/generic/monetary_members.cc
15964 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15965 CTIME_H=config/locale/generic/time_members.h
15966 CTIME_CC=config/locale/generic/time_members.cc
15967 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15968 ;;
15969 darwin)
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15971 $as_echo "darwin" >&6; }
15972
15973 CLOCALE_H=config/locale/generic/c_locale.h
15974 CLOCALE_CC=config/locale/generic/c_locale.cc
15975 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15976 CCOLLATE_CC=config/locale/generic/collate_members.cc
15977 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15978 CMESSAGES_H=config/locale/generic/messages_members.h
15979 CMESSAGES_CC=config/locale/generic/messages_members.cc
15980 CMONEY_CC=config/locale/generic/monetary_members.cc
15981 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15982 CTIME_H=config/locale/generic/time_members.h
15983 CTIME_CC=config/locale/generic/time_members.cc
15984 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15985 ;;
15986
15987 dragonfly)
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15989 $as_echo "dragonfly or freebsd" >&6; }
15990
15991 CLOCALE_H=config/locale/dragonfly/c_locale.h
15992 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15993 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15994 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15995 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15996 CMESSAGES_H=config/locale/generic/messages_members.h
15997 CMESSAGES_CC=config/locale/generic/messages_members.cc
15998 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
15999 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16000 CTIME_H=config/locale/dragonfly/time_members.h
16001 CTIME_CC=config/locale/dragonfly/time_members.cc
16002 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16003 ;;
16004
16005 gnu)
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16007 $as_echo "gnu" >&6; }
16008
16009 # Declare intention to use gettext, and add support for specific
16010 # languages.
16011 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16012 ALL_LINGUAS="de fr"
16013
16014 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16015 # Extract the first word of "msgfmt", so it can be a program name with args.
16016 set dummy msgfmt; ac_word=$2
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16018 $as_echo_n "checking for $ac_word... " >&6; }
16019 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16020 $as_echo_n "(cached) " >&6
16021 else
16022 if test -n "$check_msgfmt"; then
16023 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16024 else
16025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16026 for as_dir in $PATH
16027 do
16028 IFS=$as_save_IFS
16029 test -z "$as_dir" && as_dir=.
16030 for ac_exec_ext in '' $ac_executable_extensions; do
16031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16032 ac_cv_prog_check_msgfmt="yes"
16033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16034 break 2
16035 fi
16036 done
16037 done
16038 IFS=$as_save_IFS
16039
16040 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16041 fi
16042 fi
16043 check_msgfmt=$ac_cv_prog_check_msgfmt
16044 if test -n "$check_msgfmt"; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16046 $as_echo "$check_msgfmt" >&6; }
16047 else
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16049 $as_echo "no" >&6; }
16050 fi
16051
16052
16053 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16054 USE_NLS=yes
16055 fi
16056 # Export the build objects.
16057 for ling in $ALL_LINGUAS; do \
16058 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16059 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16060 done
16061
16062
16063
16064 CLOCALE_H=config/locale/gnu/c_locale.h
16065 CLOCALE_CC=config/locale/gnu/c_locale.cc
16066 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16067 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16068 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16069 CMESSAGES_H=config/locale/gnu/messages_members.h
16070 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16071 CMONEY_CC=config/locale/gnu/monetary_members.cc
16072 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16073 CTIME_H=config/locale/gnu/time_members.h
16074 CTIME_CC=config/locale/gnu/time_members.cc
16075 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16076 ;;
16077 ieee_1003.1-2001)
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16079 $as_echo "IEEE 1003.1" >&6; }
16080
16081 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16082 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16083 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16084 CCOLLATE_CC=config/locale/generic/collate_members.cc
16085 CCTYPE_CC=config/locale/generic/ctype_members.cc
16086 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16087 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16088 CMONEY_CC=config/locale/generic/monetary_members.cc
16089 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16090 CTIME_H=config/locale/generic/time_members.h
16091 CTIME_CC=config/locale/generic/time_members.cc
16092 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16093 ;;
16094 newlib)
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16096 $as_echo "newlib" >&6; }
16097
16098 CLOCALE_H=config/locale/generic/c_locale.h
16099 CLOCALE_CC=config/locale/generic/c_locale.cc
16100 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16101 CCOLLATE_CC=config/locale/generic/collate_members.cc
16102 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16103 CMESSAGES_H=config/locale/generic/messages_members.h
16104 CMESSAGES_CC=config/locale/generic/messages_members.cc
16105 CMONEY_CC=config/locale/generic/monetary_members.cc
16106 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16107 CTIME_H=config/locale/generic/time_members.h
16108 CTIME_CC=config/locale/generic/time_members.cc
16109 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16110 ;;
16111 esac
16112
16113 # This is where the testsuite looks for locale catalogs, using the
16114 # -DLOCALEDIR define during testsuite compilation.
16115 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16116
16117
16118 # A standalone libintl (e.g., GNU libintl) may be in use.
16119 if test $USE_NLS = yes; then
16120 for ac_header in libintl.h
16121 do :
16122 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_LIBINTL_H 1
16126 _ACEOF
16127
16128 else
16129 USE_NLS=no
16130 fi
16131
16132 done
16133
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16135 $as_echo_n "checking for library containing gettext... " >&6; }
16136 if test "${ac_cv_search_gettext+set}" = set; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 ac_func_search_save_LIBS=$LIBS
16140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16141 /* end confdefs.h. */
16142
16143 /* Override any GCC internal prototype to avoid an error.
16144 Use char because int might match the return type of a GCC
16145 builtin and then its argument prototype would still apply. */
16146 #ifdef __cplusplus
16147 extern "C"
16148 #endif
16149 char gettext ();
16150 int
16151 main ()
16152 {
16153 return gettext ();
16154 ;
16155 return 0;
16156 }
16157 _ACEOF
16158 for ac_lib in '' intl; do
16159 if test -z "$ac_lib"; then
16160 ac_res="none required"
16161 else
16162 ac_res=-l$ac_lib
16163 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16164 fi
16165 if test x$gcc_no_link = xyes; then
16166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16167 fi
16168 if ac_fn_c_try_link "$LINENO"; then :
16169 ac_cv_search_gettext=$ac_res
16170 fi
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext
16173 if test "${ac_cv_search_gettext+set}" = set; then :
16174 break
16175 fi
16176 done
16177 if test "${ac_cv_search_gettext+set}" = set; then :
16178
16179 else
16180 ac_cv_search_gettext=no
16181 fi
16182 rm conftest.$ac_ext
16183 LIBS=$ac_func_search_save_LIBS
16184 fi
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16186 $as_echo "$ac_cv_search_gettext" >&6; }
16187 ac_res=$ac_cv_search_gettext
16188 if test "$ac_res" != no; then :
16189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16190
16191 else
16192 USE_NLS=no
16193 fi
16194
16195 fi
16196 if test $USE_NLS = yes; then
16197
16198 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16199
16200 fi
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16218 $as_echo_n "checking for std::allocator base class... " >&6; }
16219 # Check whether --enable-libstdcxx-allocator was given.
16220 if test "${enable_libstdcxx_allocator+set}" = set; then :
16221 enableval=$enable_libstdcxx_allocator;
16222 case "$enableval" in
16223 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16224 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16225 esac
16226
16227 else
16228 enable_libstdcxx_allocator=auto
16229 fi
16230
16231
16232
16233 # If they didn't use this option switch, or if they specified --enable
16234 # with no specific model, we'll have to look for one. If they
16235 # specified --disable (???), do likewise.
16236 if test $enable_libstdcxx_allocator = no ||
16237 test $enable_libstdcxx_allocator = yes;
16238 then
16239 enable_libstdcxx_allocator=auto
16240 fi
16241
16242 # Either a known package, or "auto". Auto implies the default choice
16243 # for a particular platform.
16244 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16245
16246 # Probe for host-specific support if no specific model is specified.
16247 # Default to "new".
16248 if test $enable_libstdcxx_allocator_flag = auto; then
16249 case ${target_os} in
16250 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16251 enable_libstdcxx_allocator_flag=new
16252 ;;
16253 *)
16254 enable_libstdcxx_allocator_flag=new
16255 ;;
16256 esac
16257 fi
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16259 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16260
16261
16262 # Set configure bits for specified locale package
16263 case ${enable_libstdcxx_allocator_flag} in
16264 bitmap)
16265 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16267 ;;
16268 malloc)
16269 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16271 ;;
16272 mt)
16273 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16275 ;;
16276 new)
16277 ALLOCATOR_H=config/allocator/new_allocator_base.h
16278 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16279 ;;
16280 pool)
16281 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16282 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16283 ;;
16284 esac
16285
16286
16287
16288
16289
16290
16291 # Check whether --enable-cheaders was given.
16292 if test "${enable_cheaders+set}" = set; then :
16293 enableval=$enable_cheaders;
16294 case "$enableval" in
16295 c|c_std|c_global) ;;
16296 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16297 esac
16298
16299 else
16300 enable_cheaders=$c_model
16301 fi
16302
16303
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16305 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16306
16307 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16308
16309 # Allow overrides to configure.host here.
16310 if test $enable_cheaders = c_global; then
16311 c_compatibility=yes
16312 fi
16313
16314
16315
16316
16317
16318
16319
16320 # Check whether --enable-long-long was given.
16321 if test "${enable_long_long+set}" = set; then :
16322 enableval=$enable_long_long;
16323 case "$enableval" in
16324 yes|no) ;;
16325 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16326 esac
16327
16328 else
16329 enable_long_long=yes
16330 fi
16331
16332
16333 if test $enable_long_long = yes; then
16334
16335 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16336
16337 fi
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16339 $as_echo_n "checking for enabled long long specializations... " >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16341 $as_echo "$enable_long_long" >&6; }
16342
16343
16344 # Check whether --enable-wchar_t was given.
16345 if test "${enable_wchar_t+set}" = set; then :
16346 enableval=$enable_wchar_t;
16347 case "$enableval" in
16348 yes|no) ;;
16349 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16350 esac
16351
16352 else
16353 enable_wchar_t=yes
16354 fi
16355
16356
16357
16358 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16359 for ac_header in wchar.h
16360 do :
16361 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16362 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_WCHAR_H 1
16365 _ACEOF
16366 ac_has_wchar_h=yes
16367 else
16368 ac_has_wchar_h=no
16369 fi
16370
16371 done
16372
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16374 $as_echo_n "checking for mbstate_t... " >&6; }
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16377 #include <wchar.h>
16378 int
16379 main ()
16380 {
16381 mbstate_t teststate;
16382 ;
16383 return 0;
16384 }
16385 _ACEOF
16386 if ac_fn_c_try_compile "$LINENO"; then :
16387 have_mbstate_t=yes
16388 else
16389 have_mbstate_t=no
16390 fi
16391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16393 $as_echo "$have_mbstate_t" >&6; }
16394 if test x"$have_mbstate_t" = xyes; then
16395
16396 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16397
16398 fi
16399
16400 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16401 # ac_has_wchar_h.
16402 for ac_header in wctype.h
16403 do :
16404 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_WCTYPE_H 1
16408 _ACEOF
16409 ac_has_wctype_h=yes
16410 else
16411 ac_has_wctype_h=no
16412 fi
16413
16414 done
16415
16416
16417 if test x"$enable_wchar_t" = x"yes"; then
16418
16419
16420 ac_ext=cpp
16421 ac_cpp='$CXXCPP $CPPFLAGS'
16422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16425
16426
16427 if test x"$ac_has_wchar_h" = xyes &&
16428 test x"$ac_has_wctype_h" = xyes; then
16429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 /* end confdefs.h. */
16431 #include <wchar.h>
16432 #include <stddef.h>
16433 wint_t i;
16434 long l = WEOF;
16435 long j = WCHAR_MIN;
16436 long k = WCHAR_MAX;
16437 namespace test
16438 {
16439 using ::btowc;
16440 using ::fgetwc;
16441 using ::fgetws;
16442 using ::fputwc;
16443 using ::fputws;
16444 using ::fwide;
16445 using ::fwprintf;
16446 using ::fwscanf;
16447 using ::getwc;
16448 using ::getwchar;
16449 using ::mbrlen;
16450 using ::mbrtowc;
16451 using ::mbsinit;
16452 using ::mbsrtowcs;
16453 using ::putwc;
16454 using ::putwchar;
16455 using ::swprintf;
16456 using ::swscanf;
16457 using ::ungetwc;
16458 using ::vfwprintf;
16459 using ::vswprintf;
16460 using ::vwprintf;
16461 using ::wcrtomb;
16462 using ::wcscat;
16463 using ::wcschr;
16464 using ::wcscmp;
16465 using ::wcscoll;
16466 using ::wcscpy;
16467 using ::wcscspn;
16468 using ::wcsftime;
16469 using ::wcslen;
16470 using ::wcsncat;
16471 using ::wcsncmp;
16472 using ::wcsncpy;
16473 using ::wcspbrk;
16474 using ::wcsrchr;
16475 using ::wcsrtombs;
16476 using ::wcsspn;
16477 using ::wcsstr;
16478 using ::wcstod;
16479 using ::wcstok;
16480 using ::wcstol;
16481 using ::wcstoul;
16482 using ::wcsxfrm;
16483 using ::wctob;
16484 using ::wmemchr;
16485 using ::wmemcmp;
16486 using ::wmemcpy;
16487 using ::wmemmove;
16488 using ::wmemset;
16489 using ::wprintf;
16490 using ::wscanf;
16491 }
16492
16493 int
16494 main ()
16495 {
16496
16497 ;
16498 return 0;
16499 }
16500 _ACEOF
16501 if ac_fn_cxx_try_compile "$LINENO"; then :
16502
16503 else
16504 enable_wchar_t=no
16505 fi
16506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 else
16508 enable_wchar_t=no
16509 fi
16510
16511 ac_ext=c
16512 ac_cpp='$CPP $CPPFLAGS'
16513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16516
16517 fi
16518
16519 if test x"$enable_wchar_t" = x"yes"; then
16520
16521 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16522
16523 fi
16524
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16526 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16528 $as_echo "$enable_wchar_t" >&6; }
16529
16530
16531
16532 # Check whether --enable-c99 was given.
16533 if test "${enable_c99+set}" = set; then :
16534 enableval=$enable_c99;
16535 case "$enableval" in
16536 yes|no) ;;
16537 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16538 esac
16539
16540 else
16541 enable_c99=yes
16542 fi
16543
16544
16545
16546 if test x"$enable_c99" = x"yes"; then
16547
16548 ac_ext=cpp
16549 ac_cpp='$CXXCPP $CPPFLAGS'
16550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16553
16554
16555 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16556 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16557 # to be spuriously enabled.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16562
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16576 fi
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16579
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16587 int
16588 main ()
16589 {
16590 return sin ();
16591 ;
16592 return 0;
16593 }
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16599 fi
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16603 fi
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16607 LIBS="$LIBS -lm"
16608 else
16609
16610 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16611 gcc_no_link=yes
16612
16613 fi
16614
16615 fi
16616
16617 # Check for the existence of <math.h> functions used if C99 is enabled.
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16619 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16620 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16623
16624 if test x$gcc_no_link = xyes; then
16625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16626 /* end confdefs.h. */
16627 #include <math.h>
16628 volatile double d1, d2;
16629 volatile int i;
16630 int
16631 main ()
16632 {
16633 i = fpclassify(d1);
16634 i = isfinite(d1);
16635 i = isinf(d1);
16636 i = isnan(d1);
16637 i = isnormal(d1);
16638 i = signbit(d1);
16639 i = isgreater(d1, d2);
16640 i = isgreaterequal(d1, d2);
16641 i = isless(d1, d2);
16642 i = islessequal(d1, d2);
16643 i = islessgreater(d1, d2);
16644 i = islessgreater(d1, d2);
16645 i = isunordered(d1, d2);
16646
16647 ;
16648 return 0;
16649 }
16650 _ACEOF
16651 if ac_fn_cxx_try_compile "$LINENO"; then :
16652 glibcxx_cv_c99_math_cxx98=yes
16653 else
16654 glibcxx_cv_c99_math_cxx98=no
16655 fi
16656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658 if test x$gcc_no_link = xyes; then
16659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16660 fi
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16663 #include <math.h>
16664 volatile double d1, d2;
16665 volatile int i;
16666 int
16667 main ()
16668 {
16669 i = fpclassify(d1);
16670 i = isfinite(d1);
16671 i = isinf(d1);
16672 i = isnan(d1);
16673 i = isnormal(d1);
16674 i = signbit(d1);
16675 i = isgreater(d1, d2);
16676 i = isgreaterequal(d1, d2);
16677 i = isless(d1, d2);
16678 i = islessequal(d1, d2);
16679 i = islessgreater(d1, d2);
16680 i = islessgreater(d1, d2);
16681 i = isunordered(d1, d2);
16682
16683 ;
16684 return 0;
16685 }
16686 _ACEOF
16687 if ac_fn_cxx_try_link "$LINENO"; then :
16688 glibcxx_cv_c99_math_cxx98=yes
16689 else
16690 glibcxx_cv_c99_math_cxx98=no
16691 fi
16692 rm -f core conftest.err conftest.$ac_objext \
16693 conftest$ac_exeext conftest.$ac_ext
16694 fi
16695
16696 fi
16697
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16699 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16700 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16701
16702 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16703
16704 fi
16705
16706 # Check for the existence of <complex.h> complex math functions.
16707 # This is necessary even though libstdc++ uses the builtin versions
16708 # of these functions, because if the builtin cannot be used, a reference
16709 # to the library function is emitted.
16710 for ac_header in tgmath.h
16711 do :
16712 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16713 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_TGMATH_H 1
16716 _ACEOF
16717 ac_has_tgmath_h=yes
16718 else
16719 ac_has_tgmath_h=no
16720 fi
16721
16722 done
16723
16724 for ac_header in complex.h
16725 do :
16726 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16727 if test "x$ac_cv_header_complex_h" = x""yes; then :
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_COMPLEX_H 1
16730 _ACEOF
16731 ac_has_complex_h=yes
16732 else
16733 ac_has_complex_h=no
16734 fi
16735
16736 done
16737
16738 if test x"$ac_has_complex_h" = x"yes"; then
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16740 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16741 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16742 $as_echo_n "(cached) " >&6
16743 else
16744
16745 if test x$gcc_no_link = xyes; then
16746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16747 /* end confdefs.h. */
16748 #include <complex.h>
16749 typedef __complex__ float float_type;
16750 typedef __complex__ double double_type;
16751 typedef __complex__ long double ld_type;
16752 volatile float_type tmpf;
16753 volatile double_type tmpd;
16754 volatile ld_type tmpld;
16755 volatile float f;
16756 volatile double d;
16757 volatile long double ld;
16758 int
16759 main ()
16760 {
16761 f = cabsf(tmpf);
16762 f = cargf(tmpf);
16763 tmpf = ccosf(tmpf);
16764 tmpf = ccoshf(tmpf);
16765 tmpf = cexpf(tmpf);
16766 tmpf = clogf(tmpf);
16767 tmpf = csinf(tmpf);
16768 tmpf = csinhf(tmpf);
16769 tmpf = csqrtf(tmpf);
16770 tmpf = ctanf(tmpf);
16771 tmpf = ctanhf(tmpf);
16772 tmpf = cpowf(tmpf, tmpf);
16773 tmpf = cprojf(tmpf);
16774 d = cabs(tmpd);
16775 d = carg(tmpd);
16776 tmpd = ccos(tmpd);
16777 tmpd = ccosh(tmpd);
16778 tmpd = cexp(tmpd);
16779 tmpd = clog(tmpd);
16780 tmpd = csin(tmpd);
16781 tmpd = csinh(tmpd);
16782 tmpd = csqrt(tmpd);
16783 tmpd = ctan(tmpd);
16784 tmpd = ctanh(tmpd);
16785 tmpd = cpow(tmpd, tmpd);
16786 tmpd = cproj(tmpd);
16787 ld = cabsl(tmpld);
16788 ld = cargl(tmpld);
16789 tmpld = ccosl(tmpld);
16790 tmpld = ccoshl(tmpld);
16791 tmpld = cexpl(tmpld);
16792 tmpld = clogl(tmpld);
16793 tmpld = csinl(tmpld);
16794 tmpld = csinhl(tmpld);
16795 tmpld = csqrtl(tmpld);
16796 tmpld = ctanl(tmpld);
16797 tmpld = ctanhl(tmpld);
16798 tmpld = cpowl(tmpld, tmpld);
16799 tmpld = cprojl(tmpld);
16800
16801 ;
16802 return 0;
16803 }
16804 _ACEOF
16805 if ac_fn_cxx_try_compile "$LINENO"; then :
16806 glibcxx_cv_c99_complex_cxx98=yes
16807 else
16808 glibcxx_cv_c99_complex_cxx98=no
16809 fi
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16811 else
16812 if test x$gcc_no_link = xyes; then
16813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16814 fi
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16817 #include <complex.h>
16818 typedef __complex__ float float_type;
16819 typedef __complex__ double double_type;
16820 typedef __complex__ long double ld_type;
16821 volatile float_type tmpf;
16822 volatile double_type tmpd;
16823 volatile ld_type tmpld;
16824 volatile float f;
16825 volatile double d;
16826 volatile long double ld;
16827 int
16828 main ()
16829 {
16830 f = cabsf(tmpf);
16831 f = cargf(tmpf);
16832 tmpf = ccosf(tmpf);
16833 tmpf = ccoshf(tmpf);
16834 tmpf = cexpf(tmpf);
16835 tmpf = clogf(tmpf);
16836 tmpf = csinf(tmpf);
16837 tmpf = csinhf(tmpf);
16838 tmpf = csqrtf(tmpf);
16839 tmpf = ctanf(tmpf);
16840 tmpf = ctanhf(tmpf);
16841 tmpf = cpowf(tmpf, tmpf);
16842 tmpf = cprojf(tmpf);
16843 d = cabs(tmpd);
16844 d = carg(tmpd);
16845 tmpd = ccos(tmpd);
16846 tmpd = ccosh(tmpd);
16847 tmpd = cexp(tmpd);
16848 tmpd = clog(tmpd);
16849 tmpd = csin(tmpd);
16850 tmpd = csinh(tmpd);
16851 tmpd = csqrt(tmpd);
16852 tmpd = ctan(tmpd);
16853 tmpd = ctanh(tmpd);
16854 tmpd = cpow(tmpd, tmpd);
16855 tmpd = cproj(tmpd);
16856 ld = cabsl(tmpld);
16857 ld = cargl(tmpld);
16858 tmpld = ccosl(tmpld);
16859 tmpld = ccoshl(tmpld);
16860 tmpld = cexpl(tmpld);
16861 tmpld = clogl(tmpld);
16862 tmpld = csinl(tmpld);
16863 tmpld = csinhl(tmpld);
16864 tmpld = csqrtl(tmpld);
16865 tmpld = ctanl(tmpld);
16866 tmpld = ctanhl(tmpld);
16867 tmpld = cpowl(tmpld, tmpld);
16868 tmpld = cprojl(tmpld);
16869
16870 ;
16871 return 0;
16872 }
16873 _ACEOF
16874 if ac_fn_cxx_try_link "$LINENO"; then :
16875 glibcxx_cv_c99_complex_cxx98=yes
16876 else
16877 glibcxx_cv_c99_complex_cxx98=no
16878 fi
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16881 fi
16882
16883 fi
16884
16885 fi
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16887 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16888 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16889
16890 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16891
16892 fi
16893
16894 # Check for the existence in <stdio.h> of vscanf, et. al.
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16896 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16897 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900
16901 if test x$gcc_no_link = xyes; then
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <stdio.h>
16905 #include <stdarg.h>
16906 void foo(char* fmt, ...)
16907 {
16908 va_list args; va_start(args, fmt);
16909 vfscanf(stderr, "%i", args);
16910 vscanf("%i", args);
16911 vsnprintf(fmt, 0, "%i", args);
16912 vsscanf(fmt, "%i", args);
16913 snprintf(fmt, 0, "%i");
16914 }
16915 int
16916 main ()
16917 {
16918
16919 ;
16920 return 0;
16921 }
16922 _ACEOF
16923 if ac_fn_cxx_try_compile "$LINENO"; then :
16924 glibcxx_cv_c99_stdio_cxx98=yes
16925 else
16926 glibcxx_cv_c99_stdio_cxx98=no
16927 fi
16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 else
16930 if test x$gcc_no_link = xyes; then
16931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16932 fi
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 #include <stdio.h>
16936 #include <stdarg.h>
16937 void foo(char* fmt, ...)
16938 {
16939 va_list args; va_start(args, fmt);
16940 vfscanf(stderr, "%i", args);
16941 vscanf("%i", args);
16942 vsnprintf(fmt, 0, "%i", args);
16943 vsscanf(fmt, "%i", args);
16944 snprintf(fmt, 0, "%i");
16945 }
16946 int
16947 main ()
16948 {
16949
16950 ;
16951 return 0;
16952 }
16953 _ACEOF
16954 if ac_fn_cxx_try_link "$LINENO"; then :
16955 glibcxx_cv_c99_stdio_cxx98=yes
16956 else
16957 glibcxx_cv_c99_stdio_cxx98=no
16958 fi
16959 rm -f core conftest.err conftest.$ac_objext \
16960 conftest$ac_exeext conftest.$ac_ext
16961 fi
16962
16963 fi
16964
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16966 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16967 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16968
16969 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16970
16971 fi
16972
16973 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16975 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16976 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16979
16980 if test x$gcc_no_link = xyes; then
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 #include <stdlib.h>
16984 volatile float f;
16985 volatile long double ld;
16986 volatile unsigned long long ll;
16987 lldiv_t mydivt;
16988 int
16989 main ()
16990 {
16991 char* tmp;
16992 f = strtof("gnu", &tmp);
16993 ld = strtold("gnu", &tmp);
16994 ll = strtoll("gnu", &tmp, 10);
16995 ll = strtoull("gnu", &tmp, 10);
16996 ll = llabs(10);
16997 mydivt = lldiv(10,1);
16998 ll = mydivt.quot;
16999 ll = mydivt.rem;
17000 ll = atoll("10");
17001 _Exit(0);
17002
17003 ;
17004 return 0;
17005 }
17006 _ACEOF
17007 if ac_fn_cxx_try_compile "$LINENO"; then :
17008 glibcxx_cv_c99_stdlib_cxx98=yes
17009 else
17010 glibcxx_cv_c99_stdlib_cxx98=no
17011 fi
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013 else
17014 if test x$gcc_no_link = xyes; then
17015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17016 fi
17017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17018 /* end confdefs.h. */
17019 #include <stdlib.h>
17020 volatile float f;
17021 volatile long double ld;
17022 volatile unsigned long long ll;
17023 lldiv_t mydivt;
17024 int
17025 main ()
17026 {
17027 char* tmp;
17028 f = strtof("gnu", &tmp);
17029 ld = strtold("gnu", &tmp);
17030 ll = strtoll("gnu", &tmp, 10);
17031 ll = strtoull("gnu", &tmp, 10);
17032 ll = llabs(10);
17033 mydivt = lldiv(10,1);
17034 ll = mydivt.quot;
17035 ll = mydivt.rem;
17036 ll = atoll("10");
17037 _Exit(0);
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_cxx_try_link "$LINENO"; then :
17044 glibcxx_cv_c99_stdlib_cxx98=yes
17045 else
17046 glibcxx_cv_c99_stdlib_cxx98=no
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 fi
17051
17052 fi
17053
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17055 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17056 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17057
17058 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17059
17060 fi
17061
17062 # Check for the existence in <wchar.h> of wcstold, etc.
17063 if test x"$ac_has_wchar_h" = xyes &&
17064 test x"$ac_has_wctype_h" = xyes; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17066 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17067 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17068 $as_echo_n "(cached) " >&6
17069 else
17070
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 #include <wchar.h>
17074 namespace test
17075 {
17076 using ::wcstold;
17077 using ::wcstoll;
17078 using ::wcstoull;
17079 }
17080
17081 int
17082 main ()
17083 {
17084
17085 ;
17086 return 0;
17087 }
17088 _ACEOF
17089 if ac_fn_cxx_try_compile "$LINENO"; then :
17090 glibcxx_cv_c99_wchar_cxx98=yes
17091 else
17092 glibcxx_cv_c99_wchar_cxx98=no
17093 fi
17094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17095
17096 fi
17097
17098
17099 # Checks for wide character functions that may not be present.
17100 # Injection of these is wrapped with guard macros.
17101 # NB: only put functions here, instead of immediately above, if
17102 # absolutely necessary.
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #include <wchar.h>
17106 namespace test { using ::vfwscanf; }
17107 int
17108 main ()
17109 {
17110
17111 ;
17112 return 0;
17113 }
17114 _ACEOF
17115 if ac_fn_cxx_try_compile "$LINENO"; then :
17116
17117 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17118
17119 fi
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17121
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 #include <wchar.h>
17125 namespace test { using ::vswscanf; }
17126 int
17127 main ()
17128 {
17129
17130 ;
17131 return 0;
17132 }
17133 _ACEOF
17134 if ac_fn_cxx_try_compile "$LINENO"; then :
17135
17136 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17137
17138 fi
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 #include <wchar.h>
17144 namespace test { using ::vwscanf; }
17145 int
17146 main ()
17147 {
17148
17149 ;
17150 return 0;
17151 }
17152 _ACEOF
17153 if ac_fn_cxx_try_compile "$LINENO"; then :
17154
17155 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17156
17157 fi
17158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17159
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 #include <wchar.h>
17163 namespace test { using ::wcstof; }
17164 int
17165 main ()
17166 {
17167
17168 ;
17169 return 0;
17170 }
17171 _ACEOF
17172 if ac_fn_cxx_try_compile "$LINENO"; then :
17173
17174 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17175
17176 fi
17177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17178
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 #include <wctype.h>
17182 int
17183 main ()
17184 {
17185 wint_t t; int i = iswblank(t);
17186 ;
17187 return 0;
17188 }
17189 _ACEOF
17190 if ac_fn_cxx_try_compile "$LINENO"; then :
17191
17192 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17193
17194 fi
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17196
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17198 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17199 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17200
17201 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17202
17203 fi
17204 fi
17205
17206 # Option parsed, now set things appropriately.
17207 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17208 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17209 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17210 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17212 enable_c99=no;
17213 else
17214
17215 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17216
17217 fi
17218
17219 gcc_no_link="$ac_save_gcc_no_link"
17220 LIBS="$ac_save_LIBS"
17221 CXXFLAGS="$ac_save_CXXFLAGS"
17222 ac_ext=c
17223 ac_cpp='$CPP $CPPFLAGS'
17224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17227
17228
17229
17230 ac_ext=cpp
17231 ac_cpp='$CXXCPP $CPPFLAGS'
17232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17235
17236
17237 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17238 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17239 ac_save_CXXFLAGS="$CXXFLAGS"
17240 CXXFLAGS="$CXXFLAGS -std=c++11"
17241 ac_save_LIBS="$LIBS"
17242 ac_save_gcc_no_link="$gcc_no_link"
17243
17244 if test x$gcc_no_link != xyes; then
17245 # Use -fno-exceptions to that the C driver can link these tests without
17246 # hitting undefined references to personality routines.
17247 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17249 $as_echo_n "checking for sin in -lm... " >&6; }
17250 if test "${ac_cv_lib_m_sin+set}" = set; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 ac_check_lib_save_LIBS=$LIBS
17254 LIBS="-lm $LIBS"
17255 if test x$gcc_no_link = xyes; then
17256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17257 fi
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260
17261 /* Override any GCC internal prototype to avoid an error.
17262 Use char because int might match the return type of a GCC
17263 builtin and then its argument prototype would still apply. */
17264 #ifdef __cplusplus
17265 extern "C"
17266 #endif
17267 char sin ();
17268 int
17269 main ()
17270 {
17271 return sin ();
17272 ;
17273 return 0;
17274 }
17275 _ACEOF
17276 if ac_fn_cxx_try_link "$LINENO"; then :
17277 ac_cv_lib_m_sin=yes
17278 else
17279 ac_cv_lib_m_sin=no
17280 fi
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_lib_save_LIBS
17284 fi
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17286 $as_echo "$ac_cv_lib_m_sin" >&6; }
17287 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17288 LIBS="$LIBS -lm"
17289 else
17290
17291 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17292 gcc_no_link=yes
17293
17294 fi
17295
17296 fi
17297
17298 # Check for the existence of <math.h> functions used if C99 is enabled.
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17300 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17301 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17304
17305 if test x$gcc_no_link = xyes; then
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #include <math.h>
17309 volatile double d1, d2;
17310 volatile int i;
17311 int
17312 main ()
17313 {
17314 i = fpclassify(d1);
17315 i = isfinite(d1);
17316 i = isinf(d1);
17317 i = isnan(d1);
17318 i = isnormal(d1);
17319 i = signbit(d1);
17320 i = isgreater(d1, d2);
17321 i = isgreaterequal(d1, d2);
17322 i = isless(d1, d2);
17323 i = islessequal(d1, d2);
17324 i = islessgreater(d1, d2);
17325 i = islessgreater(d1, d2);
17326 i = isunordered(d1, d2);
17327
17328 ;
17329 return 0;
17330 }
17331 _ACEOF
17332 if ac_fn_cxx_try_compile "$LINENO"; then :
17333 glibcxx_cv_c99_math_cxx11=yes
17334 else
17335 glibcxx_cv_c99_math_cxx11=no
17336 fi
17337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17338 else
17339 if test x$gcc_no_link = xyes; then
17340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17341 fi
17342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17343 /* end confdefs.h. */
17344 #include <math.h>
17345 volatile double d1, d2;
17346 volatile int i;
17347 int
17348 main ()
17349 {
17350 i = fpclassify(d1);
17351 i = isfinite(d1);
17352 i = isinf(d1);
17353 i = isnan(d1);
17354 i = isnormal(d1);
17355 i = signbit(d1);
17356 i = isgreater(d1, d2);
17357 i = isgreaterequal(d1, d2);
17358 i = isless(d1, d2);
17359 i = islessequal(d1, d2);
17360 i = islessgreater(d1, d2);
17361 i = islessgreater(d1, d2);
17362 i = isunordered(d1, d2);
17363
17364 ;
17365 return 0;
17366 }
17367 _ACEOF
17368 if ac_fn_cxx_try_link "$LINENO"; then :
17369 glibcxx_cv_c99_math_cxx11=yes
17370 else
17371 glibcxx_cv_c99_math_cxx11=no
17372 fi
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375 fi
17376
17377 fi
17378
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17380 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17381 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17382
17383 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17384
17385 fi
17386
17387 # Check for the existence of <complex.h> complex math functions.
17388 # This is necessary even though libstdc++ uses the builtin versions
17389 # of these functions, because if the builtin cannot be used, a reference
17390 # to the library function is emitted.
17391 for ac_header in tgmath.h
17392 do :
17393 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17394 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17395 cat >>confdefs.h <<_ACEOF
17396 #define HAVE_TGMATH_H 1
17397 _ACEOF
17398 ac_has_tgmath_h=yes
17399 else
17400 ac_has_tgmath_h=no
17401 fi
17402
17403 done
17404
17405 for ac_header in complex.h
17406 do :
17407 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17408 if test "x$ac_cv_header_complex_h" = x""yes; then :
17409 cat >>confdefs.h <<_ACEOF
17410 #define HAVE_COMPLEX_H 1
17411 _ACEOF
17412 ac_has_complex_h=yes
17413 else
17414 ac_has_complex_h=no
17415 fi
17416
17417 done
17418
17419 if test x"$ac_has_complex_h" = x"yes"; then
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17421 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17422 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425
17426 if test x$gcc_no_link = xyes; then
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 #include <complex.h>
17430 typedef __complex__ float float_type;
17431 typedef __complex__ double double_type;
17432 typedef __complex__ long double ld_type;
17433 volatile float_type tmpf;
17434 volatile double_type tmpd;
17435 volatile ld_type tmpld;
17436 volatile float f;
17437 volatile double d;
17438 volatile long double ld;
17439 int
17440 main ()
17441 {
17442 f = cabsf(tmpf);
17443 f = cargf(tmpf);
17444 tmpf = ccosf(tmpf);
17445 tmpf = ccoshf(tmpf);
17446 tmpf = cexpf(tmpf);
17447 tmpf = clogf(tmpf);
17448 tmpf = csinf(tmpf);
17449 tmpf = csinhf(tmpf);
17450 tmpf = csqrtf(tmpf);
17451 tmpf = ctanf(tmpf);
17452 tmpf = ctanhf(tmpf);
17453 tmpf = cpowf(tmpf, tmpf);
17454 tmpf = cprojf(tmpf);
17455 d = cabs(tmpd);
17456 d = carg(tmpd);
17457 tmpd = ccos(tmpd);
17458 tmpd = ccosh(tmpd);
17459 tmpd = cexp(tmpd);
17460 tmpd = clog(tmpd);
17461 tmpd = csin(tmpd);
17462 tmpd = csinh(tmpd);
17463 tmpd = csqrt(tmpd);
17464 tmpd = ctan(tmpd);
17465 tmpd = ctanh(tmpd);
17466 tmpd = cpow(tmpd, tmpd);
17467 tmpd = cproj(tmpd);
17468 ld = cabsl(tmpld);
17469 ld = cargl(tmpld);
17470 tmpld = ccosl(tmpld);
17471 tmpld = ccoshl(tmpld);
17472 tmpld = cexpl(tmpld);
17473 tmpld = clogl(tmpld);
17474 tmpld = csinl(tmpld);
17475 tmpld = csinhl(tmpld);
17476 tmpld = csqrtl(tmpld);
17477 tmpld = ctanl(tmpld);
17478 tmpld = ctanhl(tmpld);
17479 tmpld = cpowl(tmpld, tmpld);
17480 tmpld = cprojl(tmpld);
17481
17482 ;
17483 return 0;
17484 }
17485 _ACEOF
17486 if ac_fn_cxx_try_compile "$LINENO"; then :
17487 glibcxx_cv_c99_complex_cxx11=yes
17488 else
17489 glibcxx_cv_c99_complex_cxx11=no
17490 fi
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 else
17493 if test x$gcc_no_link = xyes; then
17494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17495 fi
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #include <complex.h>
17499 typedef __complex__ float float_type;
17500 typedef __complex__ double double_type;
17501 typedef __complex__ long double ld_type;
17502 volatile float_type tmpf;
17503 volatile double_type tmpd;
17504 volatile ld_type tmpld;
17505 volatile float f;
17506 volatile double d;
17507 volatile long double ld;
17508 int
17509 main ()
17510 {
17511 f = cabsf(tmpf);
17512 f = cargf(tmpf);
17513 tmpf = ccosf(tmpf);
17514 tmpf = ccoshf(tmpf);
17515 tmpf = cexpf(tmpf);
17516 tmpf = clogf(tmpf);
17517 tmpf = csinf(tmpf);
17518 tmpf = csinhf(tmpf);
17519 tmpf = csqrtf(tmpf);
17520 tmpf = ctanf(tmpf);
17521 tmpf = ctanhf(tmpf);
17522 tmpf = cpowf(tmpf, tmpf);
17523 tmpf = cprojf(tmpf);
17524 d = cabs(tmpd);
17525 d = carg(tmpd);
17526 tmpd = ccos(tmpd);
17527 tmpd = ccosh(tmpd);
17528 tmpd = cexp(tmpd);
17529 tmpd = clog(tmpd);
17530 tmpd = csin(tmpd);
17531 tmpd = csinh(tmpd);
17532 tmpd = csqrt(tmpd);
17533 tmpd = ctan(tmpd);
17534 tmpd = ctanh(tmpd);
17535 tmpd = cpow(tmpd, tmpd);
17536 tmpd = cproj(tmpd);
17537 ld = cabsl(tmpld);
17538 ld = cargl(tmpld);
17539 tmpld = ccosl(tmpld);
17540 tmpld = ccoshl(tmpld);
17541 tmpld = cexpl(tmpld);
17542 tmpld = clogl(tmpld);
17543 tmpld = csinl(tmpld);
17544 tmpld = csinhl(tmpld);
17545 tmpld = csqrtl(tmpld);
17546 tmpld = ctanl(tmpld);
17547 tmpld = ctanhl(tmpld);
17548 tmpld = cpowl(tmpld, tmpld);
17549 tmpld = cprojl(tmpld);
17550
17551 ;
17552 return 0;
17553 }
17554 _ACEOF
17555 if ac_fn_cxx_try_link "$LINENO"; then :
17556 glibcxx_cv_c99_complex_cxx11=yes
17557 else
17558 glibcxx_cv_c99_complex_cxx11=no
17559 fi
17560 rm -f core conftest.err conftest.$ac_objext \
17561 conftest$ac_exeext conftest.$ac_ext
17562 fi
17563
17564 fi
17565
17566 fi
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17568 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17569 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17570
17571 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17572
17573 fi
17574
17575 # Check for the existence in <stdio.h> of vscanf, et. al.
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17577 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17578 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17579 $as_echo_n "(cached) " >&6
17580 else
17581
17582 if test x$gcc_no_link = xyes; then
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #include <stdio.h>
17586 #include <stdarg.h>
17587 void foo(char* fmt, ...)
17588 {
17589 va_list args; va_start(args, fmt);
17590 vfscanf(stderr, "%i", args);
17591 vscanf("%i", args);
17592 vsnprintf(fmt, 0, "%i", args);
17593 vsscanf(fmt, "%i", args);
17594 snprintf(fmt, 0, "%i");
17595 }
17596 int
17597 main ()
17598 {
17599
17600 ;
17601 return 0;
17602 }
17603 _ACEOF
17604 if ac_fn_cxx_try_compile "$LINENO"; then :
17605 glibcxx_cv_c99_stdio_cxx11=yes
17606 else
17607 glibcxx_cv_c99_stdio_cxx11=no
17608 fi
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 else
17611 if test x$gcc_no_link = xyes; then
17612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17613 fi
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #include <stdio.h>
17617 #include <stdarg.h>
17618 void foo(char* fmt, ...)
17619 {
17620 va_list args; va_start(args, fmt);
17621 vfscanf(stderr, "%i", args);
17622 vscanf("%i", args);
17623 vsnprintf(fmt, 0, "%i", args);
17624 vsscanf(fmt, "%i", args);
17625 snprintf(fmt, 0, "%i");
17626 }
17627 int
17628 main ()
17629 {
17630
17631 ;
17632 return 0;
17633 }
17634 _ACEOF
17635 if ac_fn_cxx_try_link "$LINENO"; then :
17636 glibcxx_cv_c99_stdio_cxx11=yes
17637 else
17638 glibcxx_cv_c99_stdio_cxx11=no
17639 fi
17640 rm -f core conftest.err conftest.$ac_objext \
17641 conftest$ac_exeext conftest.$ac_ext
17642 fi
17643
17644 fi
17645
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17647 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17648 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17649
17650 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17651
17652 fi
17653
17654 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17656 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17657 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17660
17661 if test x$gcc_no_link = xyes; then
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17664 #include <stdlib.h>
17665 volatile float f;
17666 volatile long double ld;
17667 volatile unsigned long long ll;
17668 lldiv_t mydivt;
17669 int
17670 main ()
17671 {
17672 char* tmp;
17673 f = strtof("gnu", &tmp);
17674 ld = strtold("gnu", &tmp);
17675 ll = strtoll("gnu", &tmp, 10);
17676 ll = strtoull("gnu", &tmp, 10);
17677 ll = llabs(10);
17678 mydivt = lldiv(10,1);
17679 ll = mydivt.quot;
17680 ll = mydivt.rem;
17681 ll = atoll("10");
17682 _Exit(0);
17683
17684 ;
17685 return 0;
17686 }
17687 _ACEOF
17688 if ac_fn_cxx_try_compile "$LINENO"; then :
17689 glibcxx_cv_c99_stdlib_cxx11=yes
17690 else
17691 glibcxx_cv_c99_stdlib_cxx11=no
17692 fi
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694 else
17695 if test x$gcc_no_link = xyes; then
17696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17697 fi
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 #include <stdlib.h>
17701 volatile float f;
17702 volatile long double ld;
17703 volatile unsigned long long ll;
17704 lldiv_t mydivt;
17705 int
17706 main ()
17707 {
17708 char* tmp;
17709 f = strtof("gnu", &tmp);
17710 ld = strtold("gnu", &tmp);
17711 ll = strtoll("gnu", &tmp, 10);
17712 ll = strtoull("gnu", &tmp, 10);
17713 ll = llabs(10);
17714 mydivt = lldiv(10,1);
17715 ll = mydivt.quot;
17716 ll = mydivt.rem;
17717 ll = atoll("10");
17718 _Exit(0);
17719
17720 ;
17721 return 0;
17722 }
17723 _ACEOF
17724 if ac_fn_cxx_try_link "$LINENO"; then :
17725 glibcxx_cv_c99_stdlib_cxx11=yes
17726 else
17727 glibcxx_cv_c99_stdlib_cxx11=no
17728 fi
17729 rm -f core conftest.err conftest.$ac_objext \
17730 conftest$ac_exeext conftest.$ac_ext
17731 fi
17732
17733 fi
17734
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17736 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17737 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17738
17739 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17740
17741 fi
17742
17743 # Check for the existence in <wchar.h> of wcstold, etc.
17744 if test x"$ac_has_wchar_h" = xyes &&
17745 test x"$ac_has_wctype_h" = xyes; then
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17747 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17748 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <wchar.h>
17755 namespace test
17756 {
17757 using ::wcstold;
17758 using ::wcstoll;
17759 using ::wcstoull;
17760 }
17761
17762 int
17763 main ()
17764 {
17765
17766 ;
17767 return 0;
17768 }
17769 _ACEOF
17770 if ac_fn_cxx_try_compile "$LINENO"; then :
17771 glibcxx_cv_c99_wchar_cxx11=yes
17772 else
17773 glibcxx_cv_c99_wchar_cxx11=no
17774 fi
17775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17776
17777 fi
17778
17779
17780 # Checks for wide character functions that may not be present.
17781 # Injection of these is wrapped with guard macros.
17782 # NB: only put functions here, instead of immediately above, if
17783 # absolutely necessary.
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 #include <wchar.h>
17787 namespace test { using ::vfwscanf; }
17788 int
17789 main ()
17790 {
17791
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 if ac_fn_cxx_try_compile "$LINENO"; then :
17797
17798 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17799
17800 fi
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <wchar.h>
17806 namespace test { using ::vswscanf; }
17807 int
17808 main ()
17809 {
17810
17811 ;
17812 return 0;
17813 }
17814 _ACEOF
17815 if ac_fn_cxx_try_compile "$LINENO"; then :
17816
17817 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17818
17819 fi
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <wchar.h>
17825 namespace test { using ::vwscanf; }
17826 int
17827 main ()
17828 {
17829
17830 ;
17831 return 0;
17832 }
17833 _ACEOF
17834 if ac_fn_cxx_try_compile "$LINENO"; then :
17835
17836 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17837
17838 fi
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 #include <wchar.h>
17844 namespace test { using ::wcstof; }
17845 int
17846 main ()
17847 {
17848
17849 ;
17850 return 0;
17851 }
17852 _ACEOF
17853 if ac_fn_cxx_try_compile "$LINENO"; then :
17854
17855 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17856
17857 fi
17858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17859
17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17862 #include <wctype.h>
17863 int
17864 main ()
17865 {
17866 wint_t t; int i = iswblank(t);
17867 ;
17868 return 0;
17869 }
17870 _ACEOF
17871 if ac_fn_cxx_try_compile "$LINENO"; then :
17872
17873 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17874
17875 fi
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17879 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17880 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17881
17882 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17883
17884 fi
17885 fi
17886
17887 gcc_no_link="$ac_save_gcc_no_link"
17888 LIBS="$ac_save_LIBS"
17889 CXXFLAGS="$ac_save_CXXFLAGS"
17890 ac_ext=c
17891 ac_cpp='$CPP $CPPFLAGS'
17892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17895
17896 fi
17897
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17899 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17901 $as_echo "$enable_c99" >&6; }
17902
17903
17904 # Check whether --enable-concept-checks was given.
17905 if test "${enable_concept_checks+set}" = set; then :
17906 enableval=$enable_concept_checks;
17907 case "$enableval" in
17908 yes|no) ;;
17909 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17910 esac
17911
17912 else
17913 enable_concept_checks=no
17914 fi
17915
17916
17917 if test $enable_concept_checks = yes; then
17918
17919 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17920
17921 fi
17922
17923
17924 # Check whether --enable-libstdcxx-debug-flags was given.
17925 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17926 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17927 xno | x) enable_libstdcxx_debug_flags= ;;
17928 x-*) ;;
17929 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17930 esac
17931 else
17932 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17933 fi
17934
17935
17936
17937 # Option parsed, now set things appropriately
17938 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17939
17940
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17942 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17943
17944
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17946 $as_echo_n "checking for additional debug build... " >&6; }
17947 # Check whether --enable-libstdcxx-debug was given.
17948 if test "${enable_libstdcxx_debug+set}" = set; then :
17949 enableval=$enable_libstdcxx_debug;
17950 case "$enableval" in
17951 yes|no) ;;
17952 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17953 esac
17954
17955 else
17956 enable_libstdcxx_debug=no
17957 fi
17958
17959
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17961 $as_echo "$enable_libstdcxx_debug" >&6; }
17962
17963
17964
17965
17966 enable_parallel=no;
17967
17968 # See if configured libgomp/omp.h exists. (libgomp may be in
17969 # noconfigdirs but not explicitly disabled.)
17970 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17971 enable_parallel=yes;
17972 else
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17974 $as_echo "$as_me: target-libgomp not built" >&6;}
17975 fi
17976
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17978 $as_echo_n "checking for parallel mode support... " >&6; }
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17980 $as_echo "$enable_parallel" >&6; }
17981
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17983 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17984 # Check whether --enable-cxx-flags was given.
17985 if test "${enable_cxx_flags+set}" = set; then :
17986 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17987 xno | x) enable_cxx_flags= ;;
17988 x-*) ;;
17989 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17990 esac
17991 else
17992 enable_cxx_flags=
17993 fi
17994
17995
17996
17997 # Run through flags (either default or command-line) and set anything
17998 # extra (e.g., #defines) that must accompany particular g++ options.
17999 if test -n "$enable_cxx_flags"; then
18000 for f in $enable_cxx_flags; do
18001 case "$f" in
18002 -fhonor-std) ;;
18003 -*) ;;
18004 *) # and we're trying to pass /what/ exactly?
18005 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18006 esac
18007 done
18008 fi
18009
18010 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18012 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18013
18014
18015
18016 # Check whether --enable-fully-dynamic-string was given.
18017 if test "${enable_fully_dynamic_string+set}" = set; then :
18018 enableval=$enable_fully_dynamic_string;
18019 case "$enableval" in
18020 yes|no) ;;
18021 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18022 esac
18023
18024 else
18025 enable_fully_dynamic_string=no
18026 fi
18027
18028
18029 if test $enable_fully_dynamic_string = yes; then
18030 enable_fully_dynamic_string_def=1
18031 else
18032 enable_fully_dynamic_string_def=0
18033 fi
18034
18035 cat >>confdefs.h <<_ACEOF
18036 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18037 _ACEOF
18038
18039
18040
18041
18042 # Check whether --enable-extern-template was given.
18043 if test "${enable_extern_template+set}" = set; then :
18044 enableval=$enable_extern_template;
18045 case "$enableval" in
18046 yes|no) ;;
18047 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18048 esac
18049
18050 else
18051 enable_extern_template=yes
18052 fi
18053
18054
18055
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18057 $as_echo_n "checking for extern template support... " >&6; }
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18059 $as_echo "$enable_extern_template" >&6; }
18060
18061
18062
18063
18064
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18066 $as_echo_n "checking for custom python install directory... " >&6; }
18067
18068 # Check whether --with-python-dir was given.
18069 if test "${with_python_dir+set}" = set; then :
18070 withval=$with_python_dir; with_python_dir=$withval
18071 else
18072 with_python_dir="no"
18073 fi
18074
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18076 $as_echo "${with_python_dir}" >&6; }
18077
18078 # Needed for installing Python modules during make install.
18079 python_mod_dir="${with_python_dir}"
18080
18081
18082
18083
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18085 $as_echo_n "checking for -Werror... " >&6; }
18086 # Check whether --enable-werror was given.
18087 if test "${enable_werror+set}" = set; then :
18088 enableval=$enable_werror;
18089 case "$enableval" in
18090 yes|no) ;;
18091 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18092 esac
18093
18094 else
18095 enable_werror=yes
18096 fi
18097
18098
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18100 $as_echo "$enable_werror" >&6; }
18101
18102
18103
18104
18105 # Check whether --enable-vtable-verify was given.
18106 if test "${enable_vtable_verify+set}" = set; then :
18107 enableval=$enable_vtable_verify;
18108 case "$enableval" in
18109 yes|no) ;;
18110 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18111 esac
18112
18113 else
18114 enable_vtable_verify=no
18115 fi
18116
18117
18118
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18120 $as_echo_n "checking for vtable verify support... " >&6; }
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18122 $as_echo "$enable_vtable_verify" >&6; }
18123
18124 vtv_cygmin=no
18125 if test $enable_vtable_verify = yes; then
18126 case ${target_os} in
18127 cygwin*|mingw32*)
18128 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18129 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18130 vtv_cygmin=yes
18131 ;;
18132 darwin*)
18133 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18134 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18135 ;;
18136 solaris2*)
18137 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18138 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18139 ;;
18140 *)
18141 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18142 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18143 ;;
18144 esac
18145 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18146 else
18147 VTV_CXXFLAGS=
18148 VTV_PCH_CXXFLAGS=
18149 VTV_CXXLINKFLAGS=
18150 fi
18151
18152
18153
18154
18155 if test x$vtv_cygmin = xyes; then
18156 VTV_CYGMIN_TRUE=
18157 VTV_CYGMIN_FALSE='#'
18158 else
18159 VTV_CYGMIN_TRUE='#'
18160 VTV_CYGMIN_FALSE=
18161 fi
18162
18163
18164
18165
18166 # Checks for operating systems support that doesn't require linking.
18167
18168
18169
18170 ac_ext=cpp
18171 ac_cpp='$CXXCPP $CPPFLAGS'
18172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18175
18176
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18178 $as_echo_n "checking for gets declaration... " >&6; }
18179 if test "${glibcxx_cv_gets+set}" = set; then :
18180 $as_echo_n "(cached) " >&6
18181 else
18182
18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18185 #include <stdio.h>
18186 namespace test
18187 {
18188 using ::gets;
18189 }
18190
18191 _ACEOF
18192 if ac_fn_cxx_try_compile "$LINENO"; then :
18193 glibcxx_cv_gets=yes
18194 else
18195 glibcxx_cv_gets=no
18196
18197 fi
18198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18199 fi
18200
18201
18202 if test $glibcxx_cv_gets = yes; then
18203
18204 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18205
18206 fi
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18208 $as_echo "$glibcxx_cv_gets" >&6; }
18209
18210 ac_ext=c
18211 ac_cpp='$CPP $CPPFLAGS'
18212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18215
18216
18217
18218
18219
18220 ac_ext=cpp
18221 ac_cpp='$CXXCPP $CPPFLAGS'
18222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18225
18226 ac_save_CXXFLAGS="$CXXFLAGS"
18227 CXXFLAGS="$CXXFLAGS -std=c++11"
18228
18229 case "$host" in
18230 *-*-solaris2.*)
18231 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18232 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18234 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18235 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18236 $as_echo_n "(cached) " >&6
18237 else
18238
18239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h. */
18241 #include <math.h>
18242 #undef isfinite
18243 namespace std {
18244 inline bool isfinite(float __x)
18245 { return __builtin_isfinite(__x); }
18246 }
18247
18248 _ACEOF
18249 if ac_fn_cxx_try_compile "$LINENO"; then :
18250 glibcxx_cv_math11_overload=no
18251 else
18252 glibcxx_cv_math11_overload=yes
18253
18254 fi
18255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18256 fi
18257
18258
18259 # autoheader cannot handle indented templates.
18260
18261
18262 if test $glibcxx_cv_math11_overload = yes; then
18263 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18264
18265 fi
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18267 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18268 ;;
18269 *)
18270 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18271 # functions (instead of or as well as the C99 generic macros) then we
18272 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18273 # and must use the ones from <math.h> instead.
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18275 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18276 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18277 $as_echo_n "(cached) " >&6
18278 else
18279
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18282 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18283 #include <math.h>
18284 #undef isinf
18285 namespace std {
18286 using ::isinf;
18287 bool isinf(float);
18288 bool isinf(long double);
18289 }
18290 using std::isinf;
18291 bool b = isinf(0.0);
18292
18293 _ACEOF
18294 if ac_fn_cxx_try_compile "$LINENO"; then :
18295 glibcxx_cv_obsolete_isinf=yes
18296 else
18297 glibcxx_cv_obsolete_isinf=no
18298
18299 fi
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 fi
18302
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18304 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18305 if test $glibcxx_cv_obsolete_isinf = yes; then
18306
18307 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18308
18309 fi
18310
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18312 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18313 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18314 $as_echo_n "(cached) " >&6
18315 else
18316
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18319 #include <math.h>
18320 #undef isnan
18321 namespace std {
18322 using ::isnan;
18323 bool isnan(float);
18324 bool isnan(long double);
18325 }
18326 using std::isnan;
18327 bool b = isnan(0.0);
18328
18329 _ACEOF
18330 if ac_fn_cxx_try_compile "$LINENO"; then :
18331 glibcxx_cv_obsolete_isnan=yes
18332 else
18333 glibcxx_cv_obsolete_isnan=no
18334
18335 fi
18336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18337 fi
18338
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18340 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18341 if test $glibcxx_cv_obsolete_isnan = yes; then
18342
18343 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18344
18345 fi
18346 ;;
18347 esac
18348
18349 CXXFLAGS="$ac_save_CXXFLAGS"
18350 ac_ext=c
18351 ac_cpp='$CPP $CPPFLAGS'
18352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18355
18356
18357
18358
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18360 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18361 if test "${glibcxx_cv_system_error1+set}" = set; then :
18362 $as_echo_n "(cached) " >&6
18363 else
18364
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18367 #include <errno.h>
18368 int
18369 main ()
18370 {
18371 int i = EOWNERDEAD;
18372 ;
18373 return 0;
18374 }
18375 _ACEOF
18376 if ac_fn_c_try_compile "$LINENO"; then :
18377 glibcxx_cv_system_error1=yes
18378 else
18379 glibcxx_cv_system_error1=no
18380 fi
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382
18383 fi
18384
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18386 $as_echo "$glibcxx_cv_system_error1" >&6; }
18387 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18388
18389 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18390
18391 fi
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18393 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18394 if test "${glibcxx_cv_system_error2+set}" = set; then :
18395 $as_echo_n "(cached) " >&6
18396 else
18397
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18400 #include <errno.h>
18401 int
18402 main ()
18403 {
18404 int i = ENOTRECOVERABLE;
18405 ;
18406 return 0;
18407 }
18408 _ACEOF
18409 if ac_fn_c_try_compile "$LINENO"; then :
18410 glibcxx_cv_system_error2=yes
18411 else
18412 glibcxx_cv_system_error2=no
18413 fi
18414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18415
18416 fi
18417
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18419 $as_echo "$glibcxx_cv_system_error2" >&6; }
18420 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18421
18422 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18423
18424 fi
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18426 $as_echo_n "checking for ENOLINK... " >&6; }
18427 if test "${glibcxx_cv_system_error3+set}" = set; then :
18428 $as_echo_n "(cached) " >&6
18429 else
18430
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18433 #include <errno.h>
18434 int
18435 main ()
18436 {
18437 int i = ENOLINK;
18438 ;
18439 return 0;
18440 }
18441 _ACEOF
18442 if ac_fn_c_try_compile "$LINENO"; then :
18443 glibcxx_cv_system_error3=yes
18444 else
18445 glibcxx_cv_system_error3=no
18446 fi
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18448
18449 fi
18450
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18452 $as_echo "$glibcxx_cv_system_error3" >&6; }
18453 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18454
18455 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18456
18457 fi
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18459 $as_echo_n "checking for EPROTO... " >&6; }
18460 if test "${glibcxx_cv_system_error4+set}" = set; then :
18461 $as_echo_n "(cached) " >&6
18462 else
18463
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 #include <errno.h>
18467 int
18468 main ()
18469 {
18470 int i = EPROTO;
18471 ;
18472 return 0;
18473 }
18474 _ACEOF
18475 if ac_fn_c_try_compile "$LINENO"; then :
18476 glibcxx_cv_system_error4=yes
18477 else
18478 glibcxx_cv_system_error4=no
18479 fi
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481
18482 fi
18483
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18485 $as_echo "$glibcxx_cv_system_error4" >&6; }
18486 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18487
18488 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18489
18490 fi
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18492 $as_echo_n "checking for ENODATA... " >&6; }
18493 if test "${glibcxx_cv_system_error5+set}" = set; then :
18494 $as_echo_n "(cached) " >&6
18495 else
18496
18497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18498 /* end confdefs.h. */
18499 #include <errno.h>
18500 int
18501 main ()
18502 {
18503 int i = ENODATA;
18504 ;
18505 return 0;
18506 }
18507 _ACEOF
18508 if ac_fn_c_try_compile "$LINENO"; then :
18509 glibcxx_cv_system_error5=yes
18510 else
18511 glibcxx_cv_system_error5=no
18512 fi
18513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18514
18515 fi
18516
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18518 $as_echo "$glibcxx_cv_system_error5" >&6; }
18519 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18520
18521 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18522
18523 fi
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18525 $as_echo_n "checking for ENOSR... " >&6; }
18526 if test "${glibcxx_cv_system_error6+set}" = set; then :
18527 $as_echo_n "(cached) " >&6
18528 else
18529
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 #include <errno.h>
18533 int
18534 main ()
18535 {
18536 int i = ENOSR;
18537 ;
18538 return 0;
18539 }
18540 _ACEOF
18541 if ac_fn_c_try_compile "$LINENO"; then :
18542 glibcxx_cv_system_error6=yes
18543 else
18544 glibcxx_cv_system_error6=no
18545 fi
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18547
18548 fi
18549
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18551 $as_echo "$glibcxx_cv_system_error6" >&6; }
18552 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18553
18554 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18555
18556 fi
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18558 $as_echo_n "checking for ENOSTR... " >&6; }
18559 if test "${glibcxx_cv_system_error7+set}" = set; then :
18560 $as_echo_n "(cached) " >&6
18561 else
18562
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 #include <errno.h>
18566 int
18567 main ()
18568 {
18569 int i = ENOSTR;
18570 ;
18571 return 0;
18572 }
18573 _ACEOF
18574 if ac_fn_c_try_compile "$LINENO"; then :
18575 glibcxx_cv_system_error7=yes
18576 else
18577 glibcxx_cv_system_error7=no
18578 fi
18579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18580
18581 fi
18582
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18584 $as_echo "$glibcxx_cv_system_error7" >&6; }
18585 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18586
18587 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18588
18589 fi
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18591 $as_echo_n "checking for ETIME... " >&6; }
18592 if test "${glibcxx_cv_system_error8+set}" = set; then :
18593 $as_echo_n "(cached) " >&6
18594 else
18595
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 #include <errno.h>
18599 int
18600 main ()
18601 {
18602 int i = ETIME;
18603 ;
18604 return 0;
18605 }
18606 _ACEOF
18607 if ac_fn_c_try_compile "$LINENO"; then :
18608 glibcxx_cv_system_error8=yes
18609 else
18610 glibcxx_cv_system_error8=no
18611 fi
18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18613
18614 fi
18615
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18617 $as_echo "$glibcxx_cv_system_error8" >&6; }
18618 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18619
18620 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18621
18622 fi
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18624 $as_echo_n "checking for EBADMSG... " >&6; }
18625 if test "${glibcxx_cv_system_error9+set}" = set; then :
18626 $as_echo_n "(cached) " >&6
18627 else
18628
18629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h. */
18631 #include <errno.h>
18632 int
18633 main ()
18634 {
18635 int i = EBADMSG;
18636 ;
18637 return 0;
18638 }
18639 _ACEOF
18640 if ac_fn_c_try_compile "$LINENO"; then :
18641 glibcxx_cv_system_error9=yes
18642 else
18643 glibcxx_cv_system_error9=no
18644 fi
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18646
18647 fi
18648
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18650 $as_echo "$glibcxx_cv_system_error9" >&6; }
18651 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18652
18653 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18654
18655 fi
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18657 $as_echo_n "checking for ECANCELED... " >&6; }
18658 if test "${glibcxx_cv_system_error10+set}" = set; then :
18659 $as_echo_n "(cached) " >&6
18660 else
18661
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18664 #include <errno.h>
18665 int
18666 main ()
18667 {
18668 int i = ECANCELED;
18669 ;
18670 return 0;
18671 }
18672 _ACEOF
18673 if ac_fn_c_try_compile "$LINENO"; then :
18674 glibcxx_cv_system_error10=yes
18675 else
18676 glibcxx_cv_system_error10=no
18677 fi
18678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18679
18680 fi
18681
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18683 $as_echo "$glibcxx_cv_system_error10" >&6; }
18684 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18685
18686 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18687
18688 fi
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18690 $as_echo_n "checking for EOVERFLOW... " >&6; }
18691 if test "${glibcxx_cv_system_error11+set}" = set; then :
18692 $as_echo_n "(cached) " >&6
18693 else
18694
18695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18696 /* end confdefs.h. */
18697 #include <errno.h>
18698 int
18699 main ()
18700 {
18701 int i = EOVERFLOW;
18702 ;
18703 return 0;
18704 }
18705 _ACEOF
18706 if ac_fn_c_try_compile "$LINENO"; then :
18707 glibcxx_cv_system_error11=yes
18708 else
18709 glibcxx_cv_system_error11=no
18710 fi
18711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18712
18713 fi
18714
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18716 $as_echo "$glibcxx_cv_system_error11" >&6; }
18717 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18718
18719 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18720
18721 fi
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18723 $as_echo_n "checking for ENOTSUP... " >&6; }
18724 if test "${glibcxx_cv_system_error12+set}" = set; then :
18725 $as_echo_n "(cached) " >&6
18726 else
18727
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18730 #include <errno.h>
18731 int
18732 main ()
18733 {
18734 int i = ENOTSUP;
18735 ;
18736 return 0;
18737 }
18738 _ACEOF
18739 if ac_fn_c_try_compile "$LINENO"; then :
18740 glibcxx_cv_system_error12=yes
18741 else
18742 glibcxx_cv_system_error12=no
18743 fi
18744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745
18746 fi
18747
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18749 $as_echo "$glibcxx_cv_system_error12" >&6; }
18750 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18751
18752 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18753
18754 fi
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18756 $as_echo_n "checking for EIDRM... " >&6; }
18757 if test "${glibcxx_cv_system_error13+set}" = set; then :
18758 $as_echo_n "(cached) " >&6
18759 else
18760
18761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18762 /* end confdefs.h. */
18763 #include <errno.h>
18764 int
18765 main ()
18766 {
18767 int i = EIDRM;
18768 ;
18769 return 0;
18770 }
18771 _ACEOF
18772 if ac_fn_c_try_compile "$LINENO"; then :
18773 glibcxx_cv_system_error13=yes
18774 else
18775 glibcxx_cv_system_error13=no
18776 fi
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778
18779 fi
18780
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18782 $as_echo "$glibcxx_cv_system_error13" >&6; }
18783 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18784
18785 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18786
18787 fi
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18789 $as_echo_n "checking for ETXTBSY... " >&6; }
18790 if test "${glibcxx_cv_system_error14+set}" = set; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18793
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 #include <errno.h>
18797 int
18798 main ()
18799 {
18800 int i = ETXTBSY;
18801 ;
18802 return 0;
18803 }
18804 _ACEOF
18805 if ac_fn_c_try_compile "$LINENO"; then :
18806 glibcxx_cv_system_error14=yes
18807 else
18808 glibcxx_cv_system_error14=no
18809 fi
18810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18811
18812 fi
18813
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18815 $as_echo "$glibcxx_cv_system_error14" >&6; }
18816 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18817
18818 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18819
18820 fi
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18822 $as_echo_n "checking for ECHILD... " >&6; }
18823 if test "${glibcxx_cv_system_error15+set}" = set; then :
18824 $as_echo_n "(cached) " >&6
18825 else
18826
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 #include <errno.h>
18830 int
18831 main ()
18832 {
18833 int i = ECHILD;
18834 ;
18835 return 0;
18836 }
18837 _ACEOF
18838 if ac_fn_c_try_compile "$LINENO"; then :
18839 glibcxx_cv_system_error15=yes
18840 else
18841 glibcxx_cv_system_error15=no
18842 fi
18843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18844
18845 fi
18846
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18848 $as_echo "$glibcxx_cv_system_error15" >&6; }
18849 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18850
18851 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18852
18853 fi
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18855 $as_echo_n "checking for ENOSPC... " >&6; }
18856 if test "${glibcxx_cv_system_error16+set}" = set; then :
18857 $as_echo_n "(cached) " >&6
18858 else
18859
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 #include <errno.h>
18863 int
18864 main ()
18865 {
18866 int i = ENOSPC;
18867 ;
18868 return 0;
18869 }
18870 _ACEOF
18871 if ac_fn_c_try_compile "$LINENO"; then :
18872 glibcxx_cv_system_error16=yes
18873 else
18874 glibcxx_cv_system_error16=no
18875 fi
18876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18877
18878 fi
18879
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18881 $as_echo "$glibcxx_cv_system_error16" >&6; }
18882 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18883
18884 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18885
18886 fi
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18888 $as_echo_n "checking for EPERM... " >&6; }
18889 if test "${glibcxx_cv_system_error17+set}" = set; then :
18890 $as_echo_n "(cached) " >&6
18891 else
18892
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18895 #include <errno.h>
18896 int
18897 main ()
18898 {
18899 int i = EPERM;
18900 ;
18901 return 0;
18902 }
18903 _ACEOF
18904 if ac_fn_c_try_compile "$LINENO"; then :
18905 glibcxx_cv_system_error17=yes
18906 else
18907 glibcxx_cv_system_error17=no
18908 fi
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18910
18911 fi
18912
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18914 $as_echo "$glibcxx_cv_system_error17" >&6; }
18915 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18916
18917 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18918
18919 fi
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18921 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18922 if test "${glibcxx_cv_system_error18+set}" = set; then :
18923 $as_echo_n "(cached) " >&6
18924 else
18925
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18928 #include <errno.h>
18929 int
18930 main ()
18931 {
18932 int i = ETIMEDOUT;
18933 ;
18934 return 0;
18935 }
18936 _ACEOF
18937 if ac_fn_c_try_compile "$LINENO"; then :
18938 glibcxx_cv_system_error18=yes
18939 else
18940 glibcxx_cv_system_error18=no
18941 fi
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18943
18944 fi
18945
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18947 $as_echo "$glibcxx_cv_system_error18" >&6; }
18948 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18949
18950 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18951
18952 fi
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18954 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18955 if test "${glibcxx_cv_system_error19+set}" = set; then :
18956 $as_echo_n "(cached) " >&6
18957 else
18958
18959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18961 #include <errno.h>
18962 int
18963 main ()
18964 {
18965 int i = EWOULDBLOCK;
18966 ;
18967 return 0;
18968 }
18969 _ACEOF
18970 if ac_fn_c_try_compile "$LINENO"; then :
18971 glibcxx_cv_system_error19=yes
18972 else
18973 glibcxx_cv_system_error19=no
18974 fi
18975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18976
18977 fi
18978
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18980 $as_echo "$glibcxx_cv_system_error19" >&6; }
18981 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18982
18983 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18984
18985 fi
18986
18987
18988
18989
18990 # Test uchar.h.
18991 for ac_header in uchar.h
18992 do :
18993 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18994 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_UCHAR_H 1
18997 _ACEOF
18998 ac_has_uchar_h=yes
18999 else
19000 ac_has_uchar_h=no
19001 fi
19002
19003 done
19004
19005
19006
19007 ac_ext=cpp
19008 ac_cpp='$CXXCPP $CPPFLAGS'
19009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19012
19013 ac_save_CXXFLAGS="$CXXFLAGS"
19014 CXXFLAGS="$CXXFLAGS -std=c++11"
19015
19016 if test x"$ac_has_uchar_h" = x"yes"; then
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19018 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19021 #include <uchar.h>
19022 #ifdef __STDC_UTF_16__
19023 long i = __STDC_UTF_16__;
19024 #endif
19025 #ifdef __STDC_UTF_32__
19026 long j = __STDC_UTF_32__;
19027 #endif
19028 namespace test
19029 {
19030 using ::c16rtomb;
19031 using ::c32rtomb;
19032 using ::mbrtoc16;
19033 using ::mbrtoc32;
19034 }
19035
19036 int
19037 main ()
19038 {
19039
19040 ;
19041 return 0;
19042 }
19043 _ACEOF
19044 if ac_fn_cxx_try_compile "$LINENO"; then :
19045 ac_c11_uchar_cxx11=yes
19046 else
19047 ac_c11_uchar_cxx11=no
19048 fi
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19050 else
19051 ac_c11_uchar_cxx11=no
19052 fi
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19054 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19055 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19056
19057 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19058
19059 fi
19060
19061 CXXFLAGS="$ac_save_CXXFLAGS"
19062 ac_ext=c
19063 ac_cpp='$CPP $CPPFLAGS'
19064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19067
19068
19069
19070 # For the streamoff typedef.
19071
19072
19073
19074 ac_ext=cpp
19075 ac_cpp='$CXXCPP $CPPFLAGS'
19076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19079
19080
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19082 $as_echo_n "checking for int64_t... " >&6; }
19083 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19084 $as_echo_n "(cached) " >&6
19085 else
19086
19087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19088 /* end confdefs.h. */
19089 #include <stdint.h>
19090 int
19091 main ()
19092 {
19093 int64_t var;
19094 ;
19095 return 0;
19096 }
19097 _ACEOF
19098 if ac_fn_cxx_try_compile "$LINENO"; then :
19099 glibcxx_cv_INT64_T=yes
19100 else
19101 glibcxx_cv_INT64_T=no
19102 fi
19103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19104
19105 fi
19106
19107
19108 if test $glibcxx_cv_INT64_T = yes; then
19109
19110 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19111
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19113 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19114
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19116 $as_echo_n "checking for int64_t as long... " >&6; }
19117 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19118 $as_echo_n "(cached) " >&6
19119 else
19120
19121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122 /* end confdefs.h. */
19123 #include <stdint.h>
19124 template<typename, typename> struct same { enum { value = -1 }; };
19125 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19126 int array[same<int64_t, long>::value];
19127 int
19128 main ()
19129 {
19130
19131 ;
19132 return 0;
19133 }
19134 _ACEOF
19135 if ac_fn_cxx_try_compile "$LINENO"; then :
19136 glibcxx_cv_int64_t_long=yes
19137 else
19138 glibcxx_cv_int64_t_long=no
19139 fi
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141
19142 fi
19143
19144
19145 if test $glibcxx_cv_int64_t_long = yes; then
19146
19147 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19148
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19150 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19151 fi
19152
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19154 $as_echo_n "checking for int64_t as long long... " >&6; }
19155 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19156 $as_echo_n "(cached) " >&6
19157 else
19158
19159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19160 /* end confdefs.h. */
19161 #include <stdint.h>
19162 template<typename, typename> struct same { enum { value = -1 }; };
19163 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19164 int array[same<int64_t, long long>::value];
19165 int
19166 main ()
19167 {
19168
19169 ;
19170 return 0;
19171 }
19172 _ACEOF
19173 if ac_fn_cxx_try_compile "$LINENO"; then :
19174 glibcxx_cv_int64_t_long_long=yes
19175 else
19176 glibcxx_cv_int64_t_long_long=no
19177 fi
19178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19179
19180 fi
19181
19182
19183 if test $glibcxx_cv_int64_t_long_long = yes; then
19184
19185 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19186
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19188 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19189 fi
19190 fi
19191
19192 ac_ext=c
19193 ac_cpp='$CPP $CPPFLAGS'
19194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19197
19198
19199
19200 # For LFS support.
19201
19202
19203 ac_ext=cpp
19204 ac_cpp='$CXXCPP $CPPFLAGS'
19205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19208
19209 ac_save_CXXFLAGS="$CXXFLAGS"
19210 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19212 $as_echo_n "checking for LFS support... " >&6; }
19213 if test "${glibcxx_cv_LFS+set}" = set; then :
19214 $as_echo_n "(cached) " >&6
19215 else
19216
19217 if test x$gcc_no_link = xyes; then
19218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19220 #include <unistd.h>
19221 #include <stdio.h>
19222 #include <sys/stat.h>
19223
19224 int
19225 main ()
19226 {
19227 FILE* fp;
19228 fopen64("t", "w");
19229 fseeko64(fp, 0, SEEK_CUR);
19230 ftello64(fp);
19231 lseek64(1, 0, SEEK_CUR);
19232 struct stat64 buf;
19233 fstat64(1, &buf);
19234 ;
19235 return 0;
19236 }
19237 _ACEOF
19238 if ac_fn_cxx_try_compile "$LINENO"; then :
19239 glibcxx_cv_LFS=yes
19240 else
19241 glibcxx_cv_LFS=no
19242 fi
19243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 else
19245 if test x$gcc_no_link = xyes; then
19246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19247 fi
19248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19249 /* end confdefs.h. */
19250 #include <unistd.h>
19251 #include <stdio.h>
19252 #include <sys/stat.h>
19253
19254 int
19255 main ()
19256 {
19257 FILE* fp;
19258 fopen64("t", "w");
19259 fseeko64(fp, 0, SEEK_CUR);
19260 ftello64(fp);
19261 lseek64(1, 0, SEEK_CUR);
19262 struct stat64 buf;
19263 fstat64(1, &buf);
19264 ;
19265 return 0;
19266 }
19267 _ACEOF
19268 if ac_fn_cxx_try_link "$LINENO"; then :
19269 glibcxx_cv_LFS=yes
19270 else
19271 glibcxx_cv_LFS=no
19272 fi
19273 rm -f core conftest.err conftest.$ac_objext \
19274 conftest$ac_exeext conftest.$ac_ext
19275 fi
19276
19277 fi
19278
19279 if test $glibcxx_cv_LFS = yes; then
19280
19281 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19282
19283 fi
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19285 $as_echo "$glibcxx_cv_LFS" >&6; }
19286 CXXFLAGS="$ac_save_CXXFLAGS"
19287 ac_ext=c
19288 ac_cpp='$CPP $CPPFLAGS'
19289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19292
19293
19294
19295 # For showmanyc_helper().
19296 for ac_header in sys/ioctl.h sys/filio.h
19297 do :
19298 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19299 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19300 eval as_val=\$$as_ac_Header
19301 if test "x$as_val" = x""yes; then :
19302 cat >>confdefs.h <<_ACEOF
19303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19304 _ACEOF
19305
19306 fi
19307
19308 done
19309
19310
19311
19312
19313 ac_ext=cpp
19314 ac_cpp='$CXXCPP $CPPFLAGS'
19315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19318
19319 ac_save_CXXFLAGS="$CXXFLAGS"
19320 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19321
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19323 $as_echo_n "checking for poll... " >&6; }
19324 if test "${glibcxx_cv_POLL+set}" = set; then :
19325 $as_echo_n "(cached) " >&6
19326 else
19327
19328 if test x$gcc_no_link = xyes; then
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <poll.h>
19332 int
19333 main ()
19334 {
19335 struct pollfd pfd[1];
19336 pfd[0].events = POLLIN;
19337 poll(pfd, 1, 0);
19338 ;
19339 return 0;
19340 }
19341 _ACEOF
19342 if ac_fn_cxx_try_compile "$LINENO"; then :
19343 glibcxx_cv_POLL=yes
19344 else
19345 glibcxx_cv_POLL=no
19346 fi
19347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 else
19349 if test x$gcc_no_link = xyes; then
19350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19351 fi
19352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h. */
19354 #include <poll.h>
19355 int
19356 main ()
19357 {
19358 struct pollfd pfd[1];
19359 pfd[0].events = POLLIN;
19360 poll(pfd, 1, 0);
19361 ;
19362 return 0;
19363 }
19364 _ACEOF
19365 if ac_fn_cxx_try_link "$LINENO"; then :
19366 glibcxx_cv_POLL=yes
19367 else
19368 glibcxx_cv_POLL=no
19369 fi
19370 rm -f core conftest.err conftest.$ac_objext \
19371 conftest$ac_exeext conftest.$ac_ext
19372 fi
19373
19374 fi
19375
19376 if test $glibcxx_cv_POLL = yes; then
19377
19378 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19379
19380 fi
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19382 $as_echo "$glibcxx_cv_POLL" >&6; }
19383
19384 CXXFLAGS="$ac_save_CXXFLAGS"
19385 ac_ext=c
19386 ac_cpp='$CPP $CPPFLAGS'
19387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19390
19391
19392
19393
19394
19395 ac_ext=cpp
19396 ac_cpp='$CXXCPP $CPPFLAGS'
19397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19400
19401 ac_save_CXXFLAGS="$CXXFLAGS"
19402 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19403
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19405 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19406 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19407 $as_echo_n "(cached) " >&6
19408 else
19409
19410 if test x$gcc_no_link = xyes; then
19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19413 #include <sys/stat.h>
19414 int
19415 main ()
19416 {
19417 struct stat buffer;
19418 fstat(0, &buffer);
19419 S_ISREG(buffer.st_mode);
19420 ;
19421 return 0;
19422 }
19423 _ACEOF
19424 if ac_fn_cxx_try_compile "$LINENO"; then :
19425 glibcxx_cv_S_ISREG=yes
19426 else
19427 glibcxx_cv_S_ISREG=no
19428 fi
19429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19430 else
19431 if test x$gcc_no_link = xyes; then
19432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19433 fi
19434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19435 /* end confdefs.h. */
19436 #include <sys/stat.h>
19437 int
19438 main ()
19439 {
19440 struct stat buffer;
19441 fstat(0, &buffer);
19442 S_ISREG(buffer.st_mode);
19443 ;
19444 return 0;
19445 }
19446 _ACEOF
19447 if ac_fn_cxx_try_link "$LINENO"; then :
19448 glibcxx_cv_S_ISREG=yes
19449 else
19450 glibcxx_cv_S_ISREG=no
19451 fi
19452 rm -f core conftest.err conftest.$ac_objext \
19453 conftest$ac_exeext conftest.$ac_ext
19454 fi
19455
19456 fi
19457
19458 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19459 $as_echo_n "(cached) " >&6
19460 else
19461
19462 if test x$gcc_no_link = xyes; then
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 #include <sys/stat.h>
19466 int
19467 main ()
19468 {
19469 struct stat buffer;
19470 fstat(0, &buffer);
19471 S_IFREG & buffer.st_mode;
19472 ;
19473 return 0;
19474 }
19475 _ACEOF
19476 if ac_fn_cxx_try_compile "$LINENO"; then :
19477 glibcxx_cv_S_IFREG=yes
19478 else
19479 glibcxx_cv_S_IFREG=no
19480 fi
19481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 else
19483 if test x$gcc_no_link = xyes; then
19484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19485 fi
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488 #include <sys/stat.h>
19489 int
19490 main ()
19491 {
19492 struct stat buffer;
19493 fstat(0, &buffer);
19494 S_IFREG & buffer.st_mode;
19495 ;
19496 return 0;
19497 }
19498 _ACEOF
19499 if ac_fn_cxx_try_link "$LINENO"; then :
19500 glibcxx_cv_S_IFREG=yes
19501 else
19502 glibcxx_cv_S_IFREG=no
19503 fi
19504 rm -f core conftest.err conftest.$ac_objext \
19505 conftest$ac_exeext conftest.$ac_ext
19506 fi
19507
19508 fi
19509
19510 res=no
19511 if test $glibcxx_cv_S_ISREG = yes; then
19512
19513 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19514
19515 res=S_ISREG
19516 elif test $glibcxx_cv_S_IFREG = yes; then
19517
19518 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19519
19520 res=S_IFREG
19521 fi
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19523 $as_echo "$res" >&6; }
19524
19525 CXXFLAGS="$ac_save_CXXFLAGS"
19526 ac_ext=c
19527 ac_cpp='$CPP $CPPFLAGS'
19528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19531
19532
19533
19534 # For xsputn_2().
19535 for ac_header in sys/uio.h
19536 do :
19537 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19538 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19539 cat >>confdefs.h <<_ACEOF
19540 #define HAVE_SYS_UIO_H 1
19541 _ACEOF
19542
19543 fi
19544
19545 done
19546
19547
19548
19549
19550 ac_ext=cpp
19551 ac_cpp='$CXXCPP $CPPFLAGS'
19552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19555
19556 ac_save_CXXFLAGS="$CXXFLAGS"
19557 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19558
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19560 $as_echo_n "checking for writev... " >&6; }
19561 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19562 $as_echo_n "(cached) " >&6
19563 else
19564
19565 if test x$gcc_no_link = xyes; then
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 #include <sys/uio.h>
19569 int
19570 main ()
19571 {
19572 struct iovec iov[2];
19573 writev(0, iov, 0);
19574 ;
19575 return 0;
19576 }
19577 _ACEOF
19578 if ac_fn_cxx_try_compile "$LINENO"; then :
19579 glibcxx_cv_WRITEV=yes
19580 else
19581 glibcxx_cv_WRITEV=no
19582 fi
19583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 else
19585 if test x$gcc_no_link = xyes; then
19586 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19587 fi
19588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19590 #include <sys/uio.h>
19591 int
19592 main ()
19593 {
19594 struct iovec iov[2];
19595 writev(0, iov, 0);
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 if ac_fn_cxx_try_link "$LINENO"; then :
19601 glibcxx_cv_WRITEV=yes
19602 else
19603 glibcxx_cv_WRITEV=no
19604 fi
19605 rm -f core conftest.err conftest.$ac_objext \
19606 conftest$ac_exeext conftest.$ac_ext
19607 fi
19608
19609 fi
19610
19611 if test $glibcxx_cv_WRITEV = yes; then
19612
19613 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19614
19615 fi
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19617 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19618
19619 CXXFLAGS="$ac_save_CXXFLAGS"
19620 ac_ext=c
19621 ac_cpp='$CPP $CPPFLAGS'
19622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19625
19626
19627
19628 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19629 # so that the check is done with the C compiler (not C++).
19630 # Checking with C++ can break a canadian cross build if either
19631 # file does not exist in C but does in C++.
19632 for ac_header in fenv.h complex.h
19633 do :
19634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19635 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19636 eval as_val=\$$as_ac_Header
19637 if test "x$as_val" = x""yes; then :
19638 cat >>confdefs.h <<_ACEOF
19639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19640 _ACEOF
19641
19642 fi
19643
19644 done
19645
19646
19647 # For C99 support to TR1.
19648
19649
19650
19651 ac_ext=cpp
19652 ac_cpp='$CXXCPP $CPPFLAGS'
19653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19656
19657
19658 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19659 # undefined and fake C99 facilities may be spuriously enabled.
19660 ac_save_CXXFLAGS="$CXXFLAGS"
19661 CXXFLAGS="$CXXFLAGS -std=c++98"
19662
19663 # Check for the existence of <complex.h> complex math functions used
19664 # by tr1/complex.
19665 for ac_header in complex.h
19666 do :
19667 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19668 if test "x$ac_cv_header_complex_h" = x""yes; then :
19669 cat >>confdefs.h <<_ACEOF
19670 #define HAVE_COMPLEX_H 1
19671 _ACEOF
19672 ac_has_complex_h=yes
19673 else
19674 ac_has_complex_h=no
19675 fi
19676
19677 done
19678
19679 ac_c99_complex_tr1=no;
19680 if test x"$ac_has_complex_h" = x"yes"; then
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19682 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19685 #include <complex.h>
19686 int
19687 main ()
19688 {
19689 typedef __complex__ float float_type; float_type tmpf;
19690 cacosf(tmpf);
19691 casinf(tmpf);
19692 catanf(tmpf);
19693 cacoshf(tmpf);
19694 casinhf(tmpf);
19695 catanhf(tmpf);
19696 typedef __complex__ double double_type; double_type tmpd;
19697 cacos(tmpd);
19698 casin(tmpd);
19699 catan(tmpd);
19700 cacosh(tmpd);
19701 casinh(tmpd);
19702 catanh(tmpd);
19703 typedef __complex__ long double ld_type; ld_type tmpld;
19704 cacosl(tmpld);
19705 casinl(tmpld);
19706 catanl(tmpld);
19707 cacoshl(tmpld);
19708 casinhl(tmpld);
19709 catanhl(tmpld);
19710
19711 ;
19712 return 0;
19713 }
19714 _ACEOF
19715 if ac_fn_cxx_try_compile "$LINENO"; then :
19716 ac_c99_complex_tr1=yes
19717 else
19718 ac_c99_complex_tr1=no
19719 fi
19720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 fi
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19723 $as_echo "$ac_c99_complex_tr1" >&6; }
19724 if test x"$ac_c99_complex_tr1" = x"yes"; then
19725
19726 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19727
19728 fi
19729
19730 # Check for the existence of <ctype.h> functions.
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19732 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19733 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19734 $as_echo_n "(cached) " >&6
19735 else
19736
19737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19738 /* end confdefs.h. */
19739 #include <ctype.h>
19740 int
19741 main ()
19742 {
19743 int ch;
19744 int ret;
19745 ret = isblank(ch);
19746
19747 ;
19748 return 0;
19749 }
19750 _ACEOF
19751 if ac_fn_cxx_try_compile "$LINENO"; then :
19752 glibcxx_cv_c99_ctype_tr1=yes
19753 else
19754 glibcxx_cv_c99_ctype_tr1=no
19755 fi
19756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19757
19758 fi
19759
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19761 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19762 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19763
19764 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19765
19766 fi
19767
19768 # Check for the existence of <fenv.h> functions.
19769 for ac_header in fenv.h
19770 do :
19771 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19772 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19773 cat >>confdefs.h <<_ACEOF
19774 #define HAVE_FENV_H 1
19775 _ACEOF
19776 ac_has_fenv_h=yes
19777 else
19778 ac_has_fenv_h=no
19779 fi
19780
19781 done
19782
19783 ac_c99_fenv_tr1=no;
19784 if test x"$ac_has_fenv_h" = x"yes"; then
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19786 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19789 #include <fenv.h>
19790 int
19791 main ()
19792 {
19793 int except, mode;
19794 fexcept_t* pflag;
19795 fenv_t* penv;
19796 int ret;
19797 ret = feclearexcept(except);
19798 ret = fegetexceptflag(pflag, except);
19799 ret = feraiseexcept(except);
19800 ret = fesetexceptflag(pflag, except);
19801 ret = fetestexcept(except);
19802 ret = fegetround();
19803 ret = fesetround(mode);
19804 ret = fegetenv(penv);
19805 ret = feholdexcept(penv);
19806 ret = fesetenv(penv);
19807 ret = feupdateenv(penv);
19808
19809 ;
19810 return 0;
19811 }
19812 _ACEOF
19813 if ac_fn_cxx_try_compile "$LINENO"; then :
19814 ac_c99_fenv_tr1=yes
19815 else
19816 ac_c99_fenv_tr1=no
19817 fi
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 fi
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19821 $as_echo "$ac_c99_fenv_tr1" >&6; }
19822 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19823
19824 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19825
19826 fi
19827
19828 # Check for the existence of <stdint.h> types.
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19830 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19831 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19832 $as_echo_n "(cached) " >&6
19833 else
19834
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19837 #define __STDC_LIMIT_MACROS
19838 #define __STDC_CONSTANT_MACROS
19839 #include <stdint.h>
19840 int
19841 main ()
19842 {
19843 typedef int8_t my_int8_t;
19844 my_int8_t i8 = INT8_MIN;
19845 i8 = INT8_MAX;
19846 typedef int16_t my_int16_t;
19847 my_int16_t i16 = INT16_MIN;
19848 i16 = INT16_MAX;
19849 typedef int32_t my_int32_t;
19850 my_int32_t i32 = INT32_MIN;
19851 i32 = INT32_MAX;
19852 typedef int64_t my_int64_t;
19853 my_int64_t i64 = INT64_MIN;
19854 i64 = INT64_MAX;
19855 typedef int_fast8_t my_int_fast8_t;
19856 my_int_fast8_t if8 = INT_FAST8_MIN;
19857 if8 = INT_FAST8_MAX;
19858 typedef int_fast16_t my_int_fast16_t;
19859 my_int_fast16_t if16 = INT_FAST16_MIN;
19860 if16 = INT_FAST16_MAX;
19861 typedef int_fast32_t my_int_fast32_t;
19862 my_int_fast32_t if32 = INT_FAST32_MIN;
19863 if32 = INT_FAST32_MAX;
19864 typedef int_fast64_t my_int_fast64_t;
19865 my_int_fast64_t if64 = INT_FAST64_MIN;
19866 if64 = INT_FAST64_MAX;
19867 typedef int_least8_t my_int_least8_t;
19868 my_int_least8_t il8 = INT_LEAST8_MIN;
19869 il8 = INT_LEAST8_MAX;
19870 typedef int_least16_t my_int_least16_t;
19871 my_int_least16_t il16 = INT_LEAST16_MIN;
19872 il16 = INT_LEAST16_MAX;
19873 typedef int_least32_t my_int_least32_t;
19874 my_int_least32_t il32 = INT_LEAST32_MIN;
19875 il32 = INT_LEAST32_MAX;
19876 typedef int_least64_t my_int_least64_t;
19877 my_int_least64_t il64 = INT_LEAST64_MIN;
19878 il64 = INT_LEAST64_MAX;
19879 typedef intmax_t my_intmax_t;
19880 my_intmax_t im = INTMAX_MAX;
19881 im = INTMAX_MIN;
19882 typedef intptr_t my_intptr_t;
19883 my_intptr_t ip = INTPTR_MAX;
19884 ip = INTPTR_MIN;
19885 typedef uint8_t my_uint8_t;
19886 my_uint8_t ui8 = UINT8_MAX;
19887 ui8 = UINT8_MAX;
19888 typedef uint16_t my_uint16_t;
19889 my_uint16_t ui16 = UINT16_MAX;
19890 ui16 = UINT16_MAX;
19891 typedef uint32_t my_uint32_t;
19892 my_uint32_t ui32 = UINT32_MAX;
19893 ui32 = UINT32_MAX;
19894 typedef uint64_t my_uint64_t;
19895 my_uint64_t ui64 = UINT64_MAX;
19896 ui64 = UINT64_MAX;
19897 typedef uint_fast8_t my_uint_fast8_t;
19898 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19899 uif8 = UINT_FAST8_MAX;
19900 typedef uint_fast16_t my_uint_fast16_t;
19901 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19902 uif16 = UINT_FAST16_MAX;
19903 typedef uint_fast32_t my_uint_fast32_t;
19904 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19905 uif32 = UINT_FAST32_MAX;
19906 typedef uint_fast64_t my_uint_fast64_t;
19907 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19908 uif64 = UINT_FAST64_MAX;
19909 typedef uint_least8_t my_uint_least8_t;
19910 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19911 uil8 = UINT_LEAST8_MAX;
19912 typedef uint_least16_t my_uint_least16_t;
19913 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19914 uil16 = UINT_LEAST16_MAX;
19915 typedef uint_least32_t my_uint_least32_t;
19916 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19917 uil32 = UINT_LEAST32_MAX;
19918 typedef uint_least64_t my_uint_least64_t;
19919 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19920 uil64 = UINT_LEAST64_MAX;
19921 typedef uintmax_t my_uintmax_t;
19922 my_uintmax_t uim = UINTMAX_MAX;
19923 uim = UINTMAX_MAX;
19924 typedef uintptr_t my_uintptr_t;
19925 my_uintptr_t uip = UINTPTR_MAX;
19926 uip = UINTPTR_MAX;
19927
19928 ;
19929 return 0;
19930 }
19931 _ACEOF
19932 if ac_fn_cxx_try_compile "$LINENO"; then :
19933 glibcxx_cv_c99_stdint_tr1=yes
19934 else
19935 glibcxx_cv_c99_stdint_tr1=no
19936 fi
19937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19938
19939 fi
19940
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19942 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19943 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19944
19945 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19946
19947 fi
19948
19949 # Check for the existence of <math.h> functions.
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19951 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19952 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19953 $as_echo_n "(cached) " >&6
19954 else
19955
19956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #include <math.h>
19959 int
19960 main ()
19961 {
19962 typedef double_t my_double_t;
19963 typedef float_t my_float_t;
19964 acosh(0.0);
19965 acoshf(0.0f);
19966 acoshl(0.0l);
19967 asinh(0.0);
19968 asinhf(0.0f);
19969 asinhl(0.0l);
19970 atanh(0.0);
19971 atanhf(0.0f);
19972 atanhl(0.0l);
19973 cbrt(0.0);
19974 cbrtf(0.0f);
19975 cbrtl(0.0l);
19976 copysign(0.0, 0.0);
19977 copysignf(0.0f, 0.0f);
19978 copysignl(0.0l, 0.0l);
19979 erf(0.0);
19980 erff(0.0f);
19981 erfl(0.0l);
19982 erfc(0.0);
19983 erfcf(0.0f);
19984 erfcl(0.0l);
19985 exp2(0.0);
19986 exp2f(0.0f);
19987 exp2l(0.0l);
19988 expm1(0.0);
19989 expm1f(0.0f);
19990 expm1l(0.0l);
19991 fdim(0.0, 0.0);
19992 fdimf(0.0f, 0.0f);
19993 fdiml(0.0l, 0.0l);
19994 fma(0.0, 0.0, 0.0);
19995 fmaf(0.0f, 0.0f, 0.0f);
19996 fmal(0.0l, 0.0l, 0.0l);
19997 fmax(0.0, 0.0);
19998 fmaxf(0.0f, 0.0f);
19999 fmaxl(0.0l, 0.0l);
20000 fmin(0.0, 0.0);
20001 fminf(0.0f, 0.0f);
20002 fminl(0.0l, 0.0l);
20003 hypot(0.0, 0.0);
20004 hypotf(0.0f, 0.0f);
20005 hypotl(0.0l, 0.0l);
20006 ilogb(0.0);
20007 ilogbf(0.0f);
20008 ilogbl(0.0l);
20009 lgamma(0.0);
20010 lgammaf(0.0f);
20011 lgammal(0.0l);
20012 llrint(0.0);
20013 llrintf(0.0f);
20014 llrintl(0.0l);
20015 llround(0.0);
20016 llroundf(0.0f);
20017 llroundl(0.0l);
20018 log1p(0.0);
20019 log1pf(0.0f);
20020 log1pl(0.0l);
20021 log2(0.0);
20022 log2f(0.0f);
20023 log2l(0.0l);
20024 logb(0.0);
20025 logbf(0.0f);
20026 logbl(0.0l);
20027 lrint(0.0);
20028 lrintf(0.0f);
20029 lrintl(0.0l);
20030 lround(0.0);
20031 lroundf(0.0f);
20032 lroundl(0.0l);
20033 nan(0);
20034 nanf(0);
20035 nanl(0);
20036 nearbyint(0.0);
20037 nearbyintf(0.0f);
20038 nearbyintl(0.0l);
20039 nextafter(0.0, 0.0);
20040 nextafterf(0.0f, 0.0f);
20041 nextafterl(0.0l, 0.0l);
20042 nexttoward(0.0, 0.0);
20043 nexttowardf(0.0f, 0.0f);
20044 nexttowardl(0.0l, 0.0l);
20045 remainder(0.0, 0.0);
20046 remainderf(0.0f, 0.0f);
20047 remainderl(0.0l, 0.0l);
20048 remquo(0.0, 0.0, 0);
20049 remquof(0.0f, 0.0f, 0);
20050 remquol(0.0l, 0.0l, 0);
20051 rint(0.0);
20052 rintf(0.0f);
20053 rintl(0.0l);
20054 round(0.0);
20055 roundf(0.0f);
20056 roundl(0.0l);
20057 scalbln(0.0, 0l);
20058 scalblnf(0.0f, 0l);
20059 scalblnl(0.0l, 0l);
20060 scalbn(0.0, 0);
20061 scalbnf(0.0f, 0);
20062 scalbnl(0.0l, 0);
20063 tgamma(0.0);
20064 tgammaf(0.0f);
20065 tgammal(0.0l);
20066 trunc(0.0);
20067 truncf(0.0f);
20068 truncl(0.0l);
20069
20070 ;
20071 return 0;
20072 }
20073 _ACEOF
20074 if ac_fn_cxx_try_compile "$LINENO"; then :
20075 glibcxx_cv_c99_math_tr1=yes
20076 else
20077 glibcxx_cv_c99_math_tr1=no
20078 fi
20079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20080
20081 fi
20082
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20084 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20085 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20086
20087 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20088
20089 fi
20090
20091 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20092 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20093 ac_c99_inttypes_tr1=no;
20094 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20096 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20099 #include <inttypes.h>
20100 int
20101 main ()
20102 {
20103 intmax_t i, numer, denom, base;
20104 const char* s;
20105 char** endptr;
20106 intmax_t ret = imaxabs(i);
20107 imaxdiv_t dret = imaxdiv(numer, denom);
20108 ret = strtoimax(s, endptr, base);
20109 uintmax_t uret = strtoumax(s, endptr, base);
20110
20111 ;
20112 return 0;
20113 }
20114 _ACEOF
20115 if ac_fn_cxx_try_compile "$LINENO"; then :
20116 ac_c99_inttypes_tr1=yes
20117 else
20118 ac_c99_inttypes_tr1=no
20119 fi
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 fi
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20123 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20124 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20125
20126 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20127
20128 fi
20129
20130 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20131 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20132 ac_c99_inttypes_wchar_t_tr1=no;
20133 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20135 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20137 /* end confdefs.h. */
20138 #include <inttypes.h>
20139 int
20140 main ()
20141 {
20142 intmax_t base;
20143 const wchar_t* s;
20144 wchar_t** endptr;
20145 intmax_t ret = wcstoimax(s, endptr, base);
20146 uintmax_t uret = wcstoumax(s, endptr, base);
20147
20148 ;
20149 return 0;
20150 }
20151 _ACEOF
20152 if ac_fn_cxx_try_compile "$LINENO"; then :
20153 ac_c99_inttypes_wchar_t_tr1=yes
20154 else
20155 ac_c99_inttypes_wchar_t_tr1=no
20156 fi
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 fi
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20160 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20161 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20162
20163 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20164
20165 fi
20166
20167 # Check for the existence of the <stdbool.h> header.
20168 for ac_header in stdbool.h
20169 do :
20170 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20171 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20172 cat >>confdefs.h <<_ACEOF
20173 #define HAVE_STDBOOL_H 1
20174 _ACEOF
20175
20176 fi
20177
20178 done
20179
20180
20181 # Check for the existence of the <stdalign.h> header.
20182 for ac_header in stdalign.h
20183 do :
20184 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20185 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20186 cat >>confdefs.h <<_ACEOF
20187 #define HAVE_STDALIGN_H 1
20188 _ACEOF
20189
20190 fi
20191
20192 done
20193
20194
20195 CXXFLAGS="$ac_save_CXXFLAGS"
20196 ac_ext=c
20197 ac_cpp='$CPP $CPPFLAGS'
20198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20201
20202
20203
20204 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20205
20206
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20208 $as_echo_n "checking for the value of EOF... " >&6; }
20209 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20210 $as_echo_n "(cached) " >&6
20211 else
20212
20213 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20214
20215 else
20216 as_fn_error "computing EOF failed" "$LINENO" 5
20217 fi
20218
20219
20220 fi
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20222 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20223
20224 cat >>confdefs.h <<_ACEOF
20225 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20226 _ACEOF
20227
20228
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20230 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20231 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20232 $as_echo_n "(cached) " >&6
20233 else
20234
20235 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20236
20237 else
20238 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20239 fi
20240
20241
20242 fi
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20244 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20245
20246 cat >>confdefs.h <<_ACEOF
20247 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20248 _ACEOF
20249
20250
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20252 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20253 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20254 $as_echo_n "(cached) " >&6
20255 else
20256
20257 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20258
20259 else
20260 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20261 fi
20262
20263
20264 fi
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20266 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20267
20268 cat >>confdefs.h <<_ACEOF
20269 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20270 _ACEOF
20271
20272
20273
20274 # For gettimeofday support.
20275
20276
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20278 $as_echo_n "checking for gettimeofday... " >&6; }
20279
20280
20281 ac_ext=cpp
20282 ac_cpp='$CXXCPP $CPPFLAGS'
20283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20286
20287 ac_save_CXXFLAGS="$CXXFLAGS"
20288 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20289
20290 ac_has_gettimeofday=no;
20291 for ac_header in sys/time.h
20292 do :
20293 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20294 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20295 cat >>confdefs.h <<_ACEOF
20296 #define HAVE_SYS_TIME_H 1
20297 _ACEOF
20298 ac_has_sys_time_h=yes
20299 else
20300 ac_has_sys_time_h=no
20301 fi
20302
20303 done
20304
20305 if test x"$ac_has_sys_time_h" = x"yes"; then
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20307 $as_echo_n "checking for gettimeofday... " >&6; }
20308 if test x$gcc_no_link = xyes; then
20309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20310 /* end confdefs.h. */
20311 #include <sys/time.h>
20312 int
20313 main ()
20314 {
20315 timeval tv; gettimeofday(&tv, 0);
20316 ;
20317 return 0;
20318 }
20319 _ACEOF
20320 if ac_fn_cxx_try_compile "$LINENO"; then :
20321 ac_has_gettimeofday=yes
20322 else
20323 ac_has_gettimeofday=no
20324 fi
20325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20326 else
20327 if test x$gcc_no_link = xyes; then
20328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20329 fi
20330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20331 /* end confdefs.h. */
20332 #include <sys/time.h>
20333 int
20334 main ()
20335 {
20336 timeval tv; gettimeofday(&tv, 0);
20337 ;
20338 return 0;
20339 }
20340 _ACEOF
20341 if ac_fn_cxx_try_link "$LINENO"; then :
20342 ac_has_gettimeofday=yes
20343 else
20344 ac_has_gettimeofday=no
20345 fi
20346 rm -f core conftest.err conftest.$ac_objext \
20347 conftest$ac_exeext conftest.$ac_ext
20348 fi
20349
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20351 $as_echo "$ac_has_gettimeofday" >&6; }
20352 fi
20353
20354 if test x"$ac_has_gettimeofday" = x"yes"; then
20355
20356 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20357
20358 fi
20359
20360 CXXFLAGS="$ac_save_CXXFLAGS"
20361 ac_ext=c
20362 ac_cpp='$CPP $CPPFLAGS'
20363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20366
20367
20368
20369 # For clock_gettime, nanosleep and sched_yield support.
20370
20371
20372 # Check whether --enable-libstdcxx-time was given.
20373 if test "${enable_libstdcxx_time+set}" = set; then :
20374 enableval=$enable_libstdcxx_time;
20375 case "$enableval" in
20376 yes|no|rt) ;;
20377 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20378 esac
20379
20380 else
20381 enable_libstdcxx_time=auto
20382 fi
20383
20384
20385
20386
20387 ac_ext=cpp
20388 ac_cpp='$CXXCPP $CPPFLAGS'
20389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20392
20393 ac_save_CXXFLAGS="$CXXFLAGS"
20394 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20395 ac_save_LIBS="$LIBS"
20396
20397 ac_has_clock_monotonic=no
20398 ac_has_clock_realtime=no
20399 ac_has_nanosleep=no
20400 ac_has_sched_yield=no
20401
20402 if test x"$enable_libstdcxx_time" = x"auto"; then
20403
20404 case "${target_os}" in
20405 cygwin*)
20406 ac_has_nanosleep=yes
20407 ;;
20408 darwin*)
20409 ac_has_nanosleep=yes
20410 ac_has_sched_yield=yes
20411 ;;
20412 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20414 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20416 /* end confdefs.h. */
20417 #include <features.h>
20418 int
20419 main ()
20420 {
20421
20422 #if ! __GLIBC_PREREQ(2, 17)
20423 #error
20424 #endif
20425
20426 ;
20427 return 0;
20428 }
20429 _ACEOF
20430 if ac_fn_cxx_try_compile "$LINENO"; then :
20431 glibcxx_glibc217=yes
20432 else
20433 glibcxx_glibc217=no
20434 fi
20435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20437 $as_echo "$glibcxx_glibc217" >&6; }
20438
20439 if test x"$glibcxx_glibc217" = x"yes"; then
20440 ac_has_clock_monotonic=yes
20441 ac_has_clock_realtime=yes
20442 fi
20443 ac_has_nanosleep=yes
20444 ac_has_sched_yield=yes
20445 ;;
20446 freebsd*|netbsd*|dragonfly*)
20447 ac_has_clock_monotonic=yes
20448 ac_has_clock_realtime=yes
20449 ac_has_nanosleep=yes
20450 ac_has_sched_yield=yes
20451 ;;
20452 openbsd*)
20453 ac_has_clock_monotonic=yes
20454 ac_has_clock_realtime=yes
20455 ac_has_nanosleep=yes
20456 ;;
20457 solaris*)
20458 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20459 ac_has_clock_monotonic=yes
20460 ac_has_clock_realtime=yes
20461 ac_has_nanosleep=yes
20462 ac_has_sched_yield=yes
20463 ;;
20464 esac
20465
20466 elif test x"$enable_libstdcxx_time" != x"no"; then
20467
20468 if test x"$enable_libstdcxx_time" = x"rt"; then
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20470 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20471 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20472 $as_echo_n "(cached) " >&6
20473 else
20474 ac_func_search_save_LIBS=$LIBS
20475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20476 /* end confdefs.h. */
20477
20478 /* Override any GCC internal prototype to avoid an error.
20479 Use char because int might match the return type of a GCC
20480 builtin and then its argument prototype would still apply. */
20481 #ifdef __cplusplus
20482 extern "C"
20483 #endif
20484 char clock_gettime ();
20485 int
20486 main ()
20487 {
20488 return clock_gettime ();
20489 ;
20490 return 0;
20491 }
20492 _ACEOF
20493 for ac_lib in '' rt posix4; do
20494 if test -z "$ac_lib"; then
20495 ac_res="none required"
20496 else
20497 ac_res=-l$ac_lib
20498 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20499 fi
20500 if test x$gcc_no_link = xyes; then
20501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20502 fi
20503 if ac_fn_cxx_try_link "$LINENO"; then :
20504 ac_cv_search_clock_gettime=$ac_res
20505 fi
20506 rm -f core conftest.err conftest.$ac_objext \
20507 conftest$ac_exeext
20508 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20509 break
20510 fi
20511 done
20512 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20513
20514 else
20515 ac_cv_search_clock_gettime=no
20516 fi
20517 rm conftest.$ac_ext
20518 LIBS=$ac_func_search_save_LIBS
20519 fi
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20521 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20522 ac_res=$ac_cv_search_clock_gettime
20523 if test "$ac_res" != no; then :
20524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20525
20526 fi
20527
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20529 $as_echo_n "checking for library containing nanosleep... " >&6; }
20530 if test "${ac_cv_search_nanosleep+set}" = set; then :
20531 $as_echo_n "(cached) " >&6
20532 else
20533 ac_func_search_save_LIBS=$LIBS
20534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20536
20537 /* Override any GCC internal prototype to avoid an error.
20538 Use char because int might match the return type of a GCC
20539 builtin and then its argument prototype would still apply. */
20540 #ifdef __cplusplus
20541 extern "C"
20542 #endif
20543 char nanosleep ();
20544 int
20545 main ()
20546 {
20547 return nanosleep ();
20548 ;
20549 return 0;
20550 }
20551 _ACEOF
20552 for ac_lib in '' rt posix4; do
20553 if test -z "$ac_lib"; then
20554 ac_res="none required"
20555 else
20556 ac_res=-l$ac_lib
20557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20558 fi
20559 if test x$gcc_no_link = xyes; then
20560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20561 fi
20562 if ac_fn_cxx_try_link "$LINENO"; then :
20563 ac_cv_search_nanosleep=$ac_res
20564 fi
20565 rm -f core conftest.err conftest.$ac_objext \
20566 conftest$ac_exeext
20567 if test "${ac_cv_search_nanosleep+set}" = set; then :
20568 break
20569 fi
20570 done
20571 if test "${ac_cv_search_nanosleep+set}" = set; then :
20572
20573 else
20574 ac_cv_search_nanosleep=no
20575 fi
20576 rm conftest.$ac_ext
20577 LIBS=$ac_func_search_save_LIBS
20578 fi
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20580 $as_echo "$ac_cv_search_nanosleep" >&6; }
20581 ac_res=$ac_cv_search_nanosleep
20582 if test "$ac_res" != no; then :
20583 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20584
20585 fi
20586
20587 else
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20589 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20590 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20591 $as_echo_n "(cached) " >&6
20592 else
20593 ac_func_search_save_LIBS=$LIBS
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20596
20597 /* Override any GCC internal prototype to avoid an error.
20598 Use char because int might match the return type of a GCC
20599 builtin and then its argument prototype would still apply. */
20600 #ifdef __cplusplus
20601 extern "C"
20602 #endif
20603 char clock_gettime ();
20604 int
20605 main ()
20606 {
20607 return clock_gettime ();
20608 ;
20609 return 0;
20610 }
20611 _ACEOF
20612 for ac_lib in '' posix4; do
20613 if test -z "$ac_lib"; then
20614 ac_res="none required"
20615 else
20616 ac_res=-l$ac_lib
20617 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20618 fi
20619 if test x$gcc_no_link = xyes; then
20620 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20621 fi
20622 if ac_fn_cxx_try_link "$LINENO"; then :
20623 ac_cv_search_clock_gettime=$ac_res
20624 fi
20625 rm -f core conftest.err conftest.$ac_objext \
20626 conftest$ac_exeext
20627 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20628 break
20629 fi
20630 done
20631 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20632
20633 else
20634 ac_cv_search_clock_gettime=no
20635 fi
20636 rm conftest.$ac_ext
20637 LIBS=$ac_func_search_save_LIBS
20638 fi
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20640 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20641 ac_res=$ac_cv_search_clock_gettime
20642 if test "$ac_res" != no; then :
20643 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20644
20645 fi
20646
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20648 $as_echo_n "checking for library containing nanosleep... " >&6; }
20649 if test "${ac_cv_search_nanosleep+set}" = set; then :
20650 $as_echo_n "(cached) " >&6
20651 else
20652 ac_func_search_save_LIBS=$LIBS
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h. */
20655
20656 /* Override any GCC internal prototype to avoid an error.
20657 Use char because int might match the return type of a GCC
20658 builtin and then its argument prototype would still apply. */
20659 #ifdef __cplusplus
20660 extern "C"
20661 #endif
20662 char nanosleep ();
20663 int
20664 main ()
20665 {
20666 return nanosleep ();
20667 ;
20668 return 0;
20669 }
20670 _ACEOF
20671 for ac_lib in '' posix4; do
20672 if test -z "$ac_lib"; then
20673 ac_res="none required"
20674 else
20675 ac_res=-l$ac_lib
20676 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20677 fi
20678 if test x$gcc_no_link = xyes; then
20679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20680 fi
20681 if ac_fn_cxx_try_link "$LINENO"; then :
20682 ac_cv_search_nanosleep=$ac_res
20683 fi
20684 rm -f core conftest.err conftest.$ac_objext \
20685 conftest$ac_exeext
20686 if test "${ac_cv_search_nanosleep+set}" = set; then :
20687 break
20688 fi
20689 done
20690 if test "${ac_cv_search_nanosleep+set}" = set; then :
20691
20692 else
20693 ac_cv_search_nanosleep=no
20694 fi
20695 rm conftest.$ac_ext
20696 LIBS=$ac_func_search_save_LIBS
20697 fi
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20699 $as_echo "$ac_cv_search_nanosleep" >&6; }
20700 ac_res=$ac_cv_search_nanosleep
20701 if test "$ac_res" != no; then :
20702 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20703
20704 fi
20705
20706 fi
20707
20708 case "$ac_cv_search_clock_gettime" in
20709 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20710 ;;
20711 esac
20712 case "$ac_cv_search_nanosleep" in
20713 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20714 ;;
20715 esac
20716
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20718 $as_echo_n "checking for library containing sched_yield... " >&6; }
20719 if test "${ac_cv_search_sched_yield+set}" = set; then :
20720 $as_echo_n "(cached) " >&6
20721 else
20722 ac_func_search_save_LIBS=$LIBS
20723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20725
20726 /* Override any GCC internal prototype to avoid an error.
20727 Use char because int might match the return type of a GCC
20728 builtin and then its argument prototype would still apply. */
20729 #ifdef __cplusplus
20730 extern "C"
20731 #endif
20732 char sched_yield ();
20733 int
20734 main ()
20735 {
20736 return sched_yield ();
20737 ;
20738 return 0;
20739 }
20740 _ACEOF
20741 for ac_lib in '' rt posix4; do
20742 if test -z "$ac_lib"; then
20743 ac_res="none required"
20744 else
20745 ac_res=-l$ac_lib
20746 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20747 fi
20748 if test x$gcc_no_link = xyes; then
20749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20750 fi
20751 if ac_fn_cxx_try_link "$LINENO"; then :
20752 ac_cv_search_sched_yield=$ac_res
20753 fi
20754 rm -f core conftest.err conftest.$ac_objext \
20755 conftest$ac_exeext
20756 if test "${ac_cv_search_sched_yield+set}" = set; then :
20757 break
20758 fi
20759 done
20760 if test "${ac_cv_search_sched_yield+set}" = set; then :
20761
20762 else
20763 ac_cv_search_sched_yield=no
20764 fi
20765 rm conftest.$ac_ext
20766 LIBS=$ac_func_search_save_LIBS
20767 fi
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20769 $as_echo "$ac_cv_search_sched_yield" >&6; }
20770 ac_res=$ac_cv_search_sched_yield
20771 if test "$ac_res" != no; then :
20772 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20773
20774 fi
20775
20776
20777 case "$ac_cv_search_sched_yield" in
20778 -lposix4*)
20779 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20780 ac_has_sched_yield=yes
20781 ;;
20782 -lrt*)
20783 if test x"$enable_libstdcxx_time" = x"rt"; then
20784 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20785 ac_has_sched_yield=yes
20786 fi
20787 ;;
20788 *)
20789 ac_has_sched_yield=yes
20790 ;;
20791 esac
20792
20793 for ac_header in unistd.h
20794 do :
20795 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20796 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20797 cat >>confdefs.h <<_ACEOF
20798 #define HAVE_UNISTD_H 1
20799 _ACEOF
20800 ac_has_unistd_h=yes
20801 else
20802 ac_has_unistd_h=no
20803 fi
20804
20805 done
20806
20807
20808 if test x"$ac_has_unistd_h" = x"yes"; then
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20810 $as_echo_n "checking for monotonic clock... " >&6; }
20811 if test x$gcc_no_link = xyes; then
20812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20813 fi
20814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20815 /* end confdefs.h. */
20816 #include <unistd.h>
20817 #include <time.h>
20818
20819 int
20820 main ()
20821 {
20822 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20823 timespec tp;
20824 #endif
20825 clock_gettime(CLOCK_MONOTONIC, &tp);
20826
20827 ;
20828 return 0;
20829 }
20830 _ACEOF
20831 if ac_fn_cxx_try_link "$LINENO"; then :
20832 ac_has_clock_monotonic=yes
20833 else
20834 ac_has_clock_monotonic=no
20835 fi
20836 rm -f core conftest.err conftest.$ac_objext \
20837 conftest$ac_exeext conftest.$ac_ext
20838
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20840 $as_echo "$ac_has_clock_monotonic" >&6; }
20841
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20843 $as_echo_n "checking for realtime clock... " >&6; }
20844 if test x$gcc_no_link = xyes; then
20845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20846 fi
20847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20848 /* end confdefs.h. */
20849 #include <unistd.h>
20850 #include <time.h>
20851
20852 int
20853 main ()
20854 {
20855 #if _POSIX_TIMERS > 0
20856 timespec tp;
20857 #endif
20858 clock_gettime(CLOCK_REALTIME, &tp);
20859
20860 ;
20861 return 0;
20862 }
20863 _ACEOF
20864 if ac_fn_cxx_try_link "$LINENO"; then :
20865 ac_has_clock_realtime=yes
20866 else
20867 ac_has_clock_realtime=no
20868 fi
20869 rm -f core conftest.err conftest.$ac_objext \
20870 conftest$ac_exeext conftest.$ac_ext
20871
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20873 $as_echo "$ac_has_clock_realtime" >&6; }
20874
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20876 $as_echo_n "checking for nanosleep... " >&6; }
20877 if test x$gcc_no_link = xyes; then
20878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20879 fi
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #include <unistd.h>
20883 #include <time.h>
20884
20885 int
20886 main ()
20887 {
20888 #if _POSIX_TIMERS > 0
20889 timespec tp;
20890 #endif
20891 nanosleep(&tp, 0);
20892
20893 ;
20894 return 0;
20895 }
20896 _ACEOF
20897 if ac_fn_cxx_try_link "$LINENO"; then :
20898 ac_has_nanosleep=yes
20899 else
20900 ac_has_nanosleep=no
20901 fi
20902 rm -f core conftest.err conftest.$ac_objext \
20903 conftest$ac_exeext conftest.$ac_ext
20904
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20906 $as_echo "$ac_has_nanosleep" >&6; }
20907 fi
20908 fi
20909
20910 if test x"$ac_has_clock_monotonic" != x"yes"; then
20911 case ${target_os} in
20912 linux*)
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20914 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20916 /* end confdefs.h. */
20917 #include <unistd.h>
20918 #include <time.h>
20919 #include <sys/syscall.h>
20920
20921 int
20922 main ()
20923 {
20924 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20925 timespec tp;
20926 #endif
20927 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20928 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20929
20930 ;
20931 return 0;
20932 }
20933 _ACEOF
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935 ac_has_clock_monotonic_syscall=yes
20936 else
20937 ac_has_clock_monotonic_syscall=no
20938 fi
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20941 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20942 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20943
20944 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20945
20946 ac_has_clock_monotonic=yes
20947 ac_has_clock_realtime=yes
20948 fi;;
20949 esac
20950 fi
20951
20952 if test x"$ac_has_clock_monotonic" = x"yes"; then
20953
20954 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20955
20956 fi
20957
20958 if test x"$ac_has_clock_realtime" = x"yes"; then
20959
20960 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20961
20962 fi
20963
20964 if test x"$ac_has_sched_yield" = x"yes"; then
20965
20966 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20967
20968 fi
20969
20970 if test x"$ac_has_nanosleep" = x"yes"; then
20971
20972 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20973
20974 else
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20976 $as_echo_n "checking for sleep... " >&6; }
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #include <unistd.h>
20980 int
20981 main ()
20982 {
20983 sleep(1)
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 if ac_fn_cxx_try_compile "$LINENO"; then :
20989 ac_has_sleep=yes
20990 else
20991 ac_has_sleep=no
20992 fi
20993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20994 if test x"$ac_has_sleep" = x"yes"; then
20995
20996 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20997
20998 fi
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21000 $as_echo "$ac_has_sleep" >&6; }
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21002 $as_echo_n "checking for usleep... " >&6; }
21003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21004 /* end confdefs.h. */
21005 #include <unistd.h>
21006 int
21007 main ()
21008 {
21009 sleep(1);
21010 usleep(100);
21011 ;
21012 return 0;
21013 }
21014 _ACEOF
21015 if ac_fn_cxx_try_compile "$LINENO"; then :
21016 ac_has_usleep=yes
21017 else
21018 ac_has_usleep=no
21019 fi
21020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21021 if test x"$ac_has_usleep" = x"yes"; then
21022
21023 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21024
21025 fi
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21027 $as_echo "$ac_has_usleep" >&6; }
21028 fi
21029
21030 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21032 $as_echo_n "checking for Sleep... " >&6; }
21033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21034 /* end confdefs.h. */
21035 #include <windows.h>
21036 int
21037 main ()
21038 {
21039 Sleep(1)
21040 ;
21041 return 0;
21042 }
21043 _ACEOF
21044 if ac_fn_cxx_try_compile "$LINENO"; then :
21045 ac_has_win32_sleep=yes
21046 else
21047 ac_has_win32_sleep=no
21048 fi
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 if test x"$ac_has_win32_sleep" = x"yes"; then
21051
21052 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21053
21054 fi
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21056 $as_echo "$ac_has_win32_sleep" >&6; }
21057 fi
21058
21059
21060
21061 CXXFLAGS="$ac_save_CXXFLAGS"
21062 LIBS="$ac_save_LIBS"
21063 ac_ext=c
21064 ac_cpp='$CPP $CPPFLAGS'
21065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21068
21069
21070
21071 # Check for tmpnam which is obsolescent in POSIX.1-2008
21072
21073 ac_ext=cpp
21074 ac_cpp='$CXXCPP $CPPFLAGS'
21075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21078
21079 ac_save_CXXFLAGS="$CXXFLAGS"
21080 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21082 $as_echo_n "checking for tmpnam... " >&6; }
21083 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21084 $as_echo_n "(cached) " >&6
21085 else
21086 if test x$gcc_no_link = xyes; then
21087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h. */
21089 #include <stdio.h>
21090 int
21091 main ()
21092 {
21093 char *tmp = tmpnam(NULL);
21094 ;
21095 return 0;
21096 }
21097 _ACEOF
21098 if ac_fn_cxx_try_compile "$LINENO"; then :
21099 glibcxx_cv_TMPNAM=yes
21100 else
21101 glibcxx_cv_TMPNAM=no
21102 fi
21103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21104 else
21105 if test x$gcc_no_link = xyes; then
21106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21107 fi
21108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21109 /* end confdefs.h. */
21110 #include <stdio.h>
21111 int
21112 main ()
21113 {
21114 char *tmp = tmpnam(NULL);
21115 ;
21116 return 0;
21117 }
21118 _ACEOF
21119 if ac_fn_cxx_try_link "$LINENO"; then :
21120 glibcxx_cv_TMPNAM=yes
21121 else
21122 glibcxx_cv_TMPNAM=no
21123 fi
21124 rm -f core conftest.err conftest.$ac_objext \
21125 conftest$ac_exeext conftest.$ac_ext
21126 fi
21127
21128 fi
21129
21130 if test $glibcxx_cv_TMPNAM = yes; then
21131
21132 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21133
21134 fi
21135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21136 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21137 CXXFLAGS="$ac_save_CXXFLAGS"
21138 ac_ext=c
21139 ac_cpp='$CPP $CPPFLAGS'
21140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21143
21144
21145
21146
21147 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21148 if test "x$ac_cv_header_locale_h" = x""yes; then :
21149
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21151 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21152 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21153 $as_echo_n "(cached) " >&6
21154 else
21155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21156 /* end confdefs.h. */
21157 #include <locale.h>
21158 int
21159 main ()
21160 {
21161 return LC_MESSAGES
21162 ;
21163 return 0;
21164 }
21165 _ACEOF
21166 if ac_fn_c_try_compile "$LINENO"; then :
21167 ac_cv_val_LC_MESSAGES=yes
21168 else
21169 ac_cv_val_LC_MESSAGES=no
21170 fi
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 fi
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21174 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21175 if test $ac_cv_val_LC_MESSAGES = yes; then
21176
21177 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21178
21179 fi
21180
21181 fi
21182
21183
21184
21185
21186 # For hardware_concurrency
21187 for ac_header in sys/sysinfo.h
21188 do :
21189 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21190 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21191 cat >>confdefs.h <<_ACEOF
21192 #define HAVE_SYS_SYSINFO_H 1
21193 _ACEOF
21194
21195 fi
21196
21197 done
21198
21199
21200
21201
21202 ac_ext=cpp
21203 ac_cpp='$CXXCPP $CPPFLAGS'
21204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21207
21208 ac_save_CXXFLAGS="$CXXFLAGS"
21209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21210
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21212 $as_echo_n "checking for get_nprocs... " >&6; }
21213 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21214 $as_echo_n "(cached) " >&6
21215 else
21216
21217 if test x$gcc_no_link = xyes; then
21218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220 #include <sys/sysinfo.h>
21221 int
21222 main ()
21223 {
21224 int n = get_nprocs();
21225 ;
21226 return 0;
21227 }
21228 _ACEOF
21229 if ac_fn_cxx_try_compile "$LINENO"; then :
21230 glibcxx_cv_GET_NPROCS=yes
21231 else
21232 glibcxx_cv_GET_NPROCS=no
21233 fi
21234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21235 else
21236 if test x$gcc_no_link = xyes; then
21237 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21238 fi
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <sys/sysinfo.h>
21242 int
21243 main ()
21244 {
21245 int n = get_nprocs();
21246 ;
21247 return 0;
21248 }
21249 _ACEOF
21250 if ac_fn_cxx_try_link "$LINENO"; then :
21251 glibcxx_cv_GET_NPROCS=yes
21252 else
21253 glibcxx_cv_GET_NPROCS=no
21254 fi
21255 rm -f core conftest.err conftest.$ac_objext \
21256 conftest$ac_exeext conftest.$ac_ext
21257 fi
21258
21259 fi
21260
21261 if test $glibcxx_cv_GET_NPROCS = yes; then
21262
21263 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21264
21265 fi
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21267 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21268
21269 CXXFLAGS="$ac_save_CXXFLAGS"
21270 ac_ext=c
21271 ac_cpp='$CPP $CPPFLAGS'
21272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21275
21276
21277 for ac_header in unistd.h
21278 do :
21279 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21280 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21281 cat >>confdefs.h <<_ACEOF
21282 #define HAVE_UNISTD_H 1
21283 _ACEOF
21284
21285 fi
21286
21287 done
21288
21289
21290
21291
21292 ac_ext=cpp
21293 ac_cpp='$CXXCPP $CPPFLAGS'
21294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21297
21298 ac_save_CXXFLAGS="$CXXFLAGS"
21299 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21300
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21302 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21303 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21304 $as_echo_n "(cached) " >&6
21305 else
21306
21307 if test x$gcc_no_link = xyes; then
21308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21309 /* end confdefs.h. */
21310 #include <unistd.h>
21311 int
21312 main ()
21313 {
21314 int n = sysconf(_SC_NPROCESSORS_ONLN);
21315 ;
21316 return 0;
21317 }
21318 _ACEOF
21319 if ac_fn_cxx_try_compile "$LINENO"; then :
21320 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21321 else
21322 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21323 fi
21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325 else
21326 if test x$gcc_no_link = xyes; then
21327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21328 fi
21329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21330 /* end confdefs.h. */
21331 #include <unistd.h>
21332 int
21333 main ()
21334 {
21335 int n = sysconf(_SC_NPROCESSORS_ONLN);
21336 ;
21337 return 0;
21338 }
21339 _ACEOF
21340 if ac_fn_cxx_try_link "$LINENO"; then :
21341 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21342 else
21343 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21344 fi
21345 rm -f core conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21347 fi
21348
21349 fi
21350
21351 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21352
21353 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21354
21355 fi
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21357 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21358
21359 CXXFLAGS="$ac_save_CXXFLAGS"
21360 ac_ext=c
21361 ac_cpp='$CPP $CPPFLAGS'
21362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21365
21366
21367
21368
21369
21370 ac_ext=cpp
21371 ac_cpp='$CXXCPP $CPPFLAGS'
21372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21375
21376 ac_save_CXXFLAGS="$CXXFLAGS"
21377 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21378
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21380 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21381 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21382 $as_echo_n "(cached) " >&6
21383 else
21384
21385 if test x$gcc_no_link = xyes; then
21386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21388 #include <unistd.h>
21389 int
21390 main ()
21391 {
21392 int n = sysconf(_SC_NPROC_ONLN);
21393 ;
21394 return 0;
21395 }
21396 _ACEOF
21397 if ac_fn_cxx_try_compile "$LINENO"; then :
21398 glibcxx_cv_SC_NPROC_ONLN=yes
21399 else
21400 glibcxx_cv_SC_NPROC_ONLN=no
21401 fi
21402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403 else
21404 if test x$gcc_no_link = xyes; then
21405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21406 fi
21407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21408 /* end confdefs.h. */
21409 #include <unistd.h>
21410 int
21411 main ()
21412 {
21413 int n = sysconf(_SC_NPROC_ONLN);
21414 ;
21415 return 0;
21416 }
21417 _ACEOF
21418 if ac_fn_cxx_try_link "$LINENO"; then :
21419 glibcxx_cv_SC_NPROC_ONLN=yes
21420 else
21421 glibcxx_cv_SC_NPROC_ONLN=no
21422 fi
21423 rm -f core conftest.err conftest.$ac_objext \
21424 conftest$ac_exeext conftest.$ac_ext
21425 fi
21426
21427 fi
21428
21429 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21430
21431 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21432
21433 fi
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21435 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21436
21437 CXXFLAGS="$ac_save_CXXFLAGS"
21438 ac_ext=c
21439 ac_cpp='$CPP $CPPFLAGS'
21440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21443
21444
21445
21446
21447
21448 ac_ext=cpp
21449 ac_cpp='$CXXCPP $CPPFLAGS'
21450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21453
21454 ac_save_CXXFLAGS="$CXXFLAGS"
21455 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21456
21457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21458 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21459 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21460 $as_echo_n "(cached) " >&6
21461 else
21462
21463 if test x$gcc_no_link = xyes; then
21464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21466 #include <pthread.h>
21467 int
21468 main ()
21469 {
21470 int n = pthread_num_processors_np();
21471 ;
21472 return 0;
21473 }
21474 _ACEOF
21475 if ac_fn_cxx_try_compile "$LINENO"; then :
21476 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21477 else
21478 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21479 fi
21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481 else
21482 if test x$gcc_no_link = xyes; then
21483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21484 fi
21485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21486 /* end confdefs.h. */
21487 #include <pthread.h>
21488 int
21489 main ()
21490 {
21491 int n = pthread_num_processors_np();
21492 ;
21493 return 0;
21494 }
21495 _ACEOF
21496 if ac_fn_cxx_try_link "$LINENO"; then :
21497 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21498 else
21499 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21500 fi
21501 rm -f core conftest.err conftest.$ac_objext \
21502 conftest$ac_exeext conftest.$ac_ext
21503 fi
21504
21505 fi
21506
21507 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21508
21509 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21510
21511 fi
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21513 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21514
21515 CXXFLAGS="$ac_save_CXXFLAGS"
21516 ac_ext=c
21517 ac_cpp='$CPP $CPPFLAGS'
21518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21521
21522
21523
21524
21525
21526 ac_ext=cpp
21527 ac_cpp='$CXXCPP $CPPFLAGS'
21528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21531
21532 ac_save_CXXFLAGS="$CXXFLAGS"
21533 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21534
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21536 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21537 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21538 $as_echo_n "(cached) " >&6
21539 else
21540
21541 if test x$gcc_no_link = xyes; then
21542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21543 /* end confdefs.h. */
21544
21545 #include <stddef.h>
21546 #include <sys/sysctl.h>
21547
21548 int
21549 main ()
21550 {
21551
21552 int count;
21553 size_t size = sizeof(count);
21554 int mib[] = { CTL_HW, HW_NCPU };
21555 sysctl(mib, 2, &count, &size, NULL, 0);
21556
21557 ;
21558 return 0;
21559 }
21560 _ACEOF
21561 if ac_fn_cxx_try_compile "$LINENO"; then :
21562 glibcxx_cv_SYSCTL_HW_NCPU=yes
21563 else
21564 glibcxx_cv_SYSCTL_HW_NCPU=no
21565 fi
21566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21567 else
21568 if test x$gcc_no_link = xyes; then
21569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21570 fi
21571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21572 /* end confdefs.h. */
21573
21574 #include <stddef.h>
21575 #include <sys/sysctl.h>
21576
21577 int
21578 main ()
21579 {
21580
21581 int count;
21582 size_t size = sizeof(count);
21583 int mib[] = { CTL_HW, HW_NCPU };
21584 sysctl(mib, 2, &count, &size, NULL, 0);
21585
21586 ;
21587 return 0;
21588 }
21589 _ACEOF
21590 if ac_fn_cxx_try_link "$LINENO"; then :
21591 glibcxx_cv_SYSCTL_HW_NCPU=yes
21592 else
21593 glibcxx_cv_SYSCTL_HW_NCPU=no
21594 fi
21595 rm -f core conftest.err conftest.$ac_objext \
21596 conftest$ac_exeext conftest.$ac_ext
21597 fi
21598
21599 fi
21600
21601 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21602
21603 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21604
21605 fi
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21607 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21608
21609 CXXFLAGS="$ac_save_CXXFLAGS"
21610 ac_ext=c
21611 ac_cpp='$CPP $CPPFLAGS'
21612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21615
21616
21617
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21619 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21620 # Note that this test has to be run with the C language.
21621 # Otherwise, sdt.h will try to include some headers from
21622 # libstdc++ itself.
21623
21624 ac_ext=c
21625 ac_cpp='$CPP $CPPFLAGS'
21626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21629
21630 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21631 $as_echo_n "(cached) " >&6
21632 else
21633
21634 # Because we have to run the test in C, we use grep rather
21635 # than the compiler to check for the bug. The bug is that
21636 # were strings without trailing whitespace, causing g++
21637 # to look for operator"". The pattern searches for the fixed
21638 # output.
21639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21640 /* end confdefs.h. */
21641
21642 #include <sys/sdt.h>
21643 int f() { STAP_PROBE(hi, bob); }
21644
21645 _ACEOF
21646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21647 $EGREP " \",\" " >/dev/null 2>&1; then :
21648 glibcxx_cv_sys_sdt_h=yes
21649 else
21650 glibcxx_cv_sys_sdt_h=no
21651 fi
21652 rm -f conftest*
21653
21654
21655 fi
21656
21657 ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662
21663 if test $glibcxx_cv_sys_sdt_h = yes; then
21664
21665 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21666
21667 fi
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21669 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21670
21671
21672 # Check for available headers.
21673 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21674 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21675 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21676 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21677 wchar.h wctype.h
21678 do :
21679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21680 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21681 eval as_val=\$$as_ac_Header
21682 if test "x$as_val" = x""yes; then :
21683 cat >>confdefs.h <<_ACEOF
21684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21685 _ACEOF
21686
21687 fi
21688
21689 done
21690
21691
21692 # Only do link tests if native. Else, hardcode.
21693 if $GLIBCXX_IS_NATIVE; then
21694
21695 # We can do more elaborate tests that assume a working linker.
21696 CANADIAN=no
21697
21698
21699
21700 # Check whether --with-gnu-ld was given.
21701 if test "${with_gnu_ld+set}" = set; then :
21702 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21703 else
21704 with_gnu_ld=no
21705 fi
21706
21707 ac_prog=ld
21708 if test "$GCC" = yes; then
21709 # Check if gcc -print-prog-name=ld gives a path.
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21711 $as_echo_n "checking for ld used by $CC... " >&6; }
21712 case $host in
21713 *-*-mingw*)
21714 # gcc leaves a trailing carriage return which upsets mingw
21715 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21716 *)
21717 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21718 esac
21719 case $ac_prog in
21720 # Accept absolute paths.
21721 [\\/]* | ?:[\\/]*)
21722 re_direlt='/[^/][^/]*/\.\./'
21723 # Canonicalize the pathname of ld
21724 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21725 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21726 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21727 done
21728 test -z "$LD" && LD="$ac_prog"
21729 ;;
21730 "")
21731 # If it fails, then pretend we aren't using GCC.
21732 ac_prog=ld
21733 ;;
21734 *)
21735 # If it is relative, then search for the first ld in PATH.
21736 with_gnu_ld=unknown
21737 ;;
21738 esac
21739 elif test "$with_gnu_ld" = yes; then
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21741 $as_echo_n "checking for GNU ld... " >&6; }
21742 else
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21744 $as_echo_n "checking for non-GNU ld... " >&6; }
21745 fi
21746 if test "${lt_cv_path_LD+set}" = set; then :
21747 $as_echo_n "(cached) " >&6
21748 else
21749 if test -z "$LD"; then
21750 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21751 for ac_dir in $PATH; do
21752 IFS="$lt_save_ifs"
21753 test -z "$ac_dir" && ac_dir=.
21754 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21755 lt_cv_path_LD="$ac_dir/$ac_prog"
21756 # Check to see if the program is GNU ld. I'd rather use --version,
21757 # but apparently some variants of GNU ld only accept -v.
21758 # Break only if it was the GNU/non-GNU ld that we prefer.
21759 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21760 *GNU* | *'with BFD'*)
21761 test "$with_gnu_ld" != no && break
21762 ;;
21763 *)
21764 test "$with_gnu_ld" != yes && break
21765 ;;
21766 esac
21767 fi
21768 done
21769 IFS="$lt_save_ifs"
21770 else
21771 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21772 fi
21773 fi
21774
21775 LD="$lt_cv_path_LD"
21776 if test -n "$LD"; then
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21778 $as_echo "$LD" >&6; }
21779 else
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21781 $as_echo "no" >&6; }
21782 fi
21783 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21785 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21786 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21787 $as_echo_n "(cached) " >&6
21788 else
21789 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21790 case `$LD -v 2>&1 </dev/null` in
21791 *GNU* | *'with BFD'*)
21792 lt_cv_prog_gnu_ld=yes
21793 ;;
21794 *)
21795 lt_cv_prog_gnu_ld=no
21796 ;;
21797 esac
21798 fi
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21800 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21801 with_gnu_ld=$lt_cv_prog_gnu_ld
21802
21803
21804
21805
21806
21807
21808
21809 # If we're not using GNU ld, then there's no point in even trying these
21810 # tests. Check for that first. We should have already tested for gld
21811 # by now (in libtool), but require it now just to be safe...
21812 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21813 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21814
21815
21816
21817 # The name set by libtool depends on the version of libtool. Shame on us
21818 # for depending on an impl detail, but c'est la vie. Older versions used
21819 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21820 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21821 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21822 # set (hence we're using an older libtool), then set it.
21823 if test x${with_gnu_ld+set} != xset; then
21824 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21825 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21826 with_gnu_ld=no
21827 else
21828 with_gnu_ld=$ac_cv_prog_gnu_ld
21829 fi
21830 fi
21831
21832 # Start by getting the version number. I think the libtool test already
21833 # does some of this, but throws away the result.
21834 glibcxx_ld_is_gold=no
21835 if test x"$with_gnu_ld" = x"yes"; then
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21837 $as_echo_n "checking for ld version... " >&6; }
21838
21839 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21840 glibcxx_ld_is_gold=yes
21841 fi
21842 ldver=`$LD --version 2>/dev/null |
21843 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'`
21844
21845 glibcxx_gnu_ld_version=`echo $ldver | \
21846 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21848 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21849 fi
21850
21851 # Set --gc-sections.
21852 glibcxx_have_gc_sections=no
21853 if test "$glibcxx_ld_is_gold" = "yes"; then
21854 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21855 glibcxx_have_gc_sections=yes
21856 fi
21857 else
21858 glibcxx_gcsections_min_ld=21602
21859 if test x"$with_gnu_ld" = x"yes" &&
21860 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21861 glibcxx_have_gc_sections=yes
21862 fi
21863 fi
21864 if test "$glibcxx_have_gc_sections" = "yes"; then
21865 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21866 # NB: This flag only works reliably after 2.16.1. Configure tests
21867 # for this are difficult, so hard wire a value that should work.
21868
21869 ac_test_CFLAGS="${CFLAGS+set}"
21870 ac_save_CFLAGS="$CFLAGS"
21871 CFLAGS='-Wl,--gc-sections'
21872
21873 # Check for -Wl,--gc-sections
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21875 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21876 if test x$gcc_no_link = xyes; then
21877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21878 fi
21879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21881 int one(void) { return 1; }
21882 int two(void) { return 2; }
21883
21884 int
21885 main ()
21886 {
21887 two();
21888 ;
21889 return 0;
21890 }
21891 _ACEOF
21892 if ac_fn_c_try_link "$LINENO"; then :
21893 ac_gcsections=yes
21894 else
21895 ac_gcsections=no
21896 fi
21897 rm -f core conftest.err conftest.$ac_objext \
21898 conftest$ac_exeext conftest.$ac_ext
21899 if test "$ac_gcsections" = "yes"; then
21900 rm -f conftest.c
21901 touch conftest.c
21902 if $CC -c conftest.c; then
21903 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21904 grep "Warning: gc-sections option ignored" > /dev/null; then
21905 ac_gcsections=no
21906 fi
21907 fi
21908 rm -f conftest.c conftest.o conftest
21909 fi
21910 if test "$ac_gcsections" = "yes"; then
21911 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21912 fi
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21914 $as_echo "$ac_gcsections" >&6; }
21915
21916 if test "$ac_test_CFLAGS" = set; then
21917 CFLAGS="$ac_save_CFLAGS"
21918 else
21919 # this is the suspicious part
21920 CFLAGS=''
21921 fi
21922 fi
21923
21924 # Set -z,relro.
21925 # Note this is only for shared objects.
21926 ac_ld_relro=no
21927 if test x"$with_gnu_ld" = x"yes"; then
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21929 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21930 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21931 if test -n "$cxx_z_relo"; then
21932 OPT_LDFLAGS="-Wl,-z,relro"
21933 ac_ld_relro=yes
21934 fi
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21936 $as_echo "$ac_ld_relro" >&6; }
21937 fi
21938
21939 # Set linker optimization flags.
21940 if test x"$with_gnu_ld" = x"yes"; then
21941 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21942 fi
21943
21944
21945
21946
21947
21948 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21949 ac_save_CXXFLAGS="$CXXFLAGS"
21950 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21951
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21953 $as_echo_n "checking for sin in -lm... " >&6; }
21954 if test "${ac_cv_lib_m_sin+set}" = set; then :
21955 $as_echo_n "(cached) " >&6
21956 else
21957 ac_check_lib_save_LIBS=$LIBS
21958 LIBS="-lm $LIBS"
21959 if test x$gcc_no_link = xyes; then
21960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21961 fi
21962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21963 /* end confdefs.h. */
21964
21965 /* Override any GCC internal prototype to avoid an error.
21966 Use char because int might match the return type of a GCC
21967 builtin and then its argument prototype would still apply. */
21968 #ifdef __cplusplus
21969 extern "C"
21970 #endif
21971 char sin ();
21972 int
21973 main ()
21974 {
21975 return sin ();
21976 ;
21977 return 0;
21978 }
21979 _ACEOF
21980 if ac_fn_c_try_link "$LINENO"; then :
21981 ac_cv_lib_m_sin=yes
21982 else
21983 ac_cv_lib_m_sin=no
21984 fi
21985 rm -f core conftest.err conftest.$ac_objext \
21986 conftest$ac_exeext conftest.$ac_ext
21987 LIBS=$ac_check_lib_save_LIBS
21988 fi
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21990 $as_echo "$ac_cv_lib_m_sin" >&6; }
21991 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21992 libm="-lm"
21993 fi
21994
21995 ac_save_LIBS="$LIBS"
21996 LIBS="$LIBS $libm"
21997
21998
21999
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22001 $as_echo_n "checking for isinf declaration... " >&6; }
22002 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22003 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22004 $as_echo_n "(cached) " >&6
22005 else
22006
22007
22008 ac_ext=cpp
22009 ac_cpp='$CXXCPP $CPPFLAGS'
22010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22013
22014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22015 /* end confdefs.h. */
22016 #include <math.h>
22017 #ifdef HAVE_IEEEFP_H
22018 #include <ieeefp.h>
22019 #endif
22020
22021 int
22022 main ()
22023 {
22024 isinf(0);
22025 ;
22026 return 0;
22027 }
22028 _ACEOF
22029 if ac_fn_cxx_try_compile "$LINENO"; then :
22030 glibcxx_cv_func_isinf_use=yes
22031 else
22032 glibcxx_cv_func_isinf_use=no
22033 fi
22034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035 ac_ext=c
22036 ac_cpp='$CPP $CPPFLAGS'
22037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22040
22041
22042 fi
22043
22044 fi
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22046 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22047
22048 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22049 for ac_func in isinf
22050 do :
22051 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22052 if test "x$ac_cv_func_isinf" = x""yes; then :
22053 cat >>confdefs.h <<_ACEOF
22054 #define HAVE_ISINF 1
22055 _ACEOF
22056
22057 fi
22058 done
22059
22060 else
22061
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22063 $as_echo_n "checking for _isinf declaration... " >&6; }
22064 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22065 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22066 $as_echo_n "(cached) " >&6
22067 else
22068
22069
22070 ac_ext=cpp
22071 ac_cpp='$CXXCPP $CPPFLAGS'
22072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22075
22076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22077 /* end confdefs.h. */
22078 #include <math.h>
22079 #ifdef HAVE_IEEEFP_H
22080 #include <ieeefp.h>
22081 #endif
22082
22083 int
22084 main ()
22085 {
22086 _isinf(0);
22087 ;
22088 return 0;
22089 }
22090 _ACEOF
22091 if ac_fn_cxx_try_compile "$LINENO"; then :
22092 glibcxx_cv_func__isinf_use=yes
22093 else
22094 glibcxx_cv_func__isinf_use=no
22095 fi
22096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22097 ac_ext=c
22098 ac_cpp='$CPP $CPPFLAGS'
22099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22102
22103
22104 fi
22105
22106 fi
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22108 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22109
22110 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22111 for ac_func in _isinf
22112 do :
22113 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22114 if test "x$ac_cv_func__isinf" = x""yes; then :
22115 cat >>confdefs.h <<_ACEOF
22116 #define HAVE__ISINF 1
22117 _ACEOF
22118
22119 fi
22120 done
22121
22122 fi
22123 fi
22124
22125
22126
22127
22128
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22130 $as_echo_n "checking for isnan declaration... " >&6; }
22131 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22132 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22133 $as_echo_n "(cached) " >&6
22134 else
22135
22136
22137 ac_ext=cpp
22138 ac_cpp='$CXXCPP $CPPFLAGS'
22139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22142
22143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h. */
22145 #include <math.h>
22146 #ifdef HAVE_IEEEFP_H
22147 #include <ieeefp.h>
22148 #endif
22149
22150 int
22151 main ()
22152 {
22153 isnan(0);
22154 ;
22155 return 0;
22156 }
22157 _ACEOF
22158 if ac_fn_cxx_try_compile "$LINENO"; then :
22159 glibcxx_cv_func_isnan_use=yes
22160 else
22161 glibcxx_cv_func_isnan_use=no
22162 fi
22163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 ac_ext=c
22165 ac_cpp='$CPP $CPPFLAGS'
22166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22169
22170
22171 fi
22172
22173 fi
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22175 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22176
22177 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22178 for ac_func in isnan
22179 do :
22180 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22181 if test "x$ac_cv_func_isnan" = x""yes; then :
22182 cat >>confdefs.h <<_ACEOF
22183 #define HAVE_ISNAN 1
22184 _ACEOF
22185
22186 fi
22187 done
22188
22189 else
22190
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22192 $as_echo_n "checking for _isnan declaration... " >&6; }
22193 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22194 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22195 $as_echo_n "(cached) " >&6
22196 else
22197
22198
22199 ac_ext=cpp
22200 ac_cpp='$CXXCPP $CPPFLAGS'
22201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22204
22205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22206 /* end confdefs.h. */
22207 #include <math.h>
22208 #ifdef HAVE_IEEEFP_H
22209 #include <ieeefp.h>
22210 #endif
22211
22212 int
22213 main ()
22214 {
22215 _isnan(0);
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 if ac_fn_cxx_try_compile "$LINENO"; then :
22221 glibcxx_cv_func__isnan_use=yes
22222 else
22223 glibcxx_cv_func__isnan_use=no
22224 fi
22225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22226 ac_ext=c
22227 ac_cpp='$CPP $CPPFLAGS'
22228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22231
22232
22233 fi
22234
22235 fi
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22237 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22238
22239 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22240 for ac_func in _isnan
22241 do :
22242 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22243 if test "x$ac_cv_func__isnan" = x""yes; then :
22244 cat >>confdefs.h <<_ACEOF
22245 #define HAVE__ISNAN 1
22246 _ACEOF
22247
22248 fi
22249 done
22250
22251 fi
22252 fi
22253
22254
22255
22256
22257
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22259 $as_echo_n "checking for finite declaration... " >&6; }
22260 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22261 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22262 $as_echo_n "(cached) " >&6
22263 else
22264
22265
22266 ac_ext=cpp
22267 ac_cpp='$CXXCPP $CPPFLAGS'
22268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22271
22272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22273 /* end confdefs.h. */
22274 #include <math.h>
22275 #ifdef HAVE_IEEEFP_H
22276 #include <ieeefp.h>
22277 #endif
22278
22279 int
22280 main ()
22281 {
22282 finite(0);
22283 ;
22284 return 0;
22285 }
22286 _ACEOF
22287 if ac_fn_cxx_try_compile "$LINENO"; then :
22288 glibcxx_cv_func_finite_use=yes
22289 else
22290 glibcxx_cv_func_finite_use=no
22291 fi
22292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22293 ac_ext=c
22294 ac_cpp='$CPP $CPPFLAGS'
22295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22298
22299
22300 fi
22301
22302 fi
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22304 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22305
22306 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22307 for ac_func in finite
22308 do :
22309 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22310 if test "x$ac_cv_func_finite" = x""yes; then :
22311 cat >>confdefs.h <<_ACEOF
22312 #define HAVE_FINITE 1
22313 _ACEOF
22314
22315 fi
22316 done
22317
22318 else
22319
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22321 $as_echo_n "checking for _finite declaration... " >&6; }
22322 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22323 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22324 $as_echo_n "(cached) " >&6
22325 else
22326
22327
22328 ac_ext=cpp
22329 ac_cpp='$CXXCPP $CPPFLAGS'
22330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22333
22334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22335 /* end confdefs.h. */
22336 #include <math.h>
22337 #ifdef HAVE_IEEEFP_H
22338 #include <ieeefp.h>
22339 #endif
22340
22341 int
22342 main ()
22343 {
22344 _finite(0);
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 if ac_fn_cxx_try_compile "$LINENO"; then :
22350 glibcxx_cv_func__finite_use=yes
22351 else
22352 glibcxx_cv_func__finite_use=no
22353 fi
22354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22355 ac_ext=c
22356 ac_cpp='$CPP $CPPFLAGS'
22357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22360
22361
22362 fi
22363
22364 fi
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22366 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22367
22368 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22369 for ac_func in _finite
22370 do :
22371 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22372 if test "x$ac_cv_func__finite" = x""yes; then :
22373 cat >>confdefs.h <<_ACEOF
22374 #define HAVE__FINITE 1
22375 _ACEOF
22376
22377 fi
22378 done
22379
22380 fi
22381 fi
22382
22383
22384
22385
22386
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22388 $as_echo_n "checking for sincos declaration... " >&6; }
22389 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22390 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22391 $as_echo_n "(cached) " >&6
22392 else
22393
22394
22395 ac_ext=cpp
22396 ac_cpp='$CXXCPP $CPPFLAGS'
22397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22400
22401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22402 /* end confdefs.h. */
22403 #include <math.h>
22404 int
22405 main ()
22406 {
22407 sincos(0, 0, 0);
22408 ;
22409 return 0;
22410 }
22411 _ACEOF
22412 if ac_fn_cxx_try_compile "$LINENO"; then :
22413 glibcxx_cv_func_sincos_use=yes
22414 else
22415 glibcxx_cv_func_sincos_use=no
22416 fi
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418 ac_ext=c
22419 ac_cpp='$CPP $CPPFLAGS'
22420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22423
22424
22425 fi
22426
22427 fi
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22429 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22430
22431 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22432 for ac_func in sincos
22433 do :
22434 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22435 if test "x$ac_cv_func_sincos" = x""yes; then :
22436 cat >>confdefs.h <<_ACEOF
22437 #define HAVE_SINCOS 1
22438 _ACEOF
22439
22440 fi
22441 done
22442
22443 else
22444
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22446 $as_echo_n "checking for _sincos declaration... " >&6; }
22447 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22448 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22449 $as_echo_n "(cached) " >&6
22450 else
22451
22452
22453 ac_ext=cpp
22454 ac_cpp='$CXXCPP $CPPFLAGS'
22455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22458
22459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22460 /* end confdefs.h. */
22461 #include <math.h>
22462 int
22463 main ()
22464 {
22465 _sincos(0, 0, 0);
22466 ;
22467 return 0;
22468 }
22469 _ACEOF
22470 if ac_fn_cxx_try_compile "$LINENO"; then :
22471 glibcxx_cv_func__sincos_use=yes
22472 else
22473 glibcxx_cv_func__sincos_use=no
22474 fi
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 ac_ext=c
22477 ac_cpp='$CPP $CPPFLAGS'
22478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22481
22482
22483 fi
22484
22485 fi
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22487 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22488
22489 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22490 for ac_func in _sincos
22491 do :
22492 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22493 if test "x$ac_cv_func__sincos" = x""yes; then :
22494 cat >>confdefs.h <<_ACEOF
22495 #define HAVE__SINCOS 1
22496 _ACEOF
22497
22498 fi
22499 done
22500
22501 fi
22502 fi
22503
22504
22505
22506
22507
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22509 $as_echo_n "checking for fpclass declaration... " >&6; }
22510 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22511 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22512 $as_echo_n "(cached) " >&6
22513 else
22514
22515
22516 ac_ext=cpp
22517 ac_cpp='$CXXCPP $CPPFLAGS'
22518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22521
22522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22523 /* end confdefs.h. */
22524 #include <math.h>
22525 #ifdef HAVE_IEEEFP_H
22526 #include <ieeefp.h>
22527 #endif
22528
22529 int
22530 main ()
22531 {
22532 fpclass(0);
22533 ;
22534 return 0;
22535 }
22536 _ACEOF
22537 if ac_fn_cxx_try_compile "$LINENO"; then :
22538 glibcxx_cv_func_fpclass_use=yes
22539 else
22540 glibcxx_cv_func_fpclass_use=no
22541 fi
22542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22543 ac_ext=c
22544 ac_cpp='$CPP $CPPFLAGS'
22545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22548
22549
22550 fi
22551
22552 fi
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22554 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22555
22556 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22557 for ac_func in fpclass
22558 do :
22559 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22560 if test "x$ac_cv_func_fpclass" = x""yes; then :
22561 cat >>confdefs.h <<_ACEOF
22562 #define HAVE_FPCLASS 1
22563 _ACEOF
22564
22565 fi
22566 done
22567
22568 else
22569
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22571 $as_echo_n "checking for _fpclass declaration... " >&6; }
22572 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22573 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22574 $as_echo_n "(cached) " >&6
22575 else
22576
22577
22578 ac_ext=cpp
22579 ac_cpp='$CXXCPP $CPPFLAGS'
22580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22583
22584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22585 /* end confdefs.h. */
22586 #include <math.h>
22587 #ifdef HAVE_IEEEFP_H
22588 #include <ieeefp.h>
22589 #endif
22590
22591 int
22592 main ()
22593 {
22594 _fpclass(0);
22595 ;
22596 return 0;
22597 }
22598 _ACEOF
22599 if ac_fn_cxx_try_compile "$LINENO"; then :
22600 glibcxx_cv_func__fpclass_use=yes
22601 else
22602 glibcxx_cv_func__fpclass_use=no
22603 fi
22604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22605 ac_ext=c
22606 ac_cpp='$CPP $CPPFLAGS'
22607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22610
22611
22612 fi
22613
22614 fi
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22616 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22617
22618 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22619 for ac_func in _fpclass
22620 do :
22621 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22622 if test "x$ac_cv_func__fpclass" = x""yes; then :
22623 cat >>confdefs.h <<_ACEOF
22624 #define HAVE__FPCLASS 1
22625 _ACEOF
22626
22627 fi
22628 done
22629
22630 fi
22631 fi
22632
22633
22634
22635
22636
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22638 $as_echo_n "checking for qfpclass declaration... " >&6; }
22639 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22640 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22641 $as_echo_n "(cached) " >&6
22642 else
22643
22644
22645 ac_ext=cpp
22646 ac_cpp='$CXXCPP $CPPFLAGS'
22647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22650
22651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22652 /* end confdefs.h. */
22653 #include <math.h>
22654 #ifdef HAVE_IEEEFP_H
22655 #include <ieeefp.h>
22656 #endif
22657
22658 int
22659 main ()
22660 {
22661 qfpclass(0);
22662 ;
22663 return 0;
22664 }
22665 _ACEOF
22666 if ac_fn_cxx_try_compile "$LINENO"; then :
22667 glibcxx_cv_func_qfpclass_use=yes
22668 else
22669 glibcxx_cv_func_qfpclass_use=no
22670 fi
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 ac_ext=c
22673 ac_cpp='$CPP $CPPFLAGS'
22674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22677
22678
22679 fi
22680
22681 fi
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22683 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22684
22685 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22686 for ac_func in qfpclass
22687 do :
22688 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22689 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22690 cat >>confdefs.h <<_ACEOF
22691 #define HAVE_QFPCLASS 1
22692 _ACEOF
22693
22694 fi
22695 done
22696
22697 else
22698
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22700 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22701 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22702 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22703 $as_echo_n "(cached) " >&6
22704 else
22705
22706
22707 ac_ext=cpp
22708 ac_cpp='$CXXCPP $CPPFLAGS'
22709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712
22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714 /* end confdefs.h. */
22715 #include <math.h>
22716 #ifdef HAVE_IEEEFP_H
22717 #include <ieeefp.h>
22718 #endif
22719
22720 int
22721 main ()
22722 {
22723 _qfpclass(0);
22724 ;
22725 return 0;
22726 }
22727 _ACEOF
22728 if ac_fn_cxx_try_compile "$LINENO"; then :
22729 glibcxx_cv_func__qfpclass_use=yes
22730 else
22731 glibcxx_cv_func__qfpclass_use=no
22732 fi
22733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22734 ac_ext=c
22735 ac_cpp='$CPP $CPPFLAGS'
22736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22739
22740
22741 fi
22742
22743 fi
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22745 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22746
22747 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22748 for ac_func in _qfpclass
22749 do :
22750 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22751 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22752 cat >>confdefs.h <<_ACEOF
22753 #define HAVE__QFPCLASS 1
22754 _ACEOF
22755
22756 fi
22757 done
22758
22759 fi
22760 fi
22761
22762
22763
22764
22765
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22767 $as_echo_n "checking for hypot declaration... " >&6; }
22768 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22769 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22770 $as_echo_n "(cached) " >&6
22771 else
22772
22773
22774 ac_ext=cpp
22775 ac_cpp='$CXXCPP $CPPFLAGS'
22776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22779
22780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781 /* end confdefs.h. */
22782 #include <math.h>
22783 int
22784 main ()
22785 {
22786 hypot(0, 0);
22787 ;
22788 return 0;
22789 }
22790 _ACEOF
22791 if ac_fn_cxx_try_compile "$LINENO"; then :
22792 glibcxx_cv_func_hypot_use=yes
22793 else
22794 glibcxx_cv_func_hypot_use=no
22795 fi
22796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22797 ac_ext=c
22798 ac_cpp='$CPP $CPPFLAGS'
22799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22802
22803
22804 fi
22805
22806 fi
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22808 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22809
22810 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22811 for ac_func in hypot
22812 do :
22813 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22814 if test "x$ac_cv_func_hypot" = x""yes; then :
22815 cat >>confdefs.h <<_ACEOF
22816 #define HAVE_HYPOT 1
22817 _ACEOF
22818
22819 fi
22820 done
22821
22822 else
22823
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22825 $as_echo_n "checking for _hypot declaration... " >&6; }
22826 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22827 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22828 $as_echo_n "(cached) " >&6
22829 else
22830
22831
22832 ac_ext=cpp
22833 ac_cpp='$CXXCPP $CPPFLAGS'
22834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22837
22838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22839 /* end confdefs.h. */
22840 #include <math.h>
22841 int
22842 main ()
22843 {
22844 _hypot(0, 0);
22845 ;
22846 return 0;
22847 }
22848 _ACEOF
22849 if ac_fn_cxx_try_compile "$LINENO"; then :
22850 glibcxx_cv_func__hypot_use=yes
22851 else
22852 glibcxx_cv_func__hypot_use=no
22853 fi
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 ac_ext=c
22856 ac_cpp='$CPP $CPPFLAGS'
22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22860
22861
22862 fi
22863
22864 fi
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22866 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22867
22868 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22869 for ac_func in _hypot
22870 do :
22871 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22872 if test "x$ac_cv_func__hypot" = x""yes; then :
22873 cat >>confdefs.h <<_ACEOF
22874 #define HAVE__HYPOT 1
22875 _ACEOF
22876
22877 fi
22878 done
22879
22880 fi
22881 fi
22882
22883
22884
22885
22886
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22888 $as_echo_n "checking for float trig functions... " >&6; }
22889 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22890 $as_echo_n "(cached) " >&6
22891 else
22892
22893
22894 ac_ext=cpp
22895 ac_cpp='$CXXCPP $CPPFLAGS'
22896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22899
22900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22902 #include <math.h>
22903 int
22904 main ()
22905 {
22906 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22907 ;
22908 return 0;
22909 }
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func_float_trig_use=yes
22913 else
22914 glibcxx_cv_func_float_trig_use=no
22915 fi
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22922
22923 fi
22924
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22926 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22927 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22928 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22929 do :
22930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22932 eval as_val=\$$as_ac_var
22933 if test "x$as_val" = x""yes; then :
22934 cat >>confdefs.h <<_ACEOF
22935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22936 _ACEOF
22937
22938 fi
22939 done
22940
22941 else
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22943 $as_echo_n "checking for _float trig functions... " >&6; }
22944 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22945 $as_echo_n "(cached) " >&6
22946 else
22947
22948
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
22955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h. */
22957 #include <math.h>
22958 int
22959 main ()
22960 {
22961 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22962 ;
22963 return 0;
22964 }
22965 _ACEOF
22966 if ac_fn_cxx_try_compile "$LINENO"; then :
22967 glibcxx_cv_func__float_trig_use=yes
22968 else
22969 glibcxx_cv_func__float_trig_use=no
22970 fi
22971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22972 ac_ext=c
22973 ac_cpp='$CPP $CPPFLAGS'
22974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22977
22978 fi
22979
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22981 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22982 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22983 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22984 do :
22985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22987 eval as_val=\$$as_ac_var
22988 if test "x$as_val" = x""yes; then :
22989 cat >>confdefs.h <<_ACEOF
22990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22991 _ACEOF
22992
22993 fi
22994 done
22995
22996 fi
22997 fi
22998
22999
23000
23001
23002
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23004 $as_echo_n "checking for float round functions... " >&6; }
23005 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23006 $as_echo_n "(cached) " >&6
23007 else
23008
23009
23010 ac_ext=cpp
23011 ac_cpp='$CXXCPP $CPPFLAGS'
23012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23015
23016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23017 /* end confdefs.h. */
23018 #include <math.h>
23019 int
23020 main ()
23021 {
23022 ceilf (0); floorf (0);
23023 ;
23024 return 0;
23025 }
23026 _ACEOF
23027 if ac_fn_cxx_try_compile "$LINENO"; then :
23028 glibcxx_cv_func_float_round_use=yes
23029 else
23030 glibcxx_cv_func_float_round_use=no
23031 fi
23032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23033 ac_ext=c
23034 ac_cpp='$CPP $CPPFLAGS'
23035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23038
23039 fi
23040
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23042 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23043 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23044 for ac_func in ceilf floorf
23045 do :
23046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23048 eval as_val=\$$as_ac_var
23049 if test "x$as_val" = x""yes; then :
23050 cat >>confdefs.h <<_ACEOF
23051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23052 _ACEOF
23053
23054 fi
23055 done
23056
23057 else
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23059 $as_echo_n "checking for _float round functions... " >&6; }
23060 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23061 $as_echo_n "(cached) " >&6
23062 else
23063
23064
23065 ac_ext=cpp
23066 ac_cpp='$CXXCPP $CPPFLAGS'
23067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23070
23071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h. */
23073 #include <math.h>
23074 int
23075 main ()
23076 {
23077 _ceilf (0); _floorf (0);
23078 ;
23079 return 0;
23080 }
23081 _ACEOF
23082 if ac_fn_cxx_try_compile "$LINENO"; then :
23083 glibcxx_cv_func__float_round_use=yes
23084 else
23085 glibcxx_cv_func__float_round_use=no
23086 fi
23087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23088 ac_ext=c
23089 ac_cpp='$CPP $CPPFLAGS'
23090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23093
23094 fi
23095
23096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23097 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23098 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23099 for ac_func in _ceilf _floorf
23100 do :
23101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23103 eval as_val=\$$as_ac_var
23104 if test "x$as_val" = x""yes; then :
23105 cat >>confdefs.h <<_ACEOF
23106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23107 _ACEOF
23108
23109 fi
23110 done
23111
23112 fi
23113 fi
23114
23115
23116
23117
23118
23119
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23121 $as_echo_n "checking for expf declaration... " >&6; }
23122 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23123 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23124 $as_echo_n "(cached) " >&6
23125 else
23126
23127
23128 ac_ext=cpp
23129 ac_cpp='$CXXCPP $CPPFLAGS'
23130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23133
23134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23135 /* end confdefs.h. */
23136 #include <math.h>
23137 #ifdef HAVE_IEEEFP_H
23138 #include <ieeefp.h>
23139 #endif
23140
23141 int
23142 main ()
23143 {
23144 expf(0);
23145 ;
23146 return 0;
23147 }
23148 _ACEOF
23149 if ac_fn_cxx_try_compile "$LINENO"; then :
23150 glibcxx_cv_func_expf_use=yes
23151 else
23152 glibcxx_cv_func_expf_use=no
23153 fi
23154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23155 ac_ext=c
23156 ac_cpp='$CPP $CPPFLAGS'
23157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23160
23161
23162 fi
23163
23164 fi
23165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23166 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23167
23168 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23169 for ac_func in expf
23170 do :
23171 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23172 if test "x$ac_cv_func_expf" = x""yes; then :
23173 cat >>confdefs.h <<_ACEOF
23174 #define HAVE_EXPF 1
23175 _ACEOF
23176
23177 fi
23178 done
23179
23180 else
23181
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23183 $as_echo_n "checking for _expf declaration... " >&6; }
23184 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23185 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23186 $as_echo_n "(cached) " >&6
23187 else
23188
23189
23190 ac_ext=cpp
23191 ac_cpp='$CXXCPP $CPPFLAGS'
23192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23195
23196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23197 /* end confdefs.h. */
23198 #include <math.h>
23199 #ifdef HAVE_IEEEFP_H
23200 #include <ieeefp.h>
23201 #endif
23202
23203 int
23204 main ()
23205 {
23206 _expf(0);
23207 ;
23208 return 0;
23209 }
23210 _ACEOF
23211 if ac_fn_cxx_try_compile "$LINENO"; then :
23212 glibcxx_cv_func__expf_use=yes
23213 else
23214 glibcxx_cv_func__expf_use=no
23215 fi
23216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23217 ac_ext=c
23218 ac_cpp='$CPP $CPPFLAGS'
23219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23222
23223
23224 fi
23225
23226 fi
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23228 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23229
23230 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23231 for ac_func in _expf
23232 do :
23233 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23234 if test "x$ac_cv_func__expf" = x""yes; then :
23235 cat >>confdefs.h <<_ACEOF
23236 #define HAVE__EXPF 1
23237 _ACEOF
23238
23239 fi
23240 done
23241
23242 fi
23243 fi
23244
23245
23246
23247
23248
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23250 $as_echo_n "checking for isnanf declaration... " >&6; }
23251 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23252 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23253 $as_echo_n "(cached) " >&6
23254 else
23255
23256
23257 ac_ext=cpp
23258 ac_cpp='$CXXCPP $CPPFLAGS'
23259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23262
23263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23264 /* end confdefs.h. */
23265 #include <math.h>
23266 #ifdef HAVE_IEEEFP_H
23267 #include <ieeefp.h>
23268 #endif
23269
23270 int
23271 main ()
23272 {
23273 isnanf(0);
23274 ;
23275 return 0;
23276 }
23277 _ACEOF
23278 if ac_fn_cxx_try_compile "$LINENO"; then :
23279 glibcxx_cv_func_isnanf_use=yes
23280 else
23281 glibcxx_cv_func_isnanf_use=no
23282 fi
23283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23284 ac_ext=c
23285 ac_cpp='$CPP $CPPFLAGS'
23286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23289
23290
23291 fi
23292
23293 fi
23294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23295 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23296
23297 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23298 for ac_func in isnanf
23299 do :
23300 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23301 if test "x$ac_cv_func_isnanf" = x""yes; then :
23302 cat >>confdefs.h <<_ACEOF
23303 #define HAVE_ISNANF 1
23304 _ACEOF
23305
23306 fi
23307 done
23308
23309 else
23310
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23312 $as_echo_n "checking for _isnanf declaration... " >&6; }
23313 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23314 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23315 $as_echo_n "(cached) " >&6
23316 else
23317
23318
23319 ac_ext=cpp
23320 ac_cpp='$CXXCPP $CPPFLAGS'
23321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23324
23325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23326 /* end confdefs.h. */
23327 #include <math.h>
23328 #ifdef HAVE_IEEEFP_H
23329 #include <ieeefp.h>
23330 #endif
23331
23332 int
23333 main ()
23334 {
23335 _isnanf(0);
23336 ;
23337 return 0;
23338 }
23339 _ACEOF
23340 if ac_fn_cxx_try_compile "$LINENO"; then :
23341 glibcxx_cv_func__isnanf_use=yes
23342 else
23343 glibcxx_cv_func__isnanf_use=no
23344 fi
23345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23346 ac_ext=c
23347 ac_cpp='$CPP $CPPFLAGS'
23348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23351
23352
23353 fi
23354
23355 fi
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23357 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23358
23359 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23360 for ac_func in _isnanf
23361 do :
23362 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23363 if test "x$ac_cv_func__isnanf" = x""yes; then :
23364 cat >>confdefs.h <<_ACEOF
23365 #define HAVE__ISNANF 1
23366 _ACEOF
23367
23368 fi
23369 done
23370
23371 fi
23372 fi
23373
23374
23375
23376
23377
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23379 $as_echo_n "checking for isinff declaration... " >&6; }
23380 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23381 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23382 $as_echo_n "(cached) " >&6
23383 else
23384
23385
23386 ac_ext=cpp
23387 ac_cpp='$CXXCPP $CPPFLAGS'
23388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23391
23392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23393 /* end confdefs.h. */
23394 #include <math.h>
23395 #ifdef HAVE_IEEEFP_H
23396 #include <ieeefp.h>
23397 #endif
23398
23399 int
23400 main ()
23401 {
23402 isinff(0);
23403 ;
23404 return 0;
23405 }
23406 _ACEOF
23407 if ac_fn_cxx_try_compile "$LINENO"; then :
23408 glibcxx_cv_func_isinff_use=yes
23409 else
23410 glibcxx_cv_func_isinff_use=no
23411 fi
23412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23413 ac_ext=c
23414 ac_cpp='$CPP $CPPFLAGS'
23415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23418
23419
23420 fi
23421
23422 fi
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23424 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23425
23426 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23427 for ac_func in isinff
23428 do :
23429 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23430 if test "x$ac_cv_func_isinff" = x""yes; then :
23431 cat >>confdefs.h <<_ACEOF
23432 #define HAVE_ISINFF 1
23433 _ACEOF
23434
23435 fi
23436 done
23437
23438 else
23439
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23441 $as_echo_n "checking for _isinff declaration... " >&6; }
23442 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23443 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23444 $as_echo_n "(cached) " >&6
23445 else
23446
23447
23448 ac_ext=cpp
23449 ac_cpp='$CXXCPP $CPPFLAGS'
23450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23453
23454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23455 /* end confdefs.h. */
23456 #include <math.h>
23457 #ifdef HAVE_IEEEFP_H
23458 #include <ieeefp.h>
23459 #endif
23460
23461 int
23462 main ()
23463 {
23464 _isinff(0);
23465 ;
23466 return 0;
23467 }
23468 _ACEOF
23469 if ac_fn_cxx_try_compile "$LINENO"; then :
23470 glibcxx_cv_func__isinff_use=yes
23471 else
23472 glibcxx_cv_func__isinff_use=no
23473 fi
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23475 ac_ext=c
23476 ac_cpp='$CPP $CPPFLAGS'
23477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23480
23481
23482 fi
23483
23484 fi
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23486 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23487
23488 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23489 for ac_func in _isinff
23490 do :
23491 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23492 if test "x$ac_cv_func__isinff" = x""yes; then :
23493 cat >>confdefs.h <<_ACEOF
23494 #define HAVE__ISINFF 1
23495 _ACEOF
23496
23497 fi
23498 done
23499
23500 fi
23501 fi
23502
23503
23504
23505
23506
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23508 $as_echo_n "checking for atan2f declaration... " >&6; }
23509 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23510 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23511 $as_echo_n "(cached) " >&6
23512 else
23513
23514
23515 ac_ext=cpp
23516 ac_cpp='$CXXCPP $CPPFLAGS'
23517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23523 #include <math.h>
23524 int
23525 main ()
23526 {
23527 atan2f(0, 0);
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23533 glibcxx_cv_func_atan2f_use=yes
23534 else
23535 glibcxx_cv_func_atan2f_use=no
23536 fi
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 ac_ext=c
23539 ac_cpp='$CPP $CPPFLAGS'
23540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23543
23544
23545 fi
23546
23547 fi
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23549 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23550
23551 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23552 for ac_func in atan2f
23553 do :
23554 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23555 if test "x$ac_cv_func_atan2f" = x""yes; then :
23556 cat >>confdefs.h <<_ACEOF
23557 #define HAVE_ATAN2F 1
23558 _ACEOF
23559
23560 fi
23561 done
23562
23563 else
23564
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23566 $as_echo_n "checking for _atan2f declaration... " >&6; }
23567 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23568 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23569 $as_echo_n "(cached) " >&6
23570 else
23571
23572
23573 ac_ext=cpp
23574 ac_cpp='$CXXCPP $CPPFLAGS'
23575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23578
23579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23580 /* end confdefs.h. */
23581 #include <math.h>
23582 int
23583 main ()
23584 {
23585 _atan2f(0, 0);
23586 ;
23587 return 0;
23588 }
23589 _ACEOF
23590 if ac_fn_cxx_try_compile "$LINENO"; then :
23591 glibcxx_cv_func__atan2f_use=yes
23592 else
23593 glibcxx_cv_func__atan2f_use=no
23594 fi
23595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23596 ac_ext=c
23597 ac_cpp='$CPP $CPPFLAGS'
23598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23601
23602
23603 fi
23604
23605 fi
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23607 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23608
23609 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23610 for ac_func in _atan2f
23611 do :
23612 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23613 if test "x$ac_cv_func__atan2f" = x""yes; then :
23614 cat >>confdefs.h <<_ACEOF
23615 #define HAVE__ATAN2F 1
23616 _ACEOF
23617
23618 fi
23619 done
23620
23621 fi
23622 fi
23623
23624
23625
23626
23627
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23629 $as_echo_n "checking for fabsf declaration... " >&6; }
23630 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23631 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23632 $as_echo_n "(cached) " >&6
23633 else
23634
23635
23636 ac_ext=cpp
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23641
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23644 #include <math.h>
23645 #ifdef HAVE_IEEEFP_H
23646 #include <ieeefp.h>
23647 #endif
23648
23649 int
23650 main ()
23651 {
23652 fabsf(0);
23653 ;
23654 return 0;
23655 }
23656 _ACEOF
23657 if ac_fn_cxx_try_compile "$LINENO"; then :
23658 glibcxx_cv_func_fabsf_use=yes
23659 else
23660 glibcxx_cv_func_fabsf_use=no
23661 fi
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23663 ac_ext=c
23664 ac_cpp='$CPP $CPPFLAGS'
23665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23668
23669
23670 fi
23671
23672 fi
23673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23674 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23675
23676 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23677 for ac_func in fabsf
23678 do :
23679 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23680 if test "x$ac_cv_func_fabsf" = x""yes; then :
23681 cat >>confdefs.h <<_ACEOF
23682 #define HAVE_FABSF 1
23683 _ACEOF
23684
23685 fi
23686 done
23687
23688 else
23689
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23691 $as_echo_n "checking for _fabsf declaration... " >&6; }
23692 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23693 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23694 $as_echo_n "(cached) " >&6
23695 else
23696
23697
23698 ac_ext=cpp
23699 ac_cpp='$CXXCPP $CPPFLAGS'
23700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23703
23704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23705 /* end confdefs.h. */
23706 #include <math.h>
23707 #ifdef HAVE_IEEEFP_H
23708 #include <ieeefp.h>
23709 #endif
23710
23711 int
23712 main ()
23713 {
23714 _fabsf(0);
23715 ;
23716 return 0;
23717 }
23718 _ACEOF
23719 if ac_fn_cxx_try_compile "$LINENO"; then :
23720 glibcxx_cv_func__fabsf_use=yes
23721 else
23722 glibcxx_cv_func__fabsf_use=no
23723 fi
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725 ac_ext=c
23726 ac_cpp='$CPP $CPPFLAGS'
23727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23730
23731
23732 fi
23733
23734 fi
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23736 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23737
23738 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23739 for ac_func in _fabsf
23740 do :
23741 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23742 if test "x$ac_cv_func__fabsf" = x""yes; then :
23743 cat >>confdefs.h <<_ACEOF
23744 #define HAVE__FABSF 1
23745 _ACEOF
23746
23747 fi
23748 done
23749
23750 fi
23751 fi
23752
23753
23754
23755
23756
23757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23758 $as_echo_n "checking for fmodf declaration... " >&6; }
23759 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23760 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23761 $as_echo_n "(cached) " >&6
23762 else
23763
23764
23765 ac_ext=cpp
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770
23771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23772 /* end confdefs.h. */
23773 #include <math.h>
23774 int
23775 main ()
23776 {
23777 fmodf(0, 0);
23778 ;
23779 return 0;
23780 }
23781 _ACEOF
23782 if ac_fn_cxx_try_compile "$LINENO"; then :
23783 glibcxx_cv_func_fmodf_use=yes
23784 else
23785 glibcxx_cv_func_fmodf_use=no
23786 fi
23787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23788 ac_ext=c
23789 ac_cpp='$CPP $CPPFLAGS'
23790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23793
23794
23795 fi
23796
23797 fi
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23799 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23800
23801 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23802 for ac_func in fmodf
23803 do :
23804 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23805 if test "x$ac_cv_func_fmodf" = x""yes; then :
23806 cat >>confdefs.h <<_ACEOF
23807 #define HAVE_FMODF 1
23808 _ACEOF
23809
23810 fi
23811 done
23812
23813 else
23814
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23816 $as_echo_n "checking for _fmodf declaration... " >&6; }
23817 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23818 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23819 $as_echo_n "(cached) " >&6
23820 else
23821
23822
23823 ac_ext=cpp
23824 ac_cpp='$CXXCPP $CPPFLAGS'
23825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23828
23829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23830 /* end confdefs.h. */
23831 #include <math.h>
23832 int
23833 main ()
23834 {
23835 _fmodf(0, 0);
23836 ;
23837 return 0;
23838 }
23839 _ACEOF
23840 if ac_fn_cxx_try_compile "$LINENO"; then :
23841 glibcxx_cv_func__fmodf_use=yes
23842 else
23843 glibcxx_cv_func__fmodf_use=no
23844 fi
23845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23846 ac_ext=c
23847 ac_cpp='$CPP $CPPFLAGS'
23848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23851
23852
23853 fi
23854
23855 fi
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23857 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23858
23859 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23860 for ac_func in _fmodf
23861 do :
23862 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23863 if test "x$ac_cv_func__fmodf" = x""yes; then :
23864 cat >>confdefs.h <<_ACEOF
23865 #define HAVE__FMODF 1
23866 _ACEOF
23867
23868 fi
23869 done
23870
23871 fi
23872 fi
23873
23874
23875
23876
23877
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23879 $as_echo_n "checking for frexpf declaration... " >&6; }
23880 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23881 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23882 $as_echo_n "(cached) " >&6
23883 else
23884
23885
23886 ac_ext=cpp
23887 ac_cpp='$CXXCPP $CPPFLAGS'
23888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23891
23892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23893 /* end confdefs.h. */
23894 #include <math.h>
23895 int
23896 main ()
23897 {
23898 frexpf(0, 0);
23899 ;
23900 return 0;
23901 }
23902 _ACEOF
23903 if ac_fn_cxx_try_compile "$LINENO"; then :
23904 glibcxx_cv_func_frexpf_use=yes
23905 else
23906 glibcxx_cv_func_frexpf_use=no
23907 fi
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_ext=c
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23914
23915
23916 fi
23917
23918 fi
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23920 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23921
23922 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23923 for ac_func in frexpf
23924 do :
23925 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23926 if test "x$ac_cv_func_frexpf" = x""yes; then :
23927 cat >>confdefs.h <<_ACEOF
23928 #define HAVE_FREXPF 1
23929 _ACEOF
23930
23931 fi
23932 done
23933
23934 else
23935
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23937 $as_echo_n "checking for _frexpf declaration... " >&6; }
23938 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23939 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23940 $as_echo_n "(cached) " >&6
23941 else
23942
23943
23944 ac_ext=cpp
23945 ac_cpp='$CXXCPP $CPPFLAGS'
23946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23949
23950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23951 /* end confdefs.h. */
23952 #include <math.h>
23953 int
23954 main ()
23955 {
23956 _frexpf(0, 0);
23957 ;
23958 return 0;
23959 }
23960 _ACEOF
23961 if ac_fn_cxx_try_compile "$LINENO"; then :
23962 glibcxx_cv_func__frexpf_use=yes
23963 else
23964 glibcxx_cv_func__frexpf_use=no
23965 fi
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 ac_ext=c
23968 ac_cpp='$CPP $CPPFLAGS'
23969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23972
23973
23974 fi
23975
23976 fi
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23978 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23979
23980 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23981 for ac_func in _frexpf
23982 do :
23983 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23984 if test "x$ac_cv_func__frexpf" = x""yes; then :
23985 cat >>confdefs.h <<_ACEOF
23986 #define HAVE__FREXPF 1
23987 _ACEOF
23988
23989 fi
23990 done
23991
23992 fi
23993 fi
23994
23995
23996
23997
23998
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24000 $as_echo_n "checking for hypotf declaration... " >&6; }
24001 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24002 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24004 else
24005
24006
24007 ac_ext=cpp
24008 ac_cpp='$CXXCPP $CPPFLAGS'
24009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24012
24013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24014 /* end confdefs.h. */
24015 #include <math.h>
24016 int
24017 main ()
24018 {
24019 hypotf(0, 0);
24020 ;
24021 return 0;
24022 }
24023 _ACEOF
24024 if ac_fn_cxx_try_compile "$LINENO"; then :
24025 glibcxx_cv_func_hypotf_use=yes
24026 else
24027 glibcxx_cv_func_hypotf_use=no
24028 fi
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 ac_ext=c
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24035
24036
24037 fi
24038
24039 fi
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24041 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24042
24043 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24044 for ac_func in hypotf
24045 do :
24046 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24047 if test "x$ac_cv_func_hypotf" = x""yes; then :
24048 cat >>confdefs.h <<_ACEOF
24049 #define HAVE_HYPOTF 1
24050 _ACEOF
24051
24052 fi
24053 done
24054
24055 else
24056
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24058 $as_echo_n "checking for _hypotf declaration... " >&6; }
24059 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24060 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24061 $as_echo_n "(cached) " >&6
24062 else
24063
24064
24065 ac_ext=cpp
24066 ac_cpp='$CXXCPP $CPPFLAGS'
24067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24070
24071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h. */
24073 #include <math.h>
24074 int
24075 main ()
24076 {
24077 _hypotf(0, 0);
24078 ;
24079 return 0;
24080 }
24081 _ACEOF
24082 if ac_fn_cxx_try_compile "$LINENO"; then :
24083 glibcxx_cv_func__hypotf_use=yes
24084 else
24085 glibcxx_cv_func__hypotf_use=no
24086 fi
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 ac_ext=c
24089 ac_cpp='$CPP $CPPFLAGS'
24090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24093
24094
24095 fi
24096
24097 fi
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24099 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24100
24101 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24102 for ac_func in _hypotf
24103 do :
24104 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24105 if test "x$ac_cv_func__hypotf" = x""yes; then :
24106 cat >>confdefs.h <<_ACEOF
24107 #define HAVE__HYPOTF 1
24108 _ACEOF
24109
24110 fi
24111 done
24112
24113 fi
24114 fi
24115
24116
24117
24118
24119
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24121 $as_echo_n "checking for ldexpf declaration... " >&6; }
24122 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24123 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24124 $as_echo_n "(cached) " >&6
24125 else
24126
24127
24128 ac_ext=cpp
24129 ac_cpp='$CXXCPP $CPPFLAGS'
24130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24133
24134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24135 /* end confdefs.h. */
24136 #include <math.h>
24137 int
24138 main ()
24139 {
24140 ldexpf(0, 0);
24141 ;
24142 return 0;
24143 }
24144 _ACEOF
24145 if ac_fn_cxx_try_compile "$LINENO"; then :
24146 glibcxx_cv_func_ldexpf_use=yes
24147 else
24148 glibcxx_cv_func_ldexpf_use=no
24149 fi
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24151 ac_ext=c
24152 ac_cpp='$CPP $CPPFLAGS'
24153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24156
24157
24158 fi
24159
24160 fi
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24162 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24163
24164 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24165 for ac_func in ldexpf
24166 do :
24167 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24168 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24169 cat >>confdefs.h <<_ACEOF
24170 #define HAVE_LDEXPF 1
24171 _ACEOF
24172
24173 fi
24174 done
24175
24176 else
24177
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24179 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24180 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24181 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24182 $as_echo_n "(cached) " >&6
24183 else
24184
24185
24186 ac_ext=cpp
24187 ac_cpp='$CXXCPP $CPPFLAGS'
24188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24191
24192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24193 /* end confdefs.h. */
24194 #include <math.h>
24195 int
24196 main ()
24197 {
24198 _ldexpf(0, 0);
24199 ;
24200 return 0;
24201 }
24202 _ACEOF
24203 if ac_fn_cxx_try_compile "$LINENO"; then :
24204 glibcxx_cv_func__ldexpf_use=yes
24205 else
24206 glibcxx_cv_func__ldexpf_use=no
24207 fi
24208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24209 ac_ext=c
24210 ac_cpp='$CPP $CPPFLAGS'
24211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24214
24215
24216 fi
24217
24218 fi
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24220 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24221
24222 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24223 for ac_func in _ldexpf
24224 do :
24225 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24226 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24227 cat >>confdefs.h <<_ACEOF
24228 #define HAVE__LDEXPF 1
24229 _ACEOF
24230
24231 fi
24232 done
24233
24234 fi
24235 fi
24236
24237
24238
24239
24240
24241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24242 $as_echo_n "checking for logf declaration... " >&6; }
24243 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24244 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24245 $as_echo_n "(cached) " >&6
24246 else
24247
24248
24249 ac_ext=cpp
24250 ac_cpp='$CXXCPP $CPPFLAGS'
24251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24254
24255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24256 /* end confdefs.h. */
24257 #include <math.h>
24258 #ifdef HAVE_IEEEFP_H
24259 #include <ieeefp.h>
24260 #endif
24261
24262 int
24263 main ()
24264 {
24265 logf(0);
24266 ;
24267 return 0;
24268 }
24269 _ACEOF
24270 if ac_fn_cxx_try_compile "$LINENO"; then :
24271 glibcxx_cv_func_logf_use=yes
24272 else
24273 glibcxx_cv_func_logf_use=no
24274 fi
24275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 ac_ext=c
24277 ac_cpp='$CPP $CPPFLAGS'
24278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24281
24282
24283 fi
24284
24285 fi
24286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24287 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24288
24289 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24290 for ac_func in logf
24291 do :
24292 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24293 if test "x$ac_cv_func_logf" = x""yes; then :
24294 cat >>confdefs.h <<_ACEOF
24295 #define HAVE_LOGF 1
24296 _ACEOF
24297
24298 fi
24299 done
24300
24301 else
24302
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24304 $as_echo_n "checking for _logf declaration... " >&6; }
24305 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24306 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24307 $as_echo_n "(cached) " >&6
24308 else
24309
24310
24311 ac_ext=cpp
24312 ac_cpp='$CXXCPP $CPPFLAGS'
24313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24316
24317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24318 /* end confdefs.h. */
24319 #include <math.h>
24320 #ifdef HAVE_IEEEFP_H
24321 #include <ieeefp.h>
24322 #endif
24323
24324 int
24325 main ()
24326 {
24327 _logf(0);
24328 ;
24329 return 0;
24330 }
24331 _ACEOF
24332 if ac_fn_cxx_try_compile "$LINENO"; then :
24333 glibcxx_cv_func__logf_use=yes
24334 else
24335 glibcxx_cv_func__logf_use=no
24336 fi
24337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24338 ac_ext=c
24339 ac_cpp='$CPP $CPPFLAGS'
24340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24343
24344
24345 fi
24346
24347 fi
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24349 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24350
24351 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24352 for ac_func in _logf
24353 do :
24354 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24355 if test "x$ac_cv_func__logf" = x""yes; then :
24356 cat >>confdefs.h <<_ACEOF
24357 #define HAVE__LOGF 1
24358 _ACEOF
24359
24360 fi
24361 done
24362
24363 fi
24364 fi
24365
24366
24367
24368
24369
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24371 $as_echo_n "checking for log10f declaration... " >&6; }
24372 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24373 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24374 $as_echo_n "(cached) " >&6
24375 else
24376
24377
24378 ac_ext=cpp
24379 ac_cpp='$CXXCPP $CPPFLAGS'
24380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24383
24384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24385 /* end confdefs.h. */
24386 #include <math.h>
24387 #ifdef HAVE_IEEEFP_H
24388 #include <ieeefp.h>
24389 #endif
24390
24391 int
24392 main ()
24393 {
24394 log10f(0);
24395 ;
24396 return 0;
24397 }
24398 _ACEOF
24399 if ac_fn_cxx_try_compile "$LINENO"; then :
24400 glibcxx_cv_func_log10f_use=yes
24401 else
24402 glibcxx_cv_func_log10f_use=no
24403 fi
24404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24405 ac_ext=c
24406 ac_cpp='$CPP $CPPFLAGS'
24407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24410
24411
24412 fi
24413
24414 fi
24415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24416 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24417
24418 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24419 for ac_func in log10f
24420 do :
24421 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24422 if test "x$ac_cv_func_log10f" = x""yes; then :
24423 cat >>confdefs.h <<_ACEOF
24424 #define HAVE_LOG10F 1
24425 _ACEOF
24426
24427 fi
24428 done
24429
24430 else
24431
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24433 $as_echo_n "checking for _log10f declaration... " >&6; }
24434 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24435 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24436 $as_echo_n "(cached) " >&6
24437 else
24438
24439
24440 ac_ext=cpp
24441 ac_cpp='$CXXCPP $CPPFLAGS'
24442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24445
24446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24448 #include <math.h>
24449 #ifdef HAVE_IEEEFP_H
24450 #include <ieeefp.h>
24451 #endif
24452
24453 int
24454 main ()
24455 {
24456 _log10f(0);
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func__log10f_use=yes
24463 else
24464 glibcxx_cv_func__log10f_use=no
24465 fi
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472
24473
24474 fi
24475
24476 fi
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24478 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24479
24480 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24481 for ac_func in _log10f
24482 do :
24483 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24484 if test "x$ac_cv_func__log10f" = x""yes; then :
24485 cat >>confdefs.h <<_ACEOF
24486 #define HAVE__LOG10F 1
24487 _ACEOF
24488
24489 fi
24490 done
24491
24492 fi
24493 fi
24494
24495
24496
24497
24498
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24500 $as_echo_n "checking for modff declaration... " >&6; }
24501 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24502 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24503 $as_echo_n "(cached) " >&6
24504 else
24505
24506
24507 ac_ext=cpp
24508 ac_cpp='$CXXCPP $CPPFLAGS'
24509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24512
24513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24514 /* end confdefs.h. */
24515 #include <math.h>
24516 int
24517 main ()
24518 {
24519 modff(0, 0);
24520 ;
24521 return 0;
24522 }
24523 _ACEOF
24524 if ac_fn_cxx_try_compile "$LINENO"; then :
24525 glibcxx_cv_func_modff_use=yes
24526 else
24527 glibcxx_cv_func_modff_use=no
24528 fi
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 ac_ext=c
24531 ac_cpp='$CPP $CPPFLAGS'
24532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24535
24536
24537 fi
24538
24539 fi
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24541 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24542
24543 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24544 for ac_func in modff
24545 do :
24546 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24547 if test "x$ac_cv_func_modff" = x""yes; then :
24548 cat >>confdefs.h <<_ACEOF
24549 #define HAVE_MODFF 1
24550 _ACEOF
24551
24552 fi
24553 done
24554
24555 else
24556
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24558 $as_echo_n "checking for _modff declaration... " >&6; }
24559 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24560 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24561 $as_echo_n "(cached) " >&6
24562 else
24563
24564
24565 ac_ext=cpp
24566 ac_cpp='$CXXCPP $CPPFLAGS'
24567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570
24571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572 /* end confdefs.h. */
24573 #include <math.h>
24574 int
24575 main ()
24576 {
24577 _modff(0, 0);
24578 ;
24579 return 0;
24580 }
24581 _ACEOF
24582 if ac_fn_cxx_try_compile "$LINENO"; then :
24583 glibcxx_cv_func__modff_use=yes
24584 else
24585 glibcxx_cv_func__modff_use=no
24586 fi
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588 ac_ext=c
24589 ac_cpp='$CPP $CPPFLAGS'
24590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24593
24594
24595 fi
24596
24597 fi
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24599 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24600
24601 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24602 for ac_func in _modff
24603 do :
24604 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24605 if test "x$ac_cv_func__modff" = x""yes; then :
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE__MODFF 1
24608 _ACEOF
24609
24610 fi
24611 done
24612
24613 fi
24614 fi
24615
24616
24617
24618
24619
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24621 $as_echo_n "checking for modf declaration... " >&6; }
24622 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24623 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24624 $as_echo_n "(cached) " >&6
24625 else
24626
24627
24628 ac_ext=cpp
24629 ac_cpp='$CXXCPP $CPPFLAGS'
24630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24633
24634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24635 /* end confdefs.h. */
24636 #include <math.h>
24637 int
24638 main ()
24639 {
24640 modf(0, 0);
24641 ;
24642 return 0;
24643 }
24644 _ACEOF
24645 if ac_fn_cxx_try_compile "$LINENO"; then :
24646 glibcxx_cv_func_modf_use=yes
24647 else
24648 glibcxx_cv_func_modf_use=no
24649 fi
24650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 ac_ext=c
24652 ac_cpp='$CPP $CPPFLAGS'
24653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24656
24657
24658 fi
24659
24660 fi
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24662 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24663
24664 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24665 for ac_func in modf
24666 do :
24667 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24668 if test "x$ac_cv_func_modf" = x""yes; then :
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_MODF 1
24671 _ACEOF
24672
24673 fi
24674 done
24675
24676 else
24677
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24679 $as_echo_n "checking for _modf declaration... " >&6; }
24680 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24681 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24682 $as_echo_n "(cached) " >&6
24683 else
24684
24685
24686 ac_ext=cpp
24687 ac_cpp='$CXXCPP $CPPFLAGS'
24688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691
24692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693 /* end confdefs.h. */
24694 #include <math.h>
24695 int
24696 main ()
24697 {
24698 _modf(0, 0);
24699 ;
24700 return 0;
24701 }
24702 _ACEOF
24703 if ac_fn_cxx_try_compile "$LINENO"; then :
24704 glibcxx_cv_func__modf_use=yes
24705 else
24706 glibcxx_cv_func__modf_use=no
24707 fi
24708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24709 ac_ext=c
24710 ac_cpp='$CPP $CPPFLAGS'
24711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24714
24715
24716 fi
24717
24718 fi
24719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24720 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24721
24722 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24723 for ac_func in _modf
24724 do :
24725 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24726 if test "x$ac_cv_func__modf" = x""yes; then :
24727 cat >>confdefs.h <<_ACEOF
24728 #define HAVE__MODF 1
24729 _ACEOF
24730
24731 fi
24732 done
24733
24734 fi
24735 fi
24736
24737
24738
24739
24740
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24742 $as_echo_n "checking for powf declaration... " >&6; }
24743 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24744 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24745 $as_echo_n "(cached) " >&6
24746 else
24747
24748
24749 ac_ext=cpp
24750 ac_cpp='$CXXCPP $CPPFLAGS'
24751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24754
24755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24757 #include <math.h>
24758 int
24759 main ()
24760 {
24761 powf(0, 0);
24762 ;
24763 return 0;
24764 }
24765 _ACEOF
24766 if ac_fn_cxx_try_compile "$LINENO"; then :
24767 glibcxx_cv_func_powf_use=yes
24768 else
24769 glibcxx_cv_func_powf_use=no
24770 fi
24771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 ac_ext=c
24773 ac_cpp='$CPP $CPPFLAGS'
24774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24777
24778
24779 fi
24780
24781 fi
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24783 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24784
24785 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24786 for ac_func in powf
24787 do :
24788 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24789 if test "x$ac_cv_func_powf" = x""yes; then :
24790 cat >>confdefs.h <<_ACEOF
24791 #define HAVE_POWF 1
24792 _ACEOF
24793
24794 fi
24795 done
24796
24797 else
24798
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24800 $as_echo_n "checking for _powf declaration... " >&6; }
24801 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24802 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24803 $as_echo_n "(cached) " >&6
24804 else
24805
24806
24807 ac_ext=cpp
24808 ac_cpp='$CXXCPP $CPPFLAGS'
24809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24812
24813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24814 /* end confdefs.h. */
24815 #include <math.h>
24816 int
24817 main ()
24818 {
24819 _powf(0, 0);
24820 ;
24821 return 0;
24822 }
24823 _ACEOF
24824 if ac_fn_cxx_try_compile "$LINENO"; then :
24825 glibcxx_cv_func__powf_use=yes
24826 else
24827 glibcxx_cv_func__powf_use=no
24828 fi
24829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830 ac_ext=c
24831 ac_cpp='$CPP $CPPFLAGS'
24832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24835
24836
24837 fi
24838
24839 fi
24840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24841 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24842
24843 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24844 for ac_func in _powf
24845 do :
24846 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24847 if test "x$ac_cv_func__powf" = x""yes; then :
24848 cat >>confdefs.h <<_ACEOF
24849 #define HAVE__POWF 1
24850 _ACEOF
24851
24852 fi
24853 done
24854
24855 fi
24856 fi
24857
24858
24859
24860
24861
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24863 $as_echo_n "checking for sqrtf declaration... " >&6; }
24864 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24865 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24866 $as_echo_n "(cached) " >&6
24867 else
24868
24869
24870 ac_ext=cpp
24871 ac_cpp='$CXXCPP $CPPFLAGS'
24872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24875
24876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24877 /* end confdefs.h. */
24878 #include <math.h>
24879 #ifdef HAVE_IEEEFP_H
24880 #include <ieeefp.h>
24881 #endif
24882
24883 int
24884 main ()
24885 {
24886 sqrtf(0);
24887 ;
24888 return 0;
24889 }
24890 _ACEOF
24891 if ac_fn_cxx_try_compile "$LINENO"; then :
24892 glibcxx_cv_func_sqrtf_use=yes
24893 else
24894 glibcxx_cv_func_sqrtf_use=no
24895 fi
24896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24897 ac_ext=c
24898 ac_cpp='$CPP $CPPFLAGS'
24899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24902
24903
24904 fi
24905
24906 fi
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24908 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24909
24910 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24911 for ac_func in sqrtf
24912 do :
24913 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24914 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24915 cat >>confdefs.h <<_ACEOF
24916 #define HAVE_SQRTF 1
24917 _ACEOF
24918
24919 fi
24920 done
24921
24922 else
24923
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24925 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24926 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24927 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24928 $as_echo_n "(cached) " >&6
24929 else
24930
24931
24932 ac_ext=cpp
24933 ac_cpp='$CXXCPP $CPPFLAGS'
24934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24937
24938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24939 /* end confdefs.h. */
24940 #include <math.h>
24941 #ifdef HAVE_IEEEFP_H
24942 #include <ieeefp.h>
24943 #endif
24944
24945 int
24946 main ()
24947 {
24948 _sqrtf(0);
24949 ;
24950 return 0;
24951 }
24952 _ACEOF
24953 if ac_fn_cxx_try_compile "$LINENO"; then :
24954 glibcxx_cv_func__sqrtf_use=yes
24955 else
24956 glibcxx_cv_func__sqrtf_use=no
24957 fi
24958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24959 ac_ext=c
24960 ac_cpp='$CPP $CPPFLAGS'
24961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24964
24965
24966 fi
24967
24968 fi
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24970 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24971
24972 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24973 for ac_func in _sqrtf
24974 do :
24975 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24976 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24977 cat >>confdefs.h <<_ACEOF
24978 #define HAVE__SQRTF 1
24979 _ACEOF
24980
24981 fi
24982 done
24983
24984 fi
24985 fi
24986
24987
24988
24989
24990
24991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24992 $as_echo_n "checking for sincosf declaration... " >&6; }
24993 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24994 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24995 $as_echo_n "(cached) " >&6
24996 else
24997
24998
24999 ac_ext=cpp
25000 ac_cpp='$CXXCPP $CPPFLAGS'
25001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25004
25005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25006 /* end confdefs.h. */
25007 #include <math.h>
25008 int
25009 main ()
25010 {
25011 sincosf(0, 0, 0);
25012 ;
25013 return 0;
25014 }
25015 _ACEOF
25016 if ac_fn_cxx_try_compile "$LINENO"; then :
25017 glibcxx_cv_func_sincosf_use=yes
25018 else
25019 glibcxx_cv_func_sincosf_use=no
25020 fi
25021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25022 ac_ext=c
25023 ac_cpp='$CPP $CPPFLAGS'
25024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25027
25028
25029 fi
25030
25031 fi
25032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25033 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25034
25035 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25036 for ac_func in sincosf
25037 do :
25038 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25039 if test "x$ac_cv_func_sincosf" = x""yes; then :
25040 cat >>confdefs.h <<_ACEOF
25041 #define HAVE_SINCOSF 1
25042 _ACEOF
25043
25044 fi
25045 done
25046
25047 else
25048
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25050 $as_echo_n "checking for _sincosf declaration... " >&6; }
25051 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25052 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25053 $as_echo_n "(cached) " >&6
25054 else
25055
25056
25057 ac_ext=cpp
25058 ac_cpp='$CXXCPP $CPPFLAGS'
25059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25062
25063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25064 /* end confdefs.h. */
25065 #include <math.h>
25066 int
25067 main ()
25068 {
25069 _sincosf(0, 0, 0);
25070 ;
25071 return 0;
25072 }
25073 _ACEOF
25074 if ac_fn_cxx_try_compile "$LINENO"; then :
25075 glibcxx_cv_func__sincosf_use=yes
25076 else
25077 glibcxx_cv_func__sincosf_use=no
25078 fi
25079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25080 ac_ext=c
25081 ac_cpp='$CPP $CPPFLAGS'
25082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25085
25086
25087 fi
25088
25089 fi
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25091 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25092
25093 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25094 for ac_func in _sincosf
25095 do :
25096 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25097 if test "x$ac_cv_func__sincosf" = x""yes; then :
25098 cat >>confdefs.h <<_ACEOF
25099 #define HAVE__SINCOSF 1
25100 _ACEOF
25101
25102 fi
25103 done
25104
25105 fi
25106 fi
25107
25108
25109
25110
25111
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25113 $as_echo_n "checking for finitef declaration... " >&6; }
25114 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25115 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25116 $as_echo_n "(cached) " >&6
25117 else
25118
25119
25120 ac_ext=cpp
25121 ac_cpp='$CXXCPP $CPPFLAGS'
25122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25125
25126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25127 /* end confdefs.h. */
25128 #include <math.h>
25129 #ifdef HAVE_IEEEFP_H
25130 #include <ieeefp.h>
25131 #endif
25132
25133 int
25134 main ()
25135 {
25136 finitef(0);
25137 ;
25138 return 0;
25139 }
25140 _ACEOF
25141 if ac_fn_cxx_try_compile "$LINENO"; then :
25142 glibcxx_cv_func_finitef_use=yes
25143 else
25144 glibcxx_cv_func_finitef_use=no
25145 fi
25146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25147 ac_ext=c
25148 ac_cpp='$CPP $CPPFLAGS'
25149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25152
25153
25154 fi
25155
25156 fi
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25158 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25159
25160 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25161 for ac_func in finitef
25162 do :
25163 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25164 if test "x$ac_cv_func_finitef" = x""yes; then :
25165 cat >>confdefs.h <<_ACEOF
25166 #define HAVE_FINITEF 1
25167 _ACEOF
25168
25169 fi
25170 done
25171
25172 else
25173
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25175 $as_echo_n "checking for _finitef declaration... " >&6; }
25176 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25177 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25180
25181
25182 ac_ext=cpp
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25187
25188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25189 /* end confdefs.h. */
25190 #include <math.h>
25191 #ifdef HAVE_IEEEFP_H
25192 #include <ieeefp.h>
25193 #endif
25194
25195 int
25196 main ()
25197 {
25198 _finitef(0);
25199 ;
25200 return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_cxx_try_compile "$LINENO"; then :
25204 glibcxx_cv_func__finitef_use=yes
25205 else
25206 glibcxx_cv_func__finitef_use=no
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 ac_ext=c
25210 ac_cpp='$CPP $CPPFLAGS'
25211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25214
25215
25216 fi
25217
25218 fi
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25220 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25221
25222 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25223 for ac_func in _finitef
25224 do :
25225 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25226 if test "x$ac_cv_func__finitef" = x""yes; then :
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE__FINITEF 1
25229 _ACEOF
25230
25231 fi
25232 done
25233
25234 fi
25235 fi
25236
25237
25238
25239
25240
25241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25242 $as_echo_n "checking for long double trig functions... " >&6; }
25243 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25244 $as_echo_n "(cached) " >&6
25245 else
25246
25247
25248 ac_ext=cpp
25249 ac_cpp='$CXXCPP $CPPFLAGS'
25250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25253
25254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25255 /* end confdefs.h. */
25256 #include <math.h>
25257 int
25258 main ()
25259 {
25260 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25261 ;
25262 return 0;
25263 }
25264 _ACEOF
25265 if ac_fn_cxx_try_compile "$LINENO"; then :
25266 glibcxx_cv_func_long_double_trig_use=yes
25267 else
25268 glibcxx_cv_func_long_double_trig_use=no
25269 fi
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 ac_ext=c
25272 ac_cpp='$CPP $CPPFLAGS'
25273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25276
25277 fi
25278
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25280 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25281 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25282 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25283 do :
25284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25286 eval as_val=\$$as_ac_var
25287 if test "x$as_val" = x""yes; then :
25288 cat >>confdefs.h <<_ACEOF
25289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25290 _ACEOF
25291
25292 fi
25293 done
25294
25295 else
25296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25297 $as_echo_n "checking for _long double trig functions... " >&6; }
25298 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25299 $as_echo_n "(cached) " >&6
25300 else
25301
25302
25303 ac_ext=cpp
25304 ac_cpp='$CXXCPP $CPPFLAGS'
25305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25308
25309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25310 /* end confdefs.h. */
25311 #include <math.h>
25312 int
25313 main ()
25314 {
25315 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25316 ;
25317 return 0;
25318 }
25319 _ACEOF
25320 if ac_fn_cxx_try_compile "$LINENO"; then :
25321 glibcxx_cv_func__long_double_trig_use=yes
25322 else
25323 glibcxx_cv_func__long_double_trig_use=no
25324 fi
25325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326 ac_ext=c
25327 ac_cpp='$CPP $CPPFLAGS'
25328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25331
25332 fi
25333
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25335 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25336 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25337 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25338 do :
25339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25341 eval as_val=\$$as_ac_var
25342 if test "x$as_val" = x""yes; then :
25343 cat >>confdefs.h <<_ACEOF
25344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25345 _ACEOF
25346
25347 fi
25348 done
25349
25350 fi
25351 fi
25352
25353
25354
25355
25356
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25358 $as_echo_n "checking for long double round functions... " >&6; }
25359 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25360 $as_echo_n "(cached) " >&6
25361 else
25362
25363
25364 ac_ext=cpp
25365 ac_cpp='$CXXCPP $CPPFLAGS'
25366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25369
25370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25371 /* end confdefs.h. */
25372 #include <math.h>
25373 int
25374 main ()
25375 {
25376 ceill (0); floorl (0);
25377 ;
25378 return 0;
25379 }
25380 _ACEOF
25381 if ac_fn_cxx_try_compile "$LINENO"; then :
25382 glibcxx_cv_func_long_double_round_use=yes
25383 else
25384 glibcxx_cv_func_long_double_round_use=no
25385 fi
25386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25387 ac_ext=c
25388 ac_cpp='$CPP $CPPFLAGS'
25389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25392
25393 fi
25394
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25396 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25397 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25398 for ac_func in ceill floorl
25399 do :
25400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25402 eval as_val=\$$as_ac_var
25403 if test "x$as_val" = x""yes; then :
25404 cat >>confdefs.h <<_ACEOF
25405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25406 _ACEOF
25407
25408 fi
25409 done
25410
25411 else
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25413 $as_echo_n "checking for _long double round functions... " >&6; }
25414 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25415 $as_echo_n "(cached) " >&6
25416 else
25417
25418
25419 ac_ext=cpp
25420 ac_cpp='$CXXCPP $CPPFLAGS'
25421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25424
25425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h. */
25427 #include <math.h>
25428 int
25429 main ()
25430 {
25431 _ceill (0); _floorl (0);
25432 ;
25433 return 0;
25434 }
25435 _ACEOF
25436 if ac_fn_cxx_try_compile "$LINENO"; then :
25437 glibcxx_cv_func__long_double_round_use=yes
25438 else
25439 glibcxx_cv_func__long_double_round_use=no
25440 fi
25441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25442 ac_ext=c
25443 ac_cpp='$CPP $CPPFLAGS'
25444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25447
25448 fi
25449
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25451 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25452 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25453 for ac_func in _ceill _floorl
25454 do :
25455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25457 eval as_val=\$$as_ac_var
25458 if test "x$as_val" = x""yes; then :
25459 cat >>confdefs.h <<_ACEOF
25460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25461 _ACEOF
25462
25463 fi
25464 done
25465
25466 fi
25467 fi
25468
25469
25470
25471
25472
25473
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25475 $as_echo_n "checking for isnanl declaration... " >&6; }
25476 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25477 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25478 $as_echo_n "(cached) " >&6
25479 else
25480
25481
25482 ac_ext=cpp
25483 ac_cpp='$CXXCPP $CPPFLAGS'
25484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25487
25488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25489 /* end confdefs.h. */
25490 #include <math.h>
25491 #ifdef HAVE_IEEEFP_H
25492 #include <ieeefp.h>
25493 #endif
25494
25495 int
25496 main ()
25497 {
25498 isnanl(0);
25499 ;
25500 return 0;
25501 }
25502 _ACEOF
25503 if ac_fn_cxx_try_compile "$LINENO"; then :
25504 glibcxx_cv_func_isnanl_use=yes
25505 else
25506 glibcxx_cv_func_isnanl_use=no
25507 fi
25508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25509 ac_ext=c
25510 ac_cpp='$CPP $CPPFLAGS'
25511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25514
25515
25516 fi
25517
25518 fi
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25520 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25521
25522 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25523 for ac_func in isnanl
25524 do :
25525 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25526 if test "x$ac_cv_func_isnanl" = x""yes; then :
25527 cat >>confdefs.h <<_ACEOF
25528 #define HAVE_ISNANL 1
25529 _ACEOF
25530
25531 fi
25532 done
25533
25534 else
25535
25536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25537 $as_echo_n "checking for _isnanl declaration... " >&6; }
25538 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25539 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25540 $as_echo_n "(cached) " >&6
25541 else
25542
25543
25544 ac_ext=cpp
25545 ac_cpp='$CXXCPP $CPPFLAGS'
25546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25549
25550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25551 /* end confdefs.h. */
25552 #include <math.h>
25553 #ifdef HAVE_IEEEFP_H
25554 #include <ieeefp.h>
25555 #endif
25556
25557 int
25558 main ()
25559 {
25560 _isnanl(0);
25561 ;
25562 return 0;
25563 }
25564 _ACEOF
25565 if ac_fn_cxx_try_compile "$LINENO"; then :
25566 glibcxx_cv_func__isnanl_use=yes
25567 else
25568 glibcxx_cv_func__isnanl_use=no
25569 fi
25570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25571 ac_ext=c
25572 ac_cpp='$CPP $CPPFLAGS'
25573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25576
25577
25578 fi
25579
25580 fi
25581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25582 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25583
25584 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25585 for ac_func in _isnanl
25586 do :
25587 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25588 if test "x$ac_cv_func__isnanl" = x""yes; then :
25589 cat >>confdefs.h <<_ACEOF
25590 #define HAVE__ISNANL 1
25591 _ACEOF
25592
25593 fi
25594 done
25595
25596 fi
25597 fi
25598
25599
25600
25601
25602
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25604 $as_echo_n "checking for isinfl declaration... " >&6; }
25605 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25606 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25607 $as_echo_n "(cached) " >&6
25608 else
25609
25610
25611 ac_ext=cpp
25612 ac_cpp='$CXXCPP $CPPFLAGS'
25613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25616
25617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25618 /* end confdefs.h. */
25619 #include <math.h>
25620 #ifdef HAVE_IEEEFP_H
25621 #include <ieeefp.h>
25622 #endif
25623
25624 int
25625 main ()
25626 {
25627 isinfl(0);
25628 ;
25629 return 0;
25630 }
25631 _ACEOF
25632 if ac_fn_cxx_try_compile "$LINENO"; then :
25633 glibcxx_cv_func_isinfl_use=yes
25634 else
25635 glibcxx_cv_func_isinfl_use=no
25636 fi
25637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638 ac_ext=c
25639 ac_cpp='$CPP $CPPFLAGS'
25640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25643
25644
25645 fi
25646
25647 fi
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25649 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25650
25651 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25652 for ac_func in isinfl
25653 do :
25654 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25655 if test "x$ac_cv_func_isinfl" = x""yes; then :
25656 cat >>confdefs.h <<_ACEOF
25657 #define HAVE_ISINFL 1
25658 _ACEOF
25659
25660 fi
25661 done
25662
25663 else
25664
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25666 $as_echo_n "checking for _isinfl declaration... " >&6; }
25667 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25668 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25669 $as_echo_n "(cached) " >&6
25670 else
25671
25672
25673 ac_ext=cpp
25674 ac_cpp='$CXXCPP $CPPFLAGS'
25675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25678
25679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25680 /* end confdefs.h. */
25681 #include <math.h>
25682 #ifdef HAVE_IEEEFP_H
25683 #include <ieeefp.h>
25684 #endif
25685
25686 int
25687 main ()
25688 {
25689 _isinfl(0);
25690 ;
25691 return 0;
25692 }
25693 _ACEOF
25694 if ac_fn_cxx_try_compile "$LINENO"; then :
25695 glibcxx_cv_func__isinfl_use=yes
25696 else
25697 glibcxx_cv_func__isinfl_use=no
25698 fi
25699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25700 ac_ext=c
25701 ac_cpp='$CPP $CPPFLAGS'
25702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25705
25706
25707 fi
25708
25709 fi
25710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25711 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25712
25713 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25714 for ac_func in _isinfl
25715 do :
25716 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25717 if test "x$ac_cv_func__isinfl" = x""yes; then :
25718 cat >>confdefs.h <<_ACEOF
25719 #define HAVE__ISINFL 1
25720 _ACEOF
25721
25722 fi
25723 done
25724
25725 fi
25726 fi
25727
25728
25729
25730
25731
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25733 $as_echo_n "checking for atan2l declaration... " >&6; }
25734 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25735 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25736 $as_echo_n "(cached) " >&6
25737 else
25738
25739
25740 ac_ext=cpp
25741 ac_cpp='$CXXCPP $CPPFLAGS'
25742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25745
25746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25747 /* end confdefs.h. */
25748 #include <math.h>
25749 int
25750 main ()
25751 {
25752 atan2l(0, 0);
25753 ;
25754 return 0;
25755 }
25756 _ACEOF
25757 if ac_fn_cxx_try_compile "$LINENO"; then :
25758 glibcxx_cv_func_atan2l_use=yes
25759 else
25760 glibcxx_cv_func_atan2l_use=no
25761 fi
25762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25763 ac_ext=c
25764 ac_cpp='$CPP $CPPFLAGS'
25765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25768
25769
25770 fi
25771
25772 fi
25773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25774 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25775
25776 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25777 for ac_func in atan2l
25778 do :
25779 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25780 if test "x$ac_cv_func_atan2l" = x""yes; then :
25781 cat >>confdefs.h <<_ACEOF
25782 #define HAVE_ATAN2L 1
25783 _ACEOF
25784
25785 fi
25786 done
25787
25788 else
25789
25790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25791 $as_echo_n "checking for _atan2l declaration... " >&6; }
25792 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25793 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25794 $as_echo_n "(cached) " >&6
25795 else
25796
25797
25798 ac_ext=cpp
25799 ac_cpp='$CXXCPP $CPPFLAGS'
25800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25803
25804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25805 /* end confdefs.h. */
25806 #include <math.h>
25807 int
25808 main ()
25809 {
25810 _atan2l(0, 0);
25811 ;
25812 return 0;
25813 }
25814 _ACEOF
25815 if ac_fn_cxx_try_compile "$LINENO"; then :
25816 glibcxx_cv_func__atan2l_use=yes
25817 else
25818 glibcxx_cv_func__atan2l_use=no
25819 fi
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 ac_ext=c
25822 ac_cpp='$CPP $CPPFLAGS'
25823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25826
25827
25828 fi
25829
25830 fi
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25832 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25833
25834 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25835 for ac_func in _atan2l
25836 do :
25837 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25838 if test "x$ac_cv_func__atan2l" = x""yes; then :
25839 cat >>confdefs.h <<_ACEOF
25840 #define HAVE__ATAN2L 1
25841 _ACEOF
25842
25843 fi
25844 done
25845
25846 fi
25847 fi
25848
25849
25850
25851
25852
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25854 $as_echo_n "checking for expl declaration... " >&6; }
25855 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25856 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25857 $as_echo_n "(cached) " >&6
25858 else
25859
25860
25861 ac_ext=cpp
25862 ac_cpp='$CXXCPP $CPPFLAGS'
25863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25866
25867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25868 /* end confdefs.h. */
25869 #include <math.h>
25870 #ifdef HAVE_IEEEFP_H
25871 #include <ieeefp.h>
25872 #endif
25873
25874 int
25875 main ()
25876 {
25877 expl(0);
25878 ;
25879 return 0;
25880 }
25881 _ACEOF
25882 if ac_fn_cxx_try_compile "$LINENO"; then :
25883 glibcxx_cv_func_expl_use=yes
25884 else
25885 glibcxx_cv_func_expl_use=no
25886 fi
25887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25888 ac_ext=c
25889 ac_cpp='$CPP $CPPFLAGS'
25890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25893
25894
25895 fi
25896
25897 fi
25898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25899 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25900
25901 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25902 for ac_func in expl
25903 do :
25904 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25905 if test "x$ac_cv_func_expl" = x""yes; then :
25906 cat >>confdefs.h <<_ACEOF
25907 #define HAVE_EXPL 1
25908 _ACEOF
25909
25910 fi
25911 done
25912
25913 else
25914
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25916 $as_echo_n "checking for _expl declaration... " >&6; }
25917 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25918 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25919 $as_echo_n "(cached) " >&6
25920 else
25921
25922
25923 ac_ext=cpp
25924 ac_cpp='$CXXCPP $CPPFLAGS'
25925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25928
25929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25930 /* end confdefs.h. */
25931 #include <math.h>
25932 #ifdef HAVE_IEEEFP_H
25933 #include <ieeefp.h>
25934 #endif
25935
25936 int
25937 main ()
25938 {
25939 _expl(0);
25940 ;
25941 return 0;
25942 }
25943 _ACEOF
25944 if ac_fn_cxx_try_compile "$LINENO"; then :
25945 glibcxx_cv_func__expl_use=yes
25946 else
25947 glibcxx_cv_func__expl_use=no
25948 fi
25949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25950 ac_ext=c
25951 ac_cpp='$CPP $CPPFLAGS'
25952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25955
25956
25957 fi
25958
25959 fi
25960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25961 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25962
25963 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25964 for ac_func in _expl
25965 do :
25966 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25967 if test "x$ac_cv_func__expl" = x""yes; then :
25968 cat >>confdefs.h <<_ACEOF
25969 #define HAVE__EXPL 1
25970 _ACEOF
25971
25972 fi
25973 done
25974
25975 fi
25976 fi
25977
25978
25979
25980
25981
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25983 $as_echo_n "checking for fabsl declaration... " >&6; }
25984 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25985 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25986 $as_echo_n "(cached) " >&6
25987 else
25988
25989
25990 ac_ext=cpp
25991 ac_cpp='$CXXCPP $CPPFLAGS'
25992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25995
25996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25997 /* end confdefs.h. */
25998 #include <math.h>
25999 #ifdef HAVE_IEEEFP_H
26000 #include <ieeefp.h>
26001 #endif
26002
26003 int
26004 main ()
26005 {
26006 fabsl(0);
26007 ;
26008 return 0;
26009 }
26010 _ACEOF
26011 if ac_fn_cxx_try_compile "$LINENO"; then :
26012 glibcxx_cv_func_fabsl_use=yes
26013 else
26014 glibcxx_cv_func_fabsl_use=no
26015 fi
26016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26017 ac_ext=c
26018 ac_cpp='$CPP $CPPFLAGS'
26019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26022
26023
26024 fi
26025
26026 fi
26027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26028 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26029
26030 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26031 for ac_func in fabsl
26032 do :
26033 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26034 if test "x$ac_cv_func_fabsl" = x""yes; then :
26035 cat >>confdefs.h <<_ACEOF
26036 #define HAVE_FABSL 1
26037 _ACEOF
26038
26039 fi
26040 done
26041
26042 else
26043
26044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26045 $as_echo_n "checking for _fabsl declaration... " >&6; }
26046 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26047 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26048 $as_echo_n "(cached) " >&6
26049 else
26050
26051
26052 ac_ext=cpp
26053 ac_cpp='$CXXCPP $CPPFLAGS'
26054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26057
26058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26059 /* end confdefs.h. */
26060 #include <math.h>
26061 #ifdef HAVE_IEEEFP_H
26062 #include <ieeefp.h>
26063 #endif
26064
26065 int
26066 main ()
26067 {
26068 _fabsl(0);
26069 ;
26070 return 0;
26071 }
26072 _ACEOF
26073 if ac_fn_cxx_try_compile "$LINENO"; then :
26074 glibcxx_cv_func__fabsl_use=yes
26075 else
26076 glibcxx_cv_func__fabsl_use=no
26077 fi
26078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26079 ac_ext=c
26080 ac_cpp='$CPP $CPPFLAGS'
26081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26084
26085
26086 fi
26087
26088 fi
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26090 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26091
26092 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26093 for ac_func in _fabsl
26094 do :
26095 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26096 if test "x$ac_cv_func__fabsl" = x""yes; then :
26097 cat >>confdefs.h <<_ACEOF
26098 #define HAVE__FABSL 1
26099 _ACEOF
26100
26101 fi
26102 done
26103
26104 fi
26105 fi
26106
26107
26108
26109
26110
26111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26112 $as_echo_n "checking for fmodl declaration... " >&6; }
26113 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26114 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26115 $as_echo_n "(cached) " >&6
26116 else
26117
26118
26119 ac_ext=cpp
26120 ac_cpp='$CXXCPP $CPPFLAGS'
26121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26124
26125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26126 /* end confdefs.h. */
26127 #include <math.h>
26128 int
26129 main ()
26130 {
26131 fmodl(0, 0);
26132 ;
26133 return 0;
26134 }
26135 _ACEOF
26136 if ac_fn_cxx_try_compile "$LINENO"; then :
26137 glibcxx_cv_func_fmodl_use=yes
26138 else
26139 glibcxx_cv_func_fmodl_use=no
26140 fi
26141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26142 ac_ext=c
26143 ac_cpp='$CPP $CPPFLAGS'
26144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26147
26148
26149 fi
26150
26151 fi
26152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26153 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26154
26155 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26156 for ac_func in fmodl
26157 do :
26158 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26159 if test "x$ac_cv_func_fmodl" = x""yes; then :
26160 cat >>confdefs.h <<_ACEOF
26161 #define HAVE_FMODL 1
26162 _ACEOF
26163
26164 fi
26165 done
26166
26167 else
26168
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26170 $as_echo_n "checking for _fmodl declaration... " >&6; }
26171 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26172 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26173 $as_echo_n "(cached) " >&6
26174 else
26175
26176
26177 ac_ext=cpp
26178 ac_cpp='$CXXCPP $CPPFLAGS'
26179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26182
26183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26184 /* end confdefs.h. */
26185 #include <math.h>
26186 int
26187 main ()
26188 {
26189 _fmodl(0, 0);
26190 ;
26191 return 0;
26192 }
26193 _ACEOF
26194 if ac_fn_cxx_try_compile "$LINENO"; then :
26195 glibcxx_cv_func__fmodl_use=yes
26196 else
26197 glibcxx_cv_func__fmodl_use=no
26198 fi
26199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26200 ac_ext=c
26201 ac_cpp='$CPP $CPPFLAGS'
26202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26205
26206
26207 fi
26208
26209 fi
26210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26211 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26212
26213 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26214 for ac_func in _fmodl
26215 do :
26216 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26217 if test "x$ac_cv_func__fmodl" = x""yes; then :
26218 cat >>confdefs.h <<_ACEOF
26219 #define HAVE__FMODL 1
26220 _ACEOF
26221
26222 fi
26223 done
26224
26225 fi
26226 fi
26227
26228
26229
26230
26231
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26233 $as_echo_n "checking for frexpl declaration... " >&6; }
26234 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26235 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26236 $as_echo_n "(cached) " >&6
26237 else
26238
26239
26240 ac_ext=cpp
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26245
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h. */
26248 #include <math.h>
26249 int
26250 main ()
26251 {
26252 frexpl(0, 0);
26253 ;
26254 return 0;
26255 }
26256 _ACEOF
26257 if ac_fn_cxx_try_compile "$LINENO"; then :
26258 glibcxx_cv_func_frexpl_use=yes
26259 else
26260 glibcxx_cv_func_frexpl_use=no
26261 fi
26262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26263 ac_ext=c
26264 ac_cpp='$CPP $CPPFLAGS'
26265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26268
26269
26270 fi
26271
26272 fi
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26274 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26275
26276 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26277 for ac_func in frexpl
26278 do :
26279 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26280 if test "x$ac_cv_func_frexpl" = x""yes; then :
26281 cat >>confdefs.h <<_ACEOF
26282 #define HAVE_FREXPL 1
26283 _ACEOF
26284
26285 fi
26286 done
26287
26288 else
26289
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26291 $as_echo_n "checking for _frexpl declaration... " >&6; }
26292 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26293 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26294 $as_echo_n "(cached) " >&6
26295 else
26296
26297
26298 ac_ext=cpp
26299 ac_cpp='$CXXCPP $CPPFLAGS'
26300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26303
26304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26306 #include <math.h>
26307 int
26308 main ()
26309 {
26310 _frexpl(0, 0);
26311 ;
26312 return 0;
26313 }
26314 _ACEOF
26315 if ac_fn_cxx_try_compile "$LINENO"; then :
26316 glibcxx_cv_func__frexpl_use=yes
26317 else
26318 glibcxx_cv_func__frexpl_use=no
26319 fi
26320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26321 ac_ext=c
26322 ac_cpp='$CPP $CPPFLAGS'
26323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26326
26327
26328 fi
26329
26330 fi
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26332 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26333
26334 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26335 for ac_func in _frexpl
26336 do :
26337 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26338 if test "x$ac_cv_func__frexpl" = x""yes; then :
26339 cat >>confdefs.h <<_ACEOF
26340 #define HAVE__FREXPL 1
26341 _ACEOF
26342
26343 fi
26344 done
26345
26346 fi
26347 fi
26348
26349
26350
26351
26352
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26354 $as_echo_n "checking for hypotl declaration... " >&6; }
26355 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26356 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26357 $as_echo_n "(cached) " >&6
26358 else
26359
26360
26361 ac_ext=cpp
26362 ac_cpp='$CXXCPP $CPPFLAGS'
26363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26366
26367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26368 /* end confdefs.h. */
26369 #include <math.h>
26370 int
26371 main ()
26372 {
26373 hypotl(0, 0);
26374 ;
26375 return 0;
26376 }
26377 _ACEOF
26378 if ac_fn_cxx_try_compile "$LINENO"; then :
26379 glibcxx_cv_func_hypotl_use=yes
26380 else
26381 glibcxx_cv_func_hypotl_use=no
26382 fi
26383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26384 ac_ext=c
26385 ac_cpp='$CPP $CPPFLAGS'
26386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26389
26390
26391 fi
26392
26393 fi
26394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26395 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26396
26397 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26398 for ac_func in hypotl
26399 do :
26400 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26401 if test "x$ac_cv_func_hypotl" = x""yes; then :
26402 cat >>confdefs.h <<_ACEOF
26403 #define HAVE_HYPOTL 1
26404 _ACEOF
26405
26406 fi
26407 done
26408
26409 else
26410
26411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26412 $as_echo_n "checking for _hypotl declaration... " >&6; }
26413 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26414 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26415 $as_echo_n "(cached) " >&6
26416 else
26417
26418
26419 ac_ext=cpp
26420 ac_cpp='$CXXCPP $CPPFLAGS'
26421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26424
26425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26426 /* end confdefs.h. */
26427 #include <math.h>
26428 int
26429 main ()
26430 {
26431 _hypotl(0, 0);
26432 ;
26433 return 0;
26434 }
26435 _ACEOF
26436 if ac_fn_cxx_try_compile "$LINENO"; then :
26437 glibcxx_cv_func__hypotl_use=yes
26438 else
26439 glibcxx_cv_func__hypotl_use=no
26440 fi
26441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26442 ac_ext=c
26443 ac_cpp='$CPP $CPPFLAGS'
26444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26447
26448
26449 fi
26450
26451 fi
26452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26453 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26454
26455 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26456 for ac_func in _hypotl
26457 do :
26458 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26459 if test "x$ac_cv_func__hypotl" = x""yes; then :
26460 cat >>confdefs.h <<_ACEOF
26461 #define HAVE__HYPOTL 1
26462 _ACEOF
26463
26464 fi
26465 done
26466
26467 fi
26468 fi
26469
26470
26471
26472
26473
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26475 $as_echo_n "checking for ldexpl declaration... " >&6; }
26476 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26477 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26478 $as_echo_n "(cached) " >&6
26479 else
26480
26481
26482 ac_ext=cpp
26483 ac_cpp='$CXXCPP $CPPFLAGS'
26484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26487
26488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26489 /* end confdefs.h. */
26490 #include <math.h>
26491 int
26492 main ()
26493 {
26494 ldexpl(0, 0);
26495 ;
26496 return 0;
26497 }
26498 _ACEOF
26499 if ac_fn_cxx_try_compile "$LINENO"; then :
26500 glibcxx_cv_func_ldexpl_use=yes
26501 else
26502 glibcxx_cv_func_ldexpl_use=no
26503 fi
26504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26505 ac_ext=c
26506 ac_cpp='$CPP $CPPFLAGS'
26507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26510
26511
26512 fi
26513
26514 fi
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26516 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26517
26518 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26519 for ac_func in ldexpl
26520 do :
26521 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26522 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26523 cat >>confdefs.h <<_ACEOF
26524 #define HAVE_LDEXPL 1
26525 _ACEOF
26526
26527 fi
26528 done
26529
26530 else
26531
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26533 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26534 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26535 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26536 $as_echo_n "(cached) " >&6
26537 else
26538
26539
26540 ac_ext=cpp
26541 ac_cpp='$CXXCPP $CPPFLAGS'
26542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26545
26546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26547 /* end confdefs.h. */
26548 #include <math.h>
26549 int
26550 main ()
26551 {
26552 _ldexpl(0, 0);
26553 ;
26554 return 0;
26555 }
26556 _ACEOF
26557 if ac_fn_cxx_try_compile "$LINENO"; then :
26558 glibcxx_cv_func__ldexpl_use=yes
26559 else
26560 glibcxx_cv_func__ldexpl_use=no
26561 fi
26562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26563 ac_ext=c
26564 ac_cpp='$CPP $CPPFLAGS'
26565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26568
26569
26570 fi
26571
26572 fi
26573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26574 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26575
26576 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26577 for ac_func in _ldexpl
26578 do :
26579 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26580 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26581 cat >>confdefs.h <<_ACEOF
26582 #define HAVE__LDEXPL 1
26583 _ACEOF
26584
26585 fi
26586 done
26587
26588 fi
26589 fi
26590
26591
26592
26593
26594
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26596 $as_echo_n "checking for logl declaration... " >&6; }
26597 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26598 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26599 $as_echo_n "(cached) " >&6
26600 else
26601
26602
26603 ac_ext=cpp
26604 ac_cpp='$CXXCPP $CPPFLAGS'
26605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26608
26609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26610 /* end confdefs.h. */
26611 #include <math.h>
26612 #ifdef HAVE_IEEEFP_H
26613 #include <ieeefp.h>
26614 #endif
26615
26616 int
26617 main ()
26618 {
26619 logl(0);
26620 ;
26621 return 0;
26622 }
26623 _ACEOF
26624 if ac_fn_cxx_try_compile "$LINENO"; then :
26625 glibcxx_cv_func_logl_use=yes
26626 else
26627 glibcxx_cv_func_logl_use=no
26628 fi
26629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26630 ac_ext=c
26631 ac_cpp='$CPP $CPPFLAGS'
26632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26635
26636
26637 fi
26638
26639 fi
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26641 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26642
26643 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26644 for ac_func in logl
26645 do :
26646 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26647 if test "x$ac_cv_func_logl" = x""yes; then :
26648 cat >>confdefs.h <<_ACEOF
26649 #define HAVE_LOGL 1
26650 _ACEOF
26651
26652 fi
26653 done
26654
26655 else
26656
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26658 $as_echo_n "checking for _logl declaration... " >&6; }
26659 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26660 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26661 $as_echo_n "(cached) " >&6
26662 else
26663
26664
26665 ac_ext=cpp
26666 ac_cpp='$CXXCPP $CPPFLAGS'
26667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26670
26671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26672 /* end confdefs.h. */
26673 #include <math.h>
26674 #ifdef HAVE_IEEEFP_H
26675 #include <ieeefp.h>
26676 #endif
26677
26678 int
26679 main ()
26680 {
26681 _logl(0);
26682 ;
26683 return 0;
26684 }
26685 _ACEOF
26686 if ac_fn_cxx_try_compile "$LINENO"; then :
26687 glibcxx_cv_func__logl_use=yes
26688 else
26689 glibcxx_cv_func__logl_use=no
26690 fi
26691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26692 ac_ext=c
26693 ac_cpp='$CPP $CPPFLAGS'
26694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26697
26698
26699 fi
26700
26701 fi
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26703 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26704
26705 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26706 for ac_func in _logl
26707 do :
26708 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26709 if test "x$ac_cv_func__logl" = x""yes; then :
26710 cat >>confdefs.h <<_ACEOF
26711 #define HAVE__LOGL 1
26712 _ACEOF
26713
26714 fi
26715 done
26716
26717 fi
26718 fi
26719
26720
26721
26722
26723
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26725 $as_echo_n "checking for log10l declaration... " >&6; }
26726 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26727 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26728 $as_echo_n "(cached) " >&6
26729 else
26730
26731
26732 ac_ext=cpp
26733 ac_cpp='$CXXCPP $CPPFLAGS'
26734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26737
26738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26739 /* end confdefs.h. */
26740 #include <math.h>
26741 #ifdef HAVE_IEEEFP_H
26742 #include <ieeefp.h>
26743 #endif
26744
26745 int
26746 main ()
26747 {
26748 log10l(0);
26749 ;
26750 return 0;
26751 }
26752 _ACEOF
26753 if ac_fn_cxx_try_compile "$LINENO"; then :
26754 glibcxx_cv_func_log10l_use=yes
26755 else
26756 glibcxx_cv_func_log10l_use=no
26757 fi
26758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26759 ac_ext=c
26760 ac_cpp='$CPP $CPPFLAGS'
26761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26764
26765
26766 fi
26767
26768 fi
26769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26770 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26771
26772 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26773 for ac_func in log10l
26774 do :
26775 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26776 if test "x$ac_cv_func_log10l" = x""yes; then :
26777 cat >>confdefs.h <<_ACEOF
26778 #define HAVE_LOG10L 1
26779 _ACEOF
26780
26781 fi
26782 done
26783
26784 else
26785
26786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26787 $as_echo_n "checking for _log10l declaration... " >&6; }
26788 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26789 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26790 $as_echo_n "(cached) " >&6
26791 else
26792
26793
26794 ac_ext=cpp
26795 ac_cpp='$CXXCPP $CPPFLAGS'
26796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26799
26800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26801 /* end confdefs.h. */
26802 #include <math.h>
26803 #ifdef HAVE_IEEEFP_H
26804 #include <ieeefp.h>
26805 #endif
26806
26807 int
26808 main ()
26809 {
26810 _log10l(0);
26811 ;
26812 return 0;
26813 }
26814 _ACEOF
26815 if ac_fn_cxx_try_compile "$LINENO"; then :
26816 glibcxx_cv_func__log10l_use=yes
26817 else
26818 glibcxx_cv_func__log10l_use=no
26819 fi
26820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26821 ac_ext=c
26822 ac_cpp='$CPP $CPPFLAGS'
26823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26826
26827
26828 fi
26829
26830 fi
26831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26832 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26833
26834 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26835 for ac_func in _log10l
26836 do :
26837 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26838 if test "x$ac_cv_func__log10l" = x""yes; then :
26839 cat >>confdefs.h <<_ACEOF
26840 #define HAVE__LOG10L 1
26841 _ACEOF
26842
26843 fi
26844 done
26845
26846 fi
26847 fi
26848
26849
26850
26851
26852
26853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26854 $as_echo_n "checking for modfl declaration... " >&6; }
26855 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26856 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26857 $as_echo_n "(cached) " >&6
26858 else
26859
26860
26861 ac_ext=cpp
26862 ac_cpp='$CXXCPP $CPPFLAGS'
26863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26866
26867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26868 /* end confdefs.h. */
26869 #include <math.h>
26870 int
26871 main ()
26872 {
26873 modfl(0, 0);
26874 ;
26875 return 0;
26876 }
26877 _ACEOF
26878 if ac_fn_cxx_try_compile "$LINENO"; then :
26879 glibcxx_cv_func_modfl_use=yes
26880 else
26881 glibcxx_cv_func_modfl_use=no
26882 fi
26883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26884 ac_ext=c
26885 ac_cpp='$CPP $CPPFLAGS'
26886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26889
26890
26891 fi
26892
26893 fi
26894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26895 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26896
26897 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26898 for ac_func in modfl
26899 do :
26900 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26901 if test "x$ac_cv_func_modfl" = x""yes; then :
26902 cat >>confdefs.h <<_ACEOF
26903 #define HAVE_MODFL 1
26904 _ACEOF
26905
26906 fi
26907 done
26908
26909 else
26910
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26912 $as_echo_n "checking for _modfl declaration... " >&6; }
26913 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26914 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26915 $as_echo_n "(cached) " >&6
26916 else
26917
26918
26919 ac_ext=cpp
26920 ac_cpp='$CXXCPP $CPPFLAGS'
26921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26924
26925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26926 /* end confdefs.h. */
26927 #include <math.h>
26928 int
26929 main ()
26930 {
26931 _modfl(0, 0);
26932 ;
26933 return 0;
26934 }
26935 _ACEOF
26936 if ac_fn_cxx_try_compile "$LINENO"; then :
26937 glibcxx_cv_func__modfl_use=yes
26938 else
26939 glibcxx_cv_func__modfl_use=no
26940 fi
26941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26942 ac_ext=c
26943 ac_cpp='$CPP $CPPFLAGS'
26944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26947
26948
26949 fi
26950
26951 fi
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26953 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26954
26955 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26956 for ac_func in _modfl
26957 do :
26958 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26959 if test "x$ac_cv_func__modfl" = x""yes; then :
26960 cat >>confdefs.h <<_ACEOF
26961 #define HAVE__MODFL 1
26962 _ACEOF
26963
26964 fi
26965 done
26966
26967 fi
26968 fi
26969
26970
26971
26972
26973
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26975 $as_echo_n "checking for powl declaration... " >&6; }
26976 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26977 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26978 $as_echo_n "(cached) " >&6
26979 else
26980
26981
26982 ac_ext=cpp
26983 ac_cpp='$CXXCPP $CPPFLAGS'
26984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26987
26988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26989 /* end confdefs.h. */
26990 #include <math.h>
26991 int
26992 main ()
26993 {
26994 powl(0, 0);
26995 ;
26996 return 0;
26997 }
26998 _ACEOF
26999 if ac_fn_cxx_try_compile "$LINENO"; then :
27000 glibcxx_cv_func_powl_use=yes
27001 else
27002 glibcxx_cv_func_powl_use=no
27003 fi
27004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27005 ac_ext=c
27006 ac_cpp='$CPP $CPPFLAGS'
27007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27010
27011
27012 fi
27013
27014 fi
27015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27016 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27017
27018 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27019 for ac_func in powl
27020 do :
27021 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27022 if test "x$ac_cv_func_powl" = x""yes; then :
27023 cat >>confdefs.h <<_ACEOF
27024 #define HAVE_POWL 1
27025 _ACEOF
27026
27027 fi
27028 done
27029
27030 else
27031
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27033 $as_echo_n "checking for _powl declaration... " >&6; }
27034 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27035 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27036 $as_echo_n "(cached) " >&6
27037 else
27038
27039
27040 ac_ext=cpp
27041 ac_cpp='$CXXCPP $CPPFLAGS'
27042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27045
27046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27047 /* end confdefs.h. */
27048 #include <math.h>
27049 int
27050 main ()
27051 {
27052 _powl(0, 0);
27053 ;
27054 return 0;
27055 }
27056 _ACEOF
27057 if ac_fn_cxx_try_compile "$LINENO"; then :
27058 glibcxx_cv_func__powl_use=yes
27059 else
27060 glibcxx_cv_func__powl_use=no
27061 fi
27062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27063 ac_ext=c
27064 ac_cpp='$CPP $CPPFLAGS'
27065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27068
27069
27070 fi
27071
27072 fi
27073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27074 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27075
27076 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27077 for ac_func in _powl
27078 do :
27079 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27080 if test "x$ac_cv_func__powl" = x""yes; then :
27081 cat >>confdefs.h <<_ACEOF
27082 #define HAVE__POWL 1
27083 _ACEOF
27084
27085 fi
27086 done
27087
27088 fi
27089 fi
27090
27091
27092
27093
27094
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27096 $as_echo_n "checking for sqrtl declaration... " >&6; }
27097 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27098 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27099 $as_echo_n "(cached) " >&6
27100 else
27101
27102
27103 ac_ext=cpp
27104 ac_cpp='$CXXCPP $CPPFLAGS'
27105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27108
27109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27110 /* end confdefs.h. */
27111 #include <math.h>
27112 #ifdef HAVE_IEEEFP_H
27113 #include <ieeefp.h>
27114 #endif
27115
27116 int
27117 main ()
27118 {
27119 sqrtl(0);
27120 ;
27121 return 0;
27122 }
27123 _ACEOF
27124 if ac_fn_cxx_try_compile "$LINENO"; then :
27125 glibcxx_cv_func_sqrtl_use=yes
27126 else
27127 glibcxx_cv_func_sqrtl_use=no
27128 fi
27129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27130 ac_ext=c
27131 ac_cpp='$CPP $CPPFLAGS'
27132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27135
27136
27137 fi
27138
27139 fi
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27141 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27142
27143 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27144 for ac_func in sqrtl
27145 do :
27146 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27147 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27148 cat >>confdefs.h <<_ACEOF
27149 #define HAVE_SQRTL 1
27150 _ACEOF
27151
27152 fi
27153 done
27154
27155 else
27156
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27158 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27159 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27160 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27161 $as_echo_n "(cached) " >&6
27162 else
27163
27164
27165 ac_ext=cpp
27166 ac_cpp='$CXXCPP $CPPFLAGS'
27167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27170
27171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27172 /* end confdefs.h. */
27173 #include <math.h>
27174 #ifdef HAVE_IEEEFP_H
27175 #include <ieeefp.h>
27176 #endif
27177
27178 int
27179 main ()
27180 {
27181 _sqrtl(0);
27182 ;
27183 return 0;
27184 }
27185 _ACEOF
27186 if ac_fn_cxx_try_compile "$LINENO"; then :
27187 glibcxx_cv_func__sqrtl_use=yes
27188 else
27189 glibcxx_cv_func__sqrtl_use=no
27190 fi
27191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27192 ac_ext=c
27193 ac_cpp='$CPP $CPPFLAGS'
27194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27197
27198
27199 fi
27200
27201 fi
27202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27203 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27204
27205 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27206 for ac_func in _sqrtl
27207 do :
27208 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27209 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27210 cat >>confdefs.h <<_ACEOF
27211 #define HAVE__SQRTL 1
27212 _ACEOF
27213
27214 fi
27215 done
27216
27217 fi
27218 fi
27219
27220
27221
27222
27223
27224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27225 $as_echo_n "checking for sincosl declaration... " >&6; }
27226 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27227 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27228 $as_echo_n "(cached) " >&6
27229 else
27230
27231
27232 ac_ext=cpp
27233 ac_cpp='$CXXCPP $CPPFLAGS'
27234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27237
27238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27239 /* end confdefs.h. */
27240 #include <math.h>
27241 int
27242 main ()
27243 {
27244 sincosl(0, 0, 0);
27245 ;
27246 return 0;
27247 }
27248 _ACEOF
27249 if ac_fn_cxx_try_compile "$LINENO"; then :
27250 glibcxx_cv_func_sincosl_use=yes
27251 else
27252 glibcxx_cv_func_sincosl_use=no
27253 fi
27254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27255 ac_ext=c
27256 ac_cpp='$CPP $CPPFLAGS'
27257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27260
27261
27262 fi
27263
27264 fi
27265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27266 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27267
27268 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27269 for ac_func in sincosl
27270 do :
27271 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27272 if test "x$ac_cv_func_sincosl" = x""yes; then :
27273 cat >>confdefs.h <<_ACEOF
27274 #define HAVE_SINCOSL 1
27275 _ACEOF
27276
27277 fi
27278 done
27279
27280 else
27281
27282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27283 $as_echo_n "checking for _sincosl declaration... " >&6; }
27284 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27285 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27286 $as_echo_n "(cached) " >&6
27287 else
27288
27289
27290 ac_ext=cpp
27291 ac_cpp='$CXXCPP $CPPFLAGS'
27292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27295
27296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27297 /* end confdefs.h. */
27298 #include <math.h>
27299 int
27300 main ()
27301 {
27302 _sincosl(0, 0, 0);
27303 ;
27304 return 0;
27305 }
27306 _ACEOF
27307 if ac_fn_cxx_try_compile "$LINENO"; then :
27308 glibcxx_cv_func__sincosl_use=yes
27309 else
27310 glibcxx_cv_func__sincosl_use=no
27311 fi
27312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27313 ac_ext=c
27314 ac_cpp='$CPP $CPPFLAGS'
27315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27318
27319
27320 fi
27321
27322 fi
27323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27324 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27325
27326 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27327 for ac_func in _sincosl
27328 do :
27329 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27330 if test "x$ac_cv_func__sincosl" = x""yes; then :
27331 cat >>confdefs.h <<_ACEOF
27332 #define HAVE__SINCOSL 1
27333 _ACEOF
27334
27335 fi
27336 done
27337
27338 fi
27339 fi
27340
27341
27342
27343
27344
27345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27346 $as_echo_n "checking for finitel declaration... " >&6; }
27347 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27348 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27349 $as_echo_n "(cached) " >&6
27350 else
27351
27352
27353 ac_ext=cpp
27354 ac_cpp='$CXXCPP $CPPFLAGS'
27355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27358
27359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27360 /* end confdefs.h. */
27361 #include <math.h>
27362 #ifdef HAVE_IEEEFP_H
27363 #include <ieeefp.h>
27364 #endif
27365
27366 int
27367 main ()
27368 {
27369 finitel(0);
27370 ;
27371 return 0;
27372 }
27373 _ACEOF
27374 if ac_fn_cxx_try_compile "$LINENO"; then :
27375 glibcxx_cv_func_finitel_use=yes
27376 else
27377 glibcxx_cv_func_finitel_use=no
27378 fi
27379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27380 ac_ext=c
27381 ac_cpp='$CPP $CPPFLAGS'
27382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27385
27386
27387 fi
27388
27389 fi
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27391 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27392
27393 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27394 for ac_func in finitel
27395 do :
27396 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27397 if test "x$ac_cv_func_finitel" = x""yes; then :
27398 cat >>confdefs.h <<_ACEOF
27399 #define HAVE_FINITEL 1
27400 _ACEOF
27401
27402 fi
27403 done
27404
27405 else
27406
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27408 $as_echo_n "checking for _finitel declaration... " >&6; }
27409 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27410 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27411 $as_echo_n "(cached) " >&6
27412 else
27413
27414
27415 ac_ext=cpp
27416 ac_cpp='$CXXCPP $CPPFLAGS'
27417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27420
27421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27422 /* end confdefs.h. */
27423 #include <math.h>
27424 #ifdef HAVE_IEEEFP_H
27425 #include <ieeefp.h>
27426 #endif
27427
27428 int
27429 main ()
27430 {
27431 _finitel(0);
27432 ;
27433 return 0;
27434 }
27435 _ACEOF
27436 if ac_fn_cxx_try_compile "$LINENO"; then :
27437 glibcxx_cv_func__finitel_use=yes
27438 else
27439 glibcxx_cv_func__finitel_use=no
27440 fi
27441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27442 ac_ext=c
27443 ac_cpp='$CPP $CPPFLAGS'
27444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27447
27448
27449 fi
27450
27451 fi
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27453 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27454
27455 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27456 for ac_func in _finitel
27457 do :
27458 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27459 if test "x$ac_cv_func__finitel" = x""yes; then :
27460 cat >>confdefs.h <<_ACEOF
27461 #define HAVE__FINITEL 1
27462 _ACEOF
27463
27464 fi
27465 done
27466
27467 fi
27468 fi
27469
27470
27471
27472
27473 LIBS="$ac_save_LIBS"
27474 CXXFLAGS="$ac_save_CXXFLAGS"
27475
27476
27477 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27478 ac_save_CXXFLAGS="$CXXFLAGS"
27479 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27480
27481
27482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27483 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27484 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27485 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27486 $as_echo_n "(cached) " >&6
27487 else
27488
27489
27490 ac_ext=cpp
27491 ac_cpp='$CXXCPP $CPPFLAGS'
27492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27495
27496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27497 /* end confdefs.h. */
27498 #include <stdlib.h>
27499 int
27500 main ()
27501 {
27502 at_quick_exit(0);
27503 ;
27504 return 0;
27505 }
27506 _ACEOF
27507 if ac_fn_cxx_try_compile "$LINENO"; then :
27508 glibcxx_cv_func_at_quick_exit_use=yes
27509 else
27510 glibcxx_cv_func_at_quick_exit_use=no
27511 fi
27512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27513 ac_ext=c
27514 ac_cpp='$CPP $CPPFLAGS'
27515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27518
27519
27520 fi
27521
27522 fi
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27524 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27525 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27526 for ac_func in at_quick_exit
27527 do :
27528 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27529 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27530 cat >>confdefs.h <<_ACEOF
27531 #define HAVE_AT_QUICK_EXIT 1
27532 _ACEOF
27533
27534 fi
27535 done
27536
27537 fi
27538
27539
27540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27541 $as_echo_n "checking for quick_exit declaration... " >&6; }
27542 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27543 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27544 $as_echo_n "(cached) " >&6
27545 else
27546
27547
27548 ac_ext=cpp
27549 ac_cpp='$CXXCPP $CPPFLAGS'
27550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27553
27554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27555 /* end confdefs.h. */
27556 #include <stdlib.h>
27557 int
27558 main ()
27559 {
27560 quick_exit(0);
27561 ;
27562 return 0;
27563 }
27564 _ACEOF
27565 if ac_fn_cxx_try_compile "$LINENO"; then :
27566 glibcxx_cv_func_quick_exit_use=yes
27567 else
27568 glibcxx_cv_func_quick_exit_use=no
27569 fi
27570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27571 ac_ext=c
27572 ac_cpp='$CPP $CPPFLAGS'
27573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27576
27577
27578 fi
27579
27580 fi
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27582 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27583 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27584 for ac_func in quick_exit
27585 do :
27586 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27587 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27588 cat >>confdefs.h <<_ACEOF
27589 #define HAVE_QUICK_EXIT 1
27590 _ACEOF
27591
27592 fi
27593 done
27594
27595 fi
27596
27597
27598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27599 $as_echo_n "checking for strtold declaration... " >&6; }
27600 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27601 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27602 $as_echo_n "(cached) " >&6
27603 else
27604
27605
27606 ac_ext=cpp
27607 ac_cpp='$CXXCPP $CPPFLAGS'
27608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27611
27612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27613 /* end confdefs.h. */
27614 #include <stdlib.h>
27615 int
27616 main ()
27617 {
27618 strtold(0, 0);
27619 ;
27620 return 0;
27621 }
27622 _ACEOF
27623 if ac_fn_cxx_try_compile "$LINENO"; then :
27624 glibcxx_cv_func_strtold_use=yes
27625 else
27626 glibcxx_cv_func_strtold_use=no
27627 fi
27628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27629 ac_ext=c
27630 ac_cpp='$CPP $CPPFLAGS'
27631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27634
27635
27636 fi
27637
27638 fi
27639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27640 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27641 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27642 for ac_func in strtold
27643 do :
27644 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27645 if test "x$ac_cv_func_strtold" = x""yes; then :
27646 cat >>confdefs.h <<_ACEOF
27647 #define HAVE_STRTOLD 1
27648 _ACEOF
27649
27650 fi
27651 done
27652
27653 fi
27654
27655
27656
27657
27658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27659 $as_echo_n "checking for strtof declaration... " >&6; }
27660 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27661 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27662 $as_echo_n "(cached) " >&6
27663 else
27664
27665
27666 ac_ext=cpp
27667 ac_cpp='$CXXCPP $CPPFLAGS'
27668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27671
27672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27673 /* end confdefs.h. */
27674 #include <stdlib.h>
27675 int
27676 main ()
27677 {
27678 strtof(0, 0);
27679 ;
27680 return 0;
27681 }
27682 _ACEOF
27683 if ac_fn_cxx_try_compile "$LINENO"; then :
27684 glibcxx_cv_func_strtof_use=yes
27685 else
27686 glibcxx_cv_func_strtof_use=no
27687 fi
27688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27689 ac_ext=c
27690 ac_cpp='$CPP $CPPFLAGS'
27691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27694
27695
27696 fi
27697
27698 fi
27699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27700 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27701 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27702 for ac_func in strtof
27703 do :
27704 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27705 if test "x$ac_cv_func_strtof" = x""yes; then :
27706 cat >>confdefs.h <<_ACEOF
27707 #define HAVE_STRTOF 1
27708 _ACEOF
27709
27710 fi
27711 done
27712
27713 fi
27714
27715
27716
27717
27718 CXXFLAGS="$ac_save_CXXFLAGS"
27719
27720
27721 # For /dev/random and /dev/urandom for TR1.
27722
27723
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27725 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27726 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27727 $as_echo_n "(cached) " >&6
27728 else
27729
27730 if test -r /dev/random && test -r /dev/urandom; then
27731 ## For MSys environment the test above is detect as false-positive
27732 ## on mingw-targets. So disable it explicit for them.
27733 case ${target_os} in
27734 *mingw*) glibcxx_cv_random_tr1=no ;;
27735 *) glibcxx_cv_random_tr1=yes ;;
27736 esac
27737 else
27738 glibcxx_cv_random_tr1=no;
27739 fi
27740
27741 fi
27742
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27744 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27745
27746 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27747
27748 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27749
27750 fi
27751
27752
27753
27754 # For TLS support.
27755
27756
27757 # Check whether --enable-tls was given.
27758 if test "${enable_tls+set}" = set; then :
27759 enableval=$enable_tls;
27760 case "$enableval" in
27761 yes|no) ;;
27762 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27763 esac
27764
27765 else
27766 enable_tls=yes
27767 fi
27768
27769
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27771 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27772 if test "${gcc_cv_have_tls+set}" = set; then :
27773 $as_echo_n "(cached) " >&6
27774 else
27775
27776 if test "$cross_compiling" = yes; then :
27777 if test x$gcc_no_link = xyes; then
27778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27779 fi
27780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27781 /* end confdefs.h. */
27782 __thread int a; int b; int main() { return a = b; }
27783 _ACEOF
27784 if ac_fn_c_try_link "$LINENO"; then :
27785 chktls_save_LDFLAGS="$LDFLAGS"
27786 case $host in
27787 *-*-linux*)
27788 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27789 ;;
27790 esac
27791 chktls_save_CFLAGS="$CFLAGS"
27792 CFLAGS="-fPIC $CFLAGS"
27793 if test x$gcc_no_link = xyes; then
27794 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27795 fi
27796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27797 /* end confdefs.h. */
27798 int f() { return 0; }
27799 _ACEOF
27800 if ac_fn_c_try_link "$LINENO"; then :
27801 if test x$gcc_no_link = xyes; then
27802 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27803 fi
27804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27805 /* end confdefs.h. */
27806 __thread int a; int b; int f() { return a = b; }
27807 _ACEOF
27808 if ac_fn_c_try_link "$LINENO"; then :
27809 gcc_cv_have_tls=yes
27810 else
27811 gcc_cv_have_tls=no
27812 fi
27813 rm -f core conftest.err conftest.$ac_objext \
27814 conftest$ac_exeext conftest.$ac_ext
27815 else
27816 gcc_cv_have_tls=yes
27817 fi
27818 rm -f core conftest.err conftest.$ac_objext \
27819 conftest$ac_exeext conftest.$ac_ext
27820 CFLAGS="$chktls_save_CFLAGS"
27821 LDFLAGS="$chktls_save_LDFLAGS"
27822 else
27823 gcc_cv_have_tls=no
27824 fi
27825 rm -f core conftest.err conftest.$ac_objext \
27826 conftest$ac_exeext conftest.$ac_ext
27827
27828
27829 else
27830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27831 /* end confdefs.h. */
27832 __thread int a; int b; int main() { return a = b; }
27833 _ACEOF
27834 if ac_fn_c_try_run "$LINENO"; then :
27835 chktls_save_LDFLAGS="$LDFLAGS"
27836 LDFLAGS="-static $LDFLAGS"
27837 if test x$gcc_no_link = xyes; then
27838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27839 fi
27840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27841 /* end confdefs.h. */
27842 int main() { return 0; }
27843 _ACEOF
27844 if ac_fn_c_try_link "$LINENO"; then :
27845 if test "$cross_compiling" = yes; then :
27846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27848 as_fn_error "cannot run test program while cross compiling
27849 See \`config.log' for more details." "$LINENO" 5; }
27850 else
27851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27852 /* end confdefs.h. */
27853 __thread int a; int b; int main() { return a = b; }
27854 _ACEOF
27855 if ac_fn_c_try_run "$LINENO"; then :
27856 gcc_cv_have_tls=yes
27857 else
27858 gcc_cv_have_tls=no
27859 fi
27860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27861 conftest.$ac_objext conftest.beam conftest.$ac_ext
27862 fi
27863
27864 else
27865 gcc_cv_have_tls=yes
27866 fi
27867 rm -f core conftest.err conftest.$ac_objext \
27868 conftest$ac_exeext conftest.$ac_ext
27869 LDFLAGS="$chktls_save_LDFLAGS"
27870 if test $gcc_cv_have_tls = yes; then
27871 chktls_save_CFLAGS="$CFLAGS"
27872 thread_CFLAGS=failed
27873 for flag in '' '-pthread' '-lpthread'; do
27874 CFLAGS="$flag $chktls_save_CFLAGS"
27875 if test x$gcc_no_link = xyes; then
27876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27877 fi
27878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27879 /* end confdefs.h. */
27880 #include <pthread.h>
27881 void *g(void *d) { return NULL; }
27882 int
27883 main ()
27884 {
27885 pthread_t t; pthread_create(&t,NULL,g,NULL);
27886 ;
27887 return 0;
27888 }
27889 _ACEOF
27890 if ac_fn_c_try_link "$LINENO"; then :
27891 thread_CFLAGS="$flag"
27892 fi
27893 rm -f core conftest.err conftest.$ac_objext \
27894 conftest$ac_exeext conftest.$ac_ext
27895 if test "X$thread_CFLAGS" != Xfailed; then
27896 break
27897 fi
27898 done
27899 CFLAGS="$chktls_save_CFLAGS"
27900 if test "X$thread_CFLAGS" != Xfailed; then
27901 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27902 if test "$cross_compiling" = yes; then :
27903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27905 as_fn_error "cannot run test program while cross compiling
27906 See \`config.log' for more details." "$LINENO" 5; }
27907 else
27908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27909 /* end confdefs.h. */
27910 #include <pthread.h>
27911 __thread int a;
27912 static int *volatile a_in_other_thread;
27913 static void *
27914 thread_func (void *arg)
27915 {
27916 a_in_other_thread = &a;
27917 return (void *)0;
27918 }
27919 int
27920 main ()
27921 {
27922 pthread_t thread;
27923 void *thread_retval;
27924 int *volatile a_in_main_thread;
27925 a_in_main_thread = &a;
27926 if (pthread_create (&thread, (pthread_attr_t *)0,
27927 thread_func, (void *)0))
27928 return 0;
27929 if (pthread_join (thread, &thread_retval))
27930 return 0;
27931 return (a_in_other_thread == a_in_main_thread);
27932 ;
27933 return 0;
27934 }
27935 _ACEOF
27936 if ac_fn_c_try_run "$LINENO"; then :
27937 gcc_cv_have_tls=yes
27938 else
27939 gcc_cv_have_tls=no
27940 fi
27941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27942 conftest.$ac_objext conftest.beam conftest.$ac_ext
27943 fi
27944
27945 CFLAGS="$chktls_save_CFLAGS"
27946 fi
27947 fi
27948 else
27949 gcc_cv_have_tls=no
27950 fi
27951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27952 conftest.$ac_objext conftest.beam conftest.$ac_ext
27953 fi
27954
27955 fi
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27957 $as_echo "$gcc_cv_have_tls" >&6; }
27958 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27959
27960 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27961
27962 fi
27963
27964 for ac_func in __cxa_thread_atexit_impl
27965 do :
27966 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27967 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27968 cat >>confdefs.h <<_ACEOF
27969 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27970 _ACEOF
27971
27972 fi
27973 done
27974
27975
27976 # For iconv support.
27977
27978 if test "X$prefix" = "XNONE"; then
27979 acl_final_prefix="$ac_default_prefix"
27980 else
27981 acl_final_prefix="$prefix"
27982 fi
27983 if test "X$exec_prefix" = "XNONE"; then
27984 acl_final_exec_prefix='${prefix}'
27985 else
27986 acl_final_exec_prefix="$exec_prefix"
27987 fi
27988 acl_save_prefix="$prefix"
27989 prefix="$acl_final_prefix"
27990 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27991 prefix="$acl_save_prefix"
27992
27993
27994 # Check whether --with-gnu-ld was given.
27995 if test "${with_gnu_ld+set}" = set; then :
27996 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27997 else
27998 with_gnu_ld=no
27999 fi
28000
28001 # Prepare PATH_SEPARATOR.
28002 # The user is always right.
28003 if test "${PATH_SEPARATOR+set}" != set; then
28004 echo "#! /bin/sh" >conf$$.sh
28005 echo "exit 0" >>conf$$.sh
28006 chmod +x conf$$.sh
28007 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28008 PATH_SEPARATOR=';'
28009 else
28010 PATH_SEPARATOR=:
28011 fi
28012 rm -f conf$$.sh
28013 fi
28014 ac_prog=ld
28015 if test "$GCC" = yes; then
28016 # Check if gcc -print-prog-name=ld gives a path.
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28018 $as_echo_n "checking for ld used by GCC... " >&6; }
28019 case $host in
28020 *-*-mingw*)
28021 # gcc leaves a trailing carriage return which upsets mingw
28022 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28023 *)
28024 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28025 esac
28026 case $ac_prog in
28027 # Accept absolute paths.
28028 [\\/]* | [A-Za-z]:[\\/]*)
28029 re_direlt='/[^/][^/]*/\.\./'
28030 # Canonicalize the path of ld
28031 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28032 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28033 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28034 done
28035 test -z "$LD" && LD="$ac_prog"
28036 ;;
28037 "")
28038 # If it fails, then pretend we aren't using GCC.
28039 ac_prog=ld
28040 ;;
28041 *)
28042 # If it is relative, then search for the first ld in PATH.
28043 with_gnu_ld=unknown
28044 ;;
28045 esac
28046 elif test "$with_gnu_ld" = yes; then
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28048 $as_echo_n "checking for GNU ld... " >&6; }
28049 else
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28051 $as_echo_n "checking for non-GNU ld... " >&6; }
28052 fi
28053 if test "${acl_cv_path_LD+set}" = set; then :
28054 $as_echo_n "(cached) " >&6
28055 else
28056 if test -z "$LD"; then
28057 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28058 for ac_dir in $PATH; do
28059 test -z "$ac_dir" && ac_dir=.
28060 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28061 acl_cv_path_LD="$ac_dir/$ac_prog"
28062 # Check to see if the program is GNU ld. I'd rather use --version,
28063 # but apparently some GNU ld's only accept -v.
28064 # Break only if it was the GNU/non-GNU ld that we prefer.
28065 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28066 test "$with_gnu_ld" != no && break
28067 else
28068 test "$with_gnu_ld" != yes && break
28069 fi
28070 fi
28071 done
28072 IFS="$ac_save_ifs"
28073 else
28074 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28075 fi
28076 fi
28077
28078 LD="$acl_cv_path_LD"
28079 if test -n "$LD"; then
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28081 $as_echo "$LD" >&6; }
28082 else
28083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28084 $as_echo "no" >&6; }
28085 fi
28086 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28088 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28089 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28090 $as_echo_n "(cached) " >&6
28091 else
28092 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28093 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28094 acl_cv_prog_gnu_ld=yes
28095 else
28096 acl_cv_prog_gnu_ld=no
28097 fi
28098 fi
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28100 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28101 with_gnu_ld=$acl_cv_prog_gnu_ld
28102
28103
28104
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28106 $as_echo_n "checking for shared library run path origin... " >&6; }
28107 if test "${acl_cv_rpath+set}" = set; then :
28108 $as_echo_n "(cached) " >&6
28109 else
28110
28111 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28112 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28113 . ./conftest.sh
28114 rm -f ./conftest.sh
28115 acl_cv_rpath=done
28116
28117 fi
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28119 $as_echo "$acl_cv_rpath" >&6; }
28120 wl="$acl_cv_wl"
28121 libext="$acl_cv_libext"
28122 shlibext="$acl_cv_shlibext"
28123 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28124 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28125 hardcode_direct="$acl_cv_hardcode_direct"
28126 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28127 # Check whether --enable-rpath was given.
28128 if test "${enable_rpath+set}" = set; then :
28129 enableval=$enable_rpath; :
28130 else
28131 enable_rpath=yes
28132 fi
28133
28134
28135
28136
28137
28138
28139
28140
28141 use_additional=yes
28142
28143 acl_save_prefix="$prefix"
28144 prefix="$acl_final_prefix"
28145 acl_save_exec_prefix="$exec_prefix"
28146 exec_prefix="$acl_final_exec_prefix"
28147
28148 eval additional_includedir=\"$includedir\"
28149 eval additional_libdir=\"$libdir\"
28150
28151 exec_prefix="$acl_save_exec_prefix"
28152 prefix="$acl_save_prefix"
28153
28154
28155 # Check whether --with-libiconv-prefix was given.
28156 if test "${with_libiconv_prefix+set}" = set; then :
28157 withval=$with_libiconv_prefix;
28158 if test "X$withval" = "Xno"; then
28159 use_additional=no
28160 else
28161 if test "X$withval" = "X"; then
28162
28163 acl_save_prefix="$prefix"
28164 prefix="$acl_final_prefix"
28165 acl_save_exec_prefix="$exec_prefix"
28166 exec_prefix="$acl_final_exec_prefix"
28167
28168 eval additional_includedir=\"$includedir\"
28169 eval additional_libdir=\"$libdir\"
28170
28171 exec_prefix="$acl_save_exec_prefix"
28172 prefix="$acl_save_prefix"
28173
28174 else
28175 additional_includedir="$withval/include"
28176 additional_libdir="$withval/lib"
28177 fi
28178 fi
28179
28180 fi
28181
28182 LIBICONV=
28183 LTLIBICONV=
28184 INCICONV=
28185 rpathdirs=
28186 ltrpathdirs=
28187 names_already_handled=
28188 names_next_round='iconv '
28189 while test -n "$names_next_round"; do
28190 names_this_round="$names_next_round"
28191 names_next_round=
28192 for name in $names_this_round; do
28193 already_handled=
28194 for n in $names_already_handled; do
28195 if test "$n" = "$name"; then
28196 already_handled=yes
28197 break
28198 fi
28199 done
28200 if test -z "$already_handled"; then
28201 names_already_handled="$names_already_handled $name"
28202 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28203 eval value=\"\$HAVE_LIB$uppername\"
28204 if test -n "$value"; then
28205 if test "$value" = yes; then
28206 eval value=\"\$LIB$uppername\"
28207 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28208 eval value=\"\$LTLIB$uppername\"
28209 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28210 else
28211 :
28212 fi
28213 else
28214 found_dir=
28215 found_la=
28216 found_so=
28217 found_a=
28218 if test $use_additional = yes; then
28219 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28220 found_dir="$additional_libdir"
28221 found_so="$additional_libdir/lib$name.$shlibext"
28222 if test -f "$additional_libdir/lib$name.la"; then
28223 found_la="$additional_libdir/lib$name.la"
28224 fi
28225 else
28226 if test -f "$additional_libdir/lib$name.$libext"; then
28227 found_dir="$additional_libdir"
28228 found_a="$additional_libdir/lib$name.$libext"
28229 if test -f "$additional_libdir/lib$name.la"; then
28230 found_la="$additional_libdir/lib$name.la"
28231 fi
28232 fi
28233 fi
28234 fi
28235 if test "X$found_dir" = "X"; then
28236 for x in $LDFLAGS $LTLIBICONV; do
28237
28238 acl_save_prefix="$prefix"
28239 prefix="$acl_final_prefix"
28240 acl_save_exec_prefix="$exec_prefix"
28241 exec_prefix="$acl_final_exec_prefix"
28242 eval x=\"$x\"
28243 exec_prefix="$acl_save_exec_prefix"
28244 prefix="$acl_save_prefix"
28245
28246 case "$x" in
28247 -L*)
28248 dir=`echo "X$x" | sed -e 's/^X-L//'`
28249 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28250 found_dir="$dir"
28251 found_so="$dir/lib$name.$shlibext"
28252 if test -f "$dir/lib$name.la"; then
28253 found_la="$dir/lib$name.la"
28254 fi
28255 else
28256 if test -f "$dir/lib$name.$libext"; then
28257 found_dir="$dir"
28258 found_a="$dir/lib$name.$libext"
28259 if test -f "$dir/lib$name.la"; then
28260 found_la="$dir/lib$name.la"
28261 fi
28262 fi
28263 fi
28264 ;;
28265 esac
28266 if test "X$found_dir" != "X"; then
28267 break
28268 fi
28269 done
28270 fi
28271 if test "X$found_dir" != "X"; then
28272 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28273 if test "X$found_so" != "X"; then
28274 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28275 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28276 else
28277 haveit=
28278 for x in $ltrpathdirs; do
28279 if test "X$x" = "X$found_dir"; then
28280 haveit=yes
28281 break
28282 fi
28283 done
28284 if test -z "$haveit"; then
28285 ltrpathdirs="$ltrpathdirs $found_dir"
28286 fi
28287 if test "$hardcode_direct" = yes; then
28288 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28289 else
28290 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28291 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28292 haveit=
28293 for x in $rpathdirs; do
28294 if test "X$x" = "X$found_dir"; then
28295 haveit=yes
28296 break
28297 fi
28298 done
28299 if test -z "$haveit"; then
28300 rpathdirs="$rpathdirs $found_dir"
28301 fi
28302 else
28303 haveit=
28304 for x in $LDFLAGS $LIBICONV; do
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 eval x=\"$x\"
28311 exec_prefix="$acl_save_exec_prefix"
28312 prefix="$acl_save_prefix"
28313
28314 if test "X$x" = "X-L$found_dir"; then
28315 haveit=yes
28316 break
28317 fi
28318 done
28319 if test -z "$haveit"; then
28320 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28321 fi
28322 if test "$hardcode_minus_L" != no; then
28323 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28324 else
28325 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28326 fi
28327 fi
28328 fi
28329 fi
28330 else
28331 if test "X$found_a" != "X"; then
28332 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28333 else
28334 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28335 fi
28336 fi
28337 additional_includedir=
28338 case "$found_dir" in
28339 */lib | */lib/)
28340 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28341 additional_includedir="$basedir/include"
28342 ;;
28343 esac
28344 if test "X$additional_includedir" != "X"; then
28345 if test "X$additional_includedir" != "X/usr/include"; then
28346 haveit=
28347 if test "X$additional_includedir" = "X/usr/local/include"; then
28348 if test -n "$GCC"; then
28349 case $host_os in
28350 linux*) haveit=yes;;
28351 esac
28352 fi
28353 fi
28354 if test -z "$haveit"; then
28355 for x in $CPPFLAGS $INCICONV; do
28356
28357 acl_save_prefix="$prefix"
28358 prefix="$acl_final_prefix"
28359 acl_save_exec_prefix="$exec_prefix"
28360 exec_prefix="$acl_final_exec_prefix"
28361 eval x=\"$x\"
28362 exec_prefix="$acl_save_exec_prefix"
28363 prefix="$acl_save_prefix"
28364
28365 if test "X$x" = "X-I$additional_includedir"; then
28366 haveit=yes
28367 break
28368 fi
28369 done
28370 if test -z "$haveit"; then
28371 if test -d "$additional_includedir"; then
28372 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28373 fi
28374 fi
28375 fi
28376 fi
28377 fi
28378 if test -n "$found_la"; then
28379 save_libdir="$libdir"
28380 case "$found_la" in
28381 */* | *\\*) . "$found_la" ;;
28382 *) . "./$found_la" ;;
28383 esac
28384 libdir="$save_libdir"
28385 for dep in $dependency_libs; do
28386 case "$dep" in
28387 -L*)
28388 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28389 if test "X$additional_libdir" != "X/usr/lib"; then
28390 haveit=
28391 if test "X$additional_libdir" = "X/usr/local/lib"; then
28392 if test -n "$GCC"; then
28393 case $host_os in
28394 linux*) haveit=yes;;
28395 esac
28396 fi
28397 fi
28398 if test -z "$haveit"; then
28399 haveit=
28400 for x in $LDFLAGS $LIBICONV; do
28401
28402 acl_save_prefix="$prefix"
28403 prefix="$acl_final_prefix"
28404 acl_save_exec_prefix="$exec_prefix"
28405 exec_prefix="$acl_final_exec_prefix"
28406 eval x=\"$x\"
28407 exec_prefix="$acl_save_exec_prefix"
28408 prefix="$acl_save_prefix"
28409
28410 if test "X$x" = "X-L$additional_libdir"; then
28411 haveit=yes
28412 break
28413 fi
28414 done
28415 if test -z "$haveit"; then
28416 if test -d "$additional_libdir"; then
28417 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28418 fi
28419 fi
28420 haveit=
28421 for x in $LDFLAGS $LTLIBICONV; do
28422
28423 acl_save_prefix="$prefix"
28424 prefix="$acl_final_prefix"
28425 acl_save_exec_prefix="$exec_prefix"
28426 exec_prefix="$acl_final_exec_prefix"
28427 eval x=\"$x\"
28428 exec_prefix="$acl_save_exec_prefix"
28429 prefix="$acl_save_prefix"
28430
28431 if test "X$x" = "X-L$additional_libdir"; then
28432 haveit=yes
28433 break
28434 fi
28435 done
28436 if test -z "$haveit"; then
28437 if test -d "$additional_libdir"; then
28438 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28439 fi
28440 fi
28441 fi
28442 fi
28443 ;;
28444 -R*)
28445 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28446 if test "$enable_rpath" != no; then
28447 haveit=
28448 for x in $rpathdirs; do
28449 if test "X$x" = "X$dir"; then
28450 haveit=yes
28451 break
28452 fi
28453 done
28454 if test -z "$haveit"; then
28455 rpathdirs="$rpathdirs $dir"
28456 fi
28457 haveit=
28458 for x in $ltrpathdirs; do
28459 if test "X$x" = "X$dir"; then
28460 haveit=yes
28461 break
28462 fi
28463 done
28464 if test -z "$haveit"; then
28465 ltrpathdirs="$ltrpathdirs $dir"
28466 fi
28467 fi
28468 ;;
28469 -l*)
28470 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28471 ;;
28472 *.la)
28473 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28474 ;;
28475 *)
28476 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28477 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28478 ;;
28479 esac
28480 done
28481 fi
28482 else
28483 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28484 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28485 fi
28486 fi
28487 fi
28488 done
28489 done
28490 if test "X$rpathdirs" != "X"; then
28491 if test -n "$hardcode_libdir_separator"; then
28492 alldirs=
28493 for found_dir in $rpathdirs; do
28494 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28495 done
28496 acl_save_libdir="$libdir"
28497 libdir="$alldirs"
28498 eval flag=\"$hardcode_libdir_flag_spec\"
28499 libdir="$acl_save_libdir"
28500 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28501 else
28502 for found_dir in $rpathdirs; do
28503 acl_save_libdir="$libdir"
28504 libdir="$found_dir"
28505 eval flag=\"$hardcode_libdir_flag_spec\"
28506 libdir="$acl_save_libdir"
28507 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28508 done
28509 fi
28510 fi
28511 if test "X$ltrpathdirs" != "X"; then
28512 for found_dir in $ltrpathdirs; do
28513 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28514 done
28515 fi
28516
28517
28518
28519
28520
28521
28522
28523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28524 $as_echo_n "checking for iconv... " >&6; }
28525 if test "${am_cv_func_iconv+set}" = set; then :
28526 $as_echo_n "(cached) " >&6
28527 else
28528
28529 am_cv_func_iconv="no, consider installing GNU libiconv"
28530 am_cv_lib_iconv=no
28531 am_save_CPPFLAGS="$CPPFLAGS"
28532 CPPFLAGS="$CPPFLAGS $INCICONV"
28533 if test x$gcc_no_link = xyes; then
28534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28535 fi
28536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28537 /* end confdefs.h. */
28538 #include <stdlib.h>
28539 #include <iconv.h>
28540 int
28541 main ()
28542 {
28543 iconv_t cd = iconv_open("","");
28544 iconv(cd,NULL,NULL,NULL,NULL);
28545 iconv_close(cd);
28546 ;
28547 return 0;
28548 }
28549 _ACEOF
28550 if ac_fn_c_try_link "$LINENO"; then :
28551 am_cv_func_iconv=yes
28552 fi
28553 rm -f core conftest.err conftest.$ac_objext \
28554 conftest$ac_exeext conftest.$ac_ext
28555 CPPFLAGS="$am_save_CPPFLAGS"
28556
28557 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28558 for _libs in .libs _libs; do
28559 am_save_CPPFLAGS="$CPPFLAGS"
28560 am_save_LIBS="$LIBS"
28561 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28562 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28563 if test x$gcc_no_link = xyes; then
28564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28565 fi
28566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28567 /* end confdefs.h. */
28568 #include <stdlib.h>
28569 #include <iconv.h>
28570 int
28571 main ()
28572 {
28573 iconv_t cd = iconv_open("","");
28574 iconv(cd,NULL,NULL,NULL,NULL);
28575 iconv_close(cd);
28576 ;
28577 return 0;
28578 }
28579 _ACEOF
28580 if ac_fn_c_try_link "$LINENO"; then :
28581 INCICONV="-I../libiconv/include"
28582 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28583 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28584 am_cv_lib_iconv=yes
28585 am_cv_func_iconv=yes
28586 fi
28587 rm -f core conftest.err conftest.$ac_objext \
28588 conftest$ac_exeext conftest.$ac_ext
28589 CPPFLAGS="$am_save_CPPFLAGS"
28590 LIBS="$am_save_LIBS"
28591 if test "$am_cv_func_iconv" = "yes"; then
28592 break
28593 fi
28594 done
28595 fi
28596
28597 if test "$am_cv_func_iconv" != yes; then
28598 am_save_CPPFLAGS="$CPPFLAGS"
28599 am_save_LIBS="$LIBS"
28600 CPPFLAGS="$LIBS $INCICONV"
28601 LIBS="$LIBS $LIBICONV"
28602 if test x$gcc_no_link = xyes; then
28603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28604 fi
28605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28606 /* end confdefs.h. */
28607 #include <stdlib.h>
28608 #include <iconv.h>
28609 int
28610 main ()
28611 {
28612 iconv_t cd = iconv_open("","");
28613 iconv(cd,NULL,NULL,NULL,NULL);
28614 iconv_close(cd);
28615 ;
28616 return 0;
28617 }
28618 _ACEOF
28619 if ac_fn_c_try_link "$LINENO"; then :
28620 am_cv_lib_iconv=yes
28621 am_cv_func_iconv=yes
28622 fi
28623 rm -f core conftest.err conftest.$ac_objext \
28624 conftest$ac_exeext conftest.$ac_ext
28625 CPPFLAGS="$am_save_CPPFLAGS"
28626 LIBS="$am_save_LIBS"
28627 fi
28628
28629 fi
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28631 $as_echo "$am_cv_func_iconv" >&6; }
28632 if test "$am_cv_func_iconv" = yes; then
28633
28634 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28635
28636 fi
28637 if test "$am_cv_lib_iconv" = yes; then
28638
28639 for element in $INCICONV; do
28640 haveit=
28641 for x in $CPPFLAGS; do
28642
28643 acl_save_prefix="$prefix"
28644 prefix="$acl_final_prefix"
28645 acl_save_exec_prefix="$exec_prefix"
28646 exec_prefix="$acl_final_exec_prefix"
28647 eval x=\"$x\"
28648 exec_prefix="$acl_save_exec_prefix"
28649 prefix="$acl_save_prefix"
28650
28651 if test "X$x" = "X$element"; then
28652 haveit=yes
28653 break
28654 fi
28655 done
28656 if test -z "$haveit"; then
28657 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28658 fi
28659 done
28660
28661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28662 $as_echo_n "checking how to link with libiconv... " >&6; }
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28664 $as_echo "$LIBICONV" >&6; }
28665 else
28666 LIBICONV=
28667 LTLIBICONV=
28668 fi
28669
28670
28671
28672 if test "$am_cv_func_iconv" = yes; then
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28674 $as_echo_n "checking for iconv declaration... " >&6; }
28675 if test "${am_cv_proto_iconv+set}" = set; then :
28676 $as_echo_n "(cached) " >&6
28677 else
28678
28679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28680 /* end confdefs.h. */
28681
28682 #include <stdlib.h>
28683 #include <iconv.h>
28684 extern
28685 #ifdef __cplusplus
28686 "C"
28687 #endif
28688 #if defined(__STDC__) || defined(__cplusplus)
28689 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28690 #else
28691 size_t iconv();
28692 #endif
28693
28694 int
28695 main ()
28696 {
28697
28698 ;
28699 return 0;
28700 }
28701 _ACEOF
28702 if ac_fn_c_try_compile "$LINENO"; then :
28703 am_cv_proto_iconv_arg1=""
28704 else
28705 am_cv_proto_iconv_arg1="const"
28706 fi
28707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28708 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);"
28709 fi
28710
28711 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28713 }$am_cv_proto_iconv" >&5
28714 $as_echo "${ac_t:-
28715 }$am_cv_proto_iconv" >&6; }
28716
28717 cat >>confdefs.h <<_ACEOF
28718 #define ICONV_CONST $am_cv_proto_iconv_arg1
28719 _ACEOF
28720
28721 fi
28722
28723
28724 else
28725
28726 # This lets us hard-code the functionality we know we'll have in the cross
28727 # target environment. "Let" is a sugar-coated word placed on an especially
28728 # dull and tedious hack, actually.
28729 #
28730 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28731 # that involve linking, can't be used:
28732 # "cannot open sim-crt0.o"
28733 # "cannot open crt0.o"
28734 # etc. All this is because there currently exists no unified, consistent
28735 # way for top level CC information to be passed down to target directories:
28736 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28737 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28738 # crosses can be removed.
28739
28740 # If Canadian cross, then don't pick up tools from the build directory.
28741 # Used only in GLIBCXX_EXPORT_INCLUDES.
28742 if test -n "$with_cross_host" &&
28743 test x"$build_alias" != x"$with_cross_host" &&
28744 test x"$build" != x"$target";
28745 then
28746 CANADIAN=yes
28747 else
28748 CANADIAN=no
28749 fi
28750
28751 # Construct crosses by hand, eliminating bits that need ld...
28752 # GLIBCXX_CHECK_MATH_SUPPORT
28753
28754 # First, test for "known" system libraries. We may be using newlib even
28755 # on a hosted environment.
28756 if test "x${with_newlib}" = "xyes"; then
28757 os_include_dir="os/newlib"
28758 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28759
28760
28761 # GLIBCXX_CHECK_STDLIB_SUPPORT
28762 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28763
28764
28765 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28766
28767 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28768
28769 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28770
28771 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28772
28773 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28774
28775 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28776
28777 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28778
28779 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28780
28781 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28782
28783 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28784
28785 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28786
28787 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28788
28789 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28790
28791 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28792
28793 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28794
28795 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28796
28797 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28798
28799 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28800
28801 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28802
28803 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28804
28805 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28806
28807 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28808
28809
28810 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28811
28812 else
28813
28814 # Base decisions on target environment.
28815 case "${host}" in
28816 arm*-*-symbianelf*)
28817 # This is a freestanding configuration; there is nothing to do here.
28818 ;;
28819
28820 mips*-sde-elf*)
28821 # These definitions are for the SDE C library rather than newlib.
28822 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28823
28824
28825 # All these tests are for C++; save the language and the compiler flags.
28826 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28827 # found in GLIBCXX_CONFIGURE.
28828
28829 ac_ext=cpp
28830 ac_cpp='$CXXCPP $CPPFLAGS'
28831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28834
28835 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28836 ac_save_CXXFLAGS="$CXXFLAGS"
28837
28838 # Check for maintainer-mode bits.
28839 if test x"$USE_MAINTAINER_MODE" = xno; then
28840 WERROR=''
28841 else
28842 WERROR='-Werror'
28843 fi
28844
28845 # Check for -ffunction-sections -fdata-sections
28846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28847 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28848 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28850 /* end confdefs.h. */
28851 int foo; void bar() { };
28852 int
28853 main ()
28854 {
28855
28856 ;
28857 return 0;
28858 }
28859 _ACEOF
28860 if ac_fn_cxx_try_compile "$LINENO"; then :
28861 ac_fdsections=yes
28862 else
28863 ac_fdsections=no
28864 fi
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28866 if test "$ac_test_CXXFLAGS" = set; then
28867 CXXFLAGS="$ac_save_CXXFLAGS"
28868 else
28869 # this is the suspicious part
28870 CXXFLAGS=''
28871 fi
28872 if test x"$ac_fdsections" = x"yes"; then
28873 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28874 fi
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28876 $as_echo "$ac_fdsections" >&6; }
28877
28878 ac_ext=c
28879 ac_cpp='$CPP $CPPFLAGS'
28880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28883
28884
28885
28886
28887
28888 # If we're not using GNU ld, then there's no point in even trying these
28889 # tests. Check for that first. We should have already tested for gld
28890 # by now (in libtool), but require it now just to be safe...
28891 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28892 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28893
28894
28895
28896 # The name set by libtool depends on the version of libtool. Shame on us
28897 # for depending on an impl detail, but c'est la vie. Older versions used
28898 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28899 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28900 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28901 # set (hence we're using an older libtool), then set it.
28902 if test x${with_gnu_ld+set} != xset; then
28903 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28904 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28905 with_gnu_ld=no
28906 else
28907 with_gnu_ld=$ac_cv_prog_gnu_ld
28908 fi
28909 fi
28910
28911 # Start by getting the version number. I think the libtool test already
28912 # does some of this, but throws away the result.
28913 glibcxx_ld_is_gold=no
28914 if test x"$with_gnu_ld" = x"yes"; then
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28916 $as_echo_n "checking for ld version... " >&6; }
28917
28918 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28919 glibcxx_ld_is_gold=yes
28920 fi
28921 ldver=`$LD --version 2>/dev/null |
28922 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'`
28923
28924 glibcxx_gnu_ld_version=`echo $ldver | \
28925 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28927 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28928 fi
28929
28930 # Set --gc-sections.
28931 glibcxx_have_gc_sections=no
28932 if test "$glibcxx_ld_is_gold" = "yes"; then
28933 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28934 glibcxx_have_gc_sections=yes
28935 fi
28936 else
28937 glibcxx_gcsections_min_ld=21602
28938 if test x"$with_gnu_ld" = x"yes" &&
28939 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28940 glibcxx_have_gc_sections=yes
28941 fi
28942 fi
28943 if test "$glibcxx_have_gc_sections" = "yes"; then
28944 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28945 # NB: This flag only works reliably after 2.16.1. Configure tests
28946 # for this are difficult, so hard wire a value that should work.
28947
28948 ac_test_CFLAGS="${CFLAGS+set}"
28949 ac_save_CFLAGS="$CFLAGS"
28950 CFLAGS='-Wl,--gc-sections'
28951
28952 # Check for -Wl,--gc-sections
28953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28954 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28955 if test x$gcc_no_link = xyes; then
28956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28957 fi
28958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28959 /* end confdefs.h. */
28960 int one(void) { return 1; }
28961 int two(void) { return 2; }
28962
28963 int
28964 main ()
28965 {
28966 two();
28967 ;
28968 return 0;
28969 }
28970 _ACEOF
28971 if ac_fn_c_try_link "$LINENO"; then :
28972 ac_gcsections=yes
28973 else
28974 ac_gcsections=no
28975 fi
28976 rm -f core conftest.err conftest.$ac_objext \
28977 conftest$ac_exeext conftest.$ac_ext
28978 if test "$ac_gcsections" = "yes"; then
28979 rm -f conftest.c
28980 touch conftest.c
28981 if $CC -c conftest.c; then
28982 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28983 grep "Warning: gc-sections option ignored" > /dev/null; then
28984 ac_gcsections=no
28985 fi
28986 fi
28987 rm -f conftest.c conftest.o conftest
28988 fi
28989 if test "$ac_gcsections" = "yes"; then
28990 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28991 fi
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28993 $as_echo "$ac_gcsections" >&6; }
28994
28995 if test "$ac_test_CFLAGS" = set; then
28996 CFLAGS="$ac_save_CFLAGS"
28997 else
28998 # this is the suspicious part
28999 CFLAGS=''
29000 fi
29001 fi
29002
29003 # Set -z,relro.
29004 # Note this is only for shared objects.
29005 ac_ld_relro=no
29006 if test x"$with_gnu_ld" = x"yes"; then
29007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29008 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29009 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29010 if test -n "$cxx_z_relo"; then
29011 OPT_LDFLAGS="-Wl,-z,relro"
29012 ac_ld_relro=yes
29013 fi
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29015 $as_echo "$ac_ld_relro" >&6; }
29016 fi
29017
29018 # Set linker optimization flags.
29019 if test x"$with_gnu_ld" = x"yes"; then
29020 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29021 fi
29022
29023
29024
29025
29026
29027 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29028 ac_save_CXXFLAGS="$CXXFLAGS"
29029 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29030
29031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29032 $as_echo_n "checking for sin in -lm... " >&6; }
29033 if test "${ac_cv_lib_m_sin+set}" = set; then :
29034 $as_echo_n "(cached) " >&6
29035 else
29036 ac_check_lib_save_LIBS=$LIBS
29037 LIBS="-lm $LIBS"
29038 if test x$gcc_no_link = xyes; then
29039 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29040 fi
29041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29042 /* end confdefs.h. */
29043
29044 /* Override any GCC internal prototype to avoid an error.
29045 Use char because int might match the return type of a GCC
29046 builtin and then its argument prototype would still apply. */
29047 #ifdef __cplusplus
29048 extern "C"
29049 #endif
29050 char sin ();
29051 int
29052 main ()
29053 {
29054 return sin ();
29055 ;
29056 return 0;
29057 }
29058 _ACEOF
29059 if ac_fn_c_try_link "$LINENO"; then :
29060 ac_cv_lib_m_sin=yes
29061 else
29062 ac_cv_lib_m_sin=no
29063 fi
29064 rm -f core conftest.err conftest.$ac_objext \
29065 conftest$ac_exeext conftest.$ac_ext
29066 LIBS=$ac_check_lib_save_LIBS
29067 fi
29068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29069 $as_echo "$ac_cv_lib_m_sin" >&6; }
29070 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29071 libm="-lm"
29072 fi
29073
29074 ac_save_LIBS="$LIBS"
29075 LIBS="$LIBS $libm"
29076
29077
29078
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29080 $as_echo_n "checking for isinf declaration... " >&6; }
29081 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29082 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29083 $as_echo_n "(cached) " >&6
29084 else
29085
29086
29087 ac_ext=cpp
29088 ac_cpp='$CXXCPP $CPPFLAGS'
29089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29092
29093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29094 /* end confdefs.h. */
29095 #include <math.h>
29096 #ifdef HAVE_IEEEFP_H
29097 #include <ieeefp.h>
29098 #endif
29099
29100 int
29101 main ()
29102 {
29103 isinf(0);
29104 ;
29105 return 0;
29106 }
29107 _ACEOF
29108 if ac_fn_cxx_try_compile "$LINENO"; then :
29109 glibcxx_cv_func_isinf_use=yes
29110 else
29111 glibcxx_cv_func_isinf_use=no
29112 fi
29113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29114 ac_ext=c
29115 ac_cpp='$CPP $CPPFLAGS'
29116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29119
29120
29121 fi
29122
29123 fi
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29125 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29126
29127 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29128 for ac_func in isinf
29129 do :
29130 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29131 if test "x$ac_cv_func_isinf" = x""yes; then :
29132 cat >>confdefs.h <<_ACEOF
29133 #define HAVE_ISINF 1
29134 _ACEOF
29135
29136 fi
29137 done
29138
29139 else
29140
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29142 $as_echo_n "checking for _isinf declaration... " >&6; }
29143 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29144 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29145 $as_echo_n "(cached) " >&6
29146 else
29147
29148
29149 ac_ext=cpp
29150 ac_cpp='$CXXCPP $CPPFLAGS'
29151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29154
29155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29156 /* end confdefs.h. */
29157 #include <math.h>
29158 #ifdef HAVE_IEEEFP_H
29159 #include <ieeefp.h>
29160 #endif
29161
29162 int
29163 main ()
29164 {
29165 _isinf(0);
29166 ;
29167 return 0;
29168 }
29169 _ACEOF
29170 if ac_fn_cxx_try_compile "$LINENO"; then :
29171 glibcxx_cv_func__isinf_use=yes
29172 else
29173 glibcxx_cv_func__isinf_use=no
29174 fi
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29176 ac_ext=c
29177 ac_cpp='$CPP $CPPFLAGS'
29178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29181
29182
29183 fi
29184
29185 fi
29186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29187 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29188
29189 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29190 for ac_func in _isinf
29191 do :
29192 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29193 if test "x$ac_cv_func__isinf" = x""yes; then :
29194 cat >>confdefs.h <<_ACEOF
29195 #define HAVE__ISINF 1
29196 _ACEOF
29197
29198 fi
29199 done
29200
29201 fi
29202 fi
29203
29204
29205
29206
29207
29208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29209 $as_echo_n "checking for isnan declaration... " >&6; }
29210 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29211 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29212 $as_echo_n "(cached) " >&6
29213 else
29214
29215
29216 ac_ext=cpp
29217 ac_cpp='$CXXCPP $CPPFLAGS'
29218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29221
29222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29223 /* end confdefs.h. */
29224 #include <math.h>
29225 #ifdef HAVE_IEEEFP_H
29226 #include <ieeefp.h>
29227 #endif
29228
29229 int
29230 main ()
29231 {
29232 isnan(0);
29233 ;
29234 return 0;
29235 }
29236 _ACEOF
29237 if ac_fn_cxx_try_compile "$LINENO"; then :
29238 glibcxx_cv_func_isnan_use=yes
29239 else
29240 glibcxx_cv_func_isnan_use=no
29241 fi
29242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29243 ac_ext=c
29244 ac_cpp='$CPP $CPPFLAGS'
29245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29248
29249
29250 fi
29251
29252 fi
29253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29254 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29255
29256 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29257 for ac_func in isnan
29258 do :
29259 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29260 if test "x$ac_cv_func_isnan" = x""yes; then :
29261 cat >>confdefs.h <<_ACEOF
29262 #define HAVE_ISNAN 1
29263 _ACEOF
29264
29265 fi
29266 done
29267
29268 else
29269
29270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29271 $as_echo_n "checking for _isnan declaration... " >&6; }
29272 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29273 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29274 $as_echo_n "(cached) " >&6
29275 else
29276
29277
29278 ac_ext=cpp
29279 ac_cpp='$CXXCPP $CPPFLAGS'
29280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29283
29284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29285 /* end confdefs.h. */
29286 #include <math.h>
29287 #ifdef HAVE_IEEEFP_H
29288 #include <ieeefp.h>
29289 #endif
29290
29291 int
29292 main ()
29293 {
29294 _isnan(0);
29295 ;
29296 return 0;
29297 }
29298 _ACEOF
29299 if ac_fn_cxx_try_compile "$LINENO"; then :
29300 glibcxx_cv_func__isnan_use=yes
29301 else
29302 glibcxx_cv_func__isnan_use=no
29303 fi
29304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29305 ac_ext=c
29306 ac_cpp='$CPP $CPPFLAGS'
29307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29310
29311
29312 fi
29313
29314 fi
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29316 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29317
29318 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29319 for ac_func in _isnan
29320 do :
29321 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29322 if test "x$ac_cv_func__isnan" = x""yes; then :
29323 cat >>confdefs.h <<_ACEOF
29324 #define HAVE__ISNAN 1
29325 _ACEOF
29326
29327 fi
29328 done
29329
29330 fi
29331 fi
29332
29333
29334
29335
29336
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29338 $as_echo_n "checking for finite declaration... " >&6; }
29339 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29340 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29341 $as_echo_n "(cached) " >&6
29342 else
29343
29344
29345 ac_ext=cpp
29346 ac_cpp='$CXXCPP $CPPFLAGS'
29347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29350
29351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29352 /* end confdefs.h. */
29353 #include <math.h>
29354 #ifdef HAVE_IEEEFP_H
29355 #include <ieeefp.h>
29356 #endif
29357
29358 int
29359 main ()
29360 {
29361 finite(0);
29362 ;
29363 return 0;
29364 }
29365 _ACEOF
29366 if ac_fn_cxx_try_compile "$LINENO"; then :
29367 glibcxx_cv_func_finite_use=yes
29368 else
29369 glibcxx_cv_func_finite_use=no
29370 fi
29371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29372 ac_ext=c
29373 ac_cpp='$CPP $CPPFLAGS'
29374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29377
29378
29379 fi
29380
29381 fi
29382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29383 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29384
29385 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29386 for ac_func in finite
29387 do :
29388 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29389 if test "x$ac_cv_func_finite" = x""yes; then :
29390 cat >>confdefs.h <<_ACEOF
29391 #define HAVE_FINITE 1
29392 _ACEOF
29393
29394 fi
29395 done
29396
29397 else
29398
29399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29400 $as_echo_n "checking for _finite declaration... " >&6; }
29401 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29402 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29403 $as_echo_n "(cached) " >&6
29404 else
29405
29406
29407 ac_ext=cpp
29408 ac_cpp='$CXXCPP $CPPFLAGS'
29409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29412
29413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29414 /* end confdefs.h. */
29415 #include <math.h>
29416 #ifdef HAVE_IEEEFP_H
29417 #include <ieeefp.h>
29418 #endif
29419
29420 int
29421 main ()
29422 {
29423 _finite(0);
29424 ;
29425 return 0;
29426 }
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429 glibcxx_cv_func__finite_use=yes
29430 else
29431 glibcxx_cv_func__finite_use=no
29432 fi
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434 ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439
29440
29441 fi
29442
29443 fi
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29445 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29446
29447 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29448 for ac_func in _finite
29449 do :
29450 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29451 if test "x$ac_cv_func__finite" = x""yes; then :
29452 cat >>confdefs.h <<_ACEOF
29453 #define HAVE__FINITE 1
29454 _ACEOF
29455
29456 fi
29457 done
29458
29459 fi
29460 fi
29461
29462
29463
29464
29465
29466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29467 $as_echo_n "checking for sincos declaration... " >&6; }
29468 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29469 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29470 $as_echo_n "(cached) " >&6
29471 else
29472
29473
29474 ac_ext=cpp
29475 ac_cpp='$CXXCPP $CPPFLAGS'
29476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29479
29480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h. */
29482 #include <math.h>
29483 int
29484 main ()
29485 {
29486 sincos(0, 0, 0);
29487 ;
29488 return 0;
29489 }
29490 _ACEOF
29491 if ac_fn_cxx_try_compile "$LINENO"; then :
29492 glibcxx_cv_func_sincos_use=yes
29493 else
29494 glibcxx_cv_func_sincos_use=no
29495 fi
29496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29497 ac_ext=c
29498 ac_cpp='$CPP $CPPFLAGS'
29499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29502
29503
29504 fi
29505
29506 fi
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29508 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29509
29510 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29511 for ac_func in sincos
29512 do :
29513 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29514 if test "x$ac_cv_func_sincos" = x""yes; then :
29515 cat >>confdefs.h <<_ACEOF
29516 #define HAVE_SINCOS 1
29517 _ACEOF
29518
29519 fi
29520 done
29521
29522 else
29523
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29525 $as_echo_n "checking for _sincos declaration... " >&6; }
29526 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29527 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29528 $as_echo_n "(cached) " >&6
29529 else
29530
29531
29532 ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537
29538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h. */
29540 #include <math.h>
29541 int
29542 main ()
29543 {
29544 _sincos(0, 0, 0);
29545 ;
29546 return 0;
29547 }
29548 _ACEOF
29549 if ac_fn_cxx_try_compile "$LINENO"; then :
29550 glibcxx_cv_func__sincos_use=yes
29551 else
29552 glibcxx_cv_func__sincos_use=no
29553 fi
29554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29555 ac_ext=c
29556 ac_cpp='$CPP $CPPFLAGS'
29557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29560
29561
29562 fi
29563
29564 fi
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29566 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29567
29568 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29569 for ac_func in _sincos
29570 do :
29571 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29572 if test "x$ac_cv_func__sincos" = x""yes; then :
29573 cat >>confdefs.h <<_ACEOF
29574 #define HAVE__SINCOS 1
29575 _ACEOF
29576
29577 fi
29578 done
29579
29580 fi
29581 fi
29582
29583
29584
29585
29586
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29588 $as_echo_n "checking for fpclass declaration... " >&6; }
29589 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29590 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29591 $as_echo_n "(cached) " >&6
29592 else
29593
29594
29595 ac_ext=cpp
29596 ac_cpp='$CXXCPP $CPPFLAGS'
29597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29600
29601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29602 /* end confdefs.h. */
29603 #include <math.h>
29604 #ifdef HAVE_IEEEFP_H
29605 #include <ieeefp.h>
29606 #endif
29607
29608 int
29609 main ()
29610 {
29611 fpclass(0);
29612 ;
29613 return 0;
29614 }
29615 _ACEOF
29616 if ac_fn_cxx_try_compile "$LINENO"; then :
29617 glibcxx_cv_func_fpclass_use=yes
29618 else
29619 glibcxx_cv_func_fpclass_use=no
29620 fi
29621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29622 ac_ext=c
29623 ac_cpp='$CPP $CPPFLAGS'
29624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29627
29628
29629 fi
29630
29631 fi
29632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29633 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29634
29635 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29636 for ac_func in fpclass
29637 do :
29638 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29639 if test "x$ac_cv_func_fpclass" = x""yes; then :
29640 cat >>confdefs.h <<_ACEOF
29641 #define HAVE_FPCLASS 1
29642 _ACEOF
29643
29644 fi
29645 done
29646
29647 else
29648
29649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29650 $as_echo_n "checking for _fpclass declaration... " >&6; }
29651 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29652 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29653 $as_echo_n "(cached) " >&6
29654 else
29655
29656
29657 ac_ext=cpp
29658 ac_cpp='$CXXCPP $CPPFLAGS'
29659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29662
29663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29664 /* end confdefs.h. */
29665 #include <math.h>
29666 #ifdef HAVE_IEEEFP_H
29667 #include <ieeefp.h>
29668 #endif
29669
29670 int
29671 main ()
29672 {
29673 _fpclass(0);
29674 ;
29675 return 0;
29676 }
29677 _ACEOF
29678 if ac_fn_cxx_try_compile "$LINENO"; then :
29679 glibcxx_cv_func__fpclass_use=yes
29680 else
29681 glibcxx_cv_func__fpclass_use=no
29682 fi
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684 ac_ext=c
29685 ac_cpp='$CPP $CPPFLAGS'
29686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29689
29690
29691 fi
29692
29693 fi
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29695 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29696
29697 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29698 for ac_func in _fpclass
29699 do :
29700 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29701 if test "x$ac_cv_func__fpclass" = x""yes; then :
29702 cat >>confdefs.h <<_ACEOF
29703 #define HAVE__FPCLASS 1
29704 _ACEOF
29705
29706 fi
29707 done
29708
29709 fi
29710 fi
29711
29712
29713
29714
29715
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29717 $as_echo_n "checking for qfpclass declaration... " >&6; }
29718 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29719 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29720 $as_echo_n "(cached) " >&6
29721 else
29722
29723
29724 ac_ext=cpp
29725 ac_cpp='$CXXCPP $CPPFLAGS'
29726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29729
29730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h. */
29732 #include <math.h>
29733 #ifdef HAVE_IEEEFP_H
29734 #include <ieeefp.h>
29735 #endif
29736
29737 int
29738 main ()
29739 {
29740 qfpclass(0);
29741 ;
29742 return 0;
29743 }
29744 _ACEOF
29745 if ac_fn_cxx_try_compile "$LINENO"; then :
29746 glibcxx_cv_func_qfpclass_use=yes
29747 else
29748 glibcxx_cv_func_qfpclass_use=no
29749 fi
29750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29751 ac_ext=c
29752 ac_cpp='$CPP $CPPFLAGS'
29753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29756
29757
29758 fi
29759
29760 fi
29761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29762 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29763
29764 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29765 for ac_func in qfpclass
29766 do :
29767 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29768 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29769 cat >>confdefs.h <<_ACEOF
29770 #define HAVE_QFPCLASS 1
29771 _ACEOF
29772
29773 fi
29774 done
29775
29776 else
29777
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29779 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29780 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29781 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29782 $as_echo_n "(cached) " >&6
29783 else
29784
29785
29786 ac_ext=cpp
29787 ac_cpp='$CXXCPP $CPPFLAGS'
29788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791
29792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29793 /* end confdefs.h. */
29794 #include <math.h>
29795 #ifdef HAVE_IEEEFP_H
29796 #include <ieeefp.h>
29797 #endif
29798
29799 int
29800 main ()
29801 {
29802 _qfpclass(0);
29803 ;
29804 return 0;
29805 }
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808 glibcxx_cv_func__qfpclass_use=yes
29809 else
29810 glibcxx_cv_func__qfpclass_use=no
29811 fi
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813 ac_ext=c
29814 ac_cpp='$CPP $CPPFLAGS'
29815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29818
29819
29820 fi
29821
29822 fi
29823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29824 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29825
29826 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29827 for ac_func in _qfpclass
29828 do :
29829 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29830 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29831 cat >>confdefs.h <<_ACEOF
29832 #define HAVE__QFPCLASS 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838 fi
29839 fi
29840
29841
29842
29843
29844
29845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29846 $as_echo_n "checking for hypot declaration... " >&6; }
29847 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29848 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29849 $as_echo_n "(cached) " >&6
29850 else
29851
29852
29853 ac_ext=cpp
29854 ac_cpp='$CXXCPP $CPPFLAGS'
29855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29858
29859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29860 /* end confdefs.h. */
29861 #include <math.h>
29862 int
29863 main ()
29864 {
29865 hypot(0, 0);
29866 ;
29867 return 0;
29868 }
29869 _ACEOF
29870 if ac_fn_cxx_try_compile "$LINENO"; then :
29871 glibcxx_cv_func_hypot_use=yes
29872 else
29873 glibcxx_cv_func_hypot_use=no
29874 fi
29875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29876 ac_ext=c
29877 ac_cpp='$CPP $CPPFLAGS'
29878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29881
29882
29883 fi
29884
29885 fi
29886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29887 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29888
29889 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29890 for ac_func in hypot
29891 do :
29892 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29893 if test "x$ac_cv_func_hypot" = x""yes; then :
29894 cat >>confdefs.h <<_ACEOF
29895 #define HAVE_HYPOT 1
29896 _ACEOF
29897
29898 fi
29899 done
29900
29901 else
29902
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29904 $as_echo_n "checking for _hypot declaration... " >&6; }
29905 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29906 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29907 $as_echo_n "(cached) " >&6
29908 else
29909
29910
29911 ac_ext=cpp
29912 ac_cpp='$CXXCPP $CPPFLAGS'
29913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916
29917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29918 /* end confdefs.h. */
29919 #include <math.h>
29920 int
29921 main ()
29922 {
29923 _hypot(0, 0);
29924 ;
29925 return 0;
29926 }
29927 _ACEOF
29928 if ac_fn_cxx_try_compile "$LINENO"; then :
29929 glibcxx_cv_func__hypot_use=yes
29930 else
29931 glibcxx_cv_func__hypot_use=no
29932 fi
29933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934 ac_ext=c
29935 ac_cpp='$CPP $CPPFLAGS'
29936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29939
29940
29941 fi
29942
29943 fi
29944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29945 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29946
29947 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29948 for ac_func in _hypot
29949 do :
29950 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29951 if test "x$ac_cv_func__hypot" = x""yes; then :
29952 cat >>confdefs.h <<_ACEOF
29953 #define HAVE__HYPOT 1
29954 _ACEOF
29955
29956 fi
29957 done
29958
29959 fi
29960 fi
29961
29962
29963
29964
29965
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29967 $as_echo_n "checking for float trig functions... " >&6; }
29968 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29969 $as_echo_n "(cached) " >&6
29970 else
29971
29972
29973 ac_ext=cpp
29974 ac_cpp='$CXXCPP $CPPFLAGS'
29975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29978
29979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29980 /* end confdefs.h. */
29981 #include <math.h>
29982 int
29983 main ()
29984 {
29985 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29986 ;
29987 return 0;
29988 }
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991 glibcxx_cv_func_float_trig_use=yes
29992 else
29993 glibcxx_cv_func_float_trig_use=no
29994 fi
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30001
30002 fi
30003
30004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30005 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30006 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30007 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30008 do :
30009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30011 eval as_val=\$$as_ac_var
30012 if test "x$as_val" = x""yes; then :
30013 cat >>confdefs.h <<_ACEOF
30014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30015 _ACEOF
30016
30017 fi
30018 done
30019
30020 else
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30022 $as_echo_n "checking for _float trig functions... " >&6; }
30023 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30024 $as_echo_n "(cached) " >&6
30025 else
30026
30027
30028 ac_ext=cpp
30029 ac_cpp='$CXXCPP $CPPFLAGS'
30030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033
30034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30035 /* end confdefs.h. */
30036 #include <math.h>
30037 int
30038 main ()
30039 {
30040 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30041 ;
30042 return 0;
30043 }
30044 _ACEOF
30045 if ac_fn_cxx_try_compile "$LINENO"; then :
30046 glibcxx_cv_func__float_trig_use=yes
30047 else
30048 glibcxx_cv_func__float_trig_use=no
30049 fi
30050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30051 ac_ext=c
30052 ac_cpp='$CPP $CPPFLAGS'
30053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30056
30057 fi
30058
30059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30060 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30061 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30062 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30063 do :
30064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30066 eval as_val=\$$as_ac_var
30067 if test "x$as_val" = x""yes; then :
30068 cat >>confdefs.h <<_ACEOF
30069 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30070 _ACEOF
30071
30072 fi
30073 done
30074
30075 fi
30076 fi
30077
30078
30079
30080
30081
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30083 $as_echo_n "checking for float round functions... " >&6; }
30084 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30085 $as_echo_n "(cached) " >&6
30086 else
30087
30088
30089 ac_ext=cpp
30090 ac_cpp='$CXXCPP $CPPFLAGS'
30091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30094
30095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30096 /* end confdefs.h. */
30097 #include <math.h>
30098 int
30099 main ()
30100 {
30101 ceilf (0); floorf (0);
30102 ;
30103 return 0;
30104 }
30105 _ACEOF
30106 if ac_fn_cxx_try_compile "$LINENO"; then :
30107 glibcxx_cv_func_float_round_use=yes
30108 else
30109 glibcxx_cv_func_float_round_use=no
30110 fi
30111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30112 ac_ext=c
30113 ac_cpp='$CPP $CPPFLAGS'
30114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30117
30118 fi
30119
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30121 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30122 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30123 for ac_func in ceilf floorf
30124 do :
30125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30127 eval as_val=\$$as_ac_var
30128 if test "x$as_val" = x""yes; then :
30129 cat >>confdefs.h <<_ACEOF
30130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30131 _ACEOF
30132
30133 fi
30134 done
30135
30136 else
30137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30138 $as_echo_n "checking for _float round functions... " >&6; }
30139 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30140 $as_echo_n "(cached) " >&6
30141 else
30142
30143
30144 ac_ext=cpp
30145 ac_cpp='$CXXCPP $CPPFLAGS'
30146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30149
30150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30151 /* end confdefs.h. */
30152 #include <math.h>
30153 int
30154 main ()
30155 {
30156 _ceilf (0); _floorf (0);
30157 ;
30158 return 0;
30159 }
30160 _ACEOF
30161 if ac_fn_cxx_try_compile "$LINENO"; then :
30162 glibcxx_cv_func__float_round_use=yes
30163 else
30164 glibcxx_cv_func__float_round_use=no
30165 fi
30166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30167 ac_ext=c
30168 ac_cpp='$CPP $CPPFLAGS'
30169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30172
30173 fi
30174
30175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30176 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30177 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30178 for ac_func in _ceilf _floorf
30179 do :
30180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30182 eval as_val=\$$as_ac_var
30183 if test "x$as_val" = x""yes; then :
30184 cat >>confdefs.h <<_ACEOF
30185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30186 _ACEOF
30187
30188 fi
30189 done
30190
30191 fi
30192 fi
30193
30194
30195
30196
30197
30198
30199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30200 $as_echo_n "checking for expf declaration... " >&6; }
30201 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30202 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30203 $as_echo_n "(cached) " >&6
30204 else
30205
30206
30207 ac_ext=cpp
30208 ac_cpp='$CXXCPP $CPPFLAGS'
30209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30212
30213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30214 /* end confdefs.h. */
30215 #include <math.h>
30216 #ifdef HAVE_IEEEFP_H
30217 #include <ieeefp.h>
30218 #endif
30219
30220 int
30221 main ()
30222 {
30223 expf(0);
30224 ;
30225 return 0;
30226 }
30227 _ACEOF
30228 if ac_fn_cxx_try_compile "$LINENO"; then :
30229 glibcxx_cv_func_expf_use=yes
30230 else
30231 glibcxx_cv_func_expf_use=no
30232 fi
30233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30234 ac_ext=c
30235 ac_cpp='$CPP $CPPFLAGS'
30236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30239
30240
30241 fi
30242
30243 fi
30244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30245 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30246
30247 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30248 for ac_func in expf
30249 do :
30250 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30251 if test "x$ac_cv_func_expf" = x""yes; then :
30252 cat >>confdefs.h <<_ACEOF
30253 #define HAVE_EXPF 1
30254 _ACEOF
30255
30256 fi
30257 done
30258
30259 else
30260
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30262 $as_echo_n "checking for _expf declaration... " >&6; }
30263 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30264 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30265 $as_echo_n "(cached) " >&6
30266 else
30267
30268
30269 ac_ext=cpp
30270 ac_cpp='$CXXCPP $CPPFLAGS'
30271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30274
30275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30276 /* end confdefs.h. */
30277 #include <math.h>
30278 #ifdef HAVE_IEEEFP_H
30279 #include <ieeefp.h>
30280 #endif
30281
30282 int
30283 main ()
30284 {
30285 _expf(0);
30286 ;
30287 return 0;
30288 }
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291 glibcxx_cv_func__expf_use=yes
30292 else
30293 glibcxx_cv_func__expf_use=no
30294 fi
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30301
30302
30303 fi
30304
30305 fi
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30307 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30308
30309 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30310 for ac_func in _expf
30311 do :
30312 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30313 if test "x$ac_cv_func__expf" = x""yes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE__EXPF 1
30316 _ACEOF
30317
30318 fi
30319 done
30320
30321 fi
30322 fi
30323
30324
30325
30326
30327
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30329 $as_echo_n "checking for isnanf declaration... " >&6; }
30330 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30331 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30332 $as_echo_n "(cached) " >&6
30333 else
30334
30335
30336 ac_ext=cpp
30337 ac_cpp='$CXXCPP $CPPFLAGS'
30338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30341
30342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343 /* end confdefs.h. */
30344 #include <math.h>
30345 #ifdef HAVE_IEEEFP_H
30346 #include <ieeefp.h>
30347 #endif
30348
30349 int
30350 main ()
30351 {
30352 isnanf(0);
30353 ;
30354 return 0;
30355 }
30356 _ACEOF
30357 if ac_fn_cxx_try_compile "$LINENO"; then :
30358 glibcxx_cv_func_isnanf_use=yes
30359 else
30360 glibcxx_cv_func_isnanf_use=no
30361 fi
30362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363 ac_ext=c
30364 ac_cpp='$CPP $CPPFLAGS'
30365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30368
30369
30370 fi
30371
30372 fi
30373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30374 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30375
30376 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30377 for ac_func in isnanf
30378 do :
30379 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30380 if test "x$ac_cv_func_isnanf" = x""yes; then :
30381 cat >>confdefs.h <<_ACEOF
30382 #define HAVE_ISNANF 1
30383 _ACEOF
30384
30385 fi
30386 done
30387
30388 else
30389
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30391 $as_echo_n "checking for _isnanf declaration... " >&6; }
30392 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30393 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30394 $as_echo_n "(cached) " >&6
30395 else
30396
30397
30398 ac_ext=cpp
30399 ac_cpp='$CXXCPP $CPPFLAGS'
30400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30403
30404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30405 /* end confdefs.h. */
30406 #include <math.h>
30407 #ifdef HAVE_IEEEFP_H
30408 #include <ieeefp.h>
30409 #endif
30410
30411 int
30412 main ()
30413 {
30414 _isnanf(0);
30415 ;
30416 return 0;
30417 }
30418 _ACEOF
30419 if ac_fn_cxx_try_compile "$LINENO"; then :
30420 glibcxx_cv_func__isnanf_use=yes
30421 else
30422 glibcxx_cv_func__isnanf_use=no
30423 fi
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425 ac_ext=c
30426 ac_cpp='$CPP $CPPFLAGS'
30427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30430
30431
30432 fi
30433
30434 fi
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30436 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30437
30438 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30439 for ac_func in _isnanf
30440 do :
30441 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30442 if test "x$ac_cv_func__isnanf" = x""yes; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define HAVE__ISNANF 1
30445 _ACEOF
30446
30447 fi
30448 done
30449
30450 fi
30451 fi
30452
30453
30454
30455
30456
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30458 $as_echo_n "checking for isinff declaration... " >&6; }
30459 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30460 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30461 $as_echo_n "(cached) " >&6
30462 else
30463
30464
30465 ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30470
30471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h. */
30473 #include <math.h>
30474 #ifdef HAVE_IEEEFP_H
30475 #include <ieeefp.h>
30476 #endif
30477
30478 int
30479 main ()
30480 {
30481 isinff(0);
30482 ;
30483 return 0;
30484 }
30485 _ACEOF
30486 if ac_fn_cxx_try_compile "$LINENO"; then :
30487 glibcxx_cv_func_isinff_use=yes
30488 else
30489 glibcxx_cv_func_isinff_use=no
30490 fi
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492 ac_ext=c
30493 ac_cpp='$CPP $CPPFLAGS'
30494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30497
30498
30499 fi
30500
30501 fi
30502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30503 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30504
30505 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30506 for ac_func in isinff
30507 do :
30508 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30509 if test "x$ac_cv_func_isinff" = x""yes; then :
30510 cat >>confdefs.h <<_ACEOF
30511 #define HAVE_ISINFF 1
30512 _ACEOF
30513
30514 fi
30515 done
30516
30517 else
30518
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30520 $as_echo_n "checking for _isinff declaration... " >&6; }
30521 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30522 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30523 $as_echo_n "(cached) " >&6
30524 else
30525
30526
30527 ac_ext=cpp
30528 ac_cpp='$CXXCPP $CPPFLAGS'
30529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30532
30533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30534 /* end confdefs.h. */
30535 #include <math.h>
30536 #ifdef HAVE_IEEEFP_H
30537 #include <ieeefp.h>
30538 #endif
30539
30540 int
30541 main ()
30542 {
30543 _isinff(0);
30544 ;
30545 return 0;
30546 }
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549 glibcxx_cv_func__isinff_use=yes
30550 else
30551 glibcxx_cv_func__isinff_use=no
30552 fi
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30559
30560
30561 fi
30562
30563 fi
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30565 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30566
30567 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30568 for ac_func in _isinff
30569 do :
30570 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30571 if test "x$ac_cv_func__isinff" = x""yes; then :
30572 cat >>confdefs.h <<_ACEOF
30573 #define HAVE__ISINFF 1
30574 _ACEOF
30575
30576 fi
30577 done
30578
30579 fi
30580 fi
30581
30582
30583
30584
30585
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30587 $as_echo_n "checking for atan2f declaration... " >&6; }
30588 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30589 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30590 $as_echo_n "(cached) " >&6
30591 else
30592
30593
30594 ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30599
30600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h. */
30602 #include <math.h>
30603 int
30604 main ()
30605 {
30606 atan2f(0, 0);
30607 ;
30608 return 0;
30609 }
30610 _ACEOF
30611 if ac_fn_cxx_try_compile "$LINENO"; then :
30612 glibcxx_cv_func_atan2f_use=yes
30613 else
30614 glibcxx_cv_func_atan2f_use=no
30615 fi
30616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30617 ac_ext=c
30618 ac_cpp='$CPP $CPPFLAGS'
30619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30622
30623
30624 fi
30625
30626 fi
30627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30628 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30629
30630 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30631 for ac_func in atan2f
30632 do :
30633 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30634 if test "x$ac_cv_func_atan2f" = x""yes; then :
30635 cat >>confdefs.h <<_ACEOF
30636 #define HAVE_ATAN2F 1
30637 _ACEOF
30638
30639 fi
30640 done
30641
30642 else
30643
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30645 $as_echo_n "checking for _atan2f declaration... " >&6; }
30646 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30647 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30648 $as_echo_n "(cached) " >&6
30649 else
30650
30651
30652 ac_ext=cpp
30653 ac_cpp='$CXXCPP $CPPFLAGS'
30654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30657
30658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30659 /* end confdefs.h. */
30660 #include <math.h>
30661 int
30662 main ()
30663 {
30664 _atan2f(0, 0);
30665 ;
30666 return 0;
30667 }
30668 _ACEOF
30669 if ac_fn_cxx_try_compile "$LINENO"; then :
30670 glibcxx_cv_func__atan2f_use=yes
30671 else
30672 glibcxx_cv_func__atan2f_use=no
30673 fi
30674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30675 ac_ext=c
30676 ac_cpp='$CPP $CPPFLAGS'
30677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30680
30681
30682 fi
30683
30684 fi
30685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30686 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30687
30688 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30689 for ac_func in _atan2f
30690 do :
30691 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30692 if test "x$ac_cv_func__atan2f" = x""yes; then :
30693 cat >>confdefs.h <<_ACEOF
30694 #define HAVE__ATAN2F 1
30695 _ACEOF
30696
30697 fi
30698 done
30699
30700 fi
30701 fi
30702
30703
30704
30705
30706
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30708 $as_echo_n "checking for fabsf declaration... " >&6; }
30709 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30710 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30711 $as_echo_n "(cached) " >&6
30712 else
30713
30714
30715 ac_ext=cpp
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30720
30721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30722 /* end confdefs.h. */
30723 #include <math.h>
30724 #ifdef HAVE_IEEEFP_H
30725 #include <ieeefp.h>
30726 #endif
30727
30728 int
30729 main ()
30730 {
30731 fabsf(0);
30732 ;
30733 return 0;
30734 }
30735 _ACEOF
30736 if ac_fn_cxx_try_compile "$LINENO"; then :
30737 glibcxx_cv_func_fabsf_use=yes
30738 else
30739 glibcxx_cv_func_fabsf_use=no
30740 fi
30741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30742 ac_ext=c
30743 ac_cpp='$CPP $CPPFLAGS'
30744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30747
30748
30749 fi
30750
30751 fi
30752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30753 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30754
30755 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30756 for ac_func in fabsf
30757 do :
30758 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30759 if test "x$ac_cv_func_fabsf" = x""yes; then :
30760 cat >>confdefs.h <<_ACEOF
30761 #define HAVE_FABSF 1
30762 _ACEOF
30763
30764 fi
30765 done
30766
30767 else
30768
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30770 $as_echo_n "checking for _fabsf declaration... " >&6; }
30771 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30772 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30773 $as_echo_n "(cached) " >&6
30774 else
30775
30776
30777 ac_ext=cpp
30778 ac_cpp='$CXXCPP $CPPFLAGS'
30779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30782
30783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30784 /* end confdefs.h. */
30785 #include <math.h>
30786 #ifdef HAVE_IEEEFP_H
30787 #include <ieeefp.h>
30788 #endif
30789
30790 int
30791 main ()
30792 {
30793 _fabsf(0);
30794 ;
30795 return 0;
30796 }
30797 _ACEOF
30798 if ac_fn_cxx_try_compile "$LINENO"; then :
30799 glibcxx_cv_func__fabsf_use=yes
30800 else
30801 glibcxx_cv_func__fabsf_use=no
30802 fi
30803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804 ac_ext=c
30805 ac_cpp='$CPP $CPPFLAGS'
30806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30809
30810
30811 fi
30812
30813 fi
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30815 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30816
30817 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30818 for ac_func in _fabsf
30819 do :
30820 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30821 if test "x$ac_cv_func__fabsf" = x""yes; then :
30822 cat >>confdefs.h <<_ACEOF
30823 #define HAVE__FABSF 1
30824 _ACEOF
30825
30826 fi
30827 done
30828
30829 fi
30830 fi
30831
30832
30833
30834
30835
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30837 $as_echo_n "checking for fmodf declaration... " >&6; }
30838 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30839 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30840 $as_echo_n "(cached) " >&6
30841 else
30842
30843
30844 ac_ext=cpp
30845 ac_cpp='$CXXCPP $CPPFLAGS'
30846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30849
30850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30851 /* end confdefs.h. */
30852 #include <math.h>
30853 int
30854 main ()
30855 {
30856 fmodf(0, 0);
30857 ;
30858 return 0;
30859 }
30860 _ACEOF
30861 if ac_fn_cxx_try_compile "$LINENO"; then :
30862 glibcxx_cv_func_fmodf_use=yes
30863 else
30864 glibcxx_cv_func_fmodf_use=no
30865 fi
30866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30867 ac_ext=c
30868 ac_cpp='$CPP $CPPFLAGS'
30869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30872
30873
30874 fi
30875
30876 fi
30877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30878 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30879
30880 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30881 for ac_func in fmodf
30882 do :
30883 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30884 if test "x$ac_cv_func_fmodf" = x""yes; then :
30885 cat >>confdefs.h <<_ACEOF
30886 #define HAVE_FMODF 1
30887 _ACEOF
30888
30889 fi
30890 done
30891
30892 else
30893
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30895 $as_echo_n "checking for _fmodf declaration... " >&6; }
30896 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30897 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30900
30901
30902 ac_ext=cpp
30903 ac_cpp='$CXXCPP $CPPFLAGS'
30904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30907
30908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30910 #include <math.h>
30911 int
30912 main ()
30913 {
30914 _fmodf(0, 0);
30915 ;
30916 return 0;
30917 }
30918 _ACEOF
30919 if ac_fn_cxx_try_compile "$LINENO"; then :
30920 glibcxx_cv_func__fmodf_use=yes
30921 else
30922 glibcxx_cv_func__fmodf_use=no
30923 fi
30924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30925 ac_ext=c
30926 ac_cpp='$CPP $CPPFLAGS'
30927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30930
30931
30932 fi
30933
30934 fi
30935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30936 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30937
30938 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30939 for ac_func in _fmodf
30940 do :
30941 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30942 if test "x$ac_cv_func__fmodf" = x""yes; then :
30943 cat >>confdefs.h <<_ACEOF
30944 #define HAVE__FMODF 1
30945 _ACEOF
30946
30947 fi
30948 done
30949
30950 fi
30951 fi
30952
30953
30954
30955
30956
30957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30958 $as_echo_n "checking for frexpf declaration... " >&6; }
30959 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30960 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30961 $as_echo_n "(cached) " >&6
30962 else
30963
30964
30965 ac_ext=cpp
30966 ac_cpp='$CXXCPP $CPPFLAGS'
30967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30970
30971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30972 /* end confdefs.h. */
30973 #include <math.h>
30974 int
30975 main ()
30976 {
30977 frexpf(0, 0);
30978 ;
30979 return 0;
30980 }
30981 _ACEOF
30982 if ac_fn_cxx_try_compile "$LINENO"; then :
30983 glibcxx_cv_func_frexpf_use=yes
30984 else
30985 glibcxx_cv_func_frexpf_use=no
30986 fi
30987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988 ac_ext=c
30989 ac_cpp='$CPP $CPPFLAGS'
30990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30993
30994
30995 fi
30996
30997 fi
30998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30999 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31000
31001 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31002 for ac_func in frexpf
31003 do :
31004 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31005 if test "x$ac_cv_func_frexpf" = x""yes; then :
31006 cat >>confdefs.h <<_ACEOF
31007 #define HAVE_FREXPF 1
31008 _ACEOF
31009
31010 fi
31011 done
31012
31013 else
31014
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31016 $as_echo_n "checking for _frexpf declaration... " >&6; }
31017 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31018 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31019 $as_echo_n "(cached) " >&6
31020 else
31021
31022
31023 ac_ext=cpp
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31028
31029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31030 /* end confdefs.h. */
31031 #include <math.h>
31032 int
31033 main ()
31034 {
31035 _frexpf(0, 0);
31036 ;
31037 return 0;
31038 }
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041 glibcxx_cv_func__frexpf_use=yes
31042 else
31043 glibcxx_cv_func__frexpf_use=no
31044 fi
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046 ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051
31052
31053 fi
31054
31055 fi
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31057 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31058
31059 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31060 for ac_func in _frexpf
31061 do :
31062 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31063 if test "x$ac_cv_func__frexpf" = x""yes; then :
31064 cat >>confdefs.h <<_ACEOF
31065 #define HAVE__FREXPF 1
31066 _ACEOF
31067
31068 fi
31069 done
31070
31071 fi
31072 fi
31073
31074
31075
31076
31077
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31079 $as_echo_n "checking for hypotf declaration... " >&6; }
31080 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31081 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31082 $as_echo_n "(cached) " >&6
31083 else
31084
31085
31086 ac_ext=cpp
31087 ac_cpp='$CXXCPP $CPPFLAGS'
31088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31091
31092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31094 #include <math.h>
31095 int
31096 main ()
31097 {
31098 hypotf(0, 0);
31099 ;
31100 return 0;
31101 }
31102 _ACEOF
31103 if ac_fn_cxx_try_compile "$LINENO"; then :
31104 glibcxx_cv_func_hypotf_use=yes
31105 else
31106 glibcxx_cv_func_hypotf_use=no
31107 fi
31108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31109 ac_ext=c
31110 ac_cpp='$CPP $CPPFLAGS'
31111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31114
31115
31116 fi
31117
31118 fi
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31120 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31121
31122 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31123 for ac_func in hypotf
31124 do :
31125 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31126 if test "x$ac_cv_func_hypotf" = x""yes; then :
31127 cat >>confdefs.h <<_ACEOF
31128 #define HAVE_HYPOTF 1
31129 _ACEOF
31130
31131 fi
31132 done
31133
31134 else
31135
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31137 $as_echo_n "checking for _hypotf declaration... " >&6; }
31138 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31139 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31140 $as_echo_n "(cached) " >&6
31141 else
31142
31143
31144 ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31149
31150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h. */
31152 #include <math.h>
31153 int
31154 main ()
31155 {
31156 _hypotf(0, 0);
31157 ;
31158 return 0;
31159 }
31160 _ACEOF
31161 if ac_fn_cxx_try_compile "$LINENO"; then :
31162 glibcxx_cv_func__hypotf_use=yes
31163 else
31164 glibcxx_cv_func__hypotf_use=no
31165 fi
31166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31172
31173
31174 fi
31175
31176 fi
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31178 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31179
31180 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31181 for ac_func in _hypotf
31182 do :
31183 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31184 if test "x$ac_cv_func__hypotf" = x""yes; then :
31185 cat >>confdefs.h <<_ACEOF
31186 #define HAVE__HYPOTF 1
31187 _ACEOF
31188
31189 fi
31190 done
31191
31192 fi
31193 fi
31194
31195
31196
31197
31198
31199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31200 $as_echo_n "checking for ldexpf declaration... " >&6; }
31201 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31202 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31203 $as_echo_n "(cached) " >&6
31204 else
31205
31206
31207 ac_ext=cpp
31208 ac_cpp='$CXXCPP $CPPFLAGS'
31209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31212
31213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31214 /* end confdefs.h. */
31215 #include <math.h>
31216 int
31217 main ()
31218 {
31219 ldexpf(0, 0);
31220 ;
31221 return 0;
31222 }
31223 _ACEOF
31224 if ac_fn_cxx_try_compile "$LINENO"; then :
31225 glibcxx_cv_func_ldexpf_use=yes
31226 else
31227 glibcxx_cv_func_ldexpf_use=no
31228 fi
31229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31230 ac_ext=c
31231 ac_cpp='$CPP $CPPFLAGS'
31232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31235
31236
31237 fi
31238
31239 fi
31240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31241 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31242
31243 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31244 for ac_func in ldexpf
31245 do :
31246 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31247 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31248 cat >>confdefs.h <<_ACEOF
31249 #define HAVE_LDEXPF 1
31250 _ACEOF
31251
31252 fi
31253 done
31254
31255 else
31256
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31258 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31259 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31260 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31261 $as_echo_n "(cached) " >&6
31262 else
31263
31264
31265 ac_ext=cpp
31266 ac_cpp='$CXXCPP $CPPFLAGS'
31267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31270
31271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31272 /* end confdefs.h. */
31273 #include <math.h>
31274 int
31275 main ()
31276 {
31277 _ldexpf(0, 0);
31278 ;
31279 return 0;
31280 }
31281 _ACEOF
31282 if ac_fn_cxx_try_compile "$LINENO"; then :
31283 glibcxx_cv_func__ldexpf_use=yes
31284 else
31285 glibcxx_cv_func__ldexpf_use=no
31286 fi
31287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31288 ac_ext=c
31289 ac_cpp='$CPP $CPPFLAGS'
31290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31293
31294
31295 fi
31296
31297 fi
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31299 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31300
31301 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31302 for ac_func in _ldexpf
31303 do :
31304 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31305 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31306 cat >>confdefs.h <<_ACEOF
31307 #define HAVE__LDEXPF 1
31308 _ACEOF
31309
31310 fi
31311 done
31312
31313 fi
31314 fi
31315
31316
31317
31318
31319
31320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31321 $as_echo_n "checking for logf declaration... " >&6; }
31322 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31323 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31324 $as_echo_n "(cached) " >&6
31325 else
31326
31327
31328 ac_ext=cpp
31329 ac_cpp='$CXXCPP $CPPFLAGS'
31330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31333
31334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31335 /* end confdefs.h. */
31336 #include <math.h>
31337 #ifdef HAVE_IEEEFP_H
31338 #include <ieeefp.h>
31339 #endif
31340
31341 int
31342 main ()
31343 {
31344 logf(0);
31345 ;
31346 return 0;
31347 }
31348 _ACEOF
31349 if ac_fn_cxx_try_compile "$LINENO"; then :
31350 glibcxx_cv_func_logf_use=yes
31351 else
31352 glibcxx_cv_func_logf_use=no
31353 fi
31354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31355 ac_ext=c
31356 ac_cpp='$CPP $CPPFLAGS'
31357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31360
31361
31362 fi
31363
31364 fi
31365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31366 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31367
31368 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31369 for ac_func in logf
31370 do :
31371 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31372 if test "x$ac_cv_func_logf" = x""yes; then :
31373 cat >>confdefs.h <<_ACEOF
31374 #define HAVE_LOGF 1
31375 _ACEOF
31376
31377 fi
31378 done
31379
31380 else
31381
31382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31383 $as_echo_n "checking for _logf declaration... " >&6; }
31384 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31385 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31386 $as_echo_n "(cached) " >&6
31387 else
31388
31389
31390 ac_ext=cpp
31391 ac_cpp='$CXXCPP $CPPFLAGS'
31392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31395
31396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h. */
31398 #include <math.h>
31399 #ifdef HAVE_IEEEFP_H
31400 #include <ieeefp.h>
31401 #endif
31402
31403 int
31404 main ()
31405 {
31406 _logf(0);
31407 ;
31408 return 0;
31409 }
31410 _ACEOF
31411 if ac_fn_cxx_try_compile "$LINENO"; then :
31412 glibcxx_cv_func__logf_use=yes
31413 else
31414 glibcxx_cv_func__logf_use=no
31415 fi
31416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31417 ac_ext=c
31418 ac_cpp='$CPP $CPPFLAGS'
31419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31422
31423
31424 fi
31425
31426 fi
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31428 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31429
31430 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31431 for ac_func in _logf
31432 do :
31433 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31434 if test "x$ac_cv_func__logf" = x""yes; then :
31435 cat >>confdefs.h <<_ACEOF
31436 #define HAVE__LOGF 1
31437 _ACEOF
31438
31439 fi
31440 done
31441
31442 fi
31443 fi
31444
31445
31446
31447
31448
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31450 $as_echo_n "checking for log10f declaration... " >&6; }
31451 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31452 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31453 $as_echo_n "(cached) " >&6
31454 else
31455
31456
31457 ac_ext=cpp
31458 ac_cpp='$CXXCPP $CPPFLAGS'
31459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31462
31463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31464 /* end confdefs.h. */
31465 #include <math.h>
31466 #ifdef HAVE_IEEEFP_H
31467 #include <ieeefp.h>
31468 #endif
31469
31470 int
31471 main ()
31472 {
31473 log10f(0);
31474 ;
31475 return 0;
31476 }
31477 _ACEOF
31478 if ac_fn_cxx_try_compile "$LINENO"; then :
31479 glibcxx_cv_func_log10f_use=yes
31480 else
31481 glibcxx_cv_func_log10f_use=no
31482 fi
31483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31484 ac_ext=c
31485 ac_cpp='$CPP $CPPFLAGS'
31486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31489
31490
31491 fi
31492
31493 fi
31494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31495 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31496
31497 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31498 for ac_func in log10f
31499 do :
31500 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31501 if test "x$ac_cv_func_log10f" = x""yes; then :
31502 cat >>confdefs.h <<_ACEOF
31503 #define HAVE_LOG10F 1
31504 _ACEOF
31505
31506 fi
31507 done
31508
31509 else
31510
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31512 $as_echo_n "checking for _log10f declaration... " >&6; }
31513 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31514 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31515 $as_echo_n "(cached) " >&6
31516 else
31517
31518
31519 ac_ext=cpp
31520 ac_cpp='$CXXCPP $CPPFLAGS'
31521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31524
31525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31526 /* end confdefs.h. */
31527 #include <math.h>
31528 #ifdef HAVE_IEEEFP_H
31529 #include <ieeefp.h>
31530 #endif
31531
31532 int
31533 main ()
31534 {
31535 _log10f(0);
31536 ;
31537 return 0;
31538 }
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541 glibcxx_cv_func__log10f_use=yes
31542 else
31543 glibcxx_cv_func__log10f_use=no
31544 fi
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546 ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31551
31552
31553 fi
31554
31555 fi
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31557 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31558
31559 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31560 for ac_func in _log10f
31561 do :
31562 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31563 if test "x$ac_cv_func__log10f" = x""yes; then :
31564 cat >>confdefs.h <<_ACEOF
31565 #define HAVE__LOG10F 1
31566 _ACEOF
31567
31568 fi
31569 done
31570
31571 fi
31572 fi
31573
31574
31575
31576
31577
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31579 $as_echo_n "checking for modff declaration... " >&6; }
31580 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31581 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31582 $as_echo_n "(cached) " >&6
31583 else
31584
31585
31586 ac_ext=cpp
31587 ac_cpp='$CXXCPP $CPPFLAGS'
31588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31591
31592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31593 /* end confdefs.h. */
31594 #include <math.h>
31595 int
31596 main ()
31597 {
31598 modff(0, 0);
31599 ;
31600 return 0;
31601 }
31602 _ACEOF
31603 if ac_fn_cxx_try_compile "$LINENO"; then :
31604 glibcxx_cv_func_modff_use=yes
31605 else
31606 glibcxx_cv_func_modff_use=no
31607 fi
31608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31609 ac_ext=c
31610 ac_cpp='$CPP $CPPFLAGS'
31611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31614
31615
31616 fi
31617
31618 fi
31619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31620 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31621
31622 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31623 for ac_func in modff
31624 do :
31625 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31626 if test "x$ac_cv_func_modff" = x""yes; then :
31627 cat >>confdefs.h <<_ACEOF
31628 #define HAVE_MODFF 1
31629 _ACEOF
31630
31631 fi
31632 done
31633
31634 else
31635
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31637 $as_echo_n "checking for _modff declaration... " >&6; }
31638 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31639 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31640 $as_echo_n "(cached) " >&6
31641 else
31642
31643
31644 ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31649
31650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31652 #include <math.h>
31653 int
31654 main ()
31655 {
31656 _modff(0, 0);
31657 ;
31658 return 0;
31659 }
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662 glibcxx_cv_func__modff_use=yes
31663 else
31664 glibcxx_cv_func__modff_use=no
31665 fi
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667 ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31672
31673
31674 fi
31675
31676 fi
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31678 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31679
31680 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31681 for ac_func in _modff
31682 do :
31683 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31684 if test "x$ac_cv_func__modff" = x""yes; then :
31685 cat >>confdefs.h <<_ACEOF
31686 #define HAVE__MODFF 1
31687 _ACEOF
31688
31689 fi
31690 done
31691
31692 fi
31693 fi
31694
31695
31696
31697
31698
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31700 $as_echo_n "checking for modf declaration... " >&6; }
31701 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31702 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31703 $as_echo_n "(cached) " >&6
31704 else
31705
31706
31707 ac_ext=cpp
31708 ac_cpp='$CXXCPP $CPPFLAGS'
31709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31712
31713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31714 /* end confdefs.h. */
31715 #include <math.h>
31716 int
31717 main ()
31718 {
31719 modf(0, 0);
31720 ;
31721 return 0;
31722 }
31723 _ACEOF
31724 if ac_fn_cxx_try_compile "$LINENO"; then :
31725 glibcxx_cv_func_modf_use=yes
31726 else
31727 glibcxx_cv_func_modf_use=no
31728 fi
31729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31730 ac_ext=c
31731 ac_cpp='$CPP $CPPFLAGS'
31732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31735
31736
31737 fi
31738
31739 fi
31740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31741 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31742
31743 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31744 for ac_func in modf
31745 do :
31746 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31747 if test "x$ac_cv_func_modf" = x""yes; then :
31748 cat >>confdefs.h <<_ACEOF
31749 #define HAVE_MODF 1
31750 _ACEOF
31751
31752 fi
31753 done
31754
31755 else
31756
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31758 $as_echo_n "checking for _modf declaration... " >&6; }
31759 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31760 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31761 $as_echo_n "(cached) " >&6
31762 else
31763
31764
31765 ac_ext=cpp
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31770
31771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h. */
31773 #include <math.h>
31774 int
31775 main ()
31776 {
31777 _modf(0, 0);
31778 ;
31779 return 0;
31780 }
31781 _ACEOF
31782 if ac_fn_cxx_try_compile "$LINENO"; then :
31783 glibcxx_cv_func__modf_use=yes
31784 else
31785 glibcxx_cv_func__modf_use=no
31786 fi
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788 ac_ext=c
31789 ac_cpp='$CPP $CPPFLAGS'
31790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31793
31794
31795 fi
31796
31797 fi
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31799 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31800
31801 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31802 for ac_func in _modf
31803 do :
31804 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31805 if test "x$ac_cv_func__modf" = x""yes; then :
31806 cat >>confdefs.h <<_ACEOF
31807 #define HAVE__MODF 1
31808 _ACEOF
31809
31810 fi
31811 done
31812
31813 fi
31814 fi
31815
31816
31817
31818
31819
31820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31821 $as_echo_n "checking for powf declaration... " >&6; }
31822 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31823 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31824 $as_echo_n "(cached) " >&6
31825 else
31826
31827
31828 ac_ext=cpp
31829 ac_cpp='$CXXCPP $CPPFLAGS'
31830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31833
31834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31835 /* end confdefs.h. */
31836 #include <math.h>
31837 int
31838 main ()
31839 {
31840 powf(0, 0);
31841 ;
31842 return 0;
31843 }
31844 _ACEOF
31845 if ac_fn_cxx_try_compile "$LINENO"; then :
31846 glibcxx_cv_func_powf_use=yes
31847 else
31848 glibcxx_cv_func_powf_use=no
31849 fi
31850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31851 ac_ext=c
31852 ac_cpp='$CPP $CPPFLAGS'
31853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31856
31857
31858 fi
31859
31860 fi
31861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31862 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31863
31864 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31865 for ac_func in powf
31866 do :
31867 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31868 if test "x$ac_cv_func_powf" = x""yes; then :
31869 cat >>confdefs.h <<_ACEOF
31870 #define HAVE_POWF 1
31871 _ACEOF
31872
31873 fi
31874 done
31875
31876 else
31877
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31879 $as_echo_n "checking for _powf declaration... " >&6; }
31880 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31881 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31882 $as_echo_n "(cached) " >&6
31883 else
31884
31885
31886 ac_ext=cpp
31887 ac_cpp='$CXXCPP $CPPFLAGS'
31888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891
31892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31893 /* end confdefs.h. */
31894 #include <math.h>
31895 int
31896 main ()
31897 {
31898 _powf(0, 0);
31899 ;
31900 return 0;
31901 }
31902 _ACEOF
31903 if ac_fn_cxx_try_compile "$LINENO"; then :
31904 glibcxx_cv_func__powf_use=yes
31905 else
31906 glibcxx_cv_func__powf_use=no
31907 fi
31908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31909 ac_ext=c
31910 ac_cpp='$CPP $CPPFLAGS'
31911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31914
31915
31916 fi
31917
31918 fi
31919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31920 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31921
31922 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31923 for ac_func in _powf
31924 do :
31925 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31926 if test "x$ac_cv_func__powf" = x""yes; then :
31927 cat >>confdefs.h <<_ACEOF
31928 #define HAVE__POWF 1
31929 _ACEOF
31930
31931 fi
31932 done
31933
31934 fi
31935 fi
31936
31937
31938
31939
31940
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31942 $as_echo_n "checking for sqrtf declaration... " >&6; }
31943 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31944 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31945 $as_echo_n "(cached) " >&6
31946 else
31947
31948
31949 ac_ext=cpp
31950 ac_cpp='$CXXCPP $CPPFLAGS'
31951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31954
31955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31956 /* end confdefs.h. */
31957 #include <math.h>
31958 #ifdef HAVE_IEEEFP_H
31959 #include <ieeefp.h>
31960 #endif
31961
31962 int
31963 main ()
31964 {
31965 sqrtf(0);
31966 ;
31967 return 0;
31968 }
31969 _ACEOF
31970 if ac_fn_cxx_try_compile "$LINENO"; then :
31971 glibcxx_cv_func_sqrtf_use=yes
31972 else
31973 glibcxx_cv_func_sqrtf_use=no
31974 fi
31975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31976 ac_ext=c
31977 ac_cpp='$CPP $CPPFLAGS'
31978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31981
31982
31983 fi
31984
31985 fi
31986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31987 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31988
31989 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31990 for ac_func in sqrtf
31991 do :
31992 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31993 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31994 cat >>confdefs.h <<_ACEOF
31995 #define HAVE_SQRTF 1
31996 _ACEOF
31997
31998 fi
31999 done
32000
32001 else
32002
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32004 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32005 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32006 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32007 $as_echo_n "(cached) " >&6
32008 else
32009
32010
32011 ac_ext=cpp
32012 ac_cpp='$CXXCPP $CPPFLAGS'
32013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32016
32017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32018 /* end confdefs.h. */
32019 #include <math.h>
32020 #ifdef HAVE_IEEEFP_H
32021 #include <ieeefp.h>
32022 #endif
32023
32024 int
32025 main ()
32026 {
32027 _sqrtf(0);
32028 ;
32029 return 0;
32030 }
32031 _ACEOF
32032 if ac_fn_cxx_try_compile "$LINENO"; then :
32033 glibcxx_cv_func__sqrtf_use=yes
32034 else
32035 glibcxx_cv_func__sqrtf_use=no
32036 fi
32037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32038 ac_ext=c
32039 ac_cpp='$CPP $CPPFLAGS'
32040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32043
32044
32045 fi
32046
32047 fi
32048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32049 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32050
32051 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32052 for ac_func in _sqrtf
32053 do :
32054 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32055 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32056 cat >>confdefs.h <<_ACEOF
32057 #define HAVE__SQRTF 1
32058 _ACEOF
32059
32060 fi
32061 done
32062
32063 fi
32064 fi
32065
32066
32067
32068
32069
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32071 $as_echo_n "checking for sincosf declaration... " >&6; }
32072 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32073 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32074 $as_echo_n "(cached) " >&6
32075 else
32076
32077
32078 ac_ext=cpp
32079 ac_cpp='$CXXCPP $CPPFLAGS'
32080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32083
32084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32085 /* end confdefs.h. */
32086 #include <math.h>
32087 int
32088 main ()
32089 {
32090 sincosf(0, 0, 0);
32091 ;
32092 return 0;
32093 }
32094 _ACEOF
32095 if ac_fn_cxx_try_compile "$LINENO"; then :
32096 glibcxx_cv_func_sincosf_use=yes
32097 else
32098 glibcxx_cv_func_sincosf_use=no
32099 fi
32100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32101 ac_ext=c
32102 ac_cpp='$CPP $CPPFLAGS'
32103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32106
32107
32108 fi
32109
32110 fi
32111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32112 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32113
32114 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32115 for ac_func in sincosf
32116 do :
32117 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32118 if test "x$ac_cv_func_sincosf" = x""yes; then :
32119 cat >>confdefs.h <<_ACEOF
32120 #define HAVE_SINCOSF 1
32121 _ACEOF
32122
32123 fi
32124 done
32125
32126 else
32127
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32129 $as_echo_n "checking for _sincosf declaration... " >&6; }
32130 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32131 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32132 $as_echo_n "(cached) " >&6
32133 else
32134
32135
32136 ac_ext=cpp
32137 ac_cpp='$CXXCPP $CPPFLAGS'
32138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32141
32142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32143 /* end confdefs.h. */
32144 #include <math.h>
32145 int
32146 main ()
32147 {
32148 _sincosf(0, 0, 0);
32149 ;
32150 return 0;
32151 }
32152 _ACEOF
32153 if ac_fn_cxx_try_compile "$LINENO"; then :
32154 glibcxx_cv_func__sincosf_use=yes
32155 else
32156 glibcxx_cv_func__sincosf_use=no
32157 fi
32158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32159 ac_ext=c
32160 ac_cpp='$CPP $CPPFLAGS'
32161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164
32165
32166 fi
32167
32168 fi
32169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32170 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32171
32172 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32173 for ac_func in _sincosf
32174 do :
32175 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32176 if test "x$ac_cv_func__sincosf" = x""yes; then :
32177 cat >>confdefs.h <<_ACEOF
32178 #define HAVE__SINCOSF 1
32179 _ACEOF
32180
32181 fi
32182 done
32183
32184 fi
32185 fi
32186
32187
32188
32189
32190
32191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32192 $as_echo_n "checking for finitef declaration... " >&6; }
32193 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32194 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32195 $as_echo_n "(cached) " >&6
32196 else
32197
32198
32199 ac_ext=cpp
32200 ac_cpp='$CXXCPP $CPPFLAGS'
32201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32204
32205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32206 /* end confdefs.h. */
32207 #include <math.h>
32208 #ifdef HAVE_IEEEFP_H
32209 #include <ieeefp.h>
32210 #endif
32211
32212 int
32213 main ()
32214 {
32215 finitef(0);
32216 ;
32217 return 0;
32218 }
32219 _ACEOF
32220 if ac_fn_cxx_try_compile "$LINENO"; then :
32221 glibcxx_cv_func_finitef_use=yes
32222 else
32223 glibcxx_cv_func_finitef_use=no
32224 fi
32225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32226 ac_ext=c
32227 ac_cpp='$CPP $CPPFLAGS'
32228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32231
32232
32233 fi
32234
32235 fi
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32237 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32238
32239 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32240 for ac_func in finitef
32241 do :
32242 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32243 if test "x$ac_cv_func_finitef" = x""yes; then :
32244 cat >>confdefs.h <<_ACEOF
32245 #define HAVE_FINITEF 1
32246 _ACEOF
32247
32248 fi
32249 done
32250
32251 else
32252
32253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32254 $as_echo_n "checking for _finitef declaration... " >&6; }
32255 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32256 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32257 $as_echo_n "(cached) " >&6
32258 else
32259
32260
32261 ac_ext=cpp
32262 ac_cpp='$CXXCPP $CPPFLAGS'
32263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32266
32267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32268 /* end confdefs.h. */
32269 #include <math.h>
32270 #ifdef HAVE_IEEEFP_H
32271 #include <ieeefp.h>
32272 #endif
32273
32274 int
32275 main ()
32276 {
32277 _finitef(0);
32278 ;
32279 return 0;
32280 }
32281 _ACEOF
32282 if ac_fn_cxx_try_compile "$LINENO"; then :
32283 glibcxx_cv_func__finitef_use=yes
32284 else
32285 glibcxx_cv_func__finitef_use=no
32286 fi
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288 ac_ext=c
32289 ac_cpp='$CPP $CPPFLAGS'
32290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32293
32294
32295 fi
32296
32297 fi
32298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32299 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32300
32301 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32302 for ac_func in _finitef
32303 do :
32304 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32305 if test "x$ac_cv_func__finitef" = x""yes; then :
32306 cat >>confdefs.h <<_ACEOF
32307 #define HAVE__FINITEF 1
32308 _ACEOF
32309
32310 fi
32311 done
32312
32313 fi
32314 fi
32315
32316
32317
32318
32319
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32321 $as_echo_n "checking for long double trig functions... " >&6; }
32322 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32323 $as_echo_n "(cached) " >&6
32324 else
32325
32326
32327 ac_ext=cpp
32328 ac_cpp='$CXXCPP $CPPFLAGS'
32329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32332
32333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32334 /* end confdefs.h. */
32335 #include <math.h>
32336 int
32337 main ()
32338 {
32339 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32340 ;
32341 return 0;
32342 }
32343 _ACEOF
32344 if ac_fn_cxx_try_compile "$LINENO"; then :
32345 glibcxx_cv_func_long_double_trig_use=yes
32346 else
32347 glibcxx_cv_func_long_double_trig_use=no
32348 fi
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350 ac_ext=c
32351 ac_cpp='$CPP $CPPFLAGS'
32352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32355
32356 fi
32357
32358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32359 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32360 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32361 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32362 do :
32363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32365 eval as_val=\$$as_ac_var
32366 if test "x$as_val" = x""yes; then :
32367 cat >>confdefs.h <<_ACEOF
32368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32369 _ACEOF
32370
32371 fi
32372 done
32373
32374 else
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32376 $as_echo_n "checking for _long double trig functions... " >&6; }
32377 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32378 $as_echo_n "(cached) " >&6
32379 else
32380
32381
32382 ac_ext=cpp
32383 ac_cpp='$CXXCPP $CPPFLAGS'
32384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32387
32388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32389 /* end confdefs.h. */
32390 #include <math.h>
32391 int
32392 main ()
32393 {
32394 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32395 ;
32396 return 0;
32397 }
32398 _ACEOF
32399 if ac_fn_cxx_try_compile "$LINENO"; then :
32400 glibcxx_cv_func__long_double_trig_use=yes
32401 else
32402 glibcxx_cv_func__long_double_trig_use=no
32403 fi
32404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32405 ac_ext=c
32406 ac_cpp='$CPP $CPPFLAGS'
32407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32410
32411 fi
32412
32413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32414 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32415 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32416 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32417 do :
32418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32420 eval as_val=\$$as_ac_var
32421 if test "x$as_val" = x""yes; then :
32422 cat >>confdefs.h <<_ACEOF
32423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32424 _ACEOF
32425
32426 fi
32427 done
32428
32429 fi
32430 fi
32431
32432
32433
32434
32435
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32437 $as_echo_n "checking for long double round functions... " >&6; }
32438 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32439 $as_echo_n "(cached) " >&6
32440 else
32441
32442
32443 ac_ext=cpp
32444 ac_cpp='$CXXCPP $CPPFLAGS'
32445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32448
32449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32450 /* end confdefs.h. */
32451 #include <math.h>
32452 int
32453 main ()
32454 {
32455 ceill (0); floorl (0);
32456 ;
32457 return 0;
32458 }
32459 _ACEOF
32460 if ac_fn_cxx_try_compile "$LINENO"; then :
32461 glibcxx_cv_func_long_double_round_use=yes
32462 else
32463 glibcxx_cv_func_long_double_round_use=no
32464 fi
32465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32466 ac_ext=c
32467 ac_cpp='$CPP $CPPFLAGS'
32468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32471
32472 fi
32473
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32475 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32476 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32477 for ac_func in ceill floorl
32478 do :
32479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32481 eval as_val=\$$as_ac_var
32482 if test "x$as_val" = x""yes; then :
32483 cat >>confdefs.h <<_ACEOF
32484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32485 _ACEOF
32486
32487 fi
32488 done
32489
32490 else
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32492 $as_echo_n "checking for _long double round functions... " >&6; }
32493 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32494 $as_echo_n "(cached) " >&6
32495 else
32496
32497
32498 ac_ext=cpp
32499 ac_cpp='$CXXCPP $CPPFLAGS'
32500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32503
32504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32505 /* end confdefs.h. */
32506 #include <math.h>
32507 int
32508 main ()
32509 {
32510 _ceill (0); _floorl (0);
32511 ;
32512 return 0;
32513 }
32514 _ACEOF
32515 if ac_fn_cxx_try_compile "$LINENO"; then :
32516 glibcxx_cv_func__long_double_round_use=yes
32517 else
32518 glibcxx_cv_func__long_double_round_use=no
32519 fi
32520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32521 ac_ext=c
32522 ac_cpp='$CPP $CPPFLAGS'
32523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32526
32527 fi
32528
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32530 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32531 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32532 for ac_func in _ceill _floorl
32533 do :
32534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32536 eval as_val=\$$as_ac_var
32537 if test "x$as_val" = x""yes; then :
32538 cat >>confdefs.h <<_ACEOF
32539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32540 _ACEOF
32541
32542 fi
32543 done
32544
32545 fi
32546 fi
32547
32548
32549
32550
32551
32552
32553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32554 $as_echo_n "checking for isnanl declaration... " >&6; }
32555 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32556 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32557 $as_echo_n "(cached) " >&6
32558 else
32559
32560
32561 ac_ext=cpp
32562 ac_cpp='$CXXCPP $CPPFLAGS'
32563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32566
32567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32568 /* end confdefs.h. */
32569 #include <math.h>
32570 #ifdef HAVE_IEEEFP_H
32571 #include <ieeefp.h>
32572 #endif
32573
32574 int
32575 main ()
32576 {
32577 isnanl(0);
32578 ;
32579 return 0;
32580 }
32581 _ACEOF
32582 if ac_fn_cxx_try_compile "$LINENO"; then :
32583 glibcxx_cv_func_isnanl_use=yes
32584 else
32585 glibcxx_cv_func_isnanl_use=no
32586 fi
32587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32588 ac_ext=c
32589 ac_cpp='$CPP $CPPFLAGS'
32590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32593
32594
32595 fi
32596
32597 fi
32598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32599 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32600
32601 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32602 for ac_func in isnanl
32603 do :
32604 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32605 if test "x$ac_cv_func_isnanl" = x""yes; then :
32606 cat >>confdefs.h <<_ACEOF
32607 #define HAVE_ISNANL 1
32608 _ACEOF
32609
32610 fi
32611 done
32612
32613 else
32614
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32616 $as_echo_n "checking for _isnanl declaration... " >&6; }
32617 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32618 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32619 $as_echo_n "(cached) " >&6
32620 else
32621
32622
32623 ac_ext=cpp
32624 ac_cpp='$CXXCPP $CPPFLAGS'
32625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32628
32629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32630 /* end confdefs.h. */
32631 #include <math.h>
32632 #ifdef HAVE_IEEEFP_H
32633 #include <ieeefp.h>
32634 #endif
32635
32636 int
32637 main ()
32638 {
32639 _isnanl(0);
32640 ;
32641 return 0;
32642 }
32643 _ACEOF
32644 if ac_fn_cxx_try_compile "$LINENO"; then :
32645 glibcxx_cv_func__isnanl_use=yes
32646 else
32647 glibcxx_cv_func__isnanl_use=no
32648 fi
32649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32650 ac_ext=c
32651 ac_cpp='$CPP $CPPFLAGS'
32652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32655
32656
32657 fi
32658
32659 fi
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32661 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32662
32663 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32664 for ac_func in _isnanl
32665 do :
32666 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32667 if test "x$ac_cv_func__isnanl" = x""yes; then :
32668 cat >>confdefs.h <<_ACEOF
32669 #define HAVE__ISNANL 1
32670 _ACEOF
32671
32672 fi
32673 done
32674
32675 fi
32676 fi
32677
32678
32679
32680
32681
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32683 $as_echo_n "checking for isinfl declaration... " >&6; }
32684 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32685 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32686 $as_echo_n "(cached) " >&6
32687 else
32688
32689
32690 ac_ext=cpp
32691 ac_cpp='$CXXCPP $CPPFLAGS'
32692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32695
32696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h. */
32698 #include <math.h>
32699 #ifdef HAVE_IEEEFP_H
32700 #include <ieeefp.h>
32701 #endif
32702
32703 int
32704 main ()
32705 {
32706 isinfl(0);
32707 ;
32708 return 0;
32709 }
32710 _ACEOF
32711 if ac_fn_cxx_try_compile "$LINENO"; then :
32712 glibcxx_cv_func_isinfl_use=yes
32713 else
32714 glibcxx_cv_func_isinfl_use=no
32715 fi
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717 ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32722
32723
32724 fi
32725
32726 fi
32727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32728 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32729
32730 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32731 for ac_func in isinfl
32732 do :
32733 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32734 if test "x$ac_cv_func_isinfl" = x""yes; then :
32735 cat >>confdefs.h <<_ACEOF
32736 #define HAVE_ISINFL 1
32737 _ACEOF
32738
32739 fi
32740 done
32741
32742 else
32743
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32745 $as_echo_n "checking for _isinfl declaration... " >&6; }
32746 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32747 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32748 $as_echo_n "(cached) " >&6
32749 else
32750
32751
32752 ac_ext=cpp
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32757
32758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32759 /* end confdefs.h. */
32760 #include <math.h>
32761 #ifdef HAVE_IEEEFP_H
32762 #include <ieeefp.h>
32763 #endif
32764
32765 int
32766 main ()
32767 {
32768 _isinfl(0);
32769 ;
32770 return 0;
32771 }
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774 glibcxx_cv_func__isinfl_use=yes
32775 else
32776 glibcxx_cv_func__isinfl_use=no
32777 fi
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779 ac_ext=c
32780 ac_cpp='$CPP $CPPFLAGS'
32781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32784
32785
32786 fi
32787
32788 fi
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32790 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32791
32792 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32793 for ac_func in _isinfl
32794 do :
32795 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32796 if test "x$ac_cv_func__isinfl" = x""yes; then :
32797 cat >>confdefs.h <<_ACEOF
32798 #define HAVE__ISINFL 1
32799 _ACEOF
32800
32801 fi
32802 done
32803
32804 fi
32805 fi
32806
32807
32808
32809
32810
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32812 $as_echo_n "checking for atan2l declaration... " >&6; }
32813 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32814 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32815 $as_echo_n "(cached) " >&6
32816 else
32817
32818
32819 ac_ext=cpp
32820 ac_cpp='$CXXCPP $CPPFLAGS'
32821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32824
32825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32826 /* end confdefs.h. */
32827 #include <math.h>
32828 int
32829 main ()
32830 {
32831 atan2l(0, 0);
32832 ;
32833 return 0;
32834 }
32835 _ACEOF
32836 if ac_fn_cxx_try_compile "$LINENO"; then :
32837 glibcxx_cv_func_atan2l_use=yes
32838 else
32839 glibcxx_cv_func_atan2l_use=no
32840 fi
32841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842 ac_ext=c
32843 ac_cpp='$CPP $CPPFLAGS'
32844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32847
32848
32849 fi
32850
32851 fi
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32853 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32854
32855 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32856 for ac_func in atan2l
32857 do :
32858 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32859 if test "x$ac_cv_func_atan2l" = x""yes; then :
32860 cat >>confdefs.h <<_ACEOF
32861 #define HAVE_ATAN2L 1
32862 _ACEOF
32863
32864 fi
32865 done
32866
32867 else
32868
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32870 $as_echo_n "checking for _atan2l declaration... " >&6; }
32871 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32872 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32873 $as_echo_n "(cached) " >&6
32874 else
32875
32876
32877 ac_ext=cpp
32878 ac_cpp='$CXXCPP $CPPFLAGS'
32879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32882
32883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32884 /* end confdefs.h. */
32885 #include <math.h>
32886 int
32887 main ()
32888 {
32889 _atan2l(0, 0);
32890 ;
32891 return 0;
32892 }
32893 _ACEOF
32894 if ac_fn_cxx_try_compile "$LINENO"; then :
32895 glibcxx_cv_func__atan2l_use=yes
32896 else
32897 glibcxx_cv_func__atan2l_use=no
32898 fi
32899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32900 ac_ext=c
32901 ac_cpp='$CPP $CPPFLAGS'
32902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32905
32906
32907 fi
32908
32909 fi
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32911 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32912
32913 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32914 for ac_func in _atan2l
32915 do :
32916 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32917 if test "x$ac_cv_func__atan2l" = x""yes; then :
32918 cat >>confdefs.h <<_ACEOF
32919 #define HAVE__ATAN2L 1
32920 _ACEOF
32921
32922 fi
32923 done
32924
32925 fi
32926 fi
32927
32928
32929
32930
32931
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32933 $as_echo_n "checking for expl declaration... " >&6; }
32934 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32935 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32936 $as_echo_n "(cached) " >&6
32937 else
32938
32939
32940 ac_ext=cpp
32941 ac_cpp='$CXXCPP $CPPFLAGS'
32942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32945
32946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32947 /* end confdefs.h. */
32948 #include <math.h>
32949 #ifdef HAVE_IEEEFP_H
32950 #include <ieeefp.h>
32951 #endif
32952
32953 int
32954 main ()
32955 {
32956 expl(0);
32957 ;
32958 return 0;
32959 }
32960 _ACEOF
32961 if ac_fn_cxx_try_compile "$LINENO"; then :
32962 glibcxx_cv_func_expl_use=yes
32963 else
32964 glibcxx_cv_func_expl_use=no
32965 fi
32966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32967 ac_ext=c
32968 ac_cpp='$CPP $CPPFLAGS'
32969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32972
32973
32974 fi
32975
32976 fi
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32978 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32979
32980 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32981 for ac_func in expl
32982 do :
32983 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32984 if test "x$ac_cv_func_expl" = x""yes; then :
32985 cat >>confdefs.h <<_ACEOF
32986 #define HAVE_EXPL 1
32987 _ACEOF
32988
32989 fi
32990 done
32991
32992 else
32993
32994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32995 $as_echo_n "checking for _expl declaration... " >&6; }
32996 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32997 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32998 $as_echo_n "(cached) " >&6
32999 else
33000
33001
33002 ac_ext=cpp
33003 ac_cpp='$CXXCPP $CPPFLAGS'
33004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33007
33008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33009 /* end confdefs.h. */
33010 #include <math.h>
33011 #ifdef HAVE_IEEEFP_H
33012 #include <ieeefp.h>
33013 #endif
33014
33015 int
33016 main ()
33017 {
33018 _expl(0);
33019 ;
33020 return 0;
33021 }
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024 glibcxx_cv_func__expl_use=yes
33025 else
33026 glibcxx_cv_func__expl_use=no
33027 fi
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33034
33035
33036 fi
33037
33038 fi
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33040 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33041
33042 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33043 for ac_func in _expl
33044 do :
33045 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33046 if test "x$ac_cv_func__expl" = x""yes; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define HAVE__EXPL 1
33049 _ACEOF
33050
33051 fi
33052 done
33053
33054 fi
33055 fi
33056
33057
33058
33059
33060
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33062 $as_echo_n "checking for fabsl declaration... " >&6; }
33063 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33064 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33065 $as_echo_n "(cached) " >&6
33066 else
33067
33068
33069 ac_ext=cpp
33070 ac_cpp='$CXXCPP $CPPFLAGS'
33071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074
33075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076 /* end confdefs.h. */
33077 #include <math.h>
33078 #ifdef HAVE_IEEEFP_H
33079 #include <ieeefp.h>
33080 #endif
33081
33082 int
33083 main ()
33084 {
33085 fabsl(0);
33086 ;
33087 return 0;
33088 }
33089 _ACEOF
33090 if ac_fn_cxx_try_compile "$LINENO"; then :
33091 glibcxx_cv_func_fabsl_use=yes
33092 else
33093 glibcxx_cv_func_fabsl_use=no
33094 fi
33095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33096 ac_ext=c
33097 ac_cpp='$CPP $CPPFLAGS'
33098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33101
33102
33103 fi
33104
33105 fi
33106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33107 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33108
33109 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33110 for ac_func in fabsl
33111 do :
33112 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33113 if test "x$ac_cv_func_fabsl" = x""yes; then :
33114 cat >>confdefs.h <<_ACEOF
33115 #define HAVE_FABSL 1
33116 _ACEOF
33117
33118 fi
33119 done
33120
33121 else
33122
33123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33124 $as_echo_n "checking for _fabsl declaration... " >&6; }
33125 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33126 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33127 $as_echo_n "(cached) " >&6
33128 else
33129
33130
33131 ac_ext=cpp
33132 ac_cpp='$CXXCPP $CPPFLAGS'
33133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33136
33137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33138 /* end confdefs.h. */
33139 #include <math.h>
33140 #ifdef HAVE_IEEEFP_H
33141 #include <ieeefp.h>
33142 #endif
33143
33144 int
33145 main ()
33146 {
33147 _fabsl(0);
33148 ;
33149 return 0;
33150 }
33151 _ACEOF
33152 if ac_fn_cxx_try_compile "$LINENO"; then :
33153 glibcxx_cv_func__fabsl_use=yes
33154 else
33155 glibcxx_cv_func__fabsl_use=no
33156 fi
33157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33158 ac_ext=c
33159 ac_cpp='$CPP $CPPFLAGS'
33160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33163
33164
33165 fi
33166
33167 fi
33168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33169 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33170
33171 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33172 for ac_func in _fabsl
33173 do :
33174 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33175 if test "x$ac_cv_func__fabsl" = x""yes; then :
33176 cat >>confdefs.h <<_ACEOF
33177 #define HAVE__FABSL 1
33178 _ACEOF
33179
33180 fi
33181 done
33182
33183 fi
33184 fi
33185
33186
33187
33188
33189
33190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33191 $as_echo_n "checking for fmodl declaration... " >&6; }
33192 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33193 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33194 $as_echo_n "(cached) " >&6
33195 else
33196
33197
33198 ac_ext=cpp
33199 ac_cpp='$CXXCPP $CPPFLAGS'
33200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203
33204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33205 /* end confdefs.h. */
33206 #include <math.h>
33207 int
33208 main ()
33209 {
33210 fmodl(0, 0);
33211 ;
33212 return 0;
33213 }
33214 _ACEOF
33215 if ac_fn_cxx_try_compile "$LINENO"; then :
33216 glibcxx_cv_func_fmodl_use=yes
33217 else
33218 glibcxx_cv_func_fmodl_use=no
33219 fi
33220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221 ac_ext=c
33222 ac_cpp='$CPP $CPPFLAGS'
33223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33226
33227
33228 fi
33229
33230 fi
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33232 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33233
33234 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33235 for ac_func in fmodl
33236 do :
33237 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33238 if test "x$ac_cv_func_fmodl" = x""yes; then :
33239 cat >>confdefs.h <<_ACEOF
33240 #define HAVE_FMODL 1
33241 _ACEOF
33242
33243 fi
33244 done
33245
33246 else
33247
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33249 $as_echo_n "checking for _fmodl declaration... " >&6; }
33250 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33251 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33252 $as_echo_n "(cached) " >&6
33253 else
33254
33255
33256 ac_ext=cpp
33257 ac_cpp='$CXXCPP $CPPFLAGS'
33258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33261
33262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33263 /* end confdefs.h. */
33264 #include <math.h>
33265 int
33266 main ()
33267 {
33268 _fmodl(0, 0);
33269 ;
33270 return 0;
33271 }
33272 _ACEOF
33273 if ac_fn_cxx_try_compile "$LINENO"; then :
33274 glibcxx_cv_func__fmodl_use=yes
33275 else
33276 glibcxx_cv_func__fmodl_use=no
33277 fi
33278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33279 ac_ext=c
33280 ac_cpp='$CPP $CPPFLAGS'
33281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33284
33285
33286 fi
33287
33288 fi
33289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33290 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33291
33292 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33293 for ac_func in _fmodl
33294 do :
33295 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33296 if test "x$ac_cv_func__fmodl" = x""yes; then :
33297 cat >>confdefs.h <<_ACEOF
33298 #define HAVE__FMODL 1
33299 _ACEOF
33300
33301 fi
33302 done
33303
33304 fi
33305 fi
33306
33307
33308
33309
33310
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33312 $as_echo_n "checking for frexpl declaration... " >&6; }
33313 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33314 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33315 $as_echo_n "(cached) " >&6
33316 else
33317
33318
33319 ac_ext=cpp
33320 ac_cpp='$CXXCPP $CPPFLAGS'
33321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33324
33325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33326 /* end confdefs.h. */
33327 #include <math.h>
33328 int
33329 main ()
33330 {
33331 frexpl(0, 0);
33332 ;
33333 return 0;
33334 }
33335 _ACEOF
33336 if ac_fn_cxx_try_compile "$LINENO"; then :
33337 glibcxx_cv_func_frexpl_use=yes
33338 else
33339 glibcxx_cv_func_frexpl_use=no
33340 fi
33341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33342 ac_ext=c
33343 ac_cpp='$CPP $CPPFLAGS'
33344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33347
33348
33349 fi
33350
33351 fi
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33353 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33354
33355 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33356 for ac_func in frexpl
33357 do :
33358 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33359 if test "x$ac_cv_func_frexpl" = x""yes; then :
33360 cat >>confdefs.h <<_ACEOF
33361 #define HAVE_FREXPL 1
33362 _ACEOF
33363
33364 fi
33365 done
33366
33367 else
33368
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33370 $as_echo_n "checking for _frexpl declaration... " >&6; }
33371 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33372 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33373 $as_echo_n "(cached) " >&6
33374 else
33375
33376
33377 ac_ext=cpp
33378 ac_cpp='$CXXCPP $CPPFLAGS'
33379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33382
33383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33384 /* end confdefs.h. */
33385 #include <math.h>
33386 int
33387 main ()
33388 {
33389 _frexpl(0, 0);
33390 ;
33391 return 0;
33392 }
33393 _ACEOF
33394 if ac_fn_cxx_try_compile "$LINENO"; then :
33395 glibcxx_cv_func__frexpl_use=yes
33396 else
33397 glibcxx_cv_func__frexpl_use=no
33398 fi
33399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33400 ac_ext=c
33401 ac_cpp='$CPP $CPPFLAGS'
33402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33405
33406
33407 fi
33408
33409 fi
33410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33411 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33412
33413 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33414 for ac_func in _frexpl
33415 do :
33416 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33417 if test "x$ac_cv_func__frexpl" = x""yes; then :
33418 cat >>confdefs.h <<_ACEOF
33419 #define HAVE__FREXPL 1
33420 _ACEOF
33421
33422 fi
33423 done
33424
33425 fi
33426 fi
33427
33428
33429
33430
33431
33432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33433 $as_echo_n "checking for hypotl declaration... " >&6; }
33434 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33435 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33436 $as_echo_n "(cached) " >&6
33437 else
33438
33439
33440 ac_ext=cpp
33441 ac_cpp='$CXXCPP $CPPFLAGS'
33442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33445
33446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33447 /* end confdefs.h. */
33448 #include <math.h>
33449 int
33450 main ()
33451 {
33452 hypotl(0, 0);
33453 ;
33454 return 0;
33455 }
33456 _ACEOF
33457 if ac_fn_cxx_try_compile "$LINENO"; then :
33458 glibcxx_cv_func_hypotl_use=yes
33459 else
33460 glibcxx_cv_func_hypotl_use=no
33461 fi
33462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33463 ac_ext=c
33464 ac_cpp='$CPP $CPPFLAGS'
33465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33468
33469
33470 fi
33471
33472 fi
33473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33474 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33475
33476 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33477 for ac_func in hypotl
33478 do :
33479 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33480 if test "x$ac_cv_func_hypotl" = x""yes; then :
33481 cat >>confdefs.h <<_ACEOF
33482 #define HAVE_HYPOTL 1
33483 _ACEOF
33484
33485 fi
33486 done
33487
33488 else
33489
33490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33491 $as_echo_n "checking for _hypotl declaration... " >&6; }
33492 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33493 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33494 $as_echo_n "(cached) " >&6
33495 else
33496
33497
33498 ac_ext=cpp
33499 ac_cpp='$CXXCPP $CPPFLAGS'
33500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33503
33504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33505 /* end confdefs.h. */
33506 #include <math.h>
33507 int
33508 main ()
33509 {
33510 _hypotl(0, 0);
33511 ;
33512 return 0;
33513 }
33514 _ACEOF
33515 if ac_fn_cxx_try_compile "$LINENO"; then :
33516 glibcxx_cv_func__hypotl_use=yes
33517 else
33518 glibcxx_cv_func__hypotl_use=no
33519 fi
33520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33521 ac_ext=c
33522 ac_cpp='$CPP $CPPFLAGS'
33523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33526
33527
33528 fi
33529
33530 fi
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33532 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33533
33534 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33535 for ac_func in _hypotl
33536 do :
33537 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33538 if test "x$ac_cv_func__hypotl" = x""yes; then :
33539 cat >>confdefs.h <<_ACEOF
33540 #define HAVE__HYPOTL 1
33541 _ACEOF
33542
33543 fi
33544 done
33545
33546 fi
33547 fi
33548
33549
33550
33551
33552
33553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33554 $as_echo_n "checking for ldexpl declaration... " >&6; }
33555 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33556 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33557 $as_echo_n "(cached) " >&6
33558 else
33559
33560
33561 ac_ext=cpp
33562 ac_cpp='$CXXCPP $CPPFLAGS'
33563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566
33567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33568 /* end confdefs.h. */
33569 #include <math.h>
33570 int
33571 main ()
33572 {
33573 ldexpl(0, 0);
33574 ;
33575 return 0;
33576 }
33577 _ACEOF
33578 if ac_fn_cxx_try_compile "$LINENO"; then :
33579 glibcxx_cv_func_ldexpl_use=yes
33580 else
33581 glibcxx_cv_func_ldexpl_use=no
33582 fi
33583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33584 ac_ext=c
33585 ac_cpp='$CPP $CPPFLAGS'
33586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33589
33590
33591 fi
33592
33593 fi
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33595 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33596
33597 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33598 for ac_func in ldexpl
33599 do :
33600 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33601 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33602 cat >>confdefs.h <<_ACEOF
33603 #define HAVE_LDEXPL 1
33604 _ACEOF
33605
33606 fi
33607 done
33608
33609 else
33610
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33612 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33613 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33614 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33615 $as_echo_n "(cached) " >&6
33616 else
33617
33618
33619 ac_ext=cpp
33620 ac_cpp='$CXXCPP $CPPFLAGS'
33621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33624
33625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33626 /* end confdefs.h. */
33627 #include <math.h>
33628 int
33629 main ()
33630 {
33631 _ldexpl(0, 0);
33632 ;
33633 return 0;
33634 }
33635 _ACEOF
33636 if ac_fn_cxx_try_compile "$LINENO"; then :
33637 glibcxx_cv_func__ldexpl_use=yes
33638 else
33639 glibcxx_cv_func__ldexpl_use=no
33640 fi
33641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33642 ac_ext=c
33643 ac_cpp='$CPP $CPPFLAGS'
33644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33647
33648
33649 fi
33650
33651 fi
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33653 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33654
33655 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33656 for ac_func in _ldexpl
33657 do :
33658 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33659 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33660 cat >>confdefs.h <<_ACEOF
33661 #define HAVE__LDEXPL 1
33662 _ACEOF
33663
33664 fi
33665 done
33666
33667 fi
33668 fi
33669
33670
33671
33672
33673
33674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33675 $as_echo_n "checking for logl declaration... " >&6; }
33676 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33677 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33678 $as_echo_n "(cached) " >&6
33679 else
33680
33681
33682 ac_ext=cpp
33683 ac_cpp='$CXXCPP $CPPFLAGS'
33684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33687
33688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33689 /* end confdefs.h. */
33690 #include <math.h>
33691 #ifdef HAVE_IEEEFP_H
33692 #include <ieeefp.h>
33693 #endif
33694
33695 int
33696 main ()
33697 {
33698 logl(0);
33699 ;
33700 return 0;
33701 }
33702 _ACEOF
33703 if ac_fn_cxx_try_compile "$LINENO"; then :
33704 glibcxx_cv_func_logl_use=yes
33705 else
33706 glibcxx_cv_func_logl_use=no
33707 fi
33708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33709 ac_ext=c
33710 ac_cpp='$CPP $CPPFLAGS'
33711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33714
33715
33716 fi
33717
33718 fi
33719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33720 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33721
33722 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33723 for ac_func in logl
33724 do :
33725 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33726 if test "x$ac_cv_func_logl" = x""yes; then :
33727 cat >>confdefs.h <<_ACEOF
33728 #define HAVE_LOGL 1
33729 _ACEOF
33730
33731 fi
33732 done
33733
33734 else
33735
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33737 $as_echo_n "checking for _logl declaration... " >&6; }
33738 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33739 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33740 $as_echo_n "(cached) " >&6
33741 else
33742
33743
33744 ac_ext=cpp
33745 ac_cpp='$CXXCPP $CPPFLAGS'
33746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33749
33750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33751 /* end confdefs.h. */
33752 #include <math.h>
33753 #ifdef HAVE_IEEEFP_H
33754 #include <ieeefp.h>
33755 #endif
33756
33757 int
33758 main ()
33759 {
33760 _logl(0);
33761 ;
33762 return 0;
33763 }
33764 _ACEOF
33765 if ac_fn_cxx_try_compile "$LINENO"; then :
33766 glibcxx_cv_func__logl_use=yes
33767 else
33768 glibcxx_cv_func__logl_use=no
33769 fi
33770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33771 ac_ext=c
33772 ac_cpp='$CPP $CPPFLAGS'
33773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33776
33777
33778 fi
33779
33780 fi
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33782 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33783
33784 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33785 for ac_func in _logl
33786 do :
33787 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33788 if test "x$ac_cv_func__logl" = x""yes; then :
33789 cat >>confdefs.h <<_ACEOF
33790 #define HAVE__LOGL 1
33791 _ACEOF
33792
33793 fi
33794 done
33795
33796 fi
33797 fi
33798
33799
33800
33801
33802
33803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33804 $as_echo_n "checking for log10l declaration... " >&6; }
33805 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33806 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33807 $as_echo_n "(cached) " >&6
33808 else
33809
33810
33811 ac_ext=cpp
33812 ac_cpp='$CXXCPP $CPPFLAGS'
33813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33816
33817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33818 /* end confdefs.h. */
33819 #include <math.h>
33820 #ifdef HAVE_IEEEFP_H
33821 #include <ieeefp.h>
33822 #endif
33823
33824 int
33825 main ()
33826 {
33827 log10l(0);
33828 ;
33829 return 0;
33830 }
33831 _ACEOF
33832 if ac_fn_cxx_try_compile "$LINENO"; then :
33833 glibcxx_cv_func_log10l_use=yes
33834 else
33835 glibcxx_cv_func_log10l_use=no
33836 fi
33837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33838 ac_ext=c
33839 ac_cpp='$CPP $CPPFLAGS'
33840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33843
33844
33845 fi
33846
33847 fi
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33849 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33850
33851 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33852 for ac_func in log10l
33853 do :
33854 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33855 if test "x$ac_cv_func_log10l" = x""yes; then :
33856 cat >>confdefs.h <<_ACEOF
33857 #define HAVE_LOG10L 1
33858 _ACEOF
33859
33860 fi
33861 done
33862
33863 else
33864
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33866 $as_echo_n "checking for _log10l declaration... " >&6; }
33867 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33868 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33869 $as_echo_n "(cached) " >&6
33870 else
33871
33872
33873 ac_ext=cpp
33874 ac_cpp='$CXXCPP $CPPFLAGS'
33875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33878
33879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33880 /* end confdefs.h. */
33881 #include <math.h>
33882 #ifdef HAVE_IEEEFP_H
33883 #include <ieeefp.h>
33884 #endif
33885
33886 int
33887 main ()
33888 {
33889 _log10l(0);
33890 ;
33891 return 0;
33892 }
33893 _ACEOF
33894 if ac_fn_cxx_try_compile "$LINENO"; then :
33895 glibcxx_cv_func__log10l_use=yes
33896 else
33897 glibcxx_cv_func__log10l_use=no
33898 fi
33899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33900 ac_ext=c
33901 ac_cpp='$CPP $CPPFLAGS'
33902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33905
33906
33907 fi
33908
33909 fi
33910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33911 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33912
33913 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33914 for ac_func in _log10l
33915 do :
33916 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33917 if test "x$ac_cv_func__log10l" = x""yes; then :
33918 cat >>confdefs.h <<_ACEOF
33919 #define HAVE__LOG10L 1
33920 _ACEOF
33921
33922 fi
33923 done
33924
33925 fi
33926 fi
33927
33928
33929
33930
33931
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33933 $as_echo_n "checking for modfl declaration... " >&6; }
33934 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33935 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33936 $as_echo_n "(cached) " >&6
33937 else
33938
33939
33940 ac_ext=cpp
33941 ac_cpp='$CXXCPP $CPPFLAGS'
33942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33945
33946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33947 /* end confdefs.h. */
33948 #include <math.h>
33949 int
33950 main ()
33951 {
33952 modfl(0, 0);
33953 ;
33954 return 0;
33955 }
33956 _ACEOF
33957 if ac_fn_cxx_try_compile "$LINENO"; then :
33958 glibcxx_cv_func_modfl_use=yes
33959 else
33960 glibcxx_cv_func_modfl_use=no
33961 fi
33962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33963 ac_ext=c
33964 ac_cpp='$CPP $CPPFLAGS'
33965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33968
33969
33970 fi
33971
33972 fi
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33974 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33975
33976 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33977 for ac_func in modfl
33978 do :
33979 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33980 if test "x$ac_cv_func_modfl" = x""yes; then :
33981 cat >>confdefs.h <<_ACEOF
33982 #define HAVE_MODFL 1
33983 _ACEOF
33984
33985 fi
33986 done
33987
33988 else
33989
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33991 $as_echo_n "checking for _modfl declaration... " >&6; }
33992 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33993 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33994 $as_echo_n "(cached) " >&6
33995 else
33996
33997
33998 ac_ext=cpp
33999 ac_cpp='$CXXCPP $CPPFLAGS'
34000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34003
34004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34005 /* end confdefs.h. */
34006 #include <math.h>
34007 int
34008 main ()
34009 {
34010 _modfl(0, 0);
34011 ;
34012 return 0;
34013 }
34014 _ACEOF
34015 if ac_fn_cxx_try_compile "$LINENO"; then :
34016 glibcxx_cv_func__modfl_use=yes
34017 else
34018 glibcxx_cv_func__modfl_use=no
34019 fi
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34021 ac_ext=c
34022 ac_cpp='$CPP $CPPFLAGS'
34023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34026
34027
34028 fi
34029
34030 fi
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34032 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34033
34034 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34035 for ac_func in _modfl
34036 do :
34037 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34038 if test "x$ac_cv_func__modfl" = x""yes; then :
34039 cat >>confdefs.h <<_ACEOF
34040 #define HAVE__MODFL 1
34041 _ACEOF
34042
34043 fi
34044 done
34045
34046 fi
34047 fi
34048
34049
34050
34051
34052
34053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34054 $as_echo_n "checking for powl declaration... " >&6; }
34055 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34056 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34057 $as_echo_n "(cached) " >&6
34058 else
34059
34060
34061 ac_ext=cpp
34062 ac_cpp='$CXXCPP $CPPFLAGS'
34063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34066
34067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34068 /* end confdefs.h. */
34069 #include <math.h>
34070 int
34071 main ()
34072 {
34073 powl(0, 0);
34074 ;
34075 return 0;
34076 }
34077 _ACEOF
34078 if ac_fn_cxx_try_compile "$LINENO"; then :
34079 glibcxx_cv_func_powl_use=yes
34080 else
34081 glibcxx_cv_func_powl_use=no
34082 fi
34083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34084 ac_ext=c
34085 ac_cpp='$CPP $CPPFLAGS'
34086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34089
34090
34091 fi
34092
34093 fi
34094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34095 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34096
34097 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34098 for ac_func in powl
34099 do :
34100 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34101 if test "x$ac_cv_func_powl" = x""yes; then :
34102 cat >>confdefs.h <<_ACEOF
34103 #define HAVE_POWL 1
34104 _ACEOF
34105
34106 fi
34107 done
34108
34109 else
34110
34111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34112 $as_echo_n "checking for _powl declaration... " >&6; }
34113 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34114 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34115 $as_echo_n "(cached) " >&6
34116 else
34117
34118
34119 ac_ext=cpp
34120 ac_cpp='$CXXCPP $CPPFLAGS'
34121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34124
34125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34126 /* end confdefs.h. */
34127 #include <math.h>
34128 int
34129 main ()
34130 {
34131 _powl(0, 0);
34132 ;
34133 return 0;
34134 }
34135 _ACEOF
34136 if ac_fn_cxx_try_compile "$LINENO"; then :
34137 glibcxx_cv_func__powl_use=yes
34138 else
34139 glibcxx_cv_func__powl_use=no
34140 fi
34141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34142 ac_ext=c
34143 ac_cpp='$CPP $CPPFLAGS'
34144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34147
34148
34149 fi
34150
34151 fi
34152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34153 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34154
34155 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34156 for ac_func in _powl
34157 do :
34158 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34159 if test "x$ac_cv_func__powl" = x""yes; then :
34160 cat >>confdefs.h <<_ACEOF
34161 #define HAVE__POWL 1
34162 _ACEOF
34163
34164 fi
34165 done
34166
34167 fi
34168 fi
34169
34170
34171
34172
34173
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34175 $as_echo_n "checking for sqrtl declaration... " >&6; }
34176 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34177 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34178 $as_echo_n "(cached) " >&6
34179 else
34180
34181
34182 ac_ext=cpp
34183 ac_cpp='$CXXCPP $CPPFLAGS'
34184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34187
34188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34189 /* end confdefs.h. */
34190 #include <math.h>
34191 #ifdef HAVE_IEEEFP_H
34192 #include <ieeefp.h>
34193 #endif
34194
34195 int
34196 main ()
34197 {
34198 sqrtl(0);
34199 ;
34200 return 0;
34201 }
34202 _ACEOF
34203 if ac_fn_cxx_try_compile "$LINENO"; then :
34204 glibcxx_cv_func_sqrtl_use=yes
34205 else
34206 glibcxx_cv_func_sqrtl_use=no
34207 fi
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 ac_ext=c
34210 ac_cpp='$CPP $CPPFLAGS'
34211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34214
34215
34216 fi
34217
34218 fi
34219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34220 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34221
34222 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34223 for ac_func in sqrtl
34224 do :
34225 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34226 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34227 cat >>confdefs.h <<_ACEOF
34228 #define HAVE_SQRTL 1
34229 _ACEOF
34230
34231 fi
34232 done
34233
34234 else
34235
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34237 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34238 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34239 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34240 $as_echo_n "(cached) " >&6
34241 else
34242
34243
34244 ac_ext=cpp
34245 ac_cpp='$CXXCPP $CPPFLAGS'
34246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34249
34250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34251 /* end confdefs.h. */
34252 #include <math.h>
34253 #ifdef HAVE_IEEEFP_H
34254 #include <ieeefp.h>
34255 #endif
34256
34257 int
34258 main ()
34259 {
34260 _sqrtl(0);
34261 ;
34262 return 0;
34263 }
34264 _ACEOF
34265 if ac_fn_cxx_try_compile "$LINENO"; then :
34266 glibcxx_cv_func__sqrtl_use=yes
34267 else
34268 glibcxx_cv_func__sqrtl_use=no
34269 fi
34270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34271 ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34276
34277
34278 fi
34279
34280 fi
34281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34282 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34283
34284 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34285 for ac_func in _sqrtl
34286 do :
34287 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34288 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34289 cat >>confdefs.h <<_ACEOF
34290 #define HAVE__SQRTL 1
34291 _ACEOF
34292
34293 fi
34294 done
34295
34296 fi
34297 fi
34298
34299
34300
34301
34302
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34304 $as_echo_n "checking for sincosl declaration... " >&6; }
34305 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34306 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34307 $as_echo_n "(cached) " >&6
34308 else
34309
34310
34311 ac_ext=cpp
34312 ac_cpp='$CXXCPP $CPPFLAGS'
34313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34316
34317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34318 /* end confdefs.h. */
34319 #include <math.h>
34320 int
34321 main ()
34322 {
34323 sincosl(0, 0, 0);
34324 ;
34325 return 0;
34326 }
34327 _ACEOF
34328 if ac_fn_cxx_try_compile "$LINENO"; then :
34329 glibcxx_cv_func_sincosl_use=yes
34330 else
34331 glibcxx_cv_func_sincosl_use=no
34332 fi
34333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34334 ac_ext=c
34335 ac_cpp='$CPP $CPPFLAGS'
34336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339
34340
34341 fi
34342
34343 fi
34344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34345 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34346
34347 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34348 for ac_func in sincosl
34349 do :
34350 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34351 if test "x$ac_cv_func_sincosl" = x""yes; then :
34352 cat >>confdefs.h <<_ACEOF
34353 #define HAVE_SINCOSL 1
34354 _ACEOF
34355
34356 fi
34357 done
34358
34359 else
34360
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34362 $as_echo_n "checking for _sincosl declaration... " >&6; }
34363 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34364 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34365 $as_echo_n "(cached) " >&6
34366 else
34367
34368
34369 ac_ext=cpp
34370 ac_cpp='$CXXCPP $CPPFLAGS'
34371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34374
34375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34376 /* end confdefs.h. */
34377 #include <math.h>
34378 int
34379 main ()
34380 {
34381 _sincosl(0, 0, 0);
34382 ;
34383 return 0;
34384 }
34385 _ACEOF
34386 if ac_fn_cxx_try_compile "$LINENO"; then :
34387 glibcxx_cv_func__sincosl_use=yes
34388 else
34389 glibcxx_cv_func__sincosl_use=no
34390 fi
34391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34392 ac_ext=c
34393 ac_cpp='$CPP $CPPFLAGS'
34394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34397
34398
34399 fi
34400
34401 fi
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34403 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34404
34405 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34406 for ac_func in _sincosl
34407 do :
34408 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34409 if test "x$ac_cv_func__sincosl" = x""yes; then :
34410 cat >>confdefs.h <<_ACEOF
34411 #define HAVE__SINCOSL 1
34412 _ACEOF
34413
34414 fi
34415 done
34416
34417 fi
34418 fi
34419
34420
34421
34422
34423
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34425 $as_echo_n "checking for finitel declaration... " >&6; }
34426 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34427 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34428 $as_echo_n "(cached) " >&6
34429 else
34430
34431
34432 ac_ext=cpp
34433 ac_cpp='$CXXCPP $CPPFLAGS'
34434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34437
34438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34439 /* end confdefs.h. */
34440 #include <math.h>
34441 #ifdef HAVE_IEEEFP_H
34442 #include <ieeefp.h>
34443 #endif
34444
34445 int
34446 main ()
34447 {
34448 finitel(0);
34449 ;
34450 return 0;
34451 }
34452 _ACEOF
34453 if ac_fn_cxx_try_compile "$LINENO"; then :
34454 glibcxx_cv_func_finitel_use=yes
34455 else
34456 glibcxx_cv_func_finitel_use=no
34457 fi
34458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34459 ac_ext=c
34460 ac_cpp='$CPP $CPPFLAGS'
34461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34464
34465
34466 fi
34467
34468 fi
34469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34470 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34471
34472 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34473 for ac_func in finitel
34474 do :
34475 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34476 if test "x$ac_cv_func_finitel" = x""yes; then :
34477 cat >>confdefs.h <<_ACEOF
34478 #define HAVE_FINITEL 1
34479 _ACEOF
34480
34481 fi
34482 done
34483
34484 else
34485
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34487 $as_echo_n "checking for _finitel declaration... " >&6; }
34488 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34489 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34490 $as_echo_n "(cached) " >&6
34491 else
34492
34493
34494 ac_ext=cpp
34495 ac_cpp='$CXXCPP $CPPFLAGS'
34496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34499
34500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34501 /* end confdefs.h. */
34502 #include <math.h>
34503 #ifdef HAVE_IEEEFP_H
34504 #include <ieeefp.h>
34505 #endif
34506
34507 int
34508 main ()
34509 {
34510 _finitel(0);
34511 ;
34512 return 0;
34513 }
34514 _ACEOF
34515 if ac_fn_cxx_try_compile "$LINENO"; then :
34516 glibcxx_cv_func__finitel_use=yes
34517 else
34518 glibcxx_cv_func__finitel_use=no
34519 fi
34520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34521 ac_ext=c
34522 ac_cpp='$CPP $CPPFLAGS'
34523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34526
34527
34528 fi
34529
34530 fi
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34532 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34533
34534 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34535 for ac_func in _finitel
34536 do :
34537 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34538 if test "x$ac_cv_func__finitel" = x""yes; then :
34539 cat >>confdefs.h <<_ACEOF
34540 #define HAVE__FINITEL 1
34541 _ACEOF
34542
34543 fi
34544 done
34545
34546 fi
34547 fi
34548
34549
34550
34551
34552 LIBS="$ac_save_LIBS"
34553 CXXFLAGS="$ac_save_CXXFLAGS"
34554
34555
34556 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34557 ac_save_CXXFLAGS="$CXXFLAGS"
34558 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34559
34560
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34562 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34563 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34564 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34565 $as_echo_n "(cached) " >&6
34566 else
34567
34568
34569 ac_ext=cpp
34570 ac_cpp='$CXXCPP $CPPFLAGS'
34571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34574
34575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34576 /* end confdefs.h. */
34577 #include <stdlib.h>
34578 int
34579 main ()
34580 {
34581 at_quick_exit(0);
34582 ;
34583 return 0;
34584 }
34585 _ACEOF
34586 if ac_fn_cxx_try_compile "$LINENO"; then :
34587 glibcxx_cv_func_at_quick_exit_use=yes
34588 else
34589 glibcxx_cv_func_at_quick_exit_use=no
34590 fi
34591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34592 ac_ext=c
34593 ac_cpp='$CPP $CPPFLAGS'
34594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34597
34598
34599 fi
34600
34601 fi
34602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34603 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34604 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34605 for ac_func in at_quick_exit
34606 do :
34607 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34608 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34609 cat >>confdefs.h <<_ACEOF
34610 #define HAVE_AT_QUICK_EXIT 1
34611 _ACEOF
34612
34613 fi
34614 done
34615
34616 fi
34617
34618
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34620 $as_echo_n "checking for quick_exit declaration... " >&6; }
34621 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34622 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34623 $as_echo_n "(cached) " >&6
34624 else
34625
34626
34627 ac_ext=cpp
34628 ac_cpp='$CXXCPP $CPPFLAGS'
34629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34632
34633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34634 /* end confdefs.h. */
34635 #include <stdlib.h>
34636 int
34637 main ()
34638 {
34639 quick_exit(0);
34640 ;
34641 return 0;
34642 }
34643 _ACEOF
34644 if ac_fn_cxx_try_compile "$LINENO"; then :
34645 glibcxx_cv_func_quick_exit_use=yes
34646 else
34647 glibcxx_cv_func_quick_exit_use=no
34648 fi
34649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34650 ac_ext=c
34651 ac_cpp='$CPP $CPPFLAGS'
34652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34655
34656
34657 fi
34658
34659 fi
34660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34661 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34662 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34663 for ac_func in quick_exit
34664 do :
34665 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34666 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34667 cat >>confdefs.h <<_ACEOF
34668 #define HAVE_QUICK_EXIT 1
34669 _ACEOF
34670
34671 fi
34672 done
34673
34674 fi
34675
34676
34677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34678 $as_echo_n "checking for strtold declaration... " >&6; }
34679 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34680 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34681 $as_echo_n "(cached) " >&6
34682 else
34683
34684
34685 ac_ext=cpp
34686 ac_cpp='$CXXCPP $CPPFLAGS'
34687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34690
34691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34692 /* end confdefs.h. */
34693 #include <stdlib.h>
34694 int
34695 main ()
34696 {
34697 strtold(0, 0);
34698 ;
34699 return 0;
34700 }
34701 _ACEOF
34702 if ac_fn_cxx_try_compile "$LINENO"; then :
34703 glibcxx_cv_func_strtold_use=yes
34704 else
34705 glibcxx_cv_func_strtold_use=no
34706 fi
34707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708 ac_ext=c
34709 ac_cpp='$CPP $CPPFLAGS'
34710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713
34714
34715 fi
34716
34717 fi
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34719 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34720 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34721 for ac_func in strtold
34722 do :
34723 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34724 if test "x$ac_cv_func_strtold" = x""yes; then :
34725 cat >>confdefs.h <<_ACEOF
34726 #define HAVE_STRTOLD 1
34727 _ACEOF
34728
34729 fi
34730 done
34731
34732 fi
34733
34734
34735
34736
34737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34738 $as_echo_n "checking for strtof declaration... " >&6; }
34739 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34740 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34741 $as_echo_n "(cached) " >&6
34742 else
34743
34744
34745 ac_ext=cpp
34746 ac_cpp='$CXXCPP $CPPFLAGS'
34747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34750
34751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34752 /* end confdefs.h. */
34753 #include <stdlib.h>
34754 int
34755 main ()
34756 {
34757 strtof(0, 0);
34758 ;
34759 return 0;
34760 }
34761 _ACEOF
34762 if ac_fn_cxx_try_compile "$LINENO"; then :
34763 glibcxx_cv_func_strtof_use=yes
34764 else
34765 glibcxx_cv_func_strtof_use=no
34766 fi
34767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34768 ac_ext=c
34769 ac_cpp='$CPP $CPPFLAGS'
34770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34773
34774
34775 fi
34776
34777 fi
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34779 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34780 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34781 for ac_func in strtof
34782 do :
34783 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34784 if test "x$ac_cv_func_strtof" = x""yes; then :
34785 cat >>confdefs.h <<_ACEOF
34786 #define HAVE_STRTOF 1
34787 _ACEOF
34788
34789 fi
34790 done
34791
34792 fi
34793
34794
34795
34796
34797 CXXFLAGS="$ac_save_CXXFLAGS"
34798
34799
34800 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34801
34802 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34803
34804 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34805
34806 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34807
34808
34809 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34810
34811 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34812
34813 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34814
34815 ;;
34816
34817 spu-*-elf*)
34818
34819 # All these tests are for C++; save the language and the compiler flags.
34820 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34821 # found in GLIBCXX_CONFIGURE.
34822
34823 ac_ext=cpp
34824 ac_cpp='$CXXCPP $CPPFLAGS'
34825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34828
34829 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34830 ac_save_CXXFLAGS="$CXXFLAGS"
34831
34832 # Check for maintainer-mode bits.
34833 if test x"$USE_MAINTAINER_MODE" = xno; then
34834 WERROR=''
34835 else
34836 WERROR='-Werror'
34837 fi
34838
34839 # Check for -ffunction-sections -fdata-sections
34840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34841 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34842 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34845 int foo; void bar() { };
34846 int
34847 main ()
34848 {
34849
34850 ;
34851 return 0;
34852 }
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 ac_fdsections=yes
34856 else
34857 ac_fdsections=no
34858 fi
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 if test "$ac_test_CXXFLAGS" = set; then
34861 CXXFLAGS="$ac_save_CXXFLAGS"
34862 else
34863 # this is the suspicious part
34864 CXXFLAGS=''
34865 fi
34866 if test x"$ac_fdsections" = x"yes"; then
34867 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34868 fi
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34870 $as_echo "$ac_fdsections" >&6; }
34871
34872 ac_ext=c
34873 ac_cpp='$CPP $CPPFLAGS'
34874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34877
34878
34879
34880
34881
34882 # If we're not using GNU ld, then there's no point in even trying these
34883 # tests. Check for that first. We should have already tested for gld
34884 # by now (in libtool), but require it now just to be safe...
34885 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34886 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34887
34888
34889
34890 # The name set by libtool depends on the version of libtool. Shame on us
34891 # for depending on an impl detail, but c'est la vie. Older versions used
34892 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34893 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34894 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34895 # set (hence we're using an older libtool), then set it.
34896 if test x${with_gnu_ld+set} != xset; then
34897 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34898 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34899 with_gnu_ld=no
34900 else
34901 with_gnu_ld=$ac_cv_prog_gnu_ld
34902 fi
34903 fi
34904
34905 # Start by getting the version number. I think the libtool test already
34906 # does some of this, but throws away the result.
34907 glibcxx_ld_is_gold=no
34908 if test x"$with_gnu_ld" = x"yes"; then
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34910 $as_echo_n "checking for ld version... " >&6; }
34911
34912 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34913 glibcxx_ld_is_gold=yes
34914 fi
34915 ldver=`$LD --version 2>/dev/null |
34916 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'`
34917
34918 glibcxx_gnu_ld_version=`echo $ldver | \
34919 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34921 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34922 fi
34923
34924 # Set --gc-sections.
34925 glibcxx_have_gc_sections=no
34926 if test "$glibcxx_ld_is_gold" = "yes"; then
34927 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34928 glibcxx_have_gc_sections=yes
34929 fi
34930 else
34931 glibcxx_gcsections_min_ld=21602
34932 if test x"$with_gnu_ld" = x"yes" &&
34933 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34934 glibcxx_have_gc_sections=yes
34935 fi
34936 fi
34937 if test "$glibcxx_have_gc_sections" = "yes"; then
34938 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34939 # NB: This flag only works reliably after 2.16.1. Configure tests
34940 # for this are difficult, so hard wire a value that should work.
34941
34942 ac_test_CFLAGS="${CFLAGS+set}"
34943 ac_save_CFLAGS="$CFLAGS"
34944 CFLAGS='-Wl,--gc-sections'
34945
34946 # Check for -Wl,--gc-sections
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34948 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34949 if test x$gcc_no_link = xyes; then
34950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34951 fi
34952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34953 /* end confdefs.h. */
34954 int one(void) { return 1; }
34955 int two(void) { return 2; }
34956
34957 int
34958 main ()
34959 {
34960 two();
34961 ;
34962 return 0;
34963 }
34964 _ACEOF
34965 if ac_fn_c_try_link "$LINENO"; then :
34966 ac_gcsections=yes
34967 else
34968 ac_gcsections=no
34969 fi
34970 rm -f core conftest.err conftest.$ac_objext \
34971 conftest$ac_exeext conftest.$ac_ext
34972 if test "$ac_gcsections" = "yes"; then
34973 rm -f conftest.c
34974 touch conftest.c
34975 if $CC -c conftest.c; then
34976 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34977 grep "Warning: gc-sections option ignored" > /dev/null; then
34978 ac_gcsections=no
34979 fi
34980 fi
34981 rm -f conftest.c conftest.o conftest
34982 fi
34983 if test "$ac_gcsections" = "yes"; then
34984 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34985 fi
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34987 $as_echo "$ac_gcsections" >&6; }
34988
34989 if test "$ac_test_CFLAGS" = set; then
34990 CFLAGS="$ac_save_CFLAGS"
34991 else
34992 # this is the suspicious part
34993 CFLAGS=''
34994 fi
34995 fi
34996
34997 # Set -z,relro.
34998 # Note this is only for shared objects.
34999 ac_ld_relro=no
35000 if test x"$with_gnu_ld" = x"yes"; then
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35002 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35003 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35004 if test -n "$cxx_z_relo"; then
35005 OPT_LDFLAGS="-Wl,-z,relro"
35006 ac_ld_relro=yes
35007 fi
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35009 $as_echo "$ac_ld_relro" >&6; }
35010 fi
35011
35012 # Set linker optimization flags.
35013 if test x"$with_gnu_ld" = x"yes"; then
35014 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35015 fi
35016
35017
35018
35019
35020
35021 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35022 ac_save_CXXFLAGS="$CXXFLAGS"
35023 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35024
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35026 $as_echo_n "checking for sin in -lm... " >&6; }
35027 if test "${ac_cv_lib_m_sin+set}" = set; then :
35028 $as_echo_n "(cached) " >&6
35029 else
35030 ac_check_lib_save_LIBS=$LIBS
35031 LIBS="-lm $LIBS"
35032 if test x$gcc_no_link = xyes; then
35033 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35034 fi
35035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35036 /* end confdefs.h. */
35037
35038 /* Override any GCC internal prototype to avoid an error.
35039 Use char because int might match the return type of a GCC
35040 builtin and then its argument prototype would still apply. */
35041 #ifdef __cplusplus
35042 extern "C"
35043 #endif
35044 char sin ();
35045 int
35046 main ()
35047 {
35048 return sin ();
35049 ;
35050 return 0;
35051 }
35052 _ACEOF
35053 if ac_fn_c_try_link "$LINENO"; then :
35054 ac_cv_lib_m_sin=yes
35055 else
35056 ac_cv_lib_m_sin=no
35057 fi
35058 rm -f core conftest.err conftest.$ac_objext \
35059 conftest$ac_exeext conftest.$ac_ext
35060 LIBS=$ac_check_lib_save_LIBS
35061 fi
35062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35063 $as_echo "$ac_cv_lib_m_sin" >&6; }
35064 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35065 libm="-lm"
35066 fi
35067
35068 ac_save_LIBS="$LIBS"
35069 LIBS="$LIBS $libm"
35070
35071
35072
35073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35074 $as_echo_n "checking for isinf declaration... " >&6; }
35075 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35076 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35077 $as_echo_n "(cached) " >&6
35078 else
35079
35080
35081 ac_ext=cpp
35082 ac_cpp='$CXXCPP $CPPFLAGS'
35083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35086
35087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35088 /* end confdefs.h. */
35089 #include <math.h>
35090 #ifdef HAVE_IEEEFP_H
35091 #include <ieeefp.h>
35092 #endif
35093
35094 int
35095 main ()
35096 {
35097 isinf(0);
35098 ;
35099 return 0;
35100 }
35101 _ACEOF
35102 if ac_fn_cxx_try_compile "$LINENO"; then :
35103 glibcxx_cv_func_isinf_use=yes
35104 else
35105 glibcxx_cv_func_isinf_use=no
35106 fi
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108 ac_ext=c
35109 ac_cpp='$CPP $CPPFLAGS'
35110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35113
35114
35115 fi
35116
35117 fi
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35119 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35120
35121 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35122 for ac_func in isinf
35123 do :
35124 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35125 if test "x$ac_cv_func_isinf" = x""yes; then :
35126 cat >>confdefs.h <<_ACEOF
35127 #define HAVE_ISINF 1
35128 _ACEOF
35129
35130 fi
35131 done
35132
35133 else
35134
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35136 $as_echo_n "checking for _isinf declaration... " >&6; }
35137 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35138 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35139 $as_echo_n "(cached) " >&6
35140 else
35141
35142
35143 ac_ext=cpp
35144 ac_cpp='$CXXCPP $CPPFLAGS'
35145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35148
35149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35150 /* end confdefs.h. */
35151 #include <math.h>
35152 #ifdef HAVE_IEEEFP_H
35153 #include <ieeefp.h>
35154 #endif
35155
35156 int
35157 main ()
35158 {
35159 _isinf(0);
35160 ;
35161 return 0;
35162 }
35163 _ACEOF
35164 if ac_fn_cxx_try_compile "$LINENO"; then :
35165 glibcxx_cv_func__isinf_use=yes
35166 else
35167 glibcxx_cv_func__isinf_use=no
35168 fi
35169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35170 ac_ext=c
35171 ac_cpp='$CPP $CPPFLAGS'
35172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35175
35176
35177 fi
35178
35179 fi
35180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35181 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35182
35183 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35184 for ac_func in _isinf
35185 do :
35186 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35187 if test "x$ac_cv_func__isinf" = x""yes; then :
35188 cat >>confdefs.h <<_ACEOF
35189 #define HAVE__ISINF 1
35190 _ACEOF
35191
35192 fi
35193 done
35194
35195 fi
35196 fi
35197
35198
35199
35200
35201
35202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35203 $as_echo_n "checking for isnan declaration... " >&6; }
35204 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35205 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35206 $as_echo_n "(cached) " >&6
35207 else
35208
35209
35210 ac_ext=cpp
35211 ac_cpp='$CXXCPP $CPPFLAGS'
35212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35215
35216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35217 /* end confdefs.h. */
35218 #include <math.h>
35219 #ifdef HAVE_IEEEFP_H
35220 #include <ieeefp.h>
35221 #endif
35222
35223 int
35224 main ()
35225 {
35226 isnan(0);
35227 ;
35228 return 0;
35229 }
35230 _ACEOF
35231 if ac_fn_cxx_try_compile "$LINENO"; then :
35232 glibcxx_cv_func_isnan_use=yes
35233 else
35234 glibcxx_cv_func_isnan_use=no
35235 fi
35236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35237 ac_ext=c
35238 ac_cpp='$CPP $CPPFLAGS'
35239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35242
35243
35244 fi
35245
35246 fi
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35248 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35249
35250 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35251 for ac_func in isnan
35252 do :
35253 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35254 if test "x$ac_cv_func_isnan" = x""yes; then :
35255 cat >>confdefs.h <<_ACEOF
35256 #define HAVE_ISNAN 1
35257 _ACEOF
35258
35259 fi
35260 done
35261
35262 else
35263
35264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35265 $as_echo_n "checking for _isnan declaration... " >&6; }
35266 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35267 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35268 $as_echo_n "(cached) " >&6
35269 else
35270
35271
35272 ac_ext=cpp
35273 ac_cpp='$CXXCPP $CPPFLAGS'
35274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35277
35278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35279 /* end confdefs.h. */
35280 #include <math.h>
35281 #ifdef HAVE_IEEEFP_H
35282 #include <ieeefp.h>
35283 #endif
35284
35285 int
35286 main ()
35287 {
35288 _isnan(0);
35289 ;
35290 return 0;
35291 }
35292 _ACEOF
35293 if ac_fn_cxx_try_compile "$LINENO"; then :
35294 glibcxx_cv_func__isnan_use=yes
35295 else
35296 glibcxx_cv_func__isnan_use=no
35297 fi
35298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35299 ac_ext=c
35300 ac_cpp='$CPP $CPPFLAGS'
35301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35304
35305
35306 fi
35307
35308 fi
35309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35310 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35311
35312 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35313 for ac_func in _isnan
35314 do :
35315 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35316 if test "x$ac_cv_func__isnan" = x""yes; then :
35317 cat >>confdefs.h <<_ACEOF
35318 #define HAVE__ISNAN 1
35319 _ACEOF
35320
35321 fi
35322 done
35323
35324 fi
35325 fi
35326
35327
35328
35329
35330
35331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35332 $as_echo_n "checking for finite declaration... " >&6; }
35333 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35334 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35335 $as_echo_n "(cached) " >&6
35336 else
35337
35338
35339 ac_ext=cpp
35340 ac_cpp='$CXXCPP $CPPFLAGS'
35341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35344
35345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35346 /* end confdefs.h. */
35347 #include <math.h>
35348 #ifdef HAVE_IEEEFP_H
35349 #include <ieeefp.h>
35350 #endif
35351
35352 int
35353 main ()
35354 {
35355 finite(0);
35356 ;
35357 return 0;
35358 }
35359 _ACEOF
35360 if ac_fn_cxx_try_compile "$LINENO"; then :
35361 glibcxx_cv_func_finite_use=yes
35362 else
35363 glibcxx_cv_func_finite_use=no
35364 fi
35365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35366 ac_ext=c
35367 ac_cpp='$CPP $CPPFLAGS'
35368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35371
35372
35373 fi
35374
35375 fi
35376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35377 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35378
35379 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35380 for ac_func in finite
35381 do :
35382 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35383 if test "x$ac_cv_func_finite" = x""yes; then :
35384 cat >>confdefs.h <<_ACEOF
35385 #define HAVE_FINITE 1
35386 _ACEOF
35387
35388 fi
35389 done
35390
35391 else
35392
35393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35394 $as_echo_n "checking for _finite declaration... " >&6; }
35395 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35396 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35397 $as_echo_n "(cached) " >&6
35398 else
35399
35400
35401 ac_ext=cpp
35402 ac_cpp='$CXXCPP $CPPFLAGS'
35403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35406
35407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35408 /* end confdefs.h. */
35409 #include <math.h>
35410 #ifdef HAVE_IEEEFP_H
35411 #include <ieeefp.h>
35412 #endif
35413
35414 int
35415 main ()
35416 {
35417 _finite(0);
35418 ;
35419 return 0;
35420 }
35421 _ACEOF
35422 if ac_fn_cxx_try_compile "$LINENO"; then :
35423 glibcxx_cv_func__finite_use=yes
35424 else
35425 glibcxx_cv_func__finite_use=no
35426 fi
35427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35428 ac_ext=c
35429 ac_cpp='$CPP $CPPFLAGS'
35430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35433
35434
35435 fi
35436
35437 fi
35438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35439 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35440
35441 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35442 for ac_func in _finite
35443 do :
35444 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35445 if test "x$ac_cv_func__finite" = x""yes; then :
35446 cat >>confdefs.h <<_ACEOF
35447 #define HAVE__FINITE 1
35448 _ACEOF
35449
35450 fi
35451 done
35452
35453 fi
35454 fi
35455
35456
35457
35458
35459
35460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35461 $as_echo_n "checking for sincos declaration... " >&6; }
35462 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35463 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35464 $as_echo_n "(cached) " >&6
35465 else
35466
35467
35468 ac_ext=cpp
35469 ac_cpp='$CXXCPP $CPPFLAGS'
35470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35473
35474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35475 /* end confdefs.h. */
35476 #include <math.h>
35477 int
35478 main ()
35479 {
35480 sincos(0, 0, 0);
35481 ;
35482 return 0;
35483 }
35484 _ACEOF
35485 if ac_fn_cxx_try_compile "$LINENO"; then :
35486 glibcxx_cv_func_sincos_use=yes
35487 else
35488 glibcxx_cv_func_sincos_use=no
35489 fi
35490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35491 ac_ext=c
35492 ac_cpp='$CPP $CPPFLAGS'
35493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35496
35497
35498 fi
35499
35500 fi
35501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35502 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35503
35504 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35505 for ac_func in sincos
35506 do :
35507 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35508 if test "x$ac_cv_func_sincos" = x""yes; then :
35509 cat >>confdefs.h <<_ACEOF
35510 #define HAVE_SINCOS 1
35511 _ACEOF
35512
35513 fi
35514 done
35515
35516 else
35517
35518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35519 $as_echo_n "checking for _sincos declaration... " >&6; }
35520 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35521 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35522 $as_echo_n "(cached) " >&6
35523 else
35524
35525
35526 ac_ext=cpp
35527 ac_cpp='$CXXCPP $CPPFLAGS'
35528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35531
35532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35533 /* end confdefs.h. */
35534 #include <math.h>
35535 int
35536 main ()
35537 {
35538 _sincos(0, 0, 0);
35539 ;
35540 return 0;
35541 }
35542 _ACEOF
35543 if ac_fn_cxx_try_compile "$LINENO"; then :
35544 glibcxx_cv_func__sincos_use=yes
35545 else
35546 glibcxx_cv_func__sincos_use=no
35547 fi
35548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35549 ac_ext=c
35550 ac_cpp='$CPP $CPPFLAGS'
35551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35554
35555
35556 fi
35557
35558 fi
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35560 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35561
35562 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35563 for ac_func in _sincos
35564 do :
35565 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35566 if test "x$ac_cv_func__sincos" = x""yes; then :
35567 cat >>confdefs.h <<_ACEOF
35568 #define HAVE__SINCOS 1
35569 _ACEOF
35570
35571 fi
35572 done
35573
35574 fi
35575 fi
35576
35577
35578
35579
35580
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35582 $as_echo_n "checking for fpclass declaration... " >&6; }
35583 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35584 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35585 $as_echo_n "(cached) " >&6
35586 else
35587
35588
35589 ac_ext=cpp
35590 ac_cpp='$CXXCPP $CPPFLAGS'
35591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35594
35595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35596 /* end confdefs.h. */
35597 #include <math.h>
35598 #ifdef HAVE_IEEEFP_H
35599 #include <ieeefp.h>
35600 #endif
35601
35602 int
35603 main ()
35604 {
35605 fpclass(0);
35606 ;
35607 return 0;
35608 }
35609 _ACEOF
35610 if ac_fn_cxx_try_compile "$LINENO"; then :
35611 glibcxx_cv_func_fpclass_use=yes
35612 else
35613 glibcxx_cv_func_fpclass_use=no
35614 fi
35615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35616 ac_ext=c
35617 ac_cpp='$CPP $CPPFLAGS'
35618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35621
35622
35623 fi
35624
35625 fi
35626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35627 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35628
35629 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35630 for ac_func in fpclass
35631 do :
35632 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35633 if test "x$ac_cv_func_fpclass" = x""yes; then :
35634 cat >>confdefs.h <<_ACEOF
35635 #define HAVE_FPCLASS 1
35636 _ACEOF
35637
35638 fi
35639 done
35640
35641 else
35642
35643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35644 $as_echo_n "checking for _fpclass declaration... " >&6; }
35645 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35646 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35647 $as_echo_n "(cached) " >&6
35648 else
35649
35650
35651 ac_ext=cpp
35652 ac_cpp='$CXXCPP $CPPFLAGS'
35653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35656
35657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35658 /* end confdefs.h. */
35659 #include <math.h>
35660 #ifdef HAVE_IEEEFP_H
35661 #include <ieeefp.h>
35662 #endif
35663
35664 int
35665 main ()
35666 {
35667 _fpclass(0);
35668 ;
35669 return 0;
35670 }
35671 _ACEOF
35672 if ac_fn_cxx_try_compile "$LINENO"; then :
35673 glibcxx_cv_func__fpclass_use=yes
35674 else
35675 glibcxx_cv_func__fpclass_use=no
35676 fi
35677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35678 ac_ext=c
35679 ac_cpp='$CPP $CPPFLAGS'
35680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35683
35684
35685 fi
35686
35687 fi
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35689 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35690
35691 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35692 for ac_func in _fpclass
35693 do :
35694 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35695 if test "x$ac_cv_func__fpclass" = x""yes; then :
35696 cat >>confdefs.h <<_ACEOF
35697 #define HAVE__FPCLASS 1
35698 _ACEOF
35699
35700 fi
35701 done
35702
35703 fi
35704 fi
35705
35706
35707
35708
35709
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35711 $as_echo_n "checking for qfpclass declaration... " >&6; }
35712 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35713 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35714 $as_echo_n "(cached) " >&6
35715 else
35716
35717
35718 ac_ext=cpp
35719 ac_cpp='$CXXCPP $CPPFLAGS'
35720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35723
35724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35725 /* end confdefs.h. */
35726 #include <math.h>
35727 #ifdef HAVE_IEEEFP_H
35728 #include <ieeefp.h>
35729 #endif
35730
35731 int
35732 main ()
35733 {
35734 qfpclass(0);
35735 ;
35736 return 0;
35737 }
35738 _ACEOF
35739 if ac_fn_cxx_try_compile "$LINENO"; then :
35740 glibcxx_cv_func_qfpclass_use=yes
35741 else
35742 glibcxx_cv_func_qfpclass_use=no
35743 fi
35744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35745 ac_ext=c
35746 ac_cpp='$CPP $CPPFLAGS'
35747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35750
35751
35752 fi
35753
35754 fi
35755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35756 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35757
35758 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35759 for ac_func in qfpclass
35760 do :
35761 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35762 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35763 cat >>confdefs.h <<_ACEOF
35764 #define HAVE_QFPCLASS 1
35765 _ACEOF
35766
35767 fi
35768 done
35769
35770 else
35771
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35773 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35774 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35775 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35778
35779
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35785
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35789 #ifdef HAVE_IEEEFP_H
35790 #include <ieeefp.h>
35791 #endif
35792
35793 int
35794 main ()
35795 {
35796 _qfpclass(0);
35797 ;
35798 return 0;
35799 }
35800 _ACEOF
35801 if ac_fn_cxx_try_compile "$LINENO"; then :
35802 glibcxx_cv_func__qfpclass_use=yes
35803 else
35804 glibcxx_cv_func__qfpclass_use=no
35805 fi
35806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35807 ac_ext=c
35808 ac_cpp='$CPP $CPPFLAGS'
35809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35812
35813
35814 fi
35815
35816 fi
35817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35818 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35819
35820 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35821 for ac_func in _qfpclass
35822 do :
35823 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35824 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35825 cat >>confdefs.h <<_ACEOF
35826 #define HAVE__QFPCLASS 1
35827 _ACEOF
35828
35829 fi
35830 done
35831
35832 fi
35833 fi
35834
35835
35836
35837
35838
35839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35840 $as_echo_n "checking for hypot declaration... " >&6; }
35841 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35842 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35843 $as_echo_n "(cached) " >&6
35844 else
35845
35846
35847 ac_ext=cpp
35848 ac_cpp='$CXXCPP $CPPFLAGS'
35849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35852
35853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35854 /* end confdefs.h. */
35855 #include <math.h>
35856 int
35857 main ()
35858 {
35859 hypot(0, 0);
35860 ;
35861 return 0;
35862 }
35863 _ACEOF
35864 if ac_fn_cxx_try_compile "$LINENO"; then :
35865 glibcxx_cv_func_hypot_use=yes
35866 else
35867 glibcxx_cv_func_hypot_use=no
35868 fi
35869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35870 ac_ext=c
35871 ac_cpp='$CPP $CPPFLAGS'
35872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35875
35876
35877 fi
35878
35879 fi
35880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35881 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35882
35883 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35884 for ac_func in hypot
35885 do :
35886 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35887 if test "x$ac_cv_func_hypot" = x""yes; then :
35888 cat >>confdefs.h <<_ACEOF
35889 #define HAVE_HYPOT 1
35890 _ACEOF
35891
35892 fi
35893 done
35894
35895 else
35896
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35898 $as_echo_n "checking for _hypot declaration... " >&6; }
35899 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35900 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35901 $as_echo_n "(cached) " >&6
35902 else
35903
35904
35905 ac_ext=cpp
35906 ac_cpp='$CXXCPP $CPPFLAGS'
35907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910
35911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35912 /* end confdefs.h. */
35913 #include <math.h>
35914 int
35915 main ()
35916 {
35917 _hypot(0, 0);
35918 ;
35919 return 0;
35920 }
35921 _ACEOF
35922 if ac_fn_cxx_try_compile "$LINENO"; then :
35923 glibcxx_cv_func__hypot_use=yes
35924 else
35925 glibcxx_cv_func__hypot_use=no
35926 fi
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928 ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35933
35934
35935 fi
35936
35937 fi
35938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35939 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35940
35941 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35942 for ac_func in _hypot
35943 do :
35944 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35945 if test "x$ac_cv_func__hypot" = x""yes; then :
35946 cat >>confdefs.h <<_ACEOF
35947 #define HAVE__HYPOT 1
35948 _ACEOF
35949
35950 fi
35951 done
35952
35953 fi
35954 fi
35955
35956
35957
35958
35959
35960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35961 $as_echo_n "checking for float trig functions... " >&6; }
35962 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35963 $as_echo_n "(cached) " >&6
35964 else
35965
35966
35967 ac_ext=cpp
35968 ac_cpp='$CXXCPP $CPPFLAGS'
35969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35972
35973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35974 /* end confdefs.h. */
35975 #include <math.h>
35976 int
35977 main ()
35978 {
35979 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35980 ;
35981 return 0;
35982 }
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985 glibcxx_cv_func_float_trig_use=yes
35986 else
35987 glibcxx_cv_func_float_trig_use=no
35988 fi
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990 ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35995
35996 fi
35997
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35999 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36000 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36001 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36002 do :
36003 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36004 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36005 eval as_val=\$$as_ac_var
36006 if test "x$as_val" = x""yes; then :
36007 cat >>confdefs.h <<_ACEOF
36008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36009 _ACEOF
36010
36011 fi
36012 done
36013
36014 else
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36016 $as_echo_n "checking for _float trig functions... " >&6; }
36017 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36018 $as_echo_n "(cached) " >&6
36019 else
36020
36021
36022 ac_ext=cpp
36023 ac_cpp='$CXXCPP $CPPFLAGS'
36024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36027
36028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36029 /* end confdefs.h. */
36030 #include <math.h>
36031 int
36032 main ()
36033 {
36034 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36035 ;
36036 return 0;
36037 }
36038 _ACEOF
36039 if ac_fn_cxx_try_compile "$LINENO"; then :
36040 glibcxx_cv_func__float_trig_use=yes
36041 else
36042 glibcxx_cv_func__float_trig_use=no
36043 fi
36044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36045 ac_ext=c
36046 ac_cpp='$CPP $CPPFLAGS'
36047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36050
36051 fi
36052
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36054 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36055 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36056 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36057 do :
36058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36060 eval as_val=\$$as_ac_var
36061 if test "x$as_val" = x""yes; then :
36062 cat >>confdefs.h <<_ACEOF
36063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36064 _ACEOF
36065
36066 fi
36067 done
36068
36069 fi
36070 fi
36071
36072
36073
36074
36075
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36077 $as_echo_n "checking for float round functions... " >&6; }
36078 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36079 $as_echo_n "(cached) " >&6
36080 else
36081
36082
36083 ac_ext=cpp
36084 ac_cpp='$CXXCPP $CPPFLAGS'
36085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36088
36089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36090 /* end confdefs.h. */
36091 #include <math.h>
36092 int
36093 main ()
36094 {
36095 ceilf (0); floorf (0);
36096 ;
36097 return 0;
36098 }
36099 _ACEOF
36100 if ac_fn_cxx_try_compile "$LINENO"; then :
36101 glibcxx_cv_func_float_round_use=yes
36102 else
36103 glibcxx_cv_func_float_round_use=no
36104 fi
36105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36106 ac_ext=c
36107 ac_cpp='$CPP $CPPFLAGS'
36108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36111
36112 fi
36113
36114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36115 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36116 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36117 for ac_func in ceilf floorf
36118 do :
36119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36121 eval as_val=\$$as_ac_var
36122 if test "x$as_val" = x""yes; then :
36123 cat >>confdefs.h <<_ACEOF
36124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36125 _ACEOF
36126
36127 fi
36128 done
36129
36130 else
36131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36132 $as_echo_n "checking for _float round functions... " >&6; }
36133 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36134 $as_echo_n "(cached) " >&6
36135 else
36136
36137
36138 ac_ext=cpp
36139 ac_cpp='$CXXCPP $CPPFLAGS'
36140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36143
36144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36145 /* end confdefs.h. */
36146 #include <math.h>
36147 int
36148 main ()
36149 {
36150 _ceilf (0); _floorf (0);
36151 ;
36152 return 0;
36153 }
36154 _ACEOF
36155 if ac_fn_cxx_try_compile "$LINENO"; then :
36156 glibcxx_cv_func__float_round_use=yes
36157 else
36158 glibcxx_cv_func__float_round_use=no
36159 fi
36160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36161 ac_ext=c
36162 ac_cpp='$CPP $CPPFLAGS'
36163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36166
36167 fi
36168
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36170 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36171 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36172 for ac_func in _ceilf _floorf
36173 do :
36174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36176 eval as_val=\$$as_ac_var
36177 if test "x$as_val" = x""yes; then :
36178 cat >>confdefs.h <<_ACEOF
36179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36180 _ACEOF
36181
36182 fi
36183 done
36184
36185 fi
36186 fi
36187
36188
36189
36190
36191
36192
36193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36194 $as_echo_n "checking for expf declaration... " >&6; }
36195 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36196 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36197 $as_echo_n "(cached) " >&6
36198 else
36199
36200
36201 ac_ext=cpp
36202 ac_cpp='$CXXCPP $CPPFLAGS'
36203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36206
36207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36208 /* end confdefs.h. */
36209 #include <math.h>
36210 #ifdef HAVE_IEEEFP_H
36211 #include <ieeefp.h>
36212 #endif
36213
36214 int
36215 main ()
36216 {
36217 expf(0);
36218 ;
36219 return 0;
36220 }
36221 _ACEOF
36222 if ac_fn_cxx_try_compile "$LINENO"; then :
36223 glibcxx_cv_func_expf_use=yes
36224 else
36225 glibcxx_cv_func_expf_use=no
36226 fi
36227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36228 ac_ext=c
36229 ac_cpp='$CPP $CPPFLAGS'
36230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36233
36234
36235 fi
36236
36237 fi
36238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36239 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36240
36241 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36242 for ac_func in expf
36243 do :
36244 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36245 if test "x$ac_cv_func_expf" = x""yes; then :
36246 cat >>confdefs.h <<_ACEOF
36247 #define HAVE_EXPF 1
36248 _ACEOF
36249
36250 fi
36251 done
36252
36253 else
36254
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36256 $as_echo_n "checking for _expf declaration... " >&6; }
36257 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36258 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36259 $as_echo_n "(cached) " >&6
36260 else
36261
36262
36263 ac_ext=cpp
36264 ac_cpp='$CXXCPP $CPPFLAGS'
36265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36268
36269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36270 /* end confdefs.h. */
36271 #include <math.h>
36272 #ifdef HAVE_IEEEFP_H
36273 #include <ieeefp.h>
36274 #endif
36275
36276 int
36277 main ()
36278 {
36279 _expf(0);
36280 ;
36281 return 0;
36282 }
36283 _ACEOF
36284 if ac_fn_cxx_try_compile "$LINENO"; then :
36285 glibcxx_cv_func__expf_use=yes
36286 else
36287 glibcxx_cv_func__expf_use=no
36288 fi
36289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36290 ac_ext=c
36291 ac_cpp='$CPP $CPPFLAGS'
36292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36295
36296
36297 fi
36298
36299 fi
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36301 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36302
36303 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36304 for ac_func in _expf
36305 do :
36306 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36307 if test "x$ac_cv_func__expf" = x""yes; then :
36308 cat >>confdefs.h <<_ACEOF
36309 #define HAVE__EXPF 1
36310 _ACEOF
36311
36312 fi
36313 done
36314
36315 fi
36316 fi
36317
36318
36319
36320
36321
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36323 $as_echo_n "checking for isnanf declaration... " >&6; }
36324 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36325 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36326 $as_echo_n "(cached) " >&6
36327 else
36328
36329
36330 ac_ext=cpp
36331 ac_cpp='$CXXCPP $CPPFLAGS'
36332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36335
36336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36337 /* end confdefs.h. */
36338 #include <math.h>
36339 #ifdef HAVE_IEEEFP_H
36340 #include <ieeefp.h>
36341 #endif
36342
36343 int
36344 main ()
36345 {
36346 isnanf(0);
36347 ;
36348 return 0;
36349 }
36350 _ACEOF
36351 if ac_fn_cxx_try_compile "$LINENO"; then :
36352 glibcxx_cv_func_isnanf_use=yes
36353 else
36354 glibcxx_cv_func_isnanf_use=no
36355 fi
36356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36357 ac_ext=c
36358 ac_cpp='$CPP $CPPFLAGS'
36359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36362
36363
36364 fi
36365
36366 fi
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36368 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36369
36370 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36371 for ac_func in isnanf
36372 do :
36373 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36374 if test "x$ac_cv_func_isnanf" = x""yes; then :
36375 cat >>confdefs.h <<_ACEOF
36376 #define HAVE_ISNANF 1
36377 _ACEOF
36378
36379 fi
36380 done
36381
36382 else
36383
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36385 $as_echo_n "checking for _isnanf declaration... " >&6; }
36386 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36387 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36388 $as_echo_n "(cached) " >&6
36389 else
36390
36391
36392 ac_ext=cpp
36393 ac_cpp='$CXXCPP $CPPFLAGS'
36394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36397
36398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36399 /* end confdefs.h. */
36400 #include <math.h>
36401 #ifdef HAVE_IEEEFP_H
36402 #include <ieeefp.h>
36403 #endif
36404
36405 int
36406 main ()
36407 {
36408 _isnanf(0);
36409 ;
36410 return 0;
36411 }
36412 _ACEOF
36413 if ac_fn_cxx_try_compile "$LINENO"; then :
36414 glibcxx_cv_func__isnanf_use=yes
36415 else
36416 glibcxx_cv_func__isnanf_use=no
36417 fi
36418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36419 ac_ext=c
36420 ac_cpp='$CPP $CPPFLAGS'
36421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36424
36425
36426 fi
36427
36428 fi
36429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36430 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36431
36432 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36433 for ac_func in _isnanf
36434 do :
36435 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36436 if test "x$ac_cv_func__isnanf" = x""yes; then :
36437 cat >>confdefs.h <<_ACEOF
36438 #define HAVE__ISNANF 1
36439 _ACEOF
36440
36441 fi
36442 done
36443
36444 fi
36445 fi
36446
36447
36448
36449
36450
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36452 $as_echo_n "checking for isinff declaration... " >&6; }
36453 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36454 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36455 $as_echo_n "(cached) " >&6
36456 else
36457
36458
36459 ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36464
36465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h. */
36467 #include <math.h>
36468 #ifdef HAVE_IEEEFP_H
36469 #include <ieeefp.h>
36470 #endif
36471
36472 int
36473 main ()
36474 {
36475 isinff(0);
36476 ;
36477 return 0;
36478 }
36479 _ACEOF
36480 if ac_fn_cxx_try_compile "$LINENO"; then :
36481 glibcxx_cv_func_isinff_use=yes
36482 else
36483 glibcxx_cv_func_isinff_use=no
36484 fi
36485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36486 ac_ext=c
36487 ac_cpp='$CPP $CPPFLAGS'
36488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36491
36492
36493 fi
36494
36495 fi
36496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36497 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36498
36499 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36500 for ac_func in isinff
36501 do :
36502 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36503 if test "x$ac_cv_func_isinff" = x""yes; then :
36504 cat >>confdefs.h <<_ACEOF
36505 #define HAVE_ISINFF 1
36506 _ACEOF
36507
36508 fi
36509 done
36510
36511 else
36512
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36514 $as_echo_n "checking for _isinff declaration... " >&6; }
36515 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36516 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36517 $as_echo_n "(cached) " >&6
36518 else
36519
36520
36521 ac_ext=cpp
36522 ac_cpp='$CXXCPP $CPPFLAGS'
36523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36526
36527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36528 /* end confdefs.h. */
36529 #include <math.h>
36530 #ifdef HAVE_IEEEFP_H
36531 #include <ieeefp.h>
36532 #endif
36533
36534 int
36535 main ()
36536 {
36537 _isinff(0);
36538 ;
36539 return 0;
36540 }
36541 _ACEOF
36542 if ac_fn_cxx_try_compile "$LINENO"; then :
36543 glibcxx_cv_func__isinff_use=yes
36544 else
36545 glibcxx_cv_func__isinff_use=no
36546 fi
36547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36548 ac_ext=c
36549 ac_cpp='$CPP $CPPFLAGS'
36550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36553
36554
36555 fi
36556
36557 fi
36558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36559 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36560
36561 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36562 for ac_func in _isinff
36563 do :
36564 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36565 if test "x$ac_cv_func__isinff" = x""yes; then :
36566 cat >>confdefs.h <<_ACEOF
36567 #define HAVE__ISINFF 1
36568 _ACEOF
36569
36570 fi
36571 done
36572
36573 fi
36574 fi
36575
36576
36577
36578
36579
36580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36581 $as_echo_n "checking for atan2f declaration... " >&6; }
36582 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36583 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36584 $as_echo_n "(cached) " >&6
36585 else
36586
36587
36588 ac_ext=cpp
36589 ac_cpp='$CXXCPP $CPPFLAGS'
36590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36593
36594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36595 /* end confdefs.h. */
36596 #include <math.h>
36597 int
36598 main ()
36599 {
36600 atan2f(0, 0);
36601 ;
36602 return 0;
36603 }
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func_atan2f_use=yes
36607 else
36608 glibcxx_cv_func_atan2f_use=no
36609 fi
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616
36617
36618 fi
36619
36620 fi
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36622 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36623
36624 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36625 for ac_func in atan2f
36626 do :
36627 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36628 if test "x$ac_cv_func_atan2f" = x""yes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE_ATAN2F 1
36631 _ACEOF
36632
36633 fi
36634 done
36635
36636 else
36637
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36639 $as_echo_n "checking for _atan2f declaration... " >&6; }
36640 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36641 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36642 $as_echo_n "(cached) " >&6
36643 else
36644
36645
36646 ac_ext=cpp
36647 ac_cpp='$CXXCPP $CPPFLAGS'
36648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36651
36652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36653 /* end confdefs.h. */
36654 #include <math.h>
36655 int
36656 main ()
36657 {
36658 _atan2f(0, 0);
36659 ;
36660 return 0;
36661 }
36662 _ACEOF
36663 if ac_fn_cxx_try_compile "$LINENO"; then :
36664 glibcxx_cv_func__atan2f_use=yes
36665 else
36666 glibcxx_cv_func__atan2f_use=no
36667 fi
36668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36669 ac_ext=c
36670 ac_cpp='$CPP $CPPFLAGS'
36671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36674
36675
36676 fi
36677
36678 fi
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36680 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36681
36682 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36683 for ac_func in _atan2f
36684 do :
36685 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36686 if test "x$ac_cv_func__atan2f" = x""yes; then :
36687 cat >>confdefs.h <<_ACEOF
36688 #define HAVE__ATAN2F 1
36689 _ACEOF
36690
36691 fi
36692 done
36693
36694 fi
36695 fi
36696
36697
36698
36699
36700
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36702 $as_echo_n "checking for fabsf declaration... " >&6; }
36703 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36704 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36707
36708
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36718 #ifdef HAVE_IEEEFP_H
36719 #include <ieeefp.h>
36720 #endif
36721
36722 int
36723 main ()
36724 {
36725 fabsf(0);
36726 ;
36727 return 0;
36728 }
36729 _ACEOF
36730 if ac_fn_cxx_try_compile "$LINENO"; then :
36731 glibcxx_cv_func_fabsf_use=yes
36732 else
36733 glibcxx_cv_func_fabsf_use=no
36734 fi
36735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36736 ac_ext=c
36737 ac_cpp='$CPP $CPPFLAGS'
36738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36741
36742
36743 fi
36744
36745 fi
36746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36747 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36748
36749 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36750 for ac_func in fabsf
36751 do :
36752 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36753 if test "x$ac_cv_func_fabsf" = x""yes; then :
36754 cat >>confdefs.h <<_ACEOF
36755 #define HAVE_FABSF 1
36756 _ACEOF
36757
36758 fi
36759 done
36760
36761 else
36762
36763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36764 $as_echo_n "checking for _fabsf declaration... " >&6; }
36765 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36766 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36767 $as_echo_n "(cached) " >&6
36768 else
36769
36770
36771 ac_ext=cpp
36772 ac_cpp='$CXXCPP $CPPFLAGS'
36773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36776
36777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36778 /* end confdefs.h. */
36779 #include <math.h>
36780 #ifdef HAVE_IEEEFP_H
36781 #include <ieeefp.h>
36782 #endif
36783
36784 int
36785 main ()
36786 {
36787 _fabsf(0);
36788 ;
36789 return 0;
36790 }
36791 _ACEOF
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793 glibcxx_cv_func__fabsf_use=yes
36794 else
36795 glibcxx_cv_func__fabsf_use=no
36796 fi
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798 ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36803
36804
36805 fi
36806
36807 fi
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36809 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36810
36811 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36812 for ac_func in _fabsf
36813 do :
36814 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36815 if test "x$ac_cv_func__fabsf" = x""yes; then :
36816 cat >>confdefs.h <<_ACEOF
36817 #define HAVE__FABSF 1
36818 _ACEOF
36819
36820 fi
36821 done
36822
36823 fi
36824 fi
36825
36826
36827
36828
36829
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36831 $as_echo_n "checking for fmodf declaration... " >&6; }
36832 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36833 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36834 $as_echo_n "(cached) " >&6
36835 else
36836
36837
36838 ac_ext=cpp
36839 ac_cpp='$CXXCPP $CPPFLAGS'
36840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36843
36844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845 /* end confdefs.h. */
36846 #include <math.h>
36847 int
36848 main ()
36849 {
36850 fmodf(0, 0);
36851 ;
36852 return 0;
36853 }
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856 glibcxx_cv_func_fmodf_use=yes
36857 else
36858 glibcxx_cv_func_fmodf_use=no
36859 fi
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861 ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36866
36867
36868 fi
36869
36870 fi
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36872 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36873
36874 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36875 for ac_func in fmodf
36876 do :
36877 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36878 if test "x$ac_cv_func_fmodf" = x""yes; then :
36879 cat >>confdefs.h <<_ACEOF
36880 #define HAVE_FMODF 1
36881 _ACEOF
36882
36883 fi
36884 done
36885
36886 else
36887
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36889 $as_echo_n "checking for _fmodf declaration... " >&6; }
36890 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36891 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36892 $as_echo_n "(cached) " >&6
36893 else
36894
36895
36896 ac_ext=cpp
36897 ac_cpp='$CXXCPP $CPPFLAGS'
36898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901
36902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36903 /* end confdefs.h. */
36904 #include <math.h>
36905 int
36906 main ()
36907 {
36908 _fmodf(0, 0);
36909 ;
36910 return 0;
36911 }
36912 _ACEOF
36913 if ac_fn_cxx_try_compile "$LINENO"; then :
36914 glibcxx_cv_func__fmodf_use=yes
36915 else
36916 glibcxx_cv_func__fmodf_use=no
36917 fi
36918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36919 ac_ext=c
36920 ac_cpp='$CPP $CPPFLAGS'
36921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36924
36925
36926 fi
36927
36928 fi
36929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36930 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36931
36932 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36933 for ac_func in _fmodf
36934 do :
36935 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36936 if test "x$ac_cv_func__fmodf" = x""yes; then :
36937 cat >>confdefs.h <<_ACEOF
36938 #define HAVE__FMODF 1
36939 _ACEOF
36940
36941 fi
36942 done
36943
36944 fi
36945 fi
36946
36947
36948
36949
36950
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36952 $as_echo_n "checking for frexpf declaration... " >&6; }
36953 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36954 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36955 $as_echo_n "(cached) " >&6
36956 else
36957
36958
36959 ac_ext=cpp
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36964
36965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36966 /* end confdefs.h. */
36967 #include <math.h>
36968 int
36969 main ()
36970 {
36971 frexpf(0, 0);
36972 ;
36973 return 0;
36974 }
36975 _ACEOF
36976 if ac_fn_cxx_try_compile "$LINENO"; then :
36977 glibcxx_cv_func_frexpf_use=yes
36978 else
36979 glibcxx_cv_func_frexpf_use=no
36980 fi
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982 ac_ext=c
36983 ac_cpp='$CPP $CPPFLAGS'
36984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36987
36988
36989 fi
36990
36991 fi
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36993 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36994
36995 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36996 for ac_func in frexpf
36997 do :
36998 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36999 if test "x$ac_cv_func_frexpf" = x""yes; then :
37000 cat >>confdefs.h <<_ACEOF
37001 #define HAVE_FREXPF 1
37002 _ACEOF
37003
37004 fi
37005 done
37006
37007 else
37008
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37010 $as_echo_n "checking for _frexpf declaration... " >&6; }
37011 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37012 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37013 $as_echo_n "(cached) " >&6
37014 else
37015
37016
37017 ac_ext=cpp
37018 ac_cpp='$CXXCPP $CPPFLAGS'
37019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37022
37023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37024 /* end confdefs.h. */
37025 #include <math.h>
37026 int
37027 main ()
37028 {
37029 _frexpf(0, 0);
37030 ;
37031 return 0;
37032 }
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func__frexpf_use=yes
37036 else
37037 glibcxx_cv_func__frexpf_use=no
37038 fi
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37045
37046
37047 fi
37048
37049 fi
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37051 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37052
37053 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37054 for ac_func in _frexpf
37055 do :
37056 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37057 if test "x$ac_cv_func__frexpf" = x""yes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE__FREXPF 1
37060 _ACEOF
37061
37062 fi
37063 done
37064
37065 fi
37066 fi
37067
37068
37069
37070
37071
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37073 $as_echo_n "checking for hypotf declaration... " >&6; }
37074 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37075 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37076 $as_echo_n "(cached) " >&6
37077 else
37078
37079
37080 ac_ext=cpp
37081 ac_cpp='$CXXCPP $CPPFLAGS'
37082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37085
37086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37087 /* end confdefs.h. */
37088 #include <math.h>
37089 int
37090 main ()
37091 {
37092 hypotf(0, 0);
37093 ;
37094 return 0;
37095 }
37096 _ACEOF
37097 if ac_fn_cxx_try_compile "$LINENO"; then :
37098 glibcxx_cv_func_hypotf_use=yes
37099 else
37100 glibcxx_cv_func_hypotf_use=no
37101 fi
37102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103 ac_ext=c
37104 ac_cpp='$CPP $CPPFLAGS'
37105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37108
37109
37110 fi
37111
37112 fi
37113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37114 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37115
37116 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37117 for ac_func in hypotf
37118 do :
37119 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37120 if test "x$ac_cv_func_hypotf" = x""yes; then :
37121 cat >>confdefs.h <<_ACEOF
37122 #define HAVE_HYPOTF 1
37123 _ACEOF
37124
37125 fi
37126 done
37127
37128 else
37129
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37131 $as_echo_n "checking for _hypotf declaration... " >&6; }
37132 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37133 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37134 $as_echo_n "(cached) " >&6
37135 else
37136
37137
37138 ac_ext=cpp
37139 ac_cpp='$CXXCPP $CPPFLAGS'
37140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37143
37144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37145 /* end confdefs.h. */
37146 #include <math.h>
37147 int
37148 main ()
37149 {
37150 _hypotf(0, 0);
37151 ;
37152 return 0;
37153 }
37154 _ACEOF
37155 if ac_fn_cxx_try_compile "$LINENO"; then :
37156 glibcxx_cv_func__hypotf_use=yes
37157 else
37158 glibcxx_cv_func__hypotf_use=no
37159 fi
37160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161 ac_ext=c
37162 ac_cpp='$CPP $CPPFLAGS'
37163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37166
37167
37168 fi
37169
37170 fi
37171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37172 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37173
37174 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37175 for ac_func in _hypotf
37176 do :
37177 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37178 if test "x$ac_cv_func__hypotf" = x""yes; then :
37179 cat >>confdefs.h <<_ACEOF
37180 #define HAVE__HYPOTF 1
37181 _ACEOF
37182
37183 fi
37184 done
37185
37186 fi
37187 fi
37188
37189
37190
37191
37192
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37194 $as_echo_n "checking for ldexpf declaration... " >&6; }
37195 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37196 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37197 $as_echo_n "(cached) " >&6
37198 else
37199
37200
37201 ac_ext=cpp
37202 ac_cpp='$CXXCPP $CPPFLAGS'
37203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37206
37207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37208 /* end confdefs.h. */
37209 #include <math.h>
37210 int
37211 main ()
37212 {
37213 ldexpf(0, 0);
37214 ;
37215 return 0;
37216 }
37217 _ACEOF
37218 if ac_fn_cxx_try_compile "$LINENO"; then :
37219 glibcxx_cv_func_ldexpf_use=yes
37220 else
37221 glibcxx_cv_func_ldexpf_use=no
37222 fi
37223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37224 ac_ext=c
37225 ac_cpp='$CPP $CPPFLAGS'
37226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37229
37230
37231 fi
37232
37233 fi
37234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37235 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37236
37237 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37238 for ac_func in ldexpf
37239 do :
37240 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37241 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37242 cat >>confdefs.h <<_ACEOF
37243 #define HAVE_LDEXPF 1
37244 _ACEOF
37245
37246 fi
37247 done
37248
37249 else
37250
37251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37252 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37253 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37254 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37255 $as_echo_n "(cached) " >&6
37256 else
37257
37258
37259 ac_ext=cpp
37260 ac_cpp='$CXXCPP $CPPFLAGS'
37261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37264
37265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37266 /* end confdefs.h. */
37267 #include <math.h>
37268 int
37269 main ()
37270 {
37271 _ldexpf(0, 0);
37272 ;
37273 return 0;
37274 }
37275 _ACEOF
37276 if ac_fn_cxx_try_compile "$LINENO"; then :
37277 glibcxx_cv_func__ldexpf_use=yes
37278 else
37279 glibcxx_cv_func__ldexpf_use=no
37280 fi
37281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37282 ac_ext=c
37283 ac_cpp='$CPP $CPPFLAGS'
37284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37287
37288
37289 fi
37290
37291 fi
37292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37293 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37294
37295 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37296 for ac_func in _ldexpf
37297 do :
37298 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37299 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37300 cat >>confdefs.h <<_ACEOF
37301 #define HAVE__LDEXPF 1
37302 _ACEOF
37303
37304 fi
37305 done
37306
37307 fi
37308 fi
37309
37310
37311
37312
37313
37314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37315 $as_echo_n "checking for logf declaration... " >&6; }
37316 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37317 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37318 $as_echo_n "(cached) " >&6
37319 else
37320
37321
37322 ac_ext=cpp
37323 ac_cpp='$CXXCPP $CPPFLAGS'
37324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327
37328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37329 /* end confdefs.h. */
37330 #include <math.h>
37331 #ifdef HAVE_IEEEFP_H
37332 #include <ieeefp.h>
37333 #endif
37334
37335 int
37336 main ()
37337 {
37338 logf(0);
37339 ;
37340 return 0;
37341 }
37342 _ACEOF
37343 if ac_fn_cxx_try_compile "$LINENO"; then :
37344 glibcxx_cv_func_logf_use=yes
37345 else
37346 glibcxx_cv_func_logf_use=no
37347 fi
37348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37349 ac_ext=c
37350 ac_cpp='$CPP $CPPFLAGS'
37351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37354
37355
37356 fi
37357
37358 fi
37359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37360 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37361
37362 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37363 for ac_func in logf
37364 do :
37365 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37366 if test "x$ac_cv_func_logf" = x""yes; then :
37367 cat >>confdefs.h <<_ACEOF
37368 #define HAVE_LOGF 1
37369 _ACEOF
37370
37371 fi
37372 done
37373
37374 else
37375
37376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37377 $as_echo_n "checking for _logf declaration... " >&6; }
37378 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37379 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37380 $as_echo_n "(cached) " >&6
37381 else
37382
37383
37384 ac_ext=cpp
37385 ac_cpp='$CXXCPP $CPPFLAGS'
37386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37389
37390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37391 /* end confdefs.h. */
37392 #include <math.h>
37393 #ifdef HAVE_IEEEFP_H
37394 #include <ieeefp.h>
37395 #endif
37396
37397 int
37398 main ()
37399 {
37400 _logf(0);
37401 ;
37402 return 0;
37403 }
37404 _ACEOF
37405 if ac_fn_cxx_try_compile "$LINENO"; then :
37406 glibcxx_cv_func__logf_use=yes
37407 else
37408 glibcxx_cv_func__logf_use=no
37409 fi
37410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37411 ac_ext=c
37412 ac_cpp='$CPP $CPPFLAGS'
37413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37416
37417
37418 fi
37419
37420 fi
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37422 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37423
37424 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37425 for ac_func in _logf
37426 do :
37427 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37428 if test "x$ac_cv_func__logf" = x""yes; then :
37429 cat >>confdefs.h <<_ACEOF
37430 #define HAVE__LOGF 1
37431 _ACEOF
37432
37433 fi
37434 done
37435
37436 fi
37437 fi
37438
37439
37440
37441
37442
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37444 $as_echo_n "checking for log10f declaration... " >&6; }
37445 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37446 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37447 $as_echo_n "(cached) " >&6
37448 else
37449
37450
37451 ac_ext=cpp
37452 ac_cpp='$CXXCPP $CPPFLAGS'
37453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37456
37457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37458 /* end confdefs.h. */
37459 #include <math.h>
37460 #ifdef HAVE_IEEEFP_H
37461 #include <ieeefp.h>
37462 #endif
37463
37464 int
37465 main ()
37466 {
37467 log10f(0);
37468 ;
37469 return 0;
37470 }
37471 _ACEOF
37472 if ac_fn_cxx_try_compile "$LINENO"; then :
37473 glibcxx_cv_func_log10f_use=yes
37474 else
37475 glibcxx_cv_func_log10f_use=no
37476 fi
37477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37478 ac_ext=c
37479 ac_cpp='$CPP $CPPFLAGS'
37480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37483
37484
37485 fi
37486
37487 fi
37488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37489 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37490
37491 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37492 for ac_func in log10f
37493 do :
37494 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37495 if test "x$ac_cv_func_log10f" = x""yes; then :
37496 cat >>confdefs.h <<_ACEOF
37497 #define HAVE_LOG10F 1
37498 _ACEOF
37499
37500 fi
37501 done
37502
37503 else
37504
37505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37506 $as_echo_n "checking for _log10f declaration... " >&6; }
37507 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37508 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37509 $as_echo_n "(cached) " >&6
37510 else
37511
37512
37513 ac_ext=cpp
37514 ac_cpp='$CXXCPP $CPPFLAGS'
37515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37518
37519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37520 /* end confdefs.h. */
37521 #include <math.h>
37522 #ifdef HAVE_IEEEFP_H
37523 #include <ieeefp.h>
37524 #endif
37525
37526 int
37527 main ()
37528 {
37529 _log10f(0);
37530 ;
37531 return 0;
37532 }
37533 _ACEOF
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535 glibcxx_cv_func__log10f_use=yes
37536 else
37537 glibcxx_cv_func__log10f_use=no
37538 fi
37539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37540 ac_ext=c
37541 ac_cpp='$CPP $CPPFLAGS'
37542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37545
37546
37547 fi
37548
37549 fi
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37551 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37552
37553 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37554 for ac_func in _log10f
37555 do :
37556 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37557 if test "x$ac_cv_func__log10f" = x""yes; then :
37558 cat >>confdefs.h <<_ACEOF
37559 #define HAVE__LOG10F 1
37560 _ACEOF
37561
37562 fi
37563 done
37564
37565 fi
37566 fi
37567
37568
37569
37570
37571
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37573 $as_echo_n "checking for modff declaration... " >&6; }
37574 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37575 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37576 $as_echo_n "(cached) " >&6
37577 else
37578
37579
37580 ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37585
37586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h. */
37588 #include <math.h>
37589 int
37590 main ()
37591 {
37592 modff(0, 0);
37593 ;
37594 return 0;
37595 }
37596 _ACEOF
37597 if ac_fn_cxx_try_compile "$LINENO"; then :
37598 glibcxx_cv_func_modff_use=yes
37599 else
37600 glibcxx_cv_func_modff_use=no
37601 fi
37602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37603 ac_ext=c
37604 ac_cpp='$CPP $CPPFLAGS'
37605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37608
37609
37610 fi
37611
37612 fi
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37614 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37615
37616 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37617 for ac_func in modff
37618 do :
37619 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37620 if test "x$ac_cv_func_modff" = x""yes; then :
37621 cat >>confdefs.h <<_ACEOF
37622 #define HAVE_MODFF 1
37623 _ACEOF
37624
37625 fi
37626 done
37627
37628 else
37629
37630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37631 $as_echo_n "checking for _modff declaration... " >&6; }
37632 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37633 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37634 $as_echo_n "(cached) " >&6
37635 else
37636
37637
37638 ac_ext=cpp
37639 ac_cpp='$CXXCPP $CPPFLAGS'
37640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37643
37644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37645 /* end confdefs.h. */
37646 #include <math.h>
37647 int
37648 main ()
37649 {
37650 _modff(0, 0);
37651 ;
37652 return 0;
37653 }
37654 _ACEOF
37655 if ac_fn_cxx_try_compile "$LINENO"; then :
37656 glibcxx_cv_func__modff_use=yes
37657 else
37658 glibcxx_cv_func__modff_use=no
37659 fi
37660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37661 ac_ext=c
37662 ac_cpp='$CPP $CPPFLAGS'
37663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37666
37667
37668 fi
37669
37670 fi
37671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37672 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37673
37674 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37675 for ac_func in _modff
37676 do :
37677 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37678 if test "x$ac_cv_func__modff" = x""yes; then :
37679 cat >>confdefs.h <<_ACEOF
37680 #define HAVE__MODFF 1
37681 _ACEOF
37682
37683 fi
37684 done
37685
37686 fi
37687 fi
37688
37689
37690
37691
37692
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37694 $as_echo_n "checking for modf declaration... " >&6; }
37695 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37696 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37697 $as_echo_n "(cached) " >&6
37698 else
37699
37700
37701 ac_ext=cpp
37702 ac_cpp='$CXXCPP $CPPFLAGS'
37703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37706
37707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37708 /* end confdefs.h. */
37709 #include <math.h>
37710 int
37711 main ()
37712 {
37713 modf(0, 0);
37714 ;
37715 return 0;
37716 }
37717 _ACEOF
37718 if ac_fn_cxx_try_compile "$LINENO"; then :
37719 glibcxx_cv_func_modf_use=yes
37720 else
37721 glibcxx_cv_func_modf_use=no
37722 fi
37723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37724 ac_ext=c
37725 ac_cpp='$CPP $CPPFLAGS'
37726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37729
37730
37731 fi
37732
37733 fi
37734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37735 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37736
37737 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37738 for ac_func in modf
37739 do :
37740 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37741 if test "x$ac_cv_func_modf" = x""yes; then :
37742 cat >>confdefs.h <<_ACEOF
37743 #define HAVE_MODF 1
37744 _ACEOF
37745
37746 fi
37747 done
37748
37749 else
37750
37751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37752 $as_echo_n "checking for _modf declaration... " >&6; }
37753 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37754 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37755 $as_echo_n "(cached) " >&6
37756 else
37757
37758
37759 ac_ext=cpp
37760 ac_cpp='$CXXCPP $CPPFLAGS'
37761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37764
37765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37766 /* end confdefs.h. */
37767 #include <math.h>
37768 int
37769 main ()
37770 {
37771 _modf(0, 0);
37772 ;
37773 return 0;
37774 }
37775 _ACEOF
37776 if ac_fn_cxx_try_compile "$LINENO"; then :
37777 glibcxx_cv_func__modf_use=yes
37778 else
37779 glibcxx_cv_func__modf_use=no
37780 fi
37781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37782 ac_ext=c
37783 ac_cpp='$CPP $CPPFLAGS'
37784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37787
37788
37789 fi
37790
37791 fi
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37793 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37794
37795 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37796 for ac_func in _modf
37797 do :
37798 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37799 if test "x$ac_cv_func__modf" = x""yes; then :
37800 cat >>confdefs.h <<_ACEOF
37801 #define HAVE__MODF 1
37802 _ACEOF
37803
37804 fi
37805 done
37806
37807 fi
37808 fi
37809
37810
37811
37812
37813
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37815 $as_echo_n "checking for powf declaration... " >&6; }
37816 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37817 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37818 $as_echo_n "(cached) " >&6
37819 else
37820
37821
37822 ac_ext=cpp
37823 ac_cpp='$CXXCPP $CPPFLAGS'
37824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827
37828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37829 /* end confdefs.h. */
37830 #include <math.h>
37831 int
37832 main ()
37833 {
37834 powf(0, 0);
37835 ;
37836 return 0;
37837 }
37838 _ACEOF
37839 if ac_fn_cxx_try_compile "$LINENO"; then :
37840 glibcxx_cv_func_powf_use=yes
37841 else
37842 glibcxx_cv_func_powf_use=no
37843 fi
37844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37845 ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37850
37851
37852 fi
37853
37854 fi
37855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37856 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37857
37858 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37859 for ac_func in powf
37860 do :
37861 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37862 if test "x$ac_cv_func_powf" = x""yes; then :
37863 cat >>confdefs.h <<_ACEOF
37864 #define HAVE_POWF 1
37865 _ACEOF
37866
37867 fi
37868 done
37869
37870 else
37871
37872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37873 $as_echo_n "checking for _powf declaration... " >&6; }
37874 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37875 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37876 $as_echo_n "(cached) " >&6
37877 else
37878
37879
37880 ac_ext=cpp
37881 ac_cpp='$CXXCPP $CPPFLAGS'
37882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37885
37886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37887 /* end confdefs.h. */
37888 #include <math.h>
37889 int
37890 main ()
37891 {
37892 _powf(0, 0);
37893 ;
37894 return 0;
37895 }
37896 _ACEOF
37897 if ac_fn_cxx_try_compile "$LINENO"; then :
37898 glibcxx_cv_func__powf_use=yes
37899 else
37900 glibcxx_cv_func__powf_use=no
37901 fi
37902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37903 ac_ext=c
37904 ac_cpp='$CPP $CPPFLAGS'
37905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37908
37909
37910 fi
37911
37912 fi
37913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37914 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37915
37916 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37917 for ac_func in _powf
37918 do :
37919 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37920 if test "x$ac_cv_func__powf" = x""yes; then :
37921 cat >>confdefs.h <<_ACEOF
37922 #define HAVE__POWF 1
37923 _ACEOF
37924
37925 fi
37926 done
37927
37928 fi
37929 fi
37930
37931
37932
37933
37934
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37936 $as_echo_n "checking for sqrtf declaration... " >&6; }
37937 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37938 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37939 $as_echo_n "(cached) " >&6
37940 else
37941
37942
37943 ac_ext=cpp
37944 ac_cpp='$CXXCPP $CPPFLAGS'
37945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37948
37949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37950 /* end confdefs.h. */
37951 #include <math.h>
37952 #ifdef HAVE_IEEEFP_H
37953 #include <ieeefp.h>
37954 #endif
37955
37956 int
37957 main ()
37958 {
37959 sqrtf(0);
37960 ;
37961 return 0;
37962 }
37963 _ACEOF
37964 if ac_fn_cxx_try_compile "$LINENO"; then :
37965 glibcxx_cv_func_sqrtf_use=yes
37966 else
37967 glibcxx_cv_func_sqrtf_use=no
37968 fi
37969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37970 ac_ext=c
37971 ac_cpp='$CPP $CPPFLAGS'
37972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37975
37976
37977 fi
37978
37979 fi
37980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37981 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37982
37983 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37984 for ac_func in sqrtf
37985 do :
37986 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37987 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37988 cat >>confdefs.h <<_ACEOF
37989 #define HAVE_SQRTF 1
37990 _ACEOF
37991
37992 fi
37993 done
37994
37995 else
37996
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37998 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37999 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38000 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38001 $as_echo_n "(cached) " >&6
38002 else
38003
38004
38005 ac_ext=cpp
38006 ac_cpp='$CXXCPP $CPPFLAGS'
38007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38010
38011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38012 /* end confdefs.h. */
38013 #include <math.h>
38014 #ifdef HAVE_IEEEFP_H
38015 #include <ieeefp.h>
38016 #endif
38017
38018 int
38019 main ()
38020 {
38021 _sqrtf(0);
38022 ;
38023 return 0;
38024 }
38025 _ACEOF
38026 if ac_fn_cxx_try_compile "$LINENO"; then :
38027 glibcxx_cv_func__sqrtf_use=yes
38028 else
38029 glibcxx_cv_func__sqrtf_use=no
38030 fi
38031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38032 ac_ext=c
38033 ac_cpp='$CPP $CPPFLAGS'
38034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38037
38038
38039 fi
38040
38041 fi
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38043 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38044
38045 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38046 for ac_func in _sqrtf
38047 do :
38048 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38049 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38050 cat >>confdefs.h <<_ACEOF
38051 #define HAVE__SQRTF 1
38052 _ACEOF
38053
38054 fi
38055 done
38056
38057 fi
38058 fi
38059
38060
38061
38062
38063
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38065 $as_echo_n "checking for sincosf declaration... " >&6; }
38066 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38067 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38068 $as_echo_n "(cached) " >&6
38069 else
38070
38071
38072 ac_ext=cpp
38073 ac_cpp='$CXXCPP $CPPFLAGS'
38074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38077
38078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38079 /* end confdefs.h. */
38080 #include <math.h>
38081 int
38082 main ()
38083 {
38084 sincosf(0, 0, 0);
38085 ;
38086 return 0;
38087 }
38088 _ACEOF
38089 if ac_fn_cxx_try_compile "$LINENO"; then :
38090 glibcxx_cv_func_sincosf_use=yes
38091 else
38092 glibcxx_cv_func_sincosf_use=no
38093 fi
38094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38095 ac_ext=c
38096 ac_cpp='$CPP $CPPFLAGS'
38097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38100
38101
38102 fi
38103
38104 fi
38105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38106 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38107
38108 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38109 for ac_func in sincosf
38110 do :
38111 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38112 if test "x$ac_cv_func_sincosf" = x""yes; then :
38113 cat >>confdefs.h <<_ACEOF
38114 #define HAVE_SINCOSF 1
38115 _ACEOF
38116
38117 fi
38118 done
38119
38120 else
38121
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38123 $as_echo_n "checking for _sincosf declaration... " >&6; }
38124 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38125 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38126 $as_echo_n "(cached) " >&6
38127 else
38128
38129
38130 ac_ext=cpp
38131 ac_cpp='$CXXCPP $CPPFLAGS'
38132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38135
38136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38137 /* end confdefs.h. */
38138 #include <math.h>
38139 int
38140 main ()
38141 {
38142 _sincosf(0, 0, 0);
38143 ;
38144 return 0;
38145 }
38146 _ACEOF
38147 if ac_fn_cxx_try_compile "$LINENO"; then :
38148 glibcxx_cv_func__sincosf_use=yes
38149 else
38150 glibcxx_cv_func__sincosf_use=no
38151 fi
38152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38153 ac_ext=c
38154 ac_cpp='$CPP $CPPFLAGS'
38155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38158
38159
38160 fi
38161
38162 fi
38163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38164 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38165
38166 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38167 for ac_func in _sincosf
38168 do :
38169 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38170 if test "x$ac_cv_func__sincosf" = x""yes; then :
38171 cat >>confdefs.h <<_ACEOF
38172 #define HAVE__SINCOSF 1
38173 _ACEOF
38174
38175 fi
38176 done
38177
38178 fi
38179 fi
38180
38181
38182
38183
38184
38185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38186 $as_echo_n "checking for finitef declaration... " >&6; }
38187 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38188 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38189 $as_echo_n "(cached) " >&6
38190 else
38191
38192
38193 ac_ext=cpp
38194 ac_cpp='$CXXCPP $CPPFLAGS'
38195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38198
38199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38200 /* end confdefs.h. */
38201 #include <math.h>
38202 #ifdef HAVE_IEEEFP_H
38203 #include <ieeefp.h>
38204 #endif
38205
38206 int
38207 main ()
38208 {
38209 finitef(0);
38210 ;
38211 return 0;
38212 }
38213 _ACEOF
38214 if ac_fn_cxx_try_compile "$LINENO"; then :
38215 glibcxx_cv_func_finitef_use=yes
38216 else
38217 glibcxx_cv_func_finitef_use=no
38218 fi
38219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38220 ac_ext=c
38221 ac_cpp='$CPP $CPPFLAGS'
38222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38225
38226
38227 fi
38228
38229 fi
38230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38231 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38232
38233 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38234 for ac_func in finitef
38235 do :
38236 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38237 if test "x$ac_cv_func_finitef" = x""yes; then :
38238 cat >>confdefs.h <<_ACEOF
38239 #define HAVE_FINITEF 1
38240 _ACEOF
38241
38242 fi
38243 done
38244
38245 else
38246
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38248 $as_echo_n "checking for _finitef declaration... " >&6; }
38249 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38250 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38251 $as_echo_n "(cached) " >&6
38252 else
38253
38254
38255 ac_ext=cpp
38256 ac_cpp='$CXXCPP $CPPFLAGS'
38257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38260
38261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38262 /* end confdefs.h. */
38263 #include <math.h>
38264 #ifdef HAVE_IEEEFP_H
38265 #include <ieeefp.h>
38266 #endif
38267
38268 int
38269 main ()
38270 {
38271 _finitef(0);
38272 ;
38273 return 0;
38274 }
38275 _ACEOF
38276 if ac_fn_cxx_try_compile "$LINENO"; then :
38277 glibcxx_cv_func__finitef_use=yes
38278 else
38279 glibcxx_cv_func__finitef_use=no
38280 fi
38281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38282 ac_ext=c
38283 ac_cpp='$CPP $CPPFLAGS'
38284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38287
38288
38289 fi
38290
38291 fi
38292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38293 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38294
38295 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38296 for ac_func in _finitef
38297 do :
38298 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38299 if test "x$ac_cv_func__finitef" = x""yes; then :
38300 cat >>confdefs.h <<_ACEOF
38301 #define HAVE__FINITEF 1
38302 _ACEOF
38303
38304 fi
38305 done
38306
38307 fi
38308 fi
38309
38310
38311
38312
38313
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38315 $as_echo_n "checking for long double trig functions... " >&6; }
38316 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38317 $as_echo_n "(cached) " >&6
38318 else
38319
38320
38321 ac_ext=cpp
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38326
38327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38328 /* end confdefs.h. */
38329 #include <math.h>
38330 int
38331 main ()
38332 {
38333 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38334 ;
38335 return 0;
38336 }
38337 _ACEOF
38338 if ac_fn_cxx_try_compile "$LINENO"; then :
38339 glibcxx_cv_func_long_double_trig_use=yes
38340 else
38341 glibcxx_cv_func_long_double_trig_use=no
38342 fi
38343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38344 ac_ext=c
38345 ac_cpp='$CPP $CPPFLAGS'
38346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38349
38350 fi
38351
38352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38353 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38354 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38355 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38356 do :
38357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38359 eval as_val=\$$as_ac_var
38360 if test "x$as_val" = x""yes; then :
38361 cat >>confdefs.h <<_ACEOF
38362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38363 _ACEOF
38364
38365 fi
38366 done
38367
38368 else
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38370 $as_echo_n "checking for _long double trig functions... " >&6; }
38371 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38372 $as_echo_n "(cached) " >&6
38373 else
38374
38375
38376 ac_ext=cpp
38377 ac_cpp='$CXXCPP $CPPFLAGS'
38378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38381
38382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38383 /* end confdefs.h. */
38384 #include <math.h>
38385 int
38386 main ()
38387 {
38388 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38389 ;
38390 return 0;
38391 }
38392 _ACEOF
38393 if ac_fn_cxx_try_compile "$LINENO"; then :
38394 glibcxx_cv_func__long_double_trig_use=yes
38395 else
38396 glibcxx_cv_func__long_double_trig_use=no
38397 fi
38398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38399 ac_ext=c
38400 ac_cpp='$CPP $CPPFLAGS'
38401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38404
38405 fi
38406
38407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38408 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38409 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38410 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38411 do :
38412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38414 eval as_val=\$$as_ac_var
38415 if test "x$as_val" = x""yes; then :
38416 cat >>confdefs.h <<_ACEOF
38417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38418 _ACEOF
38419
38420 fi
38421 done
38422
38423 fi
38424 fi
38425
38426
38427
38428
38429
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38431 $as_echo_n "checking for long double round functions... " >&6; }
38432 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38433 $as_echo_n "(cached) " >&6
38434 else
38435
38436
38437 ac_ext=cpp
38438 ac_cpp='$CXXCPP $CPPFLAGS'
38439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38442
38443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38444 /* end confdefs.h. */
38445 #include <math.h>
38446 int
38447 main ()
38448 {
38449 ceill (0); floorl (0);
38450 ;
38451 return 0;
38452 }
38453 _ACEOF
38454 if ac_fn_cxx_try_compile "$LINENO"; then :
38455 glibcxx_cv_func_long_double_round_use=yes
38456 else
38457 glibcxx_cv_func_long_double_round_use=no
38458 fi
38459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38460 ac_ext=c
38461 ac_cpp='$CPP $CPPFLAGS'
38462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38465
38466 fi
38467
38468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38469 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38470 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38471 for ac_func in ceill floorl
38472 do :
38473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38475 eval as_val=\$$as_ac_var
38476 if test "x$as_val" = x""yes; then :
38477 cat >>confdefs.h <<_ACEOF
38478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38479 _ACEOF
38480
38481 fi
38482 done
38483
38484 else
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38486 $as_echo_n "checking for _long double round functions... " >&6; }
38487 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38488 $as_echo_n "(cached) " >&6
38489 else
38490
38491
38492 ac_ext=cpp
38493 ac_cpp='$CXXCPP $CPPFLAGS'
38494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38497
38498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38499 /* end confdefs.h. */
38500 #include <math.h>
38501 int
38502 main ()
38503 {
38504 _ceill (0); _floorl (0);
38505 ;
38506 return 0;
38507 }
38508 _ACEOF
38509 if ac_fn_cxx_try_compile "$LINENO"; then :
38510 glibcxx_cv_func__long_double_round_use=yes
38511 else
38512 glibcxx_cv_func__long_double_round_use=no
38513 fi
38514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38515 ac_ext=c
38516 ac_cpp='$CPP $CPPFLAGS'
38517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38520
38521 fi
38522
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38524 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38525 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38526 for ac_func in _ceill _floorl
38527 do :
38528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38530 eval as_val=\$$as_ac_var
38531 if test "x$as_val" = x""yes; then :
38532 cat >>confdefs.h <<_ACEOF
38533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38534 _ACEOF
38535
38536 fi
38537 done
38538
38539 fi
38540 fi
38541
38542
38543
38544
38545
38546
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38548 $as_echo_n "checking for isnanl declaration... " >&6; }
38549 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38550 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38551 $as_echo_n "(cached) " >&6
38552 else
38553
38554
38555 ac_ext=cpp
38556 ac_cpp='$CXXCPP $CPPFLAGS'
38557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38560
38561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38562 /* end confdefs.h. */
38563 #include <math.h>
38564 #ifdef HAVE_IEEEFP_H
38565 #include <ieeefp.h>
38566 #endif
38567
38568 int
38569 main ()
38570 {
38571 isnanl(0);
38572 ;
38573 return 0;
38574 }
38575 _ACEOF
38576 if ac_fn_cxx_try_compile "$LINENO"; then :
38577 glibcxx_cv_func_isnanl_use=yes
38578 else
38579 glibcxx_cv_func_isnanl_use=no
38580 fi
38581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38582 ac_ext=c
38583 ac_cpp='$CPP $CPPFLAGS'
38584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38587
38588
38589 fi
38590
38591 fi
38592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38593 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38594
38595 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38596 for ac_func in isnanl
38597 do :
38598 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38599 if test "x$ac_cv_func_isnanl" = x""yes; then :
38600 cat >>confdefs.h <<_ACEOF
38601 #define HAVE_ISNANL 1
38602 _ACEOF
38603
38604 fi
38605 done
38606
38607 else
38608
38609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38610 $as_echo_n "checking for _isnanl declaration... " >&6; }
38611 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38612 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38613 $as_echo_n "(cached) " >&6
38614 else
38615
38616
38617 ac_ext=cpp
38618 ac_cpp='$CXXCPP $CPPFLAGS'
38619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38622
38623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38624 /* end confdefs.h. */
38625 #include <math.h>
38626 #ifdef HAVE_IEEEFP_H
38627 #include <ieeefp.h>
38628 #endif
38629
38630 int
38631 main ()
38632 {
38633 _isnanl(0);
38634 ;
38635 return 0;
38636 }
38637 _ACEOF
38638 if ac_fn_cxx_try_compile "$LINENO"; then :
38639 glibcxx_cv_func__isnanl_use=yes
38640 else
38641 glibcxx_cv_func__isnanl_use=no
38642 fi
38643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38644 ac_ext=c
38645 ac_cpp='$CPP $CPPFLAGS'
38646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38649
38650
38651 fi
38652
38653 fi
38654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38655 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38656
38657 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38658 for ac_func in _isnanl
38659 do :
38660 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38661 if test "x$ac_cv_func__isnanl" = x""yes; then :
38662 cat >>confdefs.h <<_ACEOF
38663 #define HAVE__ISNANL 1
38664 _ACEOF
38665
38666 fi
38667 done
38668
38669 fi
38670 fi
38671
38672
38673
38674
38675
38676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38677 $as_echo_n "checking for isinfl declaration... " >&6; }
38678 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38679 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38680 $as_echo_n "(cached) " >&6
38681 else
38682
38683
38684 ac_ext=cpp
38685 ac_cpp='$CXXCPP $CPPFLAGS'
38686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38689
38690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38691 /* end confdefs.h. */
38692 #include <math.h>
38693 #ifdef HAVE_IEEEFP_H
38694 #include <ieeefp.h>
38695 #endif
38696
38697 int
38698 main ()
38699 {
38700 isinfl(0);
38701 ;
38702 return 0;
38703 }
38704 _ACEOF
38705 if ac_fn_cxx_try_compile "$LINENO"; then :
38706 glibcxx_cv_func_isinfl_use=yes
38707 else
38708 glibcxx_cv_func_isinfl_use=no
38709 fi
38710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38711 ac_ext=c
38712 ac_cpp='$CPP $CPPFLAGS'
38713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38716
38717
38718 fi
38719
38720 fi
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38722 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38723
38724 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38725 for ac_func in isinfl
38726 do :
38727 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38728 if test "x$ac_cv_func_isinfl" = x""yes; then :
38729 cat >>confdefs.h <<_ACEOF
38730 #define HAVE_ISINFL 1
38731 _ACEOF
38732
38733 fi
38734 done
38735
38736 else
38737
38738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38739 $as_echo_n "checking for _isinfl declaration... " >&6; }
38740 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38741 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38742 $as_echo_n "(cached) " >&6
38743 else
38744
38745
38746 ac_ext=cpp
38747 ac_cpp='$CXXCPP $CPPFLAGS'
38748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38751
38752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38753 /* end confdefs.h. */
38754 #include <math.h>
38755 #ifdef HAVE_IEEEFP_H
38756 #include <ieeefp.h>
38757 #endif
38758
38759 int
38760 main ()
38761 {
38762 _isinfl(0);
38763 ;
38764 return 0;
38765 }
38766 _ACEOF
38767 if ac_fn_cxx_try_compile "$LINENO"; then :
38768 glibcxx_cv_func__isinfl_use=yes
38769 else
38770 glibcxx_cv_func__isinfl_use=no
38771 fi
38772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38773 ac_ext=c
38774 ac_cpp='$CPP $CPPFLAGS'
38775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38778
38779
38780 fi
38781
38782 fi
38783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38784 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38785
38786 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38787 for ac_func in _isinfl
38788 do :
38789 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38790 if test "x$ac_cv_func__isinfl" = x""yes; then :
38791 cat >>confdefs.h <<_ACEOF
38792 #define HAVE__ISINFL 1
38793 _ACEOF
38794
38795 fi
38796 done
38797
38798 fi
38799 fi
38800
38801
38802
38803
38804
38805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38806 $as_echo_n "checking for atan2l declaration... " >&6; }
38807 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38808 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38809 $as_echo_n "(cached) " >&6
38810 else
38811
38812
38813 ac_ext=cpp
38814 ac_cpp='$CXXCPP $CPPFLAGS'
38815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38818
38819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38820 /* end confdefs.h. */
38821 #include <math.h>
38822 int
38823 main ()
38824 {
38825 atan2l(0, 0);
38826 ;
38827 return 0;
38828 }
38829 _ACEOF
38830 if ac_fn_cxx_try_compile "$LINENO"; then :
38831 glibcxx_cv_func_atan2l_use=yes
38832 else
38833 glibcxx_cv_func_atan2l_use=no
38834 fi
38835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38836 ac_ext=c
38837 ac_cpp='$CPP $CPPFLAGS'
38838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38841
38842
38843 fi
38844
38845 fi
38846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38847 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38848
38849 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38850 for ac_func in atan2l
38851 do :
38852 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38853 if test "x$ac_cv_func_atan2l" = x""yes; then :
38854 cat >>confdefs.h <<_ACEOF
38855 #define HAVE_ATAN2L 1
38856 _ACEOF
38857
38858 fi
38859 done
38860
38861 else
38862
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38864 $as_echo_n "checking for _atan2l declaration... " >&6; }
38865 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38866 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38867 $as_echo_n "(cached) " >&6
38868 else
38869
38870
38871 ac_ext=cpp
38872 ac_cpp='$CXXCPP $CPPFLAGS'
38873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38876
38877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38878 /* end confdefs.h. */
38879 #include <math.h>
38880 int
38881 main ()
38882 {
38883 _atan2l(0, 0);
38884 ;
38885 return 0;
38886 }
38887 _ACEOF
38888 if ac_fn_cxx_try_compile "$LINENO"; then :
38889 glibcxx_cv_func__atan2l_use=yes
38890 else
38891 glibcxx_cv_func__atan2l_use=no
38892 fi
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894 ac_ext=c
38895 ac_cpp='$CPP $CPPFLAGS'
38896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38899
38900
38901 fi
38902
38903 fi
38904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38905 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38906
38907 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38908 for ac_func in _atan2l
38909 do :
38910 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38911 if test "x$ac_cv_func__atan2l" = x""yes; then :
38912 cat >>confdefs.h <<_ACEOF
38913 #define HAVE__ATAN2L 1
38914 _ACEOF
38915
38916 fi
38917 done
38918
38919 fi
38920 fi
38921
38922
38923
38924
38925
38926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38927 $as_echo_n "checking for expl declaration... " >&6; }
38928 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38929 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38930 $as_echo_n "(cached) " >&6
38931 else
38932
38933
38934 ac_ext=cpp
38935 ac_cpp='$CXXCPP $CPPFLAGS'
38936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38939
38940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38941 /* end confdefs.h. */
38942 #include <math.h>
38943 #ifdef HAVE_IEEEFP_H
38944 #include <ieeefp.h>
38945 #endif
38946
38947 int
38948 main ()
38949 {
38950 expl(0);
38951 ;
38952 return 0;
38953 }
38954 _ACEOF
38955 if ac_fn_cxx_try_compile "$LINENO"; then :
38956 glibcxx_cv_func_expl_use=yes
38957 else
38958 glibcxx_cv_func_expl_use=no
38959 fi
38960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38961 ac_ext=c
38962 ac_cpp='$CPP $CPPFLAGS'
38963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38966
38967
38968 fi
38969
38970 fi
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38972 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38973
38974 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38975 for ac_func in expl
38976 do :
38977 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38978 if test "x$ac_cv_func_expl" = x""yes; then :
38979 cat >>confdefs.h <<_ACEOF
38980 #define HAVE_EXPL 1
38981 _ACEOF
38982
38983 fi
38984 done
38985
38986 else
38987
38988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38989 $as_echo_n "checking for _expl declaration... " >&6; }
38990 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38991 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38992 $as_echo_n "(cached) " >&6
38993 else
38994
38995
38996 ac_ext=cpp
38997 ac_cpp='$CXXCPP $CPPFLAGS'
38998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39001
39002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39003 /* end confdefs.h. */
39004 #include <math.h>
39005 #ifdef HAVE_IEEEFP_H
39006 #include <ieeefp.h>
39007 #endif
39008
39009 int
39010 main ()
39011 {
39012 _expl(0);
39013 ;
39014 return 0;
39015 }
39016 _ACEOF
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018 glibcxx_cv_func__expl_use=yes
39019 else
39020 glibcxx_cv_func__expl_use=no
39021 fi
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39023 ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39028
39029
39030 fi
39031
39032 fi
39033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39034 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39035
39036 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39037 for ac_func in _expl
39038 do :
39039 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39040 if test "x$ac_cv_func__expl" = x""yes; then :
39041 cat >>confdefs.h <<_ACEOF
39042 #define HAVE__EXPL 1
39043 _ACEOF
39044
39045 fi
39046 done
39047
39048 fi
39049 fi
39050
39051
39052
39053
39054
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39056 $as_echo_n "checking for fabsl declaration... " >&6; }
39057 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39058 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39059 $as_echo_n "(cached) " >&6
39060 else
39061
39062
39063 ac_ext=cpp
39064 ac_cpp='$CXXCPP $CPPFLAGS'
39065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39068
39069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39070 /* end confdefs.h. */
39071 #include <math.h>
39072 #ifdef HAVE_IEEEFP_H
39073 #include <ieeefp.h>
39074 #endif
39075
39076 int
39077 main ()
39078 {
39079 fabsl(0);
39080 ;
39081 return 0;
39082 }
39083 _ACEOF
39084 if ac_fn_cxx_try_compile "$LINENO"; then :
39085 glibcxx_cv_func_fabsl_use=yes
39086 else
39087 glibcxx_cv_func_fabsl_use=no
39088 fi
39089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39090 ac_ext=c
39091 ac_cpp='$CPP $CPPFLAGS'
39092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39095
39096
39097 fi
39098
39099 fi
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39101 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39102
39103 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39104 for ac_func in fabsl
39105 do :
39106 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39107 if test "x$ac_cv_func_fabsl" = x""yes; then :
39108 cat >>confdefs.h <<_ACEOF
39109 #define HAVE_FABSL 1
39110 _ACEOF
39111
39112 fi
39113 done
39114
39115 else
39116
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39118 $as_echo_n "checking for _fabsl declaration... " >&6; }
39119 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39120 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39121 $as_echo_n "(cached) " >&6
39122 else
39123
39124
39125 ac_ext=cpp
39126 ac_cpp='$CXXCPP $CPPFLAGS'
39127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39130
39131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39132 /* end confdefs.h. */
39133 #include <math.h>
39134 #ifdef HAVE_IEEEFP_H
39135 #include <ieeefp.h>
39136 #endif
39137
39138 int
39139 main ()
39140 {
39141 _fabsl(0);
39142 ;
39143 return 0;
39144 }
39145 _ACEOF
39146 if ac_fn_cxx_try_compile "$LINENO"; then :
39147 glibcxx_cv_func__fabsl_use=yes
39148 else
39149 glibcxx_cv_func__fabsl_use=no
39150 fi
39151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39152 ac_ext=c
39153 ac_cpp='$CPP $CPPFLAGS'
39154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39157
39158
39159 fi
39160
39161 fi
39162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39163 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39164
39165 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39166 for ac_func in _fabsl
39167 do :
39168 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39169 if test "x$ac_cv_func__fabsl" = x""yes; then :
39170 cat >>confdefs.h <<_ACEOF
39171 #define HAVE__FABSL 1
39172 _ACEOF
39173
39174 fi
39175 done
39176
39177 fi
39178 fi
39179
39180
39181
39182
39183
39184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39185 $as_echo_n "checking for fmodl declaration... " >&6; }
39186 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39187 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39188 $as_echo_n "(cached) " >&6
39189 else
39190
39191
39192 ac_ext=cpp
39193 ac_cpp='$CXXCPP $CPPFLAGS'
39194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39197
39198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39199 /* end confdefs.h. */
39200 #include <math.h>
39201 int
39202 main ()
39203 {
39204 fmodl(0, 0);
39205 ;
39206 return 0;
39207 }
39208 _ACEOF
39209 if ac_fn_cxx_try_compile "$LINENO"; then :
39210 glibcxx_cv_func_fmodl_use=yes
39211 else
39212 glibcxx_cv_func_fmodl_use=no
39213 fi
39214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39215 ac_ext=c
39216 ac_cpp='$CPP $CPPFLAGS'
39217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39220
39221
39222 fi
39223
39224 fi
39225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39226 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39227
39228 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39229 for ac_func in fmodl
39230 do :
39231 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39232 if test "x$ac_cv_func_fmodl" = x""yes; then :
39233 cat >>confdefs.h <<_ACEOF
39234 #define HAVE_FMODL 1
39235 _ACEOF
39236
39237 fi
39238 done
39239
39240 else
39241
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39243 $as_echo_n "checking for _fmodl declaration... " >&6; }
39244 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39245 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39246 $as_echo_n "(cached) " >&6
39247 else
39248
39249
39250 ac_ext=cpp
39251 ac_cpp='$CXXCPP $CPPFLAGS'
39252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39255
39256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39257 /* end confdefs.h. */
39258 #include <math.h>
39259 int
39260 main ()
39261 {
39262 _fmodl(0, 0);
39263 ;
39264 return 0;
39265 }
39266 _ACEOF
39267 if ac_fn_cxx_try_compile "$LINENO"; then :
39268 glibcxx_cv_func__fmodl_use=yes
39269 else
39270 glibcxx_cv_func__fmodl_use=no
39271 fi
39272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39273 ac_ext=c
39274 ac_cpp='$CPP $CPPFLAGS'
39275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39278
39279
39280 fi
39281
39282 fi
39283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39284 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39285
39286 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39287 for ac_func in _fmodl
39288 do :
39289 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39290 if test "x$ac_cv_func__fmodl" = x""yes; then :
39291 cat >>confdefs.h <<_ACEOF
39292 #define HAVE__FMODL 1
39293 _ACEOF
39294
39295 fi
39296 done
39297
39298 fi
39299 fi
39300
39301
39302
39303
39304
39305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39306 $as_echo_n "checking for frexpl declaration... " >&6; }
39307 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39308 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39309 $as_echo_n "(cached) " >&6
39310 else
39311
39312
39313 ac_ext=cpp
39314 ac_cpp='$CXXCPP $CPPFLAGS'
39315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39318
39319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39320 /* end confdefs.h. */
39321 #include <math.h>
39322 int
39323 main ()
39324 {
39325 frexpl(0, 0);
39326 ;
39327 return 0;
39328 }
39329 _ACEOF
39330 if ac_fn_cxx_try_compile "$LINENO"; then :
39331 glibcxx_cv_func_frexpl_use=yes
39332 else
39333 glibcxx_cv_func_frexpl_use=no
39334 fi
39335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39336 ac_ext=c
39337 ac_cpp='$CPP $CPPFLAGS'
39338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39341
39342
39343 fi
39344
39345 fi
39346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39347 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39348
39349 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39350 for ac_func in frexpl
39351 do :
39352 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39353 if test "x$ac_cv_func_frexpl" = x""yes; then :
39354 cat >>confdefs.h <<_ACEOF
39355 #define HAVE_FREXPL 1
39356 _ACEOF
39357
39358 fi
39359 done
39360
39361 else
39362
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39364 $as_echo_n "checking for _frexpl declaration... " >&6; }
39365 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39366 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39367 $as_echo_n "(cached) " >&6
39368 else
39369
39370
39371 ac_ext=cpp
39372 ac_cpp='$CXXCPP $CPPFLAGS'
39373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39376
39377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39378 /* end confdefs.h. */
39379 #include <math.h>
39380 int
39381 main ()
39382 {
39383 _frexpl(0, 0);
39384 ;
39385 return 0;
39386 }
39387 _ACEOF
39388 if ac_fn_cxx_try_compile "$LINENO"; then :
39389 glibcxx_cv_func__frexpl_use=yes
39390 else
39391 glibcxx_cv_func__frexpl_use=no
39392 fi
39393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39394 ac_ext=c
39395 ac_cpp='$CPP $CPPFLAGS'
39396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39399
39400
39401 fi
39402
39403 fi
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39405 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39406
39407 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39408 for ac_func in _frexpl
39409 do :
39410 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39411 if test "x$ac_cv_func__frexpl" = x""yes; then :
39412 cat >>confdefs.h <<_ACEOF
39413 #define HAVE__FREXPL 1
39414 _ACEOF
39415
39416 fi
39417 done
39418
39419 fi
39420 fi
39421
39422
39423
39424
39425
39426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39427 $as_echo_n "checking for hypotl declaration... " >&6; }
39428 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39429 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39430 $as_echo_n "(cached) " >&6
39431 else
39432
39433
39434 ac_ext=cpp
39435 ac_cpp='$CXXCPP $CPPFLAGS'
39436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39439
39440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39441 /* end confdefs.h. */
39442 #include <math.h>
39443 int
39444 main ()
39445 {
39446 hypotl(0, 0);
39447 ;
39448 return 0;
39449 }
39450 _ACEOF
39451 if ac_fn_cxx_try_compile "$LINENO"; then :
39452 glibcxx_cv_func_hypotl_use=yes
39453 else
39454 glibcxx_cv_func_hypotl_use=no
39455 fi
39456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39457 ac_ext=c
39458 ac_cpp='$CPP $CPPFLAGS'
39459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39462
39463
39464 fi
39465
39466 fi
39467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39468 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39469
39470 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39471 for ac_func in hypotl
39472 do :
39473 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39474 if test "x$ac_cv_func_hypotl" = x""yes; then :
39475 cat >>confdefs.h <<_ACEOF
39476 #define HAVE_HYPOTL 1
39477 _ACEOF
39478
39479 fi
39480 done
39481
39482 else
39483
39484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39485 $as_echo_n "checking for _hypotl declaration... " >&6; }
39486 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39487 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39488 $as_echo_n "(cached) " >&6
39489 else
39490
39491
39492 ac_ext=cpp
39493 ac_cpp='$CXXCPP $CPPFLAGS'
39494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39497
39498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39499 /* end confdefs.h. */
39500 #include <math.h>
39501 int
39502 main ()
39503 {
39504 _hypotl(0, 0);
39505 ;
39506 return 0;
39507 }
39508 _ACEOF
39509 if ac_fn_cxx_try_compile "$LINENO"; then :
39510 glibcxx_cv_func__hypotl_use=yes
39511 else
39512 glibcxx_cv_func__hypotl_use=no
39513 fi
39514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39515 ac_ext=c
39516 ac_cpp='$CPP $CPPFLAGS'
39517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39520
39521
39522 fi
39523
39524 fi
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39526 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39527
39528 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39529 for ac_func in _hypotl
39530 do :
39531 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39532 if test "x$ac_cv_func__hypotl" = x""yes; then :
39533 cat >>confdefs.h <<_ACEOF
39534 #define HAVE__HYPOTL 1
39535 _ACEOF
39536
39537 fi
39538 done
39539
39540 fi
39541 fi
39542
39543
39544
39545
39546
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39548 $as_echo_n "checking for ldexpl declaration... " >&6; }
39549 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39550 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39551 $as_echo_n "(cached) " >&6
39552 else
39553
39554
39555 ac_ext=cpp
39556 ac_cpp='$CXXCPP $CPPFLAGS'
39557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39560
39561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39562 /* end confdefs.h. */
39563 #include <math.h>
39564 int
39565 main ()
39566 {
39567 ldexpl(0, 0);
39568 ;
39569 return 0;
39570 }
39571 _ACEOF
39572 if ac_fn_cxx_try_compile "$LINENO"; then :
39573 glibcxx_cv_func_ldexpl_use=yes
39574 else
39575 glibcxx_cv_func_ldexpl_use=no
39576 fi
39577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39578 ac_ext=c
39579 ac_cpp='$CPP $CPPFLAGS'
39580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39583
39584
39585 fi
39586
39587 fi
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39589 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39590
39591 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39592 for ac_func in ldexpl
39593 do :
39594 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39595 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39596 cat >>confdefs.h <<_ACEOF
39597 #define HAVE_LDEXPL 1
39598 _ACEOF
39599
39600 fi
39601 done
39602
39603 else
39604
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39606 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39607 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39608 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39609 $as_echo_n "(cached) " >&6
39610 else
39611
39612
39613 ac_ext=cpp
39614 ac_cpp='$CXXCPP $CPPFLAGS'
39615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39618
39619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39620 /* end confdefs.h. */
39621 #include <math.h>
39622 int
39623 main ()
39624 {
39625 _ldexpl(0, 0);
39626 ;
39627 return 0;
39628 }
39629 _ACEOF
39630 if ac_fn_cxx_try_compile "$LINENO"; then :
39631 glibcxx_cv_func__ldexpl_use=yes
39632 else
39633 glibcxx_cv_func__ldexpl_use=no
39634 fi
39635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39636 ac_ext=c
39637 ac_cpp='$CPP $CPPFLAGS'
39638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39641
39642
39643 fi
39644
39645 fi
39646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39647 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39648
39649 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39650 for ac_func in _ldexpl
39651 do :
39652 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39653 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39654 cat >>confdefs.h <<_ACEOF
39655 #define HAVE__LDEXPL 1
39656 _ACEOF
39657
39658 fi
39659 done
39660
39661 fi
39662 fi
39663
39664
39665
39666
39667
39668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39669 $as_echo_n "checking for logl declaration... " >&6; }
39670 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39671 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39672 $as_echo_n "(cached) " >&6
39673 else
39674
39675
39676 ac_ext=cpp
39677 ac_cpp='$CXXCPP $CPPFLAGS'
39678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39681
39682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39683 /* end confdefs.h. */
39684 #include <math.h>
39685 #ifdef HAVE_IEEEFP_H
39686 #include <ieeefp.h>
39687 #endif
39688
39689 int
39690 main ()
39691 {
39692 logl(0);
39693 ;
39694 return 0;
39695 }
39696 _ACEOF
39697 if ac_fn_cxx_try_compile "$LINENO"; then :
39698 glibcxx_cv_func_logl_use=yes
39699 else
39700 glibcxx_cv_func_logl_use=no
39701 fi
39702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39703 ac_ext=c
39704 ac_cpp='$CPP $CPPFLAGS'
39705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39708
39709
39710 fi
39711
39712 fi
39713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39714 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39715
39716 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39717 for ac_func in logl
39718 do :
39719 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39720 if test "x$ac_cv_func_logl" = x""yes; then :
39721 cat >>confdefs.h <<_ACEOF
39722 #define HAVE_LOGL 1
39723 _ACEOF
39724
39725 fi
39726 done
39727
39728 else
39729
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39731 $as_echo_n "checking for _logl declaration... " >&6; }
39732 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39733 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39734 $as_echo_n "(cached) " >&6
39735 else
39736
39737
39738 ac_ext=cpp
39739 ac_cpp='$CXXCPP $CPPFLAGS'
39740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39743
39744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39745 /* end confdefs.h. */
39746 #include <math.h>
39747 #ifdef HAVE_IEEEFP_H
39748 #include <ieeefp.h>
39749 #endif
39750
39751 int
39752 main ()
39753 {
39754 _logl(0);
39755 ;
39756 return 0;
39757 }
39758 _ACEOF
39759 if ac_fn_cxx_try_compile "$LINENO"; then :
39760 glibcxx_cv_func__logl_use=yes
39761 else
39762 glibcxx_cv_func__logl_use=no
39763 fi
39764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39765 ac_ext=c
39766 ac_cpp='$CPP $CPPFLAGS'
39767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39770
39771
39772 fi
39773
39774 fi
39775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39776 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39777
39778 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39779 for ac_func in _logl
39780 do :
39781 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39782 if test "x$ac_cv_func__logl" = x""yes; then :
39783 cat >>confdefs.h <<_ACEOF
39784 #define HAVE__LOGL 1
39785 _ACEOF
39786
39787 fi
39788 done
39789
39790 fi
39791 fi
39792
39793
39794
39795
39796
39797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39798 $as_echo_n "checking for log10l declaration... " >&6; }
39799 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39800 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39801 $as_echo_n "(cached) " >&6
39802 else
39803
39804
39805 ac_ext=cpp
39806 ac_cpp='$CXXCPP $CPPFLAGS'
39807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39810
39811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39812 /* end confdefs.h. */
39813 #include <math.h>
39814 #ifdef HAVE_IEEEFP_H
39815 #include <ieeefp.h>
39816 #endif
39817
39818 int
39819 main ()
39820 {
39821 log10l(0);
39822 ;
39823 return 0;
39824 }
39825 _ACEOF
39826 if ac_fn_cxx_try_compile "$LINENO"; then :
39827 glibcxx_cv_func_log10l_use=yes
39828 else
39829 glibcxx_cv_func_log10l_use=no
39830 fi
39831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39832 ac_ext=c
39833 ac_cpp='$CPP $CPPFLAGS'
39834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39837
39838
39839 fi
39840
39841 fi
39842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39843 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39844
39845 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39846 for ac_func in log10l
39847 do :
39848 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39849 if test "x$ac_cv_func_log10l" = x""yes; then :
39850 cat >>confdefs.h <<_ACEOF
39851 #define HAVE_LOG10L 1
39852 _ACEOF
39853
39854 fi
39855 done
39856
39857 else
39858
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39860 $as_echo_n "checking for _log10l declaration... " >&6; }
39861 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39862 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39863 $as_echo_n "(cached) " >&6
39864 else
39865
39866
39867 ac_ext=cpp
39868 ac_cpp='$CXXCPP $CPPFLAGS'
39869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39872
39873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39874 /* end confdefs.h. */
39875 #include <math.h>
39876 #ifdef HAVE_IEEEFP_H
39877 #include <ieeefp.h>
39878 #endif
39879
39880 int
39881 main ()
39882 {
39883 _log10l(0);
39884 ;
39885 return 0;
39886 }
39887 _ACEOF
39888 if ac_fn_cxx_try_compile "$LINENO"; then :
39889 glibcxx_cv_func__log10l_use=yes
39890 else
39891 glibcxx_cv_func__log10l_use=no
39892 fi
39893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39894 ac_ext=c
39895 ac_cpp='$CPP $CPPFLAGS'
39896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39899
39900
39901 fi
39902
39903 fi
39904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39905 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39906
39907 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39908 for ac_func in _log10l
39909 do :
39910 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39911 if test "x$ac_cv_func__log10l" = x""yes; then :
39912 cat >>confdefs.h <<_ACEOF
39913 #define HAVE__LOG10L 1
39914 _ACEOF
39915
39916 fi
39917 done
39918
39919 fi
39920 fi
39921
39922
39923
39924
39925
39926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39927 $as_echo_n "checking for modfl declaration... " >&6; }
39928 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39929 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39930 $as_echo_n "(cached) " >&6
39931 else
39932
39933
39934 ac_ext=cpp
39935 ac_cpp='$CXXCPP $CPPFLAGS'
39936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39939
39940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39941 /* end confdefs.h. */
39942 #include <math.h>
39943 int
39944 main ()
39945 {
39946 modfl(0, 0);
39947 ;
39948 return 0;
39949 }
39950 _ACEOF
39951 if ac_fn_cxx_try_compile "$LINENO"; then :
39952 glibcxx_cv_func_modfl_use=yes
39953 else
39954 glibcxx_cv_func_modfl_use=no
39955 fi
39956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39957 ac_ext=c
39958 ac_cpp='$CPP $CPPFLAGS'
39959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39962
39963
39964 fi
39965
39966 fi
39967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39968 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39969
39970 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39971 for ac_func in modfl
39972 do :
39973 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39974 if test "x$ac_cv_func_modfl" = x""yes; then :
39975 cat >>confdefs.h <<_ACEOF
39976 #define HAVE_MODFL 1
39977 _ACEOF
39978
39979 fi
39980 done
39981
39982 else
39983
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39985 $as_echo_n "checking for _modfl declaration... " >&6; }
39986 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39987 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39988 $as_echo_n "(cached) " >&6
39989 else
39990
39991
39992 ac_ext=cpp
39993 ac_cpp='$CXXCPP $CPPFLAGS'
39994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39997
39998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39999 /* end confdefs.h. */
40000 #include <math.h>
40001 int
40002 main ()
40003 {
40004 _modfl(0, 0);
40005 ;
40006 return 0;
40007 }
40008 _ACEOF
40009 if ac_fn_cxx_try_compile "$LINENO"; then :
40010 glibcxx_cv_func__modfl_use=yes
40011 else
40012 glibcxx_cv_func__modfl_use=no
40013 fi
40014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40015 ac_ext=c
40016 ac_cpp='$CPP $CPPFLAGS'
40017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40020
40021
40022 fi
40023
40024 fi
40025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40026 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40027
40028 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40029 for ac_func in _modfl
40030 do :
40031 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40032 if test "x$ac_cv_func__modfl" = x""yes; then :
40033 cat >>confdefs.h <<_ACEOF
40034 #define HAVE__MODFL 1
40035 _ACEOF
40036
40037 fi
40038 done
40039
40040 fi
40041 fi
40042
40043
40044
40045
40046
40047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40048 $as_echo_n "checking for powl declaration... " >&6; }
40049 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40050 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40051 $as_echo_n "(cached) " >&6
40052 else
40053
40054
40055 ac_ext=cpp
40056 ac_cpp='$CXXCPP $CPPFLAGS'
40057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40060
40061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40062 /* end confdefs.h. */
40063 #include <math.h>
40064 int
40065 main ()
40066 {
40067 powl(0, 0);
40068 ;
40069 return 0;
40070 }
40071 _ACEOF
40072 if ac_fn_cxx_try_compile "$LINENO"; then :
40073 glibcxx_cv_func_powl_use=yes
40074 else
40075 glibcxx_cv_func_powl_use=no
40076 fi
40077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40078 ac_ext=c
40079 ac_cpp='$CPP $CPPFLAGS'
40080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40083
40084
40085 fi
40086
40087 fi
40088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40089 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40090
40091 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40092 for ac_func in powl
40093 do :
40094 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40095 if test "x$ac_cv_func_powl" = x""yes; then :
40096 cat >>confdefs.h <<_ACEOF
40097 #define HAVE_POWL 1
40098 _ACEOF
40099
40100 fi
40101 done
40102
40103 else
40104
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40106 $as_echo_n "checking for _powl declaration... " >&6; }
40107 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40108 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40109 $as_echo_n "(cached) " >&6
40110 else
40111
40112
40113 ac_ext=cpp
40114 ac_cpp='$CXXCPP $CPPFLAGS'
40115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40118
40119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40120 /* end confdefs.h. */
40121 #include <math.h>
40122 int
40123 main ()
40124 {
40125 _powl(0, 0);
40126 ;
40127 return 0;
40128 }
40129 _ACEOF
40130 if ac_fn_cxx_try_compile "$LINENO"; then :
40131 glibcxx_cv_func__powl_use=yes
40132 else
40133 glibcxx_cv_func__powl_use=no
40134 fi
40135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40136 ac_ext=c
40137 ac_cpp='$CPP $CPPFLAGS'
40138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40141
40142
40143 fi
40144
40145 fi
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40147 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40148
40149 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40150 for ac_func in _powl
40151 do :
40152 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40153 if test "x$ac_cv_func__powl" = x""yes; then :
40154 cat >>confdefs.h <<_ACEOF
40155 #define HAVE__POWL 1
40156 _ACEOF
40157
40158 fi
40159 done
40160
40161 fi
40162 fi
40163
40164
40165
40166
40167
40168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40169 $as_echo_n "checking for sqrtl declaration... " >&6; }
40170 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40171 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40172 $as_echo_n "(cached) " >&6
40173 else
40174
40175
40176 ac_ext=cpp
40177 ac_cpp='$CXXCPP $CPPFLAGS'
40178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40181
40182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40183 /* end confdefs.h. */
40184 #include <math.h>
40185 #ifdef HAVE_IEEEFP_H
40186 #include <ieeefp.h>
40187 #endif
40188
40189 int
40190 main ()
40191 {
40192 sqrtl(0);
40193 ;
40194 return 0;
40195 }
40196 _ACEOF
40197 if ac_fn_cxx_try_compile "$LINENO"; then :
40198 glibcxx_cv_func_sqrtl_use=yes
40199 else
40200 glibcxx_cv_func_sqrtl_use=no
40201 fi
40202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40203 ac_ext=c
40204 ac_cpp='$CPP $CPPFLAGS'
40205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40208
40209
40210 fi
40211
40212 fi
40213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40214 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40215
40216 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40217 for ac_func in sqrtl
40218 do :
40219 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40220 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40221 cat >>confdefs.h <<_ACEOF
40222 #define HAVE_SQRTL 1
40223 _ACEOF
40224
40225 fi
40226 done
40227
40228 else
40229
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40231 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40232 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40233 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40234 $as_echo_n "(cached) " >&6
40235 else
40236
40237
40238 ac_ext=cpp
40239 ac_cpp='$CXXCPP $CPPFLAGS'
40240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40243
40244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40245 /* end confdefs.h. */
40246 #include <math.h>
40247 #ifdef HAVE_IEEEFP_H
40248 #include <ieeefp.h>
40249 #endif
40250
40251 int
40252 main ()
40253 {
40254 _sqrtl(0);
40255 ;
40256 return 0;
40257 }
40258 _ACEOF
40259 if ac_fn_cxx_try_compile "$LINENO"; then :
40260 glibcxx_cv_func__sqrtl_use=yes
40261 else
40262 glibcxx_cv_func__sqrtl_use=no
40263 fi
40264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40265 ac_ext=c
40266 ac_cpp='$CPP $CPPFLAGS'
40267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40270
40271
40272 fi
40273
40274 fi
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40276 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40277
40278 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40279 for ac_func in _sqrtl
40280 do :
40281 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40282 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40283 cat >>confdefs.h <<_ACEOF
40284 #define HAVE__SQRTL 1
40285 _ACEOF
40286
40287 fi
40288 done
40289
40290 fi
40291 fi
40292
40293
40294
40295
40296
40297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40298 $as_echo_n "checking for sincosl declaration... " >&6; }
40299 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40300 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40301 $as_echo_n "(cached) " >&6
40302 else
40303
40304
40305 ac_ext=cpp
40306 ac_cpp='$CXXCPP $CPPFLAGS'
40307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40310
40311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40312 /* end confdefs.h. */
40313 #include <math.h>
40314 int
40315 main ()
40316 {
40317 sincosl(0, 0, 0);
40318 ;
40319 return 0;
40320 }
40321 _ACEOF
40322 if ac_fn_cxx_try_compile "$LINENO"; then :
40323 glibcxx_cv_func_sincosl_use=yes
40324 else
40325 glibcxx_cv_func_sincosl_use=no
40326 fi
40327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40328 ac_ext=c
40329 ac_cpp='$CPP $CPPFLAGS'
40330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40333
40334
40335 fi
40336
40337 fi
40338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40339 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40340
40341 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40342 for ac_func in sincosl
40343 do :
40344 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40345 if test "x$ac_cv_func_sincosl" = x""yes; then :
40346 cat >>confdefs.h <<_ACEOF
40347 #define HAVE_SINCOSL 1
40348 _ACEOF
40349
40350 fi
40351 done
40352
40353 else
40354
40355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40356 $as_echo_n "checking for _sincosl declaration... " >&6; }
40357 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40358 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40359 $as_echo_n "(cached) " >&6
40360 else
40361
40362
40363 ac_ext=cpp
40364 ac_cpp='$CXXCPP $CPPFLAGS'
40365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40368
40369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40370 /* end confdefs.h. */
40371 #include <math.h>
40372 int
40373 main ()
40374 {
40375 _sincosl(0, 0, 0);
40376 ;
40377 return 0;
40378 }
40379 _ACEOF
40380 if ac_fn_cxx_try_compile "$LINENO"; then :
40381 glibcxx_cv_func__sincosl_use=yes
40382 else
40383 glibcxx_cv_func__sincosl_use=no
40384 fi
40385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40386 ac_ext=c
40387 ac_cpp='$CPP $CPPFLAGS'
40388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40391
40392
40393 fi
40394
40395 fi
40396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40397 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40398
40399 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40400 for ac_func in _sincosl
40401 do :
40402 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40403 if test "x$ac_cv_func__sincosl" = x""yes; then :
40404 cat >>confdefs.h <<_ACEOF
40405 #define HAVE__SINCOSL 1
40406 _ACEOF
40407
40408 fi
40409 done
40410
40411 fi
40412 fi
40413
40414
40415
40416
40417
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40419 $as_echo_n "checking for finitel declaration... " >&6; }
40420 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40421 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40422 $as_echo_n "(cached) " >&6
40423 else
40424
40425
40426 ac_ext=cpp
40427 ac_cpp='$CXXCPP $CPPFLAGS'
40428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40431
40432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40433 /* end confdefs.h. */
40434 #include <math.h>
40435 #ifdef HAVE_IEEEFP_H
40436 #include <ieeefp.h>
40437 #endif
40438
40439 int
40440 main ()
40441 {
40442 finitel(0);
40443 ;
40444 return 0;
40445 }
40446 _ACEOF
40447 if ac_fn_cxx_try_compile "$LINENO"; then :
40448 glibcxx_cv_func_finitel_use=yes
40449 else
40450 glibcxx_cv_func_finitel_use=no
40451 fi
40452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453 ac_ext=c
40454 ac_cpp='$CPP $CPPFLAGS'
40455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40458
40459
40460 fi
40461
40462 fi
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40464 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40465
40466 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40467 for ac_func in finitel
40468 do :
40469 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40470 if test "x$ac_cv_func_finitel" = x""yes; then :
40471 cat >>confdefs.h <<_ACEOF
40472 #define HAVE_FINITEL 1
40473 _ACEOF
40474
40475 fi
40476 done
40477
40478 else
40479
40480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40481 $as_echo_n "checking for _finitel declaration... " >&6; }
40482 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40483 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40484 $as_echo_n "(cached) " >&6
40485 else
40486
40487
40488 ac_ext=cpp
40489 ac_cpp='$CXXCPP $CPPFLAGS'
40490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40493
40494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40495 /* end confdefs.h. */
40496 #include <math.h>
40497 #ifdef HAVE_IEEEFP_H
40498 #include <ieeefp.h>
40499 #endif
40500
40501 int
40502 main ()
40503 {
40504 _finitel(0);
40505 ;
40506 return 0;
40507 }
40508 _ACEOF
40509 if ac_fn_cxx_try_compile "$LINENO"; then :
40510 glibcxx_cv_func__finitel_use=yes
40511 else
40512 glibcxx_cv_func__finitel_use=no
40513 fi
40514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40515 ac_ext=c
40516 ac_cpp='$CPP $CPPFLAGS'
40517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40520
40521
40522 fi
40523
40524 fi
40525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40526 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40527
40528 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40529 for ac_func in _finitel
40530 do :
40531 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40532 if test "x$ac_cv_func__finitel" = x""yes; then :
40533 cat >>confdefs.h <<_ACEOF
40534 #define HAVE__FINITEL 1
40535 _ACEOF
40536
40537 fi
40538 done
40539
40540 fi
40541 fi
40542
40543
40544
40545
40546 LIBS="$ac_save_LIBS"
40547 CXXFLAGS="$ac_save_CXXFLAGS"
40548
40549
40550 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40551 ac_save_CXXFLAGS="$CXXFLAGS"
40552 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40553
40554
40555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40556 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40557 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40558 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40559 $as_echo_n "(cached) " >&6
40560 else
40561
40562
40563 ac_ext=cpp
40564 ac_cpp='$CXXCPP $CPPFLAGS'
40565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40568
40569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40570 /* end confdefs.h. */
40571 #include <stdlib.h>
40572 int
40573 main ()
40574 {
40575 at_quick_exit(0);
40576 ;
40577 return 0;
40578 }
40579 _ACEOF
40580 if ac_fn_cxx_try_compile "$LINENO"; then :
40581 glibcxx_cv_func_at_quick_exit_use=yes
40582 else
40583 glibcxx_cv_func_at_quick_exit_use=no
40584 fi
40585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40586 ac_ext=c
40587 ac_cpp='$CPP $CPPFLAGS'
40588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40591
40592
40593 fi
40594
40595 fi
40596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40597 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40598 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40599 for ac_func in at_quick_exit
40600 do :
40601 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40602 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40603 cat >>confdefs.h <<_ACEOF
40604 #define HAVE_AT_QUICK_EXIT 1
40605 _ACEOF
40606
40607 fi
40608 done
40609
40610 fi
40611
40612
40613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40614 $as_echo_n "checking for quick_exit declaration... " >&6; }
40615 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40616 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40617 $as_echo_n "(cached) " >&6
40618 else
40619
40620
40621 ac_ext=cpp
40622 ac_cpp='$CXXCPP $CPPFLAGS'
40623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40626
40627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40628 /* end confdefs.h. */
40629 #include <stdlib.h>
40630 int
40631 main ()
40632 {
40633 quick_exit(0);
40634 ;
40635 return 0;
40636 }
40637 _ACEOF
40638 if ac_fn_cxx_try_compile "$LINENO"; then :
40639 glibcxx_cv_func_quick_exit_use=yes
40640 else
40641 glibcxx_cv_func_quick_exit_use=no
40642 fi
40643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40644 ac_ext=c
40645 ac_cpp='$CPP $CPPFLAGS'
40646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40649
40650
40651 fi
40652
40653 fi
40654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40655 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40656 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40657 for ac_func in quick_exit
40658 do :
40659 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40660 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40661 cat >>confdefs.h <<_ACEOF
40662 #define HAVE_QUICK_EXIT 1
40663 _ACEOF
40664
40665 fi
40666 done
40667
40668 fi
40669
40670
40671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40672 $as_echo_n "checking for strtold declaration... " >&6; }
40673 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40674 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40675 $as_echo_n "(cached) " >&6
40676 else
40677
40678
40679 ac_ext=cpp
40680 ac_cpp='$CXXCPP $CPPFLAGS'
40681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40684
40685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40686 /* end confdefs.h. */
40687 #include <stdlib.h>
40688 int
40689 main ()
40690 {
40691 strtold(0, 0);
40692 ;
40693 return 0;
40694 }
40695 _ACEOF
40696 if ac_fn_cxx_try_compile "$LINENO"; then :
40697 glibcxx_cv_func_strtold_use=yes
40698 else
40699 glibcxx_cv_func_strtold_use=no
40700 fi
40701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40702 ac_ext=c
40703 ac_cpp='$CPP $CPPFLAGS'
40704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40707
40708
40709 fi
40710
40711 fi
40712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40713 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40714 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40715 for ac_func in strtold
40716 do :
40717 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40718 if test "x$ac_cv_func_strtold" = x""yes; then :
40719 cat >>confdefs.h <<_ACEOF
40720 #define HAVE_STRTOLD 1
40721 _ACEOF
40722
40723 fi
40724 done
40725
40726 fi
40727
40728
40729
40730
40731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40732 $as_echo_n "checking for strtof declaration... " >&6; }
40733 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40734 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40735 $as_echo_n "(cached) " >&6
40736 else
40737
40738
40739 ac_ext=cpp
40740 ac_cpp='$CXXCPP $CPPFLAGS'
40741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40744
40745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40746 /* end confdefs.h. */
40747 #include <stdlib.h>
40748 int
40749 main ()
40750 {
40751 strtof(0, 0);
40752 ;
40753 return 0;
40754 }
40755 _ACEOF
40756 if ac_fn_cxx_try_compile "$LINENO"; then :
40757 glibcxx_cv_func_strtof_use=yes
40758 else
40759 glibcxx_cv_func_strtof_use=no
40760 fi
40761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40762 ac_ext=c
40763 ac_cpp='$CPP $CPPFLAGS'
40764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40767
40768
40769 fi
40770
40771 fi
40772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40773 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40774 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40775 for ac_func in strtof
40776 do :
40777 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40778 if test "x$ac_cv_func_strtof" = x""yes; then :
40779 cat >>confdefs.h <<_ACEOF
40780 #define HAVE_STRTOF 1
40781 _ACEOF
40782
40783 fi
40784 done
40785
40786 fi
40787
40788
40789
40790
40791 CXXFLAGS="$ac_save_CXXFLAGS"
40792
40793
40794
40795
40796
40797
40798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40799 $as_echo_n "checking for iconv... " >&6; }
40800 if test "${am_cv_func_iconv+set}" = set; then :
40801 $as_echo_n "(cached) " >&6
40802 else
40803
40804 am_cv_func_iconv="no, consider installing GNU libiconv"
40805 am_cv_lib_iconv=no
40806 am_save_CPPFLAGS="$CPPFLAGS"
40807 CPPFLAGS="$CPPFLAGS $INCICONV"
40808 if test x$gcc_no_link = xyes; then
40809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40810 fi
40811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40812 /* end confdefs.h. */
40813 #include <stdlib.h>
40814 #include <iconv.h>
40815 int
40816 main ()
40817 {
40818 iconv_t cd = iconv_open("","");
40819 iconv(cd,NULL,NULL,NULL,NULL);
40820 iconv_close(cd);
40821 ;
40822 return 0;
40823 }
40824 _ACEOF
40825 if ac_fn_c_try_link "$LINENO"; then :
40826 am_cv_func_iconv=yes
40827 fi
40828 rm -f core conftest.err conftest.$ac_objext \
40829 conftest$ac_exeext conftest.$ac_ext
40830 CPPFLAGS="$am_save_CPPFLAGS"
40831
40832 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40833 for _libs in .libs _libs; do
40834 am_save_CPPFLAGS="$CPPFLAGS"
40835 am_save_LIBS="$LIBS"
40836 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40837 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40838 if test x$gcc_no_link = xyes; then
40839 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40840 fi
40841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40842 /* end confdefs.h. */
40843 #include <stdlib.h>
40844 #include <iconv.h>
40845 int
40846 main ()
40847 {
40848 iconv_t cd = iconv_open("","");
40849 iconv(cd,NULL,NULL,NULL,NULL);
40850 iconv_close(cd);
40851 ;
40852 return 0;
40853 }
40854 _ACEOF
40855 if ac_fn_c_try_link "$LINENO"; then :
40856 INCICONV="-I../libiconv/include"
40857 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40858 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40859 am_cv_lib_iconv=yes
40860 am_cv_func_iconv=yes
40861 fi
40862 rm -f core conftest.err conftest.$ac_objext \
40863 conftest$ac_exeext conftest.$ac_ext
40864 CPPFLAGS="$am_save_CPPFLAGS"
40865 LIBS="$am_save_LIBS"
40866 if test "$am_cv_func_iconv" = "yes"; then
40867 break
40868 fi
40869 done
40870 fi
40871
40872 if test "$am_cv_func_iconv" != yes; then
40873 am_save_CPPFLAGS="$CPPFLAGS"
40874 am_save_LIBS="$LIBS"
40875 CPPFLAGS="$LIBS $INCICONV"
40876 LIBS="$LIBS $LIBICONV"
40877 if test x$gcc_no_link = xyes; then
40878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40879 fi
40880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40881 /* end confdefs.h. */
40882 #include <stdlib.h>
40883 #include <iconv.h>
40884 int
40885 main ()
40886 {
40887 iconv_t cd = iconv_open("","");
40888 iconv(cd,NULL,NULL,NULL,NULL);
40889 iconv_close(cd);
40890 ;
40891 return 0;
40892 }
40893 _ACEOF
40894 if ac_fn_c_try_link "$LINENO"; then :
40895 am_cv_lib_iconv=yes
40896 am_cv_func_iconv=yes
40897 fi
40898 rm -f core conftest.err conftest.$ac_objext \
40899 conftest$ac_exeext conftest.$ac_ext
40900 CPPFLAGS="$am_save_CPPFLAGS"
40901 LIBS="$am_save_LIBS"
40902 fi
40903
40904 fi
40905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40906 $as_echo "$am_cv_func_iconv" >&6; }
40907 if test "$am_cv_func_iconv" = yes; then
40908
40909 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40910
40911 fi
40912 if test "$am_cv_lib_iconv" = yes; then
40913
40914 for element in $INCICONV; do
40915 haveit=
40916 for x in $CPPFLAGS; do
40917
40918 acl_save_prefix="$prefix"
40919 prefix="$acl_final_prefix"
40920 acl_save_exec_prefix="$exec_prefix"
40921 exec_prefix="$acl_final_exec_prefix"
40922 eval x=\"$x\"
40923 exec_prefix="$acl_save_exec_prefix"
40924 prefix="$acl_save_prefix"
40925
40926 if test "X$x" = "X$element"; then
40927 haveit=yes
40928 break
40929 fi
40930 done
40931 if test -z "$haveit"; then
40932 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40933 fi
40934 done
40935
40936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40937 $as_echo_n "checking how to link with libiconv... " >&6; }
40938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40939 $as_echo "$LIBICONV" >&6; }
40940 else
40941 LIBICONV=
40942 LTLIBICONV=
40943 fi
40944
40945
40946
40947 if test "$am_cv_func_iconv" = yes; then
40948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40949 $as_echo_n "checking for iconv declaration... " >&6; }
40950 if test "${am_cv_proto_iconv+set}" = set; then :
40951 $as_echo_n "(cached) " >&6
40952 else
40953
40954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 /* end confdefs.h. */
40956
40957 #include <stdlib.h>
40958 #include <iconv.h>
40959 extern
40960 #ifdef __cplusplus
40961 "C"
40962 #endif
40963 #if defined(__STDC__) || defined(__cplusplus)
40964 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40965 #else
40966 size_t iconv();
40967 #endif
40968
40969 int
40970 main ()
40971 {
40972
40973 ;
40974 return 0;
40975 }
40976 _ACEOF
40977 if ac_fn_c_try_compile "$LINENO"; then :
40978 am_cv_proto_iconv_arg1=""
40979 else
40980 am_cv_proto_iconv_arg1="const"
40981 fi
40982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40983 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);"
40984 fi
40985
40986 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40988 }$am_cv_proto_iconv" >&5
40989 $as_echo "${ac_t:-
40990 }$am_cv_proto_iconv" >&6; }
40991
40992 cat >>confdefs.h <<_ACEOF
40993 #define ICONV_CONST $am_cv_proto_iconv_arg1
40994 _ACEOF
40995
40996 fi
40997
40998 ;;
40999
41000 *-aix*)
41001
41002 # If we're not using GNU ld, then there's no point in even trying these
41003 # tests. Check for that first. We should have already tested for gld
41004 # by now (in libtool), but require it now just to be safe...
41005 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41006 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41007
41008
41009
41010 # The name set by libtool depends on the version of libtool. Shame on us
41011 # for depending on an impl detail, but c'est la vie. Older versions used
41012 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41013 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41014 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41015 # set (hence we're using an older libtool), then set it.
41016 if test x${with_gnu_ld+set} != xset; then
41017 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41018 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41019 with_gnu_ld=no
41020 else
41021 with_gnu_ld=$ac_cv_prog_gnu_ld
41022 fi
41023 fi
41024
41025 # Start by getting the version number. I think the libtool test already
41026 # does some of this, but throws away the result.
41027 glibcxx_ld_is_gold=no
41028 if test x"$with_gnu_ld" = x"yes"; then
41029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41030 $as_echo_n "checking for ld version... " >&6; }
41031
41032 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41033 glibcxx_ld_is_gold=yes
41034 fi
41035 ldver=`$LD --version 2>/dev/null |
41036 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'`
41037
41038 glibcxx_gnu_ld_version=`echo $ldver | \
41039 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41041 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41042 fi
41043
41044 # Set --gc-sections.
41045 glibcxx_have_gc_sections=no
41046 if test "$glibcxx_ld_is_gold" = "yes"; then
41047 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41048 glibcxx_have_gc_sections=yes
41049 fi
41050 else
41051 glibcxx_gcsections_min_ld=21602
41052 if test x"$with_gnu_ld" = x"yes" &&
41053 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41054 glibcxx_have_gc_sections=yes
41055 fi
41056 fi
41057 if test "$glibcxx_have_gc_sections" = "yes"; then
41058 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41059 # NB: This flag only works reliably after 2.16.1. Configure tests
41060 # for this are difficult, so hard wire a value that should work.
41061
41062 ac_test_CFLAGS="${CFLAGS+set}"
41063 ac_save_CFLAGS="$CFLAGS"
41064 CFLAGS='-Wl,--gc-sections'
41065
41066 # Check for -Wl,--gc-sections
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41068 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41069 if test x$gcc_no_link = xyes; then
41070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41071 fi
41072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41073 /* end confdefs.h. */
41074 int one(void) { return 1; }
41075 int two(void) { return 2; }
41076
41077 int
41078 main ()
41079 {
41080 two();
41081 ;
41082 return 0;
41083 }
41084 _ACEOF
41085 if ac_fn_c_try_link "$LINENO"; then :
41086 ac_gcsections=yes
41087 else
41088 ac_gcsections=no
41089 fi
41090 rm -f core conftest.err conftest.$ac_objext \
41091 conftest$ac_exeext conftest.$ac_ext
41092 if test "$ac_gcsections" = "yes"; then
41093 rm -f conftest.c
41094 touch conftest.c
41095 if $CC -c conftest.c; then
41096 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41097 grep "Warning: gc-sections option ignored" > /dev/null; then
41098 ac_gcsections=no
41099 fi
41100 fi
41101 rm -f conftest.c conftest.o conftest
41102 fi
41103 if test "$ac_gcsections" = "yes"; then
41104 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41105 fi
41106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41107 $as_echo "$ac_gcsections" >&6; }
41108
41109 if test "$ac_test_CFLAGS" = set; then
41110 CFLAGS="$ac_save_CFLAGS"
41111 else
41112 # this is the suspicious part
41113 CFLAGS=''
41114 fi
41115 fi
41116
41117 # Set -z,relro.
41118 # Note this is only for shared objects.
41119 ac_ld_relro=no
41120 if test x"$with_gnu_ld" = x"yes"; then
41121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41122 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41123 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41124 if test -n "$cxx_z_relo"; then
41125 OPT_LDFLAGS="-Wl,-z,relro"
41126 ac_ld_relro=yes
41127 fi
41128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41129 $as_echo "$ac_ld_relro" >&6; }
41130 fi
41131
41132 # Set linker optimization flags.
41133 if test x"$with_gnu_ld" = x"yes"; then
41134 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41135 fi
41136
41137
41138
41139
41140
41141 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41142 ac_save_CXXFLAGS="$CXXFLAGS"
41143 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41144
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41146 $as_echo_n "checking for sin in -lm... " >&6; }
41147 if test "${ac_cv_lib_m_sin+set}" = set; then :
41148 $as_echo_n "(cached) " >&6
41149 else
41150 ac_check_lib_save_LIBS=$LIBS
41151 LIBS="-lm $LIBS"
41152 if test x$gcc_no_link = xyes; then
41153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41154 fi
41155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41156 /* end confdefs.h. */
41157
41158 /* Override any GCC internal prototype to avoid an error.
41159 Use char because int might match the return type of a GCC
41160 builtin and then its argument prototype would still apply. */
41161 #ifdef __cplusplus
41162 extern "C"
41163 #endif
41164 char sin ();
41165 int
41166 main ()
41167 {
41168 return sin ();
41169 ;
41170 return 0;
41171 }
41172 _ACEOF
41173 if ac_fn_c_try_link "$LINENO"; then :
41174 ac_cv_lib_m_sin=yes
41175 else
41176 ac_cv_lib_m_sin=no
41177 fi
41178 rm -f core conftest.err conftest.$ac_objext \
41179 conftest$ac_exeext conftest.$ac_ext
41180 LIBS=$ac_check_lib_save_LIBS
41181 fi
41182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41183 $as_echo "$ac_cv_lib_m_sin" >&6; }
41184 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41185 libm="-lm"
41186 fi
41187
41188 ac_save_LIBS="$LIBS"
41189 LIBS="$LIBS $libm"
41190
41191
41192
41193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41194 $as_echo_n "checking for isinf declaration... " >&6; }
41195 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41196 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41197 $as_echo_n "(cached) " >&6
41198 else
41199
41200
41201 ac_ext=cpp
41202 ac_cpp='$CXXCPP $CPPFLAGS'
41203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41206
41207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41208 /* end confdefs.h. */
41209 #include <math.h>
41210 #ifdef HAVE_IEEEFP_H
41211 #include <ieeefp.h>
41212 #endif
41213
41214 int
41215 main ()
41216 {
41217 isinf(0);
41218 ;
41219 return 0;
41220 }
41221 _ACEOF
41222 if ac_fn_cxx_try_compile "$LINENO"; then :
41223 glibcxx_cv_func_isinf_use=yes
41224 else
41225 glibcxx_cv_func_isinf_use=no
41226 fi
41227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41228 ac_ext=c
41229 ac_cpp='$CPP $CPPFLAGS'
41230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41233
41234
41235 fi
41236
41237 fi
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41239 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41240
41241 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41242 for ac_func in isinf
41243 do :
41244 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41245 if test "x$ac_cv_func_isinf" = x""yes; then :
41246 cat >>confdefs.h <<_ACEOF
41247 #define HAVE_ISINF 1
41248 _ACEOF
41249
41250 fi
41251 done
41252
41253 else
41254
41255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41256 $as_echo_n "checking for _isinf declaration... " >&6; }
41257 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41258 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41259 $as_echo_n "(cached) " >&6
41260 else
41261
41262
41263 ac_ext=cpp
41264 ac_cpp='$CXXCPP $CPPFLAGS'
41265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41268
41269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41270 /* end confdefs.h. */
41271 #include <math.h>
41272 #ifdef HAVE_IEEEFP_H
41273 #include <ieeefp.h>
41274 #endif
41275
41276 int
41277 main ()
41278 {
41279 _isinf(0);
41280 ;
41281 return 0;
41282 }
41283 _ACEOF
41284 if ac_fn_cxx_try_compile "$LINENO"; then :
41285 glibcxx_cv_func__isinf_use=yes
41286 else
41287 glibcxx_cv_func__isinf_use=no
41288 fi
41289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41290 ac_ext=c
41291 ac_cpp='$CPP $CPPFLAGS'
41292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41295
41296
41297 fi
41298
41299 fi
41300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41301 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41302
41303 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41304 for ac_func in _isinf
41305 do :
41306 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41307 if test "x$ac_cv_func__isinf" = x""yes; then :
41308 cat >>confdefs.h <<_ACEOF
41309 #define HAVE__ISINF 1
41310 _ACEOF
41311
41312 fi
41313 done
41314
41315 fi
41316 fi
41317
41318
41319
41320
41321
41322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41323 $as_echo_n "checking for isnan declaration... " >&6; }
41324 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41325 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41326 $as_echo_n "(cached) " >&6
41327 else
41328
41329
41330 ac_ext=cpp
41331 ac_cpp='$CXXCPP $CPPFLAGS'
41332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41335
41336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41337 /* end confdefs.h. */
41338 #include <math.h>
41339 #ifdef HAVE_IEEEFP_H
41340 #include <ieeefp.h>
41341 #endif
41342
41343 int
41344 main ()
41345 {
41346 isnan(0);
41347 ;
41348 return 0;
41349 }
41350 _ACEOF
41351 if ac_fn_cxx_try_compile "$LINENO"; then :
41352 glibcxx_cv_func_isnan_use=yes
41353 else
41354 glibcxx_cv_func_isnan_use=no
41355 fi
41356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41357 ac_ext=c
41358 ac_cpp='$CPP $CPPFLAGS'
41359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41362
41363
41364 fi
41365
41366 fi
41367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41368 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41369
41370 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41371 for ac_func in isnan
41372 do :
41373 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41374 if test "x$ac_cv_func_isnan" = x""yes; then :
41375 cat >>confdefs.h <<_ACEOF
41376 #define HAVE_ISNAN 1
41377 _ACEOF
41378
41379 fi
41380 done
41381
41382 else
41383
41384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41385 $as_echo_n "checking for _isnan declaration... " >&6; }
41386 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41387 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41388 $as_echo_n "(cached) " >&6
41389 else
41390
41391
41392 ac_ext=cpp
41393 ac_cpp='$CXXCPP $CPPFLAGS'
41394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41397
41398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41399 /* end confdefs.h. */
41400 #include <math.h>
41401 #ifdef HAVE_IEEEFP_H
41402 #include <ieeefp.h>
41403 #endif
41404
41405 int
41406 main ()
41407 {
41408 _isnan(0);
41409 ;
41410 return 0;
41411 }
41412 _ACEOF
41413 if ac_fn_cxx_try_compile "$LINENO"; then :
41414 glibcxx_cv_func__isnan_use=yes
41415 else
41416 glibcxx_cv_func__isnan_use=no
41417 fi
41418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41419 ac_ext=c
41420 ac_cpp='$CPP $CPPFLAGS'
41421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41424
41425
41426 fi
41427
41428 fi
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41430 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41431
41432 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41433 for ac_func in _isnan
41434 do :
41435 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41436 if test "x$ac_cv_func__isnan" = x""yes; then :
41437 cat >>confdefs.h <<_ACEOF
41438 #define HAVE__ISNAN 1
41439 _ACEOF
41440
41441 fi
41442 done
41443
41444 fi
41445 fi
41446
41447
41448
41449
41450
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41452 $as_echo_n "checking for finite declaration... " >&6; }
41453 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41454 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41455 $as_echo_n "(cached) " >&6
41456 else
41457
41458
41459 ac_ext=cpp
41460 ac_cpp='$CXXCPP $CPPFLAGS'
41461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41464
41465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41466 /* end confdefs.h. */
41467 #include <math.h>
41468 #ifdef HAVE_IEEEFP_H
41469 #include <ieeefp.h>
41470 #endif
41471
41472 int
41473 main ()
41474 {
41475 finite(0);
41476 ;
41477 return 0;
41478 }
41479 _ACEOF
41480 if ac_fn_cxx_try_compile "$LINENO"; then :
41481 glibcxx_cv_func_finite_use=yes
41482 else
41483 glibcxx_cv_func_finite_use=no
41484 fi
41485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41486 ac_ext=c
41487 ac_cpp='$CPP $CPPFLAGS'
41488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41491
41492
41493 fi
41494
41495 fi
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41497 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41498
41499 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41500 for ac_func in finite
41501 do :
41502 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41503 if test "x$ac_cv_func_finite" = x""yes; then :
41504 cat >>confdefs.h <<_ACEOF
41505 #define HAVE_FINITE 1
41506 _ACEOF
41507
41508 fi
41509 done
41510
41511 else
41512
41513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41514 $as_echo_n "checking for _finite declaration... " >&6; }
41515 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41516 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41517 $as_echo_n "(cached) " >&6
41518 else
41519
41520
41521 ac_ext=cpp
41522 ac_cpp='$CXXCPP $CPPFLAGS'
41523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41526
41527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41528 /* end confdefs.h. */
41529 #include <math.h>
41530 #ifdef HAVE_IEEEFP_H
41531 #include <ieeefp.h>
41532 #endif
41533
41534 int
41535 main ()
41536 {
41537 _finite(0);
41538 ;
41539 return 0;
41540 }
41541 _ACEOF
41542 if ac_fn_cxx_try_compile "$LINENO"; then :
41543 glibcxx_cv_func__finite_use=yes
41544 else
41545 glibcxx_cv_func__finite_use=no
41546 fi
41547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41548 ac_ext=c
41549 ac_cpp='$CPP $CPPFLAGS'
41550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41553
41554
41555 fi
41556
41557 fi
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41559 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41560
41561 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41562 for ac_func in _finite
41563 do :
41564 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41565 if test "x$ac_cv_func__finite" = x""yes; then :
41566 cat >>confdefs.h <<_ACEOF
41567 #define HAVE__FINITE 1
41568 _ACEOF
41569
41570 fi
41571 done
41572
41573 fi
41574 fi
41575
41576
41577
41578
41579
41580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41581 $as_echo_n "checking for sincos declaration... " >&6; }
41582 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41583 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41584 $as_echo_n "(cached) " >&6
41585 else
41586
41587
41588 ac_ext=cpp
41589 ac_cpp='$CXXCPP $CPPFLAGS'
41590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41593
41594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41595 /* end confdefs.h. */
41596 #include <math.h>
41597 int
41598 main ()
41599 {
41600 sincos(0, 0, 0);
41601 ;
41602 return 0;
41603 }
41604 _ACEOF
41605 if ac_fn_cxx_try_compile "$LINENO"; then :
41606 glibcxx_cv_func_sincos_use=yes
41607 else
41608 glibcxx_cv_func_sincos_use=no
41609 fi
41610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41611 ac_ext=c
41612 ac_cpp='$CPP $CPPFLAGS'
41613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41616
41617
41618 fi
41619
41620 fi
41621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41622 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41623
41624 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41625 for ac_func in sincos
41626 do :
41627 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41628 if test "x$ac_cv_func_sincos" = x""yes; then :
41629 cat >>confdefs.h <<_ACEOF
41630 #define HAVE_SINCOS 1
41631 _ACEOF
41632
41633 fi
41634 done
41635
41636 else
41637
41638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41639 $as_echo_n "checking for _sincos declaration... " >&6; }
41640 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41641 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41642 $as_echo_n "(cached) " >&6
41643 else
41644
41645
41646 ac_ext=cpp
41647 ac_cpp='$CXXCPP $CPPFLAGS'
41648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41651
41652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41653 /* end confdefs.h. */
41654 #include <math.h>
41655 int
41656 main ()
41657 {
41658 _sincos(0, 0, 0);
41659 ;
41660 return 0;
41661 }
41662 _ACEOF
41663 if ac_fn_cxx_try_compile "$LINENO"; then :
41664 glibcxx_cv_func__sincos_use=yes
41665 else
41666 glibcxx_cv_func__sincos_use=no
41667 fi
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669 ac_ext=c
41670 ac_cpp='$CPP $CPPFLAGS'
41671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41674
41675
41676 fi
41677
41678 fi
41679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41680 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41681
41682 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41683 for ac_func in _sincos
41684 do :
41685 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41686 if test "x$ac_cv_func__sincos" = x""yes; then :
41687 cat >>confdefs.h <<_ACEOF
41688 #define HAVE__SINCOS 1
41689 _ACEOF
41690
41691 fi
41692 done
41693
41694 fi
41695 fi
41696
41697
41698
41699
41700
41701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41702 $as_echo_n "checking for fpclass declaration... " >&6; }
41703 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41704 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41705 $as_echo_n "(cached) " >&6
41706 else
41707
41708
41709 ac_ext=cpp
41710 ac_cpp='$CXXCPP $CPPFLAGS'
41711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41714
41715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41716 /* end confdefs.h. */
41717 #include <math.h>
41718 #ifdef HAVE_IEEEFP_H
41719 #include <ieeefp.h>
41720 #endif
41721
41722 int
41723 main ()
41724 {
41725 fpclass(0);
41726 ;
41727 return 0;
41728 }
41729 _ACEOF
41730 if ac_fn_cxx_try_compile "$LINENO"; then :
41731 glibcxx_cv_func_fpclass_use=yes
41732 else
41733 glibcxx_cv_func_fpclass_use=no
41734 fi
41735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41736 ac_ext=c
41737 ac_cpp='$CPP $CPPFLAGS'
41738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41741
41742
41743 fi
41744
41745 fi
41746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41747 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41748
41749 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41750 for ac_func in fpclass
41751 do :
41752 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41753 if test "x$ac_cv_func_fpclass" = x""yes; then :
41754 cat >>confdefs.h <<_ACEOF
41755 #define HAVE_FPCLASS 1
41756 _ACEOF
41757
41758 fi
41759 done
41760
41761 else
41762
41763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41764 $as_echo_n "checking for _fpclass declaration... " >&6; }
41765 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41766 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41767 $as_echo_n "(cached) " >&6
41768 else
41769
41770
41771 ac_ext=cpp
41772 ac_cpp='$CXXCPP $CPPFLAGS'
41773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41776
41777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41778 /* end confdefs.h. */
41779 #include <math.h>
41780 #ifdef HAVE_IEEEFP_H
41781 #include <ieeefp.h>
41782 #endif
41783
41784 int
41785 main ()
41786 {
41787 _fpclass(0);
41788 ;
41789 return 0;
41790 }
41791 _ACEOF
41792 if ac_fn_cxx_try_compile "$LINENO"; then :
41793 glibcxx_cv_func__fpclass_use=yes
41794 else
41795 glibcxx_cv_func__fpclass_use=no
41796 fi
41797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41798 ac_ext=c
41799 ac_cpp='$CPP $CPPFLAGS'
41800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41803
41804
41805 fi
41806
41807 fi
41808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41809 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41810
41811 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41812 for ac_func in _fpclass
41813 do :
41814 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41815 if test "x$ac_cv_func__fpclass" = x""yes; then :
41816 cat >>confdefs.h <<_ACEOF
41817 #define HAVE__FPCLASS 1
41818 _ACEOF
41819
41820 fi
41821 done
41822
41823 fi
41824 fi
41825
41826
41827
41828
41829
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41831 $as_echo_n "checking for qfpclass declaration... " >&6; }
41832 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41833 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41834 $as_echo_n "(cached) " >&6
41835 else
41836
41837
41838 ac_ext=cpp
41839 ac_cpp='$CXXCPP $CPPFLAGS'
41840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41843
41844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41845 /* end confdefs.h. */
41846 #include <math.h>
41847 #ifdef HAVE_IEEEFP_H
41848 #include <ieeefp.h>
41849 #endif
41850
41851 int
41852 main ()
41853 {
41854 qfpclass(0);
41855 ;
41856 return 0;
41857 }
41858 _ACEOF
41859 if ac_fn_cxx_try_compile "$LINENO"; then :
41860 glibcxx_cv_func_qfpclass_use=yes
41861 else
41862 glibcxx_cv_func_qfpclass_use=no
41863 fi
41864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41865 ac_ext=c
41866 ac_cpp='$CPP $CPPFLAGS'
41867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41870
41871
41872 fi
41873
41874 fi
41875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41876 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41877
41878 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41879 for ac_func in qfpclass
41880 do :
41881 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41882 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41883 cat >>confdefs.h <<_ACEOF
41884 #define HAVE_QFPCLASS 1
41885 _ACEOF
41886
41887 fi
41888 done
41889
41890 else
41891
41892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41893 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41894 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41895 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41896 $as_echo_n "(cached) " >&6
41897 else
41898
41899
41900 ac_ext=cpp
41901 ac_cpp='$CXXCPP $CPPFLAGS'
41902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41905
41906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41907 /* end confdefs.h. */
41908 #include <math.h>
41909 #ifdef HAVE_IEEEFP_H
41910 #include <ieeefp.h>
41911 #endif
41912
41913 int
41914 main ()
41915 {
41916 _qfpclass(0);
41917 ;
41918 return 0;
41919 }
41920 _ACEOF
41921 if ac_fn_cxx_try_compile "$LINENO"; then :
41922 glibcxx_cv_func__qfpclass_use=yes
41923 else
41924 glibcxx_cv_func__qfpclass_use=no
41925 fi
41926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41927 ac_ext=c
41928 ac_cpp='$CPP $CPPFLAGS'
41929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41932
41933
41934 fi
41935
41936 fi
41937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41938 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41939
41940 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41941 for ac_func in _qfpclass
41942 do :
41943 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41944 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41945 cat >>confdefs.h <<_ACEOF
41946 #define HAVE__QFPCLASS 1
41947 _ACEOF
41948
41949 fi
41950 done
41951
41952 fi
41953 fi
41954
41955
41956
41957
41958
41959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41960 $as_echo_n "checking for hypot declaration... " >&6; }
41961 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41962 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41963 $as_echo_n "(cached) " >&6
41964 else
41965
41966
41967 ac_ext=cpp
41968 ac_cpp='$CXXCPP $CPPFLAGS'
41969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41972
41973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41974 /* end confdefs.h. */
41975 #include <math.h>
41976 int
41977 main ()
41978 {
41979 hypot(0, 0);
41980 ;
41981 return 0;
41982 }
41983 _ACEOF
41984 if ac_fn_cxx_try_compile "$LINENO"; then :
41985 glibcxx_cv_func_hypot_use=yes
41986 else
41987 glibcxx_cv_func_hypot_use=no
41988 fi
41989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41990 ac_ext=c
41991 ac_cpp='$CPP $CPPFLAGS'
41992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41995
41996
41997 fi
41998
41999 fi
42000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42001 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42002
42003 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42004 for ac_func in hypot
42005 do :
42006 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42007 if test "x$ac_cv_func_hypot" = x""yes; then :
42008 cat >>confdefs.h <<_ACEOF
42009 #define HAVE_HYPOT 1
42010 _ACEOF
42011
42012 fi
42013 done
42014
42015 else
42016
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42018 $as_echo_n "checking for _hypot declaration... " >&6; }
42019 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42020 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42021 $as_echo_n "(cached) " >&6
42022 else
42023
42024
42025 ac_ext=cpp
42026 ac_cpp='$CXXCPP $CPPFLAGS'
42027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42030
42031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42032 /* end confdefs.h. */
42033 #include <math.h>
42034 int
42035 main ()
42036 {
42037 _hypot(0, 0);
42038 ;
42039 return 0;
42040 }
42041 _ACEOF
42042 if ac_fn_cxx_try_compile "$LINENO"; then :
42043 glibcxx_cv_func__hypot_use=yes
42044 else
42045 glibcxx_cv_func__hypot_use=no
42046 fi
42047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42048 ac_ext=c
42049 ac_cpp='$CPP $CPPFLAGS'
42050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42053
42054
42055 fi
42056
42057 fi
42058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42059 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42060
42061 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42062 for ac_func in _hypot
42063 do :
42064 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42065 if test "x$ac_cv_func__hypot" = x""yes; then :
42066 cat >>confdefs.h <<_ACEOF
42067 #define HAVE__HYPOT 1
42068 _ACEOF
42069
42070 fi
42071 done
42072
42073 fi
42074 fi
42075
42076
42077
42078
42079
42080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42081 $as_echo_n "checking for float trig functions... " >&6; }
42082 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42083 $as_echo_n "(cached) " >&6
42084 else
42085
42086
42087 ac_ext=cpp
42088 ac_cpp='$CXXCPP $CPPFLAGS'
42089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42092
42093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42094 /* end confdefs.h. */
42095 #include <math.h>
42096 int
42097 main ()
42098 {
42099 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42100 ;
42101 return 0;
42102 }
42103 _ACEOF
42104 if ac_fn_cxx_try_compile "$LINENO"; then :
42105 glibcxx_cv_func_float_trig_use=yes
42106 else
42107 glibcxx_cv_func_float_trig_use=no
42108 fi
42109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42110 ac_ext=c
42111 ac_cpp='$CPP $CPPFLAGS'
42112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42115
42116 fi
42117
42118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42119 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42120 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42121 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42122 do :
42123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42125 eval as_val=\$$as_ac_var
42126 if test "x$as_val" = x""yes; then :
42127 cat >>confdefs.h <<_ACEOF
42128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42129 _ACEOF
42130
42131 fi
42132 done
42133
42134 else
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42136 $as_echo_n "checking for _float trig functions... " >&6; }
42137 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42138 $as_echo_n "(cached) " >&6
42139 else
42140
42141
42142 ac_ext=cpp
42143 ac_cpp='$CXXCPP $CPPFLAGS'
42144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42147
42148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42149 /* end confdefs.h. */
42150 #include <math.h>
42151 int
42152 main ()
42153 {
42154 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42155 ;
42156 return 0;
42157 }
42158 _ACEOF
42159 if ac_fn_cxx_try_compile "$LINENO"; then :
42160 glibcxx_cv_func__float_trig_use=yes
42161 else
42162 glibcxx_cv_func__float_trig_use=no
42163 fi
42164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42165 ac_ext=c
42166 ac_cpp='$CPP $CPPFLAGS'
42167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42170
42171 fi
42172
42173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42174 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42175 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42176 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42177 do :
42178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42180 eval as_val=\$$as_ac_var
42181 if test "x$as_val" = x""yes; then :
42182 cat >>confdefs.h <<_ACEOF
42183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42184 _ACEOF
42185
42186 fi
42187 done
42188
42189 fi
42190 fi
42191
42192
42193
42194
42195
42196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42197 $as_echo_n "checking for float round functions... " >&6; }
42198 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42199 $as_echo_n "(cached) " >&6
42200 else
42201
42202
42203 ac_ext=cpp
42204 ac_cpp='$CXXCPP $CPPFLAGS'
42205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42208
42209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42210 /* end confdefs.h. */
42211 #include <math.h>
42212 int
42213 main ()
42214 {
42215 ceilf (0); floorf (0);
42216 ;
42217 return 0;
42218 }
42219 _ACEOF
42220 if ac_fn_cxx_try_compile "$LINENO"; then :
42221 glibcxx_cv_func_float_round_use=yes
42222 else
42223 glibcxx_cv_func_float_round_use=no
42224 fi
42225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42226 ac_ext=c
42227 ac_cpp='$CPP $CPPFLAGS'
42228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42231
42232 fi
42233
42234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42235 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42236 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42237 for ac_func in ceilf floorf
42238 do :
42239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42241 eval as_val=\$$as_ac_var
42242 if test "x$as_val" = x""yes; then :
42243 cat >>confdefs.h <<_ACEOF
42244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42245 _ACEOF
42246
42247 fi
42248 done
42249
42250 else
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42252 $as_echo_n "checking for _float round functions... " >&6; }
42253 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42254 $as_echo_n "(cached) " >&6
42255 else
42256
42257
42258 ac_ext=cpp
42259 ac_cpp='$CXXCPP $CPPFLAGS'
42260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42263
42264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42265 /* end confdefs.h. */
42266 #include <math.h>
42267 int
42268 main ()
42269 {
42270 _ceilf (0); _floorf (0);
42271 ;
42272 return 0;
42273 }
42274 _ACEOF
42275 if ac_fn_cxx_try_compile "$LINENO"; then :
42276 glibcxx_cv_func__float_round_use=yes
42277 else
42278 glibcxx_cv_func__float_round_use=no
42279 fi
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42281 ac_ext=c
42282 ac_cpp='$CPP $CPPFLAGS'
42283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42286
42287 fi
42288
42289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42290 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42291 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42292 for ac_func in _ceilf _floorf
42293 do :
42294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42296 eval as_val=\$$as_ac_var
42297 if test "x$as_val" = x""yes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42300 _ACEOF
42301
42302 fi
42303 done
42304
42305 fi
42306 fi
42307
42308
42309
42310
42311
42312
42313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42314 $as_echo_n "checking for expf declaration... " >&6; }
42315 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42316 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42317 $as_echo_n "(cached) " >&6
42318 else
42319
42320
42321 ac_ext=cpp
42322 ac_cpp='$CXXCPP $CPPFLAGS'
42323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42326
42327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42328 /* end confdefs.h. */
42329 #include <math.h>
42330 #ifdef HAVE_IEEEFP_H
42331 #include <ieeefp.h>
42332 #endif
42333
42334 int
42335 main ()
42336 {
42337 expf(0);
42338 ;
42339 return 0;
42340 }
42341 _ACEOF
42342 if ac_fn_cxx_try_compile "$LINENO"; then :
42343 glibcxx_cv_func_expf_use=yes
42344 else
42345 glibcxx_cv_func_expf_use=no
42346 fi
42347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42348 ac_ext=c
42349 ac_cpp='$CPP $CPPFLAGS'
42350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42353
42354
42355 fi
42356
42357 fi
42358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42359 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42360
42361 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42362 for ac_func in expf
42363 do :
42364 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42365 if test "x$ac_cv_func_expf" = x""yes; then :
42366 cat >>confdefs.h <<_ACEOF
42367 #define HAVE_EXPF 1
42368 _ACEOF
42369
42370 fi
42371 done
42372
42373 else
42374
42375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42376 $as_echo_n "checking for _expf declaration... " >&6; }
42377 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42378 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42379 $as_echo_n "(cached) " >&6
42380 else
42381
42382
42383 ac_ext=cpp
42384 ac_cpp='$CXXCPP $CPPFLAGS'
42385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42388
42389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42390 /* end confdefs.h. */
42391 #include <math.h>
42392 #ifdef HAVE_IEEEFP_H
42393 #include <ieeefp.h>
42394 #endif
42395
42396 int
42397 main ()
42398 {
42399 _expf(0);
42400 ;
42401 return 0;
42402 }
42403 _ACEOF
42404 if ac_fn_cxx_try_compile "$LINENO"; then :
42405 glibcxx_cv_func__expf_use=yes
42406 else
42407 glibcxx_cv_func__expf_use=no
42408 fi
42409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42410 ac_ext=c
42411 ac_cpp='$CPP $CPPFLAGS'
42412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42415
42416
42417 fi
42418
42419 fi
42420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42421 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42422
42423 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42424 for ac_func in _expf
42425 do :
42426 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42427 if test "x$ac_cv_func__expf" = x""yes; then :
42428 cat >>confdefs.h <<_ACEOF
42429 #define HAVE__EXPF 1
42430 _ACEOF
42431
42432 fi
42433 done
42434
42435 fi
42436 fi
42437
42438
42439
42440
42441
42442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42443 $as_echo_n "checking for isnanf declaration... " >&6; }
42444 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42445 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42446 $as_echo_n "(cached) " >&6
42447 else
42448
42449
42450 ac_ext=cpp
42451 ac_cpp='$CXXCPP $CPPFLAGS'
42452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42455
42456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42457 /* end confdefs.h. */
42458 #include <math.h>
42459 #ifdef HAVE_IEEEFP_H
42460 #include <ieeefp.h>
42461 #endif
42462
42463 int
42464 main ()
42465 {
42466 isnanf(0);
42467 ;
42468 return 0;
42469 }
42470 _ACEOF
42471 if ac_fn_cxx_try_compile "$LINENO"; then :
42472 glibcxx_cv_func_isnanf_use=yes
42473 else
42474 glibcxx_cv_func_isnanf_use=no
42475 fi
42476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42477 ac_ext=c
42478 ac_cpp='$CPP $CPPFLAGS'
42479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42482
42483
42484 fi
42485
42486 fi
42487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42488 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42489
42490 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42491 for ac_func in isnanf
42492 do :
42493 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42494 if test "x$ac_cv_func_isnanf" = x""yes; then :
42495 cat >>confdefs.h <<_ACEOF
42496 #define HAVE_ISNANF 1
42497 _ACEOF
42498
42499 fi
42500 done
42501
42502 else
42503
42504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42505 $as_echo_n "checking for _isnanf declaration... " >&6; }
42506 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42507 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42508 $as_echo_n "(cached) " >&6
42509 else
42510
42511
42512 ac_ext=cpp
42513 ac_cpp='$CXXCPP $CPPFLAGS'
42514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42517
42518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42519 /* end confdefs.h. */
42520 #include <math.h>
42521 #ifdef HAVE_IEEEFP_H
42522 #include <ieeefp.h>
42523 #endif
42524
42525 int
42526 main ()
42527 {
42528 _isnanf(0);
42529 ;
42530 return 0;
42531 }
42532 _ACEOF
42533 if ac_fn_cxx_try_compile "$LINENO"; then :
42534 glibcxx_cv_func__isnanf_use=yes
42535 else
42536 glibcxx_cv_func__isnanf_use=no
42537 fi
42538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42539 ac_ext=c
42540 ac_cpp='$CPP $CPPFLAGS'
42541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42544
42545
42546 fi
42547
42548 fi
42549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42550 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42551
42552 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42553 for ac_func in _isnanf
42554 do :
42555 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42556 if test "x$ac_cv_func__isnanf" = x""yes; then :
42557 cat >>confdefs.h <<_ACEOF
42558 #define HAVE__ISNANF 1
42559 _ACEOF
42560
42561 fi
42562 done
42563
42564 fi
42565 fi
42566
42567
42568
42569
42570
42571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42572 $as_echo_n "checking for isinff declaration... " >&6; }
42573 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42574 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42575 $as_echo_n "(cached) " >&6
42576 else
42577
42578
42579 ac_ext=cpp
42580 ac_cpp='$CXXCPP $CPPFLAGS'
42581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584
42585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42586 /* end confdefs.h. */
42587 #include <math.h>
42588 #ifdef HAVE_IEEEFP_H
42589 #include <ieeefp.h>
42590 #endif
42591
42592 int
42593 main ()
42594 {
42595 isinff(0);
42596 ;
42597 return 0;
42598 }
42599 _ACEOF
42600 if ac_fn_cxx_try_compile "$LINENO"; then :
42601 glibcxx_cv_func_isinff_use=yes
42602 else
42603 glibcxx_cv_func_isinff_use=no
42604 fi
42605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42606 ac_ext=c
42607 ac_cpp='$CPP $CPPFLAGS'
42608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42611
42612
42613 fi
42614
42615 fi
42616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42617 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42618
42619 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42620 for ac_func in isinff
42621 do :
42622 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42623 if test "x$ac_cv_func_isinff" = x""yes; then :
42624 cat >>confdefs.h <<_ACEOF
42625 #define HAVE_ISINFF 1
42626 _ACEOF
42627
42628 fi
42629 done
42630
42631 else
42632
42633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42634 $as_echo_n "checking for _isinff declaration... " >&6; }
42635 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42636 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42637 $as_echo_n "(cached) " >&6
42638 else
42639
42640
42641 ac_ext=cpp
42642 ac_cpp='$CXXCPP $CPPFLAGS'
42643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42646
42647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42648 /* end confdefs.h. */
42649 #include <math.h>
42650 #ifdef HAVE_IEEEFP_H
42651 #include <ieeefp.h>
42652 #endif
42653
42654 int
42655 main ()
42656 {
42657 _isinff(0);
42658 ;
42659 return 0;
42660 }
42661 _ACEOF
42662 if ac_fn_cxx_try_compile "$LINENO"; then :
42663 glibcxx_cv_func__isinff_use=yes
42664 else
42665 glibcxx_cv_func__isinff_use=no
42666 fi
42667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42668 ac_ext=c
42669 ac_cpp='$CPP $CPPFLAGS'
42670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42673
42674
42675 fi
42676
42677 fi
42678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42679 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42680
42681 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42682 for ac_func in _isinff
42683 do :
42684 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42685 if test "x$ac_cv_func__isinff" = x""yes; then :
42686 cat >>confdefs.h <<_ACEOF
42687 #define HAVE__ISINFF 1
42688 _ACEOF
42689
42690 fi
42691 done
42692
42693 fi
42694 fi
42695
42696
42697
42698
42699
42700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42701 $as_echo_n "checking for atan2f declaration... " >&6; }
42702 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42703 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42704 $as_echo_n "(cached) " >&6
42705 else
42706
42707
42708 ac_ext=cpp
42709 ac_cpp='$CXXCPP $CPPFLAGS'
42710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713
42714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42715 /* end confdefs.h. */
42716 #include <math.h>
42717 int
42718 main ()
42719 {
42720 atan2f(0, 0);
42721 ;
42722 return 0;
42723 }
42724 _ACEOF
42725 if ac_fn_cxx_try_compile "$LINENO"; then :
42726 glibcxx_cv_func_atan2f_use=yes
42727 else
42728 glibcxx_cv_func_atan2f_use=no
42729 fi
42730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42731 ac_ext=c
42732 ac_cpp='$CPP $CPPFLAGS'
42733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42736
42737
42738 fi
42739
42740 fi
42741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42742 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42743
42744 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42745 for ac_func in atan2f
42746 do :
42747 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42748 if test "x$ac_cv_func_atan2f" = x""yes; then :
42749 cat >>confdefs.h <<_ACEOF
42750 #define HAVE_ATAN2F 1
42751 _ACEOF
42752
42753 fi
42754 done
42755
42756 else
42757
42758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42759 $as_echo_n "checking for _atan2f declaration... " >&6; }
42760 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42761 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42762 $as_echo_n "(cached) " >&6
42763 else
42764
42765
42766 ac_ext=cpp
42767 ac_cpp='$CXXCPP $CPPFLAGS'
42768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42771
42772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42773 /* end confdefs.h. */
42774 #include <math.h>
42775 int
42776 main ()
42777 {
42778 _atan2f(0, 0);
42779 ;
42780 return 0;
42781 }
42782 _ACEOF
42783 if ac_fn_cxx_try_compile "$LINENO"; then :
42784 glibcxx_cv_func__atan2f_use=yes
42785 else
42786 glibcxx_cv_func__atan2f_use=no
42787 fi
42788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42789 ac_ext=c
42790 ac_cpp='$CPP $CPPFLAGS'
42791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42794
42795
42796 fi
42797
42798 fi
42799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42800 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42801
42802 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42803 for ac_func in _atan2f
42804 do :
42805 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42806 if test "x$ac_cv_func__atan2f" = x""yes; then :
42807 cat >>confdefs.h <<_ACEOF
42808 #define HAVE__ATAN2F 1
42809 _ACEOF
42810
42811 fi
42812 done
42813
42814 fi
42815 fi
42816
42817
42818
42819
42820
42821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42822 $as_echo_n "checking for fabsf declaration... " >&6; }
42823 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42824 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42825 $as_echo_n "(cached) " >&6
42826 else
42827
42828
42829 ac_ext=cpp
42830 ac_cpp='$CXXCPP $CPPFLAGS'
42831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42834
42835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42836 /* end confdefs.h. */
42837 #include <math.h>
42838 #ifdef HAVE_IEEEFP_H
42839 #include <ieeefp.h>
42840 #endif
42841
42842 int
42843 main ()
42844 {
42845 fabsf(0);
42846 ;
42847 return 0;
42848 }
42849 _ACEOF
42850 if ac_fn_cxx_try_compile "$LINENO"; then :
42851 glibcxx_cv_func_fabsf_use=yes
42852 else
42853 glibcxx_cv_func_fabsf_use=no
42854 fi
42855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42856 ac_ext=c
42857 ac_cpp='$CPP $CPPFLAGS'
42858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42861
42862
42863 fi
42864
42865 fi
42866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42867 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42868
42869 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42870 for ac_func in fabsf
42871 do :
42872 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42873 if test "x$ac_cv_func_fabsf" = x""yes; then :
42874 cat >>confdefs.h <<_ACEOF
42875 #define HAVE_FABSF 1
42876 _ACEOF
42877
42878 fi
42879 done
42880
42881 else
42882
42883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42884 $as_echo_n "checking for _fabsf declaration... " >&6; }
42885 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42886 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42887 $as_echo_n "(cached) " >&6
42888 else
42889
42890
42891 ac_ext=cpp
42892 ac_cpp='$CXXCPP $CPPFLAGS'
42893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42896
42897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42898 /* end confdefs.h. */
42899 #include <math.h>
42900 #ifdef HAVE_IEEEFP_H
42901 #include <ieeefp.h>
42902 #endif
42903
42904 int
42905 main ()
42906 {
42907 _fabsf(0);
42908 ;
42909 return 0;
42910 }
42911 _ACEOF
42912 if ac_fn_cxx_try_compile "$LINENO"; then :
42913 glibcxx_cv_func__fabsf_use=yes
42914 else
42915 glibcxx_cv_func__fabsf_use=no
42916 fi
42917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42918 ac_ext=c
42919 ac_cpp='$CPP $CPPFLAGS'
42920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42923
42924
42925 fi
42926
42927 fi
42928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42929 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42930
42931 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42932 for ac_func in _fabsf
42933 do :
42934 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42935 if test "x$ac_cv_func__fabsf" = x""yes; then :
42936 cat >>confdefs.h <<_ACEOF
42937 #define HAVE__FABSF 1
42938 _ACEOF
42939
42940 fi
42941 done
42942
42943 fi
42944 fi
42945
42946
42947
42948
42949
42950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42951 $as_echo_n "checking for fmodf declaration... " >&6; }
42952 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42953 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42954 $as_echo_n "(cached) " >&6
42955 else
42956
42957
42958 ac_ext=cpp
42959 ac_cpp='$CXXCPP $CPPFLAGS'
42960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42963
42964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42965 /* end confdefs.h. */
42966 #include <math.h>
42967 int
42968 main ()
42969 {
42970 fmodf(0, 0);
42971 ;
42972 return 0;
42973 }
42974 _ACEOF
42975 if ac_fn_cxx_try_compile "$LINENO"; then :
42976 glibcxx_cv_func_fmodf_use=yes
42977 else
42978 glibcxx_cv_func_fmodf_use=no
42979 fi
42980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42981 ac_ext=c
42982 ac_cpp='$CPP $CPPFLAGS'
42983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42986
42987
42988 fi
42989
42990 fi
42991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42992 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42993
42994 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42995 for ac_func in fmodf
42996 do :
42997 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42998 if test "x$ac_cv_func_fmodf" = x""yes; then :
42999 cat >>confdefs.h <<_ACEOF
43000 #define HAVE_FMODF 1
43001 _ACEOF
43002
43003 fi
43004 done
43005
43006 else
43007
43008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43009 $as_echo_n "checking for _fmodf declaration... " >&6; }
43010 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43011 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43012 $as_echo_n "(cached) " >&6
43013 else
43014
43015
43016 ac_ext=cpp
43017 ac_cpp='$CXXCPP $CPPFLAGS'
43018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43021
43022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43023 /* end confdefs.h. */
43024 #include <math.h>
43025 int
43026 main ()
43027 {
43028 _fmodf(0, 0);
43029 ;
43030 return 0;
43031 }
43032 _ACEOF
43033 if ac_fn_cxx_try_compile "$LINENO"; then :
43034 glibcxx_cv_func__fmodf_use=yes
43035 else
43036 glibcxx_cv_func__fmodf_use=no
43037 fi
43038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43039 ac_ext=c
43040 ac_cpp='$CPP $CPPFLAGS'
43041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43044
43045
43046 fi
43047
43048 fi
43049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43050 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43051
43052 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43053 for ac_func in _fmodf
43054 do :
43055 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43056 if test "x$ac_cv_func__fmodf" = x""yes; then :
43057 cat >>confdefs.h <<_ACEOF
43058 #define HAVE__FMODF 1
43059 _ACEOF
43060
43061 fi
43062 done
43063
43064 fi
43065 fi
43066
43067
43068
43069
43070
43071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43072 $as_echo_n "checking for frexpf declaration... " >&6; }
43073 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43074 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43075 $as_echo_n "(cached) " >&6
43076 else
43077
43078
43079 ac_ext=cpp
43080 ac_cpp='$CXXCPP $CPPFLAGS'
43081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43084
43085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43086 /* end confdefs.h. */
43087 #include <math.h>
43088 int
43089 main ()
43090 {
43091 frexpf(0, 0);
43092 ;
43093 return 0;
43094 }
43095 _ACEOF
43096 if ac_fn_cxx_try_compile "$LINENO"; then :
43097 glibcxx_cv_func_frexpf_use=yes
43098 else
43099 glibcxx_cv_func_frexpf_use=no
43100 fi
43101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43102 ac_ext=c
43103 ac_cpp='$CPP $CPPFLAGS'
43104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43107
43108
43109 fi
43110
43111 fi
43112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43113 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43114
43115 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43116 for ac_func in frexpf
43117 do :
43118 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43119 if test "x$ac_cv_func_frexpf" = x""yes; then :
43120 cat >>confdefs.h <<_ACEOF
43121 #define HAVE_FREXPF 1
43122 _ACEOF
43123
43124 fi
43125 done
43126
43127 else
43128
43129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43130 $as_echo_n "checking for _frexpf declaration... " >&6; }
43131 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43132 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43133 $as_echo_n "(cached) " >&6
43134 else
43135
43136
43137 ac_ext=cpp
43138 ac_cpp='$CXXCPP $CPPFLAGS'
43139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43142
43143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43144 /* end confdefs.h. */
43145 #include <math.h>
43146 int
43147 main ()
43148 {
43149 _frexpf(0, 0);
43150 ;
43151 return 0;
43152 }
43153 _ACEOF
43154 if ac_fn_cxx_try_compile "$LINENO"; then :
43155 glibcxx_cv_func__frexpf_use=yes
43156 else
43157 glibcxx_cv_func__frexpf_use=no
43158 fi
43159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43160 ac_ext=c
43161 ac_cpp='$CPP $CPPFLAGS'
43162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43165
43166
43167 fi
43168
43169 fi
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43171 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43172
43173 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43174 for ac_func in _frexpf
43175 do :
43176 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43177 if test "x$ac_cv_func__frexpf" = x""yes; then :
43178 cat >>confdefs.h <<_ACEOF
43179 #define HAVE__FREXPF 1
43180 _ACEOF
43181
43182 fi
43183 done
43184
43185 fi
43186 fi
43187
43188
43189
43190
43191
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43193 $as_echo_n "checking for hypotf declaration... " >&6; }
43194 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43195 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43196 $as_echo_n "(cached) " >&6
43197 else
43198
43199
43200 ac_ext=cpp
43201 ac_cpp='$CXXCPP $CPPFLAGS'
43202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43205
43206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43207 /* end confdefs.h. */
43208 #include <math.h>
43209 int
43210 main ()
43211 {
43212 hypotf(0, 0);
43213 ;
43214 return 0;
43215 }
43216 _ACEOF
43217 if ac_fn_cxx_try_compile "$LINENO"; then :
43218 glibcxx_cv_func_hypotf_use=yes
43219 else
43220 glibcxx_cv_func_hypotf_use=no
43221 fi
43222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43223 ac_ext=c
43224 ac_cpp='$CPP $CPPFLAGS'
43225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43228
43229
43230 fi
43231
43232 fi
43233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43234 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43235
43236 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43237 for ac_func in hypotf
43238 do :
43239 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43240 if test "x$ac_cv_func_hypotf" = x""yes; then :
43241 cat >>confdefs.h <<_ACEOF
43242 #define HAVE_HYPOTF 1
43243 _ACEOF
43244
43245 fi
43246 done
43247
43248 else
43249
43250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43251 $as_echo_n "checking for _hypotf declaration... " >&6; }
43252 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43253 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43254 $as_echo_n "(cached) " >&6
43255 else
43256
43257
43258 ac_ext=cpp
43259 ac_cpp='$CXXCPP $CPPFLAGS'
43260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43263
43264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43265 /* end confdefs.h. */
43266 #include <math.h>
43267 int
43268 main ()
43269 {
43270 _hypotf(0, 0);
43271 ;
43272 return 0;
43273 }
43274 _ACEOF
43275 if ac_fn_cxx_try_compile "$LINENO"; then :
43276 glibcxx_cv_func__hypotf_use=yes
43277 else
43278 glibcxx_cv_func__hypotf_use=no
43279 fi
43280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43281 ac_ext=c
43282 ac_cpp='$CPP $CPPFLAGS'
43283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43286
43287
43288 fi
43289
43290 fi
43291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43292 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43293
43294 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43295 for ac_func in _hypotf
43296 do :
43297 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43298 if test "x$ac_cv_func__hypotf" = x""yes; then :
43299 cat >>confdefs.h <<_ACEOF
43300 #define HAVE__HYPOTF 1
43301 _ACEOF
43302
43303 fi
43304 done
43305
43306 fi
43307 fi
43308
43309
43310
43311
43312
43313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43314 $as_echo_n "checking for ldexpf declaration... " >&6; }
43315 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43316 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43317 $as_echo_n "(cached) " >&6
43318 else
43319
43320
43321 ac_ext=cpp
43322 ac_cpp='$CXXCPP $CPPFLAGS'
43323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43326
43327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43328 /* end confdefs.h. */
43329 #include <math.h>
43330 int
43331 main ()
43332 {
43333 ldexpf(0, 0);
43334 ;
43335 return 0;
43336 }
43337 _ACEOF
43338 if ac_fn_cxx_try_compile "$LINENO"; then :
43339 glibcxx_cv_func_ldexpf_use=yes
43340 else
43341 glibcxx_cv_func_ldexpf_use=no
43342 fi
43343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43344 ac_ext=c
43345 ac_cpp='$CPP $CPPFLAGS'
43346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43349
43350
43351 fi
43352
43353 fi
43354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43355 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43356
43357 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43358 for ac_func in ldexpf
43359 do :
43360 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43361 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43362 cat >>confdefs.h <<_ACEOF
43363 #define HAVE_LDEXPF 1
43364 _ACEOF
43365
43366 fi
43367 done
43368
43369 else
43370
43371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43372 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43373 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43374 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43375 $as_echo_n "(cached) " >&6
43376 else
43377
43378
43379 ac_ext=cpp
43380 ac_cpp='$CXXCPP $CPPFLAGS'
43381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43384
43385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43386 /* end confdefs.h. */
43387 #include <math.h>
43388 int
43389 main ()
43390 {
43391 _ldexpf(0, 0);
43392 ;
43393 return 0;
43394 }
43395 _ACEOF
43396 if ac_fn_cxx_try_compile "$LINENO"; then :
43397 glibcxx_cv_func__ldexpf_use=yes
43398 else
43399 glibcxx_cv_func__ldexpf_use=no
43400 fi
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43402 ac_ext=c
43403 ac_cpp='$CPP $CPPFLAGS'
43404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43407
43408
43409 fi
43410
43411 fi
43412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43413 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43414
43415 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43416 for ac_func in _ldexpf
43417 do :
43418 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43419 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43420 cat >>confdefs.h <<_ACEOF
43421 #define HAVE__LDEXPF 1
43422 _ACEOF
43423
43424 fi
43425 done
43426
43427 fi
43428 fi
43429
43430
43431
43432
43433
43434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43435 $as_echo_n "checking for logf declaration... " >&6; }
43436 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43437 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43438 $as_echo_n "(cached) " >&6
43439 else
43440
43441
43442 ac_ext=cpp
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43447
43448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h. */
43450 #include <math.h>
43451 #ifdef HAVE_IEEEFP_H
43452 #include <ieeefp.h>
43453 #endif
43454
43455 int
43456 main ()
43457 {
43458 logf(0);
43459 ;
43460 return 0;
43461 }
43462 _ACEOF
43463 if ac_fn_cxx_try_compile "$LINENO"; then :
43464 glibcxx_cv_func_logf_use=yes
43465 else
43466 glibcxx_cv_func_logf_use=no
43467 fi
43468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43469 ac_ext=c
43470 ac_cpp='$CPP $CPPFLAGS'
43471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43474
43475
43476 fi
43477
43478 fi
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43480 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43481
43482 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43483 for ac_func in logf
43484 do :
43485 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43486 if test "x$ac_cv_func_logf" = x""yes; then :
43487 cat >>confdefs.h <<_ACEOF
43488 #define HAVE_LOGF 1
43489 _ACEOF
43490
43491 fi
43492 done
43493
43494 else
43495
43496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43497 $as_echo_n "checking for _logf declaration... " >&6; }
43498 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43499 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43500 $as_echo_n "(cached) " >&6
43501 else
43502
43503
43504 ac_ext=cpp
43505 ac_cpp='$CXXCPP $CPPFLAGS'
43506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43509
43510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43511 /* end confdefs.h. */
43512 #include <math.h>
43513 #ifdef HAVE_IEEEFP_H
43514 #include <ieeefp.h>
43515 #endif
43516
43517 int
43518 main ()
43519 {
43520 _logf(0);
43521 ;
43522 return 0;
43523 }
43524 _ACEOF
43525 if ac_fn_cxx_try_compile "$LINENO"; then :
43526 glibcxx_cv_func__logf_use=yes
43527 else
43528 glibcxx_cv_func__logf_use=no
43529 fi
43530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43531 ac_ext=c
43532 ac_cpp='$CPP $CPPFLAGS'
43533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43536
43537
43538 fi
43539
43540 fi
43541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43542 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43543
43544 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43545 for ac_func in _logf
43546 do :
43547 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43548 if test "x$ac_cv_func__logf" = x""yes; then :
43549 cat >>confdefs.h <<_ACEOF
43550 #define HAVE__LOGF 1
43551 _ACEOF
43552
43553 fi
43554 done
43555
43556 fi
43557 fi
43558
43559
43560
43561
43562
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43564 $as_echo_n "checking for log10f declaration... " >&6; }
43565 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43566 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43567 $as_echo_n "(cached) " >&6
43568 else
43569
43570
43571 ac_ext=cpp
43572 ac_cpp='$CXXCPP $CPPFLAGS'
43573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43576
43577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43579 #include <math.h>
43580 #ifdef HAVE_IEEEFP_H
43581 #include <ieeefp.h>
43582 #endif
43583
43584 int
43585 main ()
43586 {
43587 log10f(0);
43588 ;
43589 return 0;
43590 }
43591 _ACEOF
43592 if ac_fn_cxx_try_compile "$LINENO"; then :
43593 glibcxx_cv_func_log10f_use=yes
43594 else
43595 glibcxx_cv_func_log10f_use=no
43596 fi
43597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43598 ac_ext=c
43599 ac_cpp='$CPP $CPPFLAGS'
43600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43603
43604
43605 fi
43606
43607 fi
43608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43609 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43610
43611 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43612 for ac_func in log10f
43613 do :
43614 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43615 if test "x$ac_cv_func_log10f" = x""yes; then :
43616 cat >>confdefs.h <<_ACEOF
43617 #define HAVE_LOG10F 1
43618 _ACEOF
43619
43620 fi
43621 done
43622
43623 else
43624
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43626 $as_echo_n "checking for _log10f declaration... " >&6; }
43627 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43628 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43629 $as_echo_n "(cached) " >&6
43630 else
43631
43632
43633 ac_ext=cpp
43634 ac_cpp='$CXXCPP $CPPFLAGS'
43635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638
43639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43640 /* end confdefs.h. */
43641 #include <math.h>
43642 #ifdef HAVE_IEEEFP_H
43643 #include <ieeefp.h>
43644 #endif
43645
43646 int
43647 main ()
43648 {
43649 _log10f(0);
43650 ;
43651 return 0;
43652 }
43653 _ACEOF
43654 if ac_fn_cxx_try_compile "$LINENO"; then :
43655 glibcxx_cv_func__log10f_use=yes
43656 else
43657 glibcxx_cv_func__log10f_use=no
43658 fi
43659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43660 ac_ext=c
43661 ac_cpp='$CPP $CPPFLAGS'
43662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43665
43666
43667 fi
43668
43669 fi
43670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43671 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43672
43673 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43674 for ac_func in _log10f
43675 do :
43676 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43677 if test "x$ac_cv_func__log10f" = x""yes; then :
43678 cat >>confdefs.h <<_ACEOF
43679 #define HAVE__LOG10F 1
43680 _ACEOF
43681
43682 fi
43683 done
43684
43685 fi
43686 fi
43687
43688
43689
43690
43691
43692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43693 $as_echo_n "checking for modff declaration... " >&6; }
43694 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43695 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43696 $as_echo_n "(cached) " >&6
43697 else
43698
43699
43700 ac_ext=cpp
43701 ac_cpp='$CXXCPP $CPPFLAGS'
43702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43705
43706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43707 /* end confdefs.h. */
43708 #include <math.h>
43709 int
43710 main ()
43711 {
43712 modff(0, 0);
43713 ;
43714 return 0;
43715 }
43716 _ACEOF
43717 if ac_fn_cxx_try_compile "$LINENO"; then :
43718 glibcxx_cv_func_modff_use=yes
43719 else
43720 glibcxx_cv_func_modff_use=no
43721 fi
43722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43723 ac_ext=c
43724 ac_cpp='$CPP $CPPFLAGS'
43725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43728
43729
43730 fi
43731
43732 fi
43733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43734 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43735
43736 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43737 for ac_func in modff
43738 do :
43739 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43740 if test "x$ac_cv_func_modff" = x""yes; then :
43741 cat >>confdefs.h <<_ACEOF
43742 #define HAVE_MODFF 1
43743 _ACEOF
43744
43745 fi
43746 done
43747
43748 else
43749
43750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43751 $as_echo_n "checking for _modff declaration... " >&6; }
43752 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43753 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43754 $as_echo_n "(cached) " >&6
43755 else
43756
43757
43758 ac_ext=cpp
43759 ac_cpp='$CXXCPP $CPPFLAGS'
43760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43763
43764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43765 /* end confdefs.h. */
43766 #include <math.h>
43767 int
43768 main ()
43769 {
43770 _modff(0, 0);
43771 ;
43772 return 0;
43773 }
43774 _ACEOF
43775 if ac_fn_cxx_try_compile "$LINENO"; then :
43776 glibcxx_cv_func__modff_use=yes
43777 else
43778 glibcxx_cv_func__modff_use=no
43779 fi
43780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43781 ac_ext=c
43782 ac_cpp='$CPP $CPPFLAGS'
43783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43786
43787
43788 fi
43789
43790 fi
43791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43792 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43793
43794 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43795 for ac_func in _modff
43796 do :
43797 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43798 if test "x$ac_cv_func__modff" = x""yes; then :
43799 cat >>confdefs.h <<_ACEOF
43800 #define HAVE__MODFF 1
43801 _ACEOF
43802
43803 fi
43804 done
43805
43806 fi
43807 fi
43808
43809
43810
43811
43812
43813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43814 $as_echo_n "checking for modf declaration... " >&6; }
43815 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43816 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43817 $as_echo_n "(cached) " >&6
43818 else
43819
43820
43821 ac_ext=cpp
43822 ac_cpp='$CXXCPP $CPPFLAGS'
43823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43826
43827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43828 /* end confdefs.h. */
43829 #include <math.h>
43830 int
43831 main ()
43832 {
43833 modf(0, 0);
43834 ;
43835 return 0;
43836 }
43837 _ACEOF
43838 if ac_fn_cxx_try_compile "$LINENO"; then :
43839 glibcxx_cv_func_modf_use=yes
43840 else
43841 glibcxx_cv_func_modf_use=no
43842 fi
43843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43844 ac_ext=c
43845 ac_cpp='$CPP $CPPFLAGS'
43846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43849
43850
43851 fi
43852
43853 fi
43854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43855 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43856
43857 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43858 for ac_func in modf
43859 do :
43860 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43861 if test "x$ac_cv_func_modf" = x""yes; then :
43862 cat >>confdefs.h <<_ACEOF
43863 #define HAVE_MODF 1
43864 _ACEOF
43865
43866 fi
43867 done
43868
43869 else
43870
43871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43872 $as_echo_n "checking for _modf declaration... " >&6; }
43873 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43874 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43875 $as_echo_n "(cached) " >&6
43876 else
43877
43878
43879 ac_ext=cpp
43880 ac_cpp='$CXXCPP $CPPFLAGS'
43881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43884
43885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43886 /* end confdefs.h. */
43887 #include <math.h>
43888 int
43889 main ()
43890 {
43891 _modf(0, 0);
43892 ;
43893 return 0;
43894 }
43895 _ACEOF
43896 if ac_fn_cxx_try_compile "$LINENO"; then :
43897 glibcxx_cv_func__modf_use=yes
43898 else
43899 glibcxx_cv_func__modf_use=no
43900 fi
43901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43902 ac_ext=c
43903 ac_cpp='$CPP $CPPFLAGS'
43904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43907
43908
43909 fi
43910
43911 fi
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43913 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43914
43915 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43916 for ac_func in _modf
43917 do :
43918 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43919 if test "x$ac_cv_func__modf" = x""yes; then :
43920 cat >>confdefs.h <<_ACEOF
43921 #define HAVE__MODF 1
43922 _ACEOF
43923
43924 fi
43925 done
43926
43927 fi
43928 fi
43929
43930
43931
43932
43933
43934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43935 $as_echo_n "checking for powf declaration... " >&6; }
43936 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43937 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43938 $as_echo_n "(cached) " >&6
43939 else
43940
43941
43942 ac_ext=cpp
43943 ac_cpp='$CXXCPP $CPPFLAGS'
43944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43947
43948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43949 /* end confdefs.h. */
43950 #include <math.h>
43951 int
43952 main ()
43953 {
43954 powf(0, 0);
43955 ;
43956 return 0;
43957 }
43958 _ACEOF
43959 if ac_fn_cxx_try_compile "$LINENO"; then :
43960 glibcxx_cv_func_powf_use=yes
43961 else
43962 glibcxx_cv_func_powf_use=no
43963 fi
43964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43965 ac_ext=c
43966 ac_cpp='$CPP $CPPFLAGS'
43967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43970
43971
43972 fi
43973
43974 fi
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43976 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43977
43978 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43979 for ac_func in powf
43980 do :
43981 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43982 if test "x$ac_cv_func_powf" = x""yes; then :
43983 cat >>confdefs.h <<_ACEOF
43984 #define HAVE_POWF 1
43985 _ACEOF
43986
43987 fi
43988 done
43989
43990 else
43991
43992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43993 $as_echo_n "checking for _powf declaration... " >&6; }
43994 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43995 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43996 $as_echo_n "(cached) " >&6
43997 else
43998
43999
44000 ac_ext=cpp
44001 ac_cpp='$CXXCPP $CPPFLAGS'
44002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44005
44006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44007 /* end confdefs.h. */
44008 #include <math.h>
44009 int
44010 main ()
44011 {
44012 _powf(0, 0);
44013 ;
44014 return 0;
44015 }
44016 _ACEOF
44017 if ac_fn_cxx_try_compile "$LINENO"; then :
44018 glibcxx_cv_func__powf_use=yes
44019 else
44020 glibcxx_cv_func__powf_use=no
44021 fi
44022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44023 ac_ext=c
44024 ac_cpp='$CPP $CPPFLAGS'
44025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44028
44029
44030 fi
44031
44032 fi
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44034 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44035
44036 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44037 for ac_func in _powf
44038 do :
44039 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44040 if test "x$ac_cv_func__powf" = x""yes; then :
44041 cat >>confdefs.h <<_ACEOF
44042 #define HAVE__POWF 1
44043 _ACEOF
44044
44045 fi
44046 done
44047
44048 fi
44049 fi
44050
44051
44052
44053
44054
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44056 $as_echo_n "checking for sqrtf declaration... " >&6; }
44057 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44058 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44059 $as_echo_n "(cached) " >&6
44060 else
44061
44062
44063 ac_ext=cpp
44064 ac_cpp='$CXXCPP $CPPFLAGS'
44065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44068
44069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44070 /* end confdefs.h. */
44071 #include <math.h>
44072 #ifdef HAVE_IEEEFP_H
44073 #include <ieeefp.h>
44074 #endif
44075
44076 int
44077 main ()
44078 {
44079 sqrtf(0);
44080 ;
44081 return 0;
44082 }
44083 _ACEOF
44084 if ac_fn_cxx_try_compile "$LINENO"; then :
44085 glibcxx_cv_func_sqrtf_use=yes
44086 else
44087 glibcxx_cv_func_sqrtf_use=no
44088 fi
44089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44090 ac_ext=c
44091 ac_cpp='$CPP $CPPFLAGS'
44092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44095
44096
44097 fi
44098
44099 fi
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44101 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44102
44103 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44104 for ac_func in sqrtf
44105 do :
44106 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44107 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44108 cat >>confdefs.h <<_ACEOF
44109 #define HAVE_SQRTF 1
44110 _ACEOF
44111
44112 fi
44113 done
44114
44115 else
44116
44117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44118 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44119 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44120 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44121 $as_echo_n "(cached) " >&6
44122 else
44123
44124
44125 ac_ext=cpp
44126 ac_cpp='$CXXCPP $CPPFLAGS'
44127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44130
44131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44132 /* end confdefs.h. */
44133 #include <math.h>
44134 #ifdef HAVE_IEEEFP_H
44135 #include <ieeefp.h>
44136 #endif
44137
44138 int
44139 main ()
44140 {
44141 _sqrtf(0);
44142 ;
44143 return 0;
44144 }
44145 _ACEOF
44146 if ac_fn_cxx_try_compile "$LINENO"; then :
44147 glibcxx_cv_func__sqrtf_use=yes
44148 else
44149 glibcxx_cv_func__sqrtf_use=no
44150 fi
44151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44152 ac_ext=c
44153 ac_cpp='$CPP $CPPFLAGS'
44154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44157
44158
44159 fi
44160
44161 fi
44162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44163 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44164
44165 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44166 for ac_func in _sqrtf
44167 do :
44168 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44169 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44170 cat >>confdefs.h <<_ACEOF
44171 #define HAVE__SQRTF 1
44172 _ACEOF
44173
44174 fi
44175 done
44176
44177 fi
44178 fi
44179
44180
44181
44182
44183
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44185 $as_echo_n "checking for sincosf declaration... " >&6; }
44186 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44187 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44188 $as_echo_n "(cached) " >&6
44189 else
44190
44191
44192 ac_ext=cpp
44193 ac_cpp='$CXXCPP $CPPFLAGS'
44194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44197
44198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199 /* end confdefs.h. */
44200 #include <math.h>
44201 int
44202 main ()
44203 {
44204 sincosf(0, 0, 0);
44205 ;
44206 return 0;
44207 }
44208 _ACEOF
44209 if ac_fn_cxx_try_compile "$LINENO"; then :
44210 glibcxx_cv_func_sincosf_use=yes
44211 else
44212 glibcxx_cv_func_sincosf_use=no
44213 fi
44214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44215 ac_ext=c
44216 ac_cpp='$CPP $CPPFLAGS'
44217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44220
44221
44222 fi
44223
44224 fi
44225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44226 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44227
44228 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44229 for ac_func in sincosf
44230 do :
44231 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44232 if test "x$ac_cv_func_sincosf" = x""yes; then :
44233 cat >>confdefs.h <<_ACEOF
44234 #define HAVE_SINCOSF 1
44235 _ACEOF
44236
44237 fi
44238 done
44239
44240 else
44241
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44243 $as_echo_n "checking for _sincosf declaration... " >&6; }
44244 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44245 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44246 $as_echo_n "(cached) " >&6
44247 else
44248
44249
44250 ac_ext=cpp
44251 ac_cpp='$CXXCPP $CPPFLAGS'
44252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44255
44256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44257 /* end confdefs.h. */
44258 #include <math.h>
44259 int
44260 main ()
44261 {
44262 _sincosf(0, 0, 0);
44263 ;
44264 return 0;
44265 }
44266 _ACEOF
44267 if ac_fn_cxx_try_compile "$LINENO"; then :
44268 glibcxx_cv_func__sincosf_use=yes
44269 else
44270 glibcxx_cv_func__sincosf_use=no
44271 fi
44272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44273 ac_ext=c
44274 ac_cpp='$CPP $CPPFLAGS'
44275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44278
44279
44280 fi
44281
44282 fi
44283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44284 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44285
44286 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44287 for ac_func in _sincosf
44288 do :
44289 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44290 if test "x$ac_cv_func__sincosf" = x""yes; then :
44291 cat >>confdefs.h <<_ACEOF
44292 #define HAVE__SINCOSF 1
44293 _ACEOF
44294
44295 fi
44296 done
44297
44298 fi
44299 fi
44300
44301
44302
44303
44304
44305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44306 $as_echo_n "checking for finitef declaration... " >&6; }
44307 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44308 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44309 $as_echo_n "(cached) " >&6
44310 else
44311
44312
44313 ac_ext=cpp
44314 ac_cpp='$CXXCPP $CPPFLAGS'
44315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44318
44319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44320 /* end confdefs.h. */
44321 #include <math.h>
44322 #ifdef HAVE_IEEEFP_H
44323 #include <ieeefp.h>
44324 #endif
44325
44326 int
44327 main ()
44328 {
44329 finitef(0);
44330 ;
44331 return 0;
44332 }
44333 _ACEOF
44334 if ac_fn_cxx_try_compile "$LINENO"; then :
44335 glibcxx_cv_func_finitef_use=yes
44336 else
44337 glibcxx_cv_func_finitef_use=no
44338 fi
44339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44340 ac_ext=c
44341 ac_cpp='$CPP $CPPFLAGS'
44342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44345
44346
44347 fi
44348
44349 fi
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44351 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44352
44353 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44354 for ac_func in finitef
44355 do :
44356 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44357 if test "x$ac_cv_func_finitef" = x""yes; then :
44358 cat >>confdefs.h <<_ACEOF
44359 #define HAVE_FINITEF 1
44360 _ACEOF
44361
44362 fi
44363 done
44364
44365 else
44366
44367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44368 $as_echo_n "checking for _finitef declaration... " >&6; }
44369 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44370 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44371 $as_echo_n "(cached) " >&6
44372 else
44373
44374
44375 ac_ext=cpp
44376 ac_cpp='$CXXCPP $CPPFLAGS'
44377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44380
44381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44382 /* end confdefs.h. */
44383 #include <math.h>
44384 #ifdef HAVE_IEEEFP_H
44385 #include <ieeefp.h>
44386 #endif
44387
44388 int
44389 main ()
44390 {
44391 _finitef(0);
44392 ;
44393 return 0;
44394 }
44395 _ACEOF
44396 if ac_fn_cxx_try_compile "$LINENO"; then :
44397 glibcxx_cv_func__finitef_use=yes
44398 else
44399 glibcxx_cv_func__finitef_use=no
44400 fi
44401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44402 ac_ext=c
44403 ac_cpp='$CPP $CPPFLAGS'
44404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44407
44408
44409 fi
44410
44411 fi
44412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44413 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44414
44415 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44416 for ac_func in _finitef
44417 do :
44418 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44419 if test "x$ac_cv_func__finitef" = x""yes; then :
44420 cat >>confdefs.h <<_ACEOF
44421 #define HAVE__FINITEF 1
44422 _ACEOF
44423
44424 fi
44425 done
44426
44427 fi
44428 fi
44429
44430
44431
44432
44433
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44435 $as_echo_n "checking for long double trig functions... " >&6; }
44436 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44437 $as_echo_n "(cached) " >&6
44438 else
44439
44440
44441 ac_ext=cpp
44442 ac_cpp='$CXXCPP $CPPFLAGS'
44443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44446
44447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44448 /* end confdefs.h. */
44449 #include <math.h>
44450 int
44451 main ()
44452 {
44453 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44454 ;
44455 return 0;
44456 }
44457 _ACEOF
44458 if ac_fn_cxx_try_compile "$LINENO"; then :
44459 glibcxx_cv_func_long_double_trig_use=yes
44460 else
44461 glibcxx_cv_func_long_double_trig_use=no
44462 fi
44463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44464 ac_ext=c
44465 ac_cpp='$CPP $CPPFLAGS'
44466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44469
44470 fi
44471
44472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44473 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44474 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44475 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44476 do :
44477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44479 eval as_val=\$$as_ac_var
44480 if test "x$as_val" = x""yes; then :
44481 cat >>confdefs.h <<_ACEOF
44482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44483 _ACEOF
44484
44485 fi
44486 done
44487
44488 else
44489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44490 $as_echo_n "checking for _long double trig functions... " >&6; }
44491 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44492 $as_echo_n "(cached) " >&6
44493 else
44494
44495
44496 ac_ext=cpp
44497 ac_cpp='$CXXCPP $CPPFLAGS'
44498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44501
44502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44503 /* end confdefs.h. */
44504 #include <math.h>
44505 int
44506 main ()
44507 {
44508 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44509 ;
44510 return 0;
44511 }
44512 _ACEOF
44513 if ac_fn_cxx_try_compile "$LINENO"; then :
44514 glibcxx_cv_func__long_double_trig_use=yes
44515 else
44516 glibcxx_cv_func__long_double_trig_use=no
44517 fi
44518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44519 ac_ext=c
44520 ac_cpp='$CPP $CPPFLAGS'
44521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44524
44525 fi
44526
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44528 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44529 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44530 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44531 do :
44532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44534 eval as_val=\$$as_ac_var
44535 if test "x$as_val" = x""yes; then :
44536 cat >>confdefs.h <<_ACEOF
44537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44538 _ACEOF
44539
44540 fi
44541 done
44542
44543 fi
44544 fi
44545
44546
44547
44548
44549
44550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44551 $as_echo_n "checking for long double round functions... " >&6; }
44552 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44553 $as_echo_n "(cached) " >&6
44554 else
44555
44556
44557 ac_ext=cpp
44558 ac_cpp='$CXXCPP $CPPFLAGS'
44559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44562
44563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44564 /* end confdefs.h. */
44565 #include <math.h>
44566 int
44567 main ()
44568 {
44569 ceill (0); floorl (0);
44570 ;
44571 return 0;
44572 }
44573 _ACEOF
44574 if ac_fn_cxx_try_compile "$LINENO"; then :
44575 glibcxx_cv_func_long_double_round_use=yes
44576 else
44577 glibcxx_cv_func_long_double_round_use=no
44578 fi
44579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44580 ac_ext=c
44581 ac_cpp='$CPP $CPPFLAGS'
44582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44585
44586 fi
44587
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44589 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44590 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44591 for ac_func in ceill floorl
44592 do :
44593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44595 eval as_val=\$$as_ac_var
44596 if test "x$as_val" = x""yes; then :
44597 cat >>confdefs.h <<_ACEOF
44598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44599 _ACEOF
44600
44601 fi
44602 done
44603
44604 else
44605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44606 $as_echo_n "checking for _long double round functions... " >&6; }
44607 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44608 $as_echo_n "(cached) " >&6
44609 else
44610
44611
44612 ac_ext=cpp
44613 ac_cpp='$CXXCPP $CPPFLAGS'
44614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44617
44618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44619 /* end confdefs.h. */
44620 #include <math.h>
44621 int
44622 main ()
44623 {
44624 _ceill (0); _floorl (0);
44625 ;
44626 return 0;
44627 }
44628 _ACEOF
44629 if ac_fn_cxx_try_compile "$LINENO"; then :
44630 glibcxx_cv_func__long_double_round_use=yes
44631 else
44632 glibcxx_cv_func__long_double_round_use=no
44633 fi
44634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44635 ac_ext=c
44636 ac_cpp='$CPP $CPPFLAGS'
44637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44640
44641 fi
44642
44643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44644 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44645 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44646 for ac_func in _ceill _floorl
44647 do :
44648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44650 eval as_val=\$$as_ac_var
44651 if test "x$as_val" = x""yes; then :
44652 cat >>confdefs.h <<_ACEOF
44653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44654 _ACEOF
44655
44656 fi
44657 done
44658
44659 fi
44660 fi
44661
44662
44663
44664
44665
44666
44667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44668 $as_echo_n "checking for isnanl declaration... " >&6; }
44669 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44670 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44671 $as_echo_n "(cached) " >&6
44672 else
44673
44674
44675 ac_ext=cpp
44676 ac_cpp='$CXXCPP $CPPFLAGS'
44677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44680
44681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44682 /* end confdefs.h. */
44683 #include <math.h>
44684 #ifdef HAVE_IEEEFP_H
44685 #include <ieeefp.h>
44686 #endif
44687
44688 int
44689 main ()
44690 {
44691 isnanl(0);
44692 ;
44693 return 0;
44694 }
44695 _ACEOF
44696 if ac_fn_cxx_try_compile "$LINENO"; then :
44697 glibcxx_cv_func_isnanl_use=yes
44698 else
44699 glibcxx_cv_func_isnanl_use=no
44700 fi
44701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44702 ac_ext=c
44703 ac_cpp='$CPP $CPPFLAGS'
44704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44707
44708
44709 fi
44710
44711 fi
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44713 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44714
44715 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44716 for ac_func in isnanl
44717 do :
44718 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44719 if test "x$ac_cv_func_isnanl" = x""yes; then :
44720 cat >>confdefs.h <<_ACEOF
44721 #define HAVE_ISNANL 1
44722 _ACEOF
44723
44724 fi
44725 done
44726
44727 else
44728
44729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44730 $as_echo_n "checking for _isnanl declaration... " >&6; }
44731 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44732 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44733 $as_echo_n "(cached) " >&6
44734 else
44735
44736
44737 ac_ext=cpp
44738 ac_cpp='$CXXCPP $CPPFLAGS'
44739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44742
44743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44744 /* end confdefs.h. */
44745 #include <math.h>
44746 #ifdef HAVE_IEEEFP_H
44747 #include <ieeefp.h>
44748 #endif
44749
44750 int
44751 main ()
44752 {
44753 _isnanl(0);
44754 ;
44755 return 0;
44756 }
44757 _ACEOF
44758 if ac_fn_cxx_try_compile "$LINENO"; then :
44759 glibcxx_cv_func__isnanl_use=yes
44760 else
44761 glibcxx_cv_func__isnanl_use=no
44762 fi
44763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44764 ac_ext=c
44765 ac_cpp='$CPP $CPPFLAGS'
44766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44769
44770
44771 fi
44772
44773 fi
44774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44775 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44776
44777 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44778 for ac_func in _isnanl
44779 do :
44780 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44781 if test "x$ac_cv_func__isnanl" = x""yes; then :
44782 cat >>confdefs.h <<_ACEOF
44783 #define HAVE__ISNANL 1
44784 _ACEOF
44785
44786 fi
44787 done
44788
44789 fi
44790 fi
44791
44792
44793
44794
44795
44796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44797 $as_echo_n "checking for isinfl declaration... " >&6; }
44798 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44799 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44800 $as_echo_n "(cached) " >&6
44801 else
44802
44803
44804 ac_ext=cpp
44805 ac_cpp='$CXXCPP $CPPFLAGS'
44806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44809
44810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44811 /* end confdefs.h. */
44812 #include <math.h>
44813 #ifdef HAVE_IEEEFP_H
44814 #include <ieeefp.h>
44815 #endif
44816
44817 int
44818 main ()
44819 {
44820 isinfl(0);
44821 ;
44822 return 0;
44823 }
44824 _ACEOF
44825 if ac_fn_cxx_try_compile "$LINENO"; then :
44826 glibcxx_cv_func_isinfl_use=yes
44827 else
44828 glibcxx_cv_func_isinfl_use=no
44829 fi
44830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44831 ac_ext=c
44832 ac_cpp='$CPP $CPPFLAGS'
44833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44836
44837
44838 fi
44839
44840 fi
44841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44842 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44843
44844 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44845 for ac_func in isinfl
44846 do :
44847 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44848 if test "x$ac_cv_func_isinfl" = x""yes; then :
44849 cat >>confdefs.h <<_ACEOF
44850 #define HAVE_ISINFL 1
44851 _ACEOF
44852
44853 fi
44854 done
44855
44856 else
44857
44858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44859 $as_echo_n "checking for _isinfl declaration... " >&6; }
44860 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44861 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44862 $as_echo_n "(cached) " >&6
44863 else
44864
44865
44866 ac_ext=cpp
44867 ac_cpp='$CXXCPP $CPPFLAGS'
44868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44871
44872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44873 /* end confdefs.h. */
44874 #include <math.h>
44875 #ifdef HAVE_IEEEFP_H
44876 #include <ieeefp.h>
44877 #endif
44878
44879 int
44880 main ()
44881 {
44882 _isinfl(0);
44883 ;
44884 return 0;
44885 }
44886 _ACEOF
44887 if ac_fn_cxx_try_compile "$LINENO"; then :
44888 glibcxx_cv_func__isinfl_use=yes
44889 else
44890 glibcxx_cv_func__isinfl_use=no
44891 fi
44892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44893 ac_ext=c
44894 ac_cpp='$CPP $CPPFLAGS'
44895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44898
44899
44900 fi
44901
44902 fi
44903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44904 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44905
44906 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44907 for ac_func in _isinfl
44908 do :
44909 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44910 if test "x$ac_cv_func__isinfl" = x""yes; then :
44911 cat >>confdefs.h <<_ACEOF
44912 #define HAVE__ISINFL 1
44913 _ACEOF
44914
44915 fi
44916 done
44917
44918 fi
44919 fi
44920
44921
44922
44923
44924
44925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44926 $as_echo_n "checking for atan2l declaration... " >&6; }
44927 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44928 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44929 $as_echo_n "(cached) " >&6
44930 else
44931
44932
44933 ac_ext=cpp
44934 ac_cpp='$CXXCPP $CPPFLAGS'
44935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44938
44939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44940 /* end confdefs.h. */
44941 #include <math.h>
44942 int
44943 main ()
44944 {
44945 atan2l(0, 0);
44946 ;
44947 return 0;
44948 }
44949 _ACEOF
44950 if ac_fn_cxx_try_compile "$LINENO"; then :
44951 glibcxx_cv_func_atan2l_use=yes
44952 else
44953 glibcxx_cv_func_atan2l_use=no
44954 fi
44955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44956 ac_ext=c
44957 ac_cpp='$CPP $CPPFLAGS'
44958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44961
44962
44963 fi
44964
44965 fi
44966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44967 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44968
44969 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44970 for ac_func in atan2l
44971 do :
44972 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44973 if test "x$ac_cv_func_atan2l" = x""yes; then :
44974 cat >>confdefs.h <<_ACEOF
44975 #define HAVE_ATAN2L 1
44976 _ACEOF
44977
44978 fi
44979 done
44980
44981 else
44982
44983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44984 $as_echo_n "checking for _atan2l declaration... " >&6; }
44985 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44986 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44987 $as_echo_n "(cached) " >&6
44988 else
44989
44990
44991 ac_ext=cpp
44992 ac_cpp='$CXXCPP $CPPFLAGS'
44993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44996
44997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44998 /* end confdefs.h. */
44999 #include <math.h>
45000 int
45001 main ()
45002 {
45003 _atan2l(0, 0);
45004 ;
45005 return 0;
45006 }
45007 _ACEOF
45008 if ac_fn_cxx_try_compile "$LINENO"; then :
45009 glibcxx_cv_func__atan2l_use=yes
45010 else
45011 glibcxx_cv_func__atan2l_use=no
45012 fi
45013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45014 ac_ext=c
45015 ac_cpp='$CPP $CPPFLAGS'
45016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45019
45020
45021 fi
45022
45023 fi
45024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45025 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45026
45027 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45028 for ac_func in _atan2l
45029 do :
45030 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45031 if test "x$ac_cv_func__atan2l" = x""yes; then :
45032 cat >>confdefs.h <<_ACEOF
45033 #define HAVE__ATAN2L 1
45034 _ACEOF
45035
45036 fi
45037 done
45038
45039 fi
45040 fi
45041
45042
45043
45044
45045
45046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45047 $as_echo_n "checking for expl declaration... " >&6; }
45048 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45049 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45050 $as_echo_n "(cached) " >&6
45051 else
45052
45053
45054 ac_ext=cpp
45055 ac_cpp='$CXXCPP $CPPFLAGS'
45056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45059
45060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45061 /* end confdefs.h. */
45062 #include <math.h>
45063 #ifdef HAVE_IEEEFP_H
45064 #include <ieeefp.h>
45065 #endif
45066
45067 int
45068 main ()
45069 {
45070 expl(0);
45071 ;
45072 return 0;
45073 }
45074 _ACEOF
45075 if ac_fn_cxx_try_compile "$LINENO"; then :
45076 glibcxx_cv_func_expl_use=yes
45077 else
45078 glibcxx_cv_func_expl_use=no
45079 fi
45080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45081 ac_ext=c
45082 ac_cpp='$CPP $CPPFLAGS'
45083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45086
45087
45088 fi
45089
45090 fi
45091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45092 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45093
45094 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45095 for ac_func in expl
45096 do :
45097 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45098 if test "x$ac_cv_func_expl" = x""yes; then :
45099 cat >>confdefs.h <<_ACEOF
45100 #define HAVE_EXPL 1
45101 _ACEOF
45102
45103 fi
45104 done
45105
45106 else
45107
45108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45109 $as_echo_n "checking for _expl declaration... " >&6; }
45110 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45111 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45112 $as_echo_n "(cached) " >&6
45113 else
45114
45115
45116 ac_ext=cpp
45117 ac_cpp='$CXXCPP $CPPFLAGS'
45118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45121
45122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45123 /* end confdefs.h. */
45124 #include <math.h>
45125 #ifdef HAVE_IEEEFP_H
45126 #include <ieeefp.h>
45127 #endif
45128
45129 int
45130 main ()
45131 {
45132 _expl(0);
45133 ;
45134 return 0;
45135 }
45136 _ACEOF
45137 if ac_fn_cxx_try_compile "$LINENO"; then :
45138 glibcxx_cv_func__expl_use=yes
45139 else
45140 glibcxx_cv_func__expl_use=no
45141 fi
45142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45143 ac_ext=c
45144 ac_cpp='$CPP $CPPFLAGS'
45145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45148
45149
45150 fi
45151
45152 fi
45153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45154 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45155
45156 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45157 for ac_func in _expl
45158 do :
45159 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45160 if test "x$ac_cv_func__expl" = x""yes; then :
45161 cat >>confdefs.h <<_ACEOF
45162 #define HAVE__EXPL 1
45163 _ACEOF
45164
45165 fi
45166 done
45167
45168 fi
45169 fi
45170
45171
45172
45173
45174
45175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45176 $as_echo_n "checking for fabsl declaration... " >&6; }
45177 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45178 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45179 $as_echo_n "(cached) " >&6
45180 else
45181
45182
45183 ac_ext=cpp
45184 ac_cpp='$CXXCPP $CPPFLAGS'
45185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45188
45189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45190 /* end confdefs.h. */
45191 #include <math.h>
45192 #ifdef HAVE_IEEEFP_H
45193 #include <ieeefp.h>
45194 #endif
45195
45196 int
45197 main ()
45198 {
45199 fabsl(0);
45200 ;
45201 return 0;
45202 }
45203 _ACEOF
45204 if ac_fn_cxx_try_compile "$LINENO"; then :
45205 glibcxx_cv_func_fabsl_use=yes
45206 else
45207 glibcxx_cv_func_fabsl_use=no
45208 fi
45209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45210 ac_ext=c
45211 ac_cpp='$CPP $CPPFLAGS'
45212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45215
45216
45217 fi
45218
45219 fi
45220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45221 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45222
45223 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45224 for ac_func in fabsl
45225 do :
45226 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45227 if test "x$ac_cv_func_fabsl" = x""yes; then :
45228 cat >>confdefs.h <<_ACEOF
45229 #define HAVE_FABSL 1
45230 _ACEOF
45231
45232 fi
45233 done
45234
45235 else
45236
45237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45238 $as_echo_n "checking for _fabsl declaration... " >&6; }
45239 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45240 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45241 $as_echo_n "(cached) " >&6
45242 else
45243
45244
45245 ac_ext=cpp
45246 ac_cpp='$CXXCPP $CPPFLAGS'
45247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45250
45251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45252 /* end confdefs.h. */
45253 #include <math.h>
45254 #ifdef HAVE_IEEEFP_H
45255 #include <ieeefp.h>
45256 #endif
45257
45258 int
45259 main ()
45260 {
45261 _fabsl(0);
45262 ;
45263 return 0;
45264 }
45265 _ACEOF
45266 if ac_fn_cxx_try_compile "$LINENO"; then :
45267 glibcxx_cv_func__fabsl_use=yes
45268 else
45269 glibcxx_cv_func__fabsl_use=no
45270 fi
45271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45272 ac_ext=c
45273 ac_cpp='$CPP $CPPFLAGS'
45274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45277
45278
45279 fi
45280
45281 fi
45282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45283 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45284
45285 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45286 for ac_func in _fabsl
45287 do :
45288 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45289 if test "x$ac_cv_func__fabsl" = x""yes; then :
45290 cat >>confdefs.h <<_ACEOF
45291 #define HAVE__FABSL 1
45292 _ACEOF
45293
45294 fi
45295 done
45296
45297 fi
45298 fi
45299
45300
45301
45302
45303
45304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45305 $as_echo_n "checking for fmodl declaration... " >&6; }
45306 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45307 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45308 $as_echo_n "(cached) " >&6
45309 else
45310
45311
45312 ac_ext=cpp
45313 ac_cpp='$CXXCPP $CPPFLAGS'
45314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45317
45318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45319 /* end confdefs.h. */
45320 #include <math.h>
45321 int
45322 main ()
45323 {
45324 fmodl(0, 0);
45325 ;
45326 return 0;
45327 }
45328 _ACEOF
45329 if ac_fn_cxx_try_compile "$LINENO"; then :
45330 glibcxx_cv_func_fmodl_use=yes
45331 else
45332 glibcxx_cv_func_fmodl_use=no
45333 fi
45334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45335 ac_ext=c
45336 ac_cpp='$CPP $CPPFLAGS'
45337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45340
45341
45342 fi
45343
45344 fi
45345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45346 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45347
45348 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45349 for ac_func in fmodl
45350 do :
45351 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45352 if test "x$ac_cv_func_fmodl" = x""yes; then :
45353 cat >>confdefs.h <<_ACEOF
45354 #define HAVE_FMODL 1
45355 _ACEOF
45356
45357 fi
45358 done
45359
45360 else
45361
45362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45363 $as_echo_n "checking for _fmodl declaration... " >&6; }
45364 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45365 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45366 $as_echo_n "(cached) " >&6
45367 else
45368
45369
45370 ac_ext=cpp
45371 ac_cpp='$CXXCPP $CPPFLAGS'
45372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45375
45376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45377 /* end confdefs.h. */
45378 #include <math.h>
45379 int
45380 main ()
45381 {
45382 _fmodl(0, 0);
45383 ;
45384 return 0;
45385 }
45386 _ACEOF
45387 if ac_fn_cxx_try_compile "$LINENO"; then :
45388 glibcxx_cv_func__fmodl_use=yes
45389 else
45390 glibcxx_cv_func__fmodl_use=no
45391 fi
45392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45393 ac_ext=c
45394 ac_cpp='$CPP $CPPFLAGS'
45395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45398
45399
45400 fi
45401
45402 fi
45403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45404 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45405
45406 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45407 for ac_func in _fmodl
45408 do :
45409 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45410 if test "x$ac_cv_func__fmodl" = x""yes; then :
45411 cat >>confdefs.h <<_ACEOF
45412 #define HAVE__FMODL 1
45413 _ACEOF
45414
45415 fi
45416 done
45417
45418 fi
45419 fi
45420
45421
45422
45423
45424
45425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45426 $as_echo_n "checking for frexpl declaration... " >&6; }
45427 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45428 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45429 $as_echo_n "(cached) " >&6
45430 else
45431
45432
45433 ac_ext=cpp
45434 ac_cpp='$CXXCPP $CPPFLAGS'
45435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45438
45439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45440 /* end confdefs.h. */
45441 #include <math.h>
45442 int
45443 main ()
45444 {
45445 frexpl(0, 0);
45446 ;
45447 return 0;
45448 }
45449 _ACEOF
45450 if ac_fn_cxx_try_compile "$LINENO"; then :
45451 glibcxx_cv_func_frexpl_use=yes
45452 else
45453 glibcxx_cv_func_frexpl_use=no
45454 fi
45455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45456 ac_ext=c
45457 ac_cpp='$CPP $CPPFLAGS'
45458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45461
45462
45463 fi
45464
45465 fi
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45467 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45468
45469 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45470 for ac_func in frexpl
45471 do :
45472 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45473 if test "x$ac_cv_func_frexpl" = x""yes; then :
45474 cat >>confdefs.h <<_ACEOF
45475 #define HAVE_FREXPL 1
45476 _ACEOF
45477
45478 fi
45479 done
45480
45481 else
45482
45483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45484 $as_echo_n "checking for _frexpl declaration... " >&6; }
45485 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45486 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45487 $as_echo_n "(cached) " >&6
45488 else
45489
45490
45491 ac_ext=cpp
45492 ac_cpp='$CXXCPP $CPPFLAGS'
45493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45496
45497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45498 /* end confdefs.h. */
45499 #include <math.h>
45500 int
45501 main ()
45502 {
45503 _frexpl(0, 0);
45504 ;
45505 return 0;
45506 }
45507 _ACEOF
45508 if ac_fn_cxx_try_compile "$LINENO"; then :
45509 glibcxx_cv_func__frexpl_use=yes
45510 else
45511 glibcxx_cv_func__frexpl_use=no
45512 fi
45513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45514 ac_ext=c
45515 ac_cpp='$CPP $CPPFLAGS'
45516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45519
45520
45521 fi
45522
45523 fi
45524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45525 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45526
45527 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45528 for ac_func in _frexpl
45529 do :
45530 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45531 if test "x$ac_cv_func__frexpl" = x""yes; then :
45532 cat >>confdefs.h <<_ACEOF
45533 #define HAVE__FREXPL 1
45534 _ACEOF
45535
45536 fi
45537 done
45538
45539 fi
45540 fi
45541
45542
45543
45544
45545
45546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45547 $as_echo_n "checking for hypotl declaration... " >&6; }
45548 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45549 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45550 $as_echo_n "(cached) " >&6
45551 else
45552
45553
45554 ac_ext=cpp
45555 ac_cpp='$CXXCPP $CPPFLAGS'
45556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45559
45560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45561 /* end confdefs.h. */
45562 #include <math.h>
45563 int
45564 main ()
45565 {
45566 hypotl(0, 0);
45567 ;
45568 return 0;
45569 }
45570 _ACEOF
45571 if ac_fn_cxx_try_compile "$LINENO"; then :
45572 glibcxx_cv_func_hypotl_use=yes
45573 else
45574 glibcxx_cv_func_hypotl_use=no
45575 fi
45576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45577 ac_ext=c
45578 ac_cpp='$CPP $CPPFLAGS'
45579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45582
45583
45584 fi
45585
45586 fi
45587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45588 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45589
45590 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45591 for ac_func in hypotl
45592 do :
45593 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45594 if test "x$ac_cv_func_hypotl" = x""yes; then :
45595 cat >>confdefs.h <<_ACEOF
45596 #define HAVE_HYPOTL 1
45597 _ACEOF
45598
45599 fi
45600 done
45601
45602 else
45603
45604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45605 $as_echo_n "checking for _hypotl declaration... " >&6; }
45606 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45607 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45608 $as_echo_n "(cached) " >&6
45609 else
45610
45611
45612 ac_ext=cpp
45613 ac_cpp='$CXXCPP $CPPFLAGS'
45614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45617
45618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45619 /* end confdefs.h. */
45620 #include <math.h>
45621 int
45622 main ()
45623 {
45624 _hypotl(0, 0);
45625 ;
45626 return 0;
45627 }
45628 _ACEOF
45629 if ac_fn_cxx_try_compile "$LINENO"; then :
45630 glibcxx_cv_func__hypotl_use=yes
45631 else
45632 glibcxx_cv_func__hypotl_use=no
45633 fi
45634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45635 ac_ext=c
45636 ac_cpp='$CPP $CPPFLAGS'
45637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45640
45641
45642 fi
45643
45644 fi
45645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45646 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45647
45648 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45649 for ac_func in _hypotl
45650 do :
45651 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45652 if test "x$ac_cv_func__hypotl" = x""yes; then :
45653 cat >>confdefs.h <<_ACEOF
45654 #define HAVE__HYPOTL 1
45655 _ACEOF
45656
45657 fi
45658 done
45659
45660 fi
45661 fi
45662
45663
45664
45665
45666
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45668 $as_echo_n "checking for ldexpl declaration... " >&6; }
45669 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45670 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45671 $as_echo_n "(cached) " >&6
45672 else
45673
45674
45675 ac_ext=cpp
45676 ac_cpp='$CXXCPP $CPPFLAGS'
45677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45680
45681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45682 /* end confdefs.h. */
45683 #include <math.h>
45684 int
45685 main ()
45686 {
45687 ldexpl(0, 0);
45688 ;
45689 return 0;
45690 }
45691 _ACEOF
45692 if ac_fn_cxx_try_compile "$LINENO"; then :
45693 glibcxx_cv_func_ldexpl_use=yes
45694 else
45695 glibcxx_cv_func_ldexpl_use=no
45696 fi
45697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45698 ac_ext=c
45699 ac_cpp='$CPP $CPPFLAGS'
45700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45703
45704
45705 fi
45706
45707 fi
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45709 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45710
45711 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45712 for ac_func in ldexpl
45713 do :
45714 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45715 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45716 cat >>confdefs.h <<_ACEOF
45717 #define HAVE_LDEXPL 1
45718 _ACEOF
45719
45720 fi
45721 done
45722
45723 else
45724
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45726 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45727 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45728 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45729 $as_echo_n "(cached) " >&6
45730 else
45731
45732
45733 ac_ext=cpp
45734 ac_cpp='$CXXCPP $CPPFLAGS'
45735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45738
45739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45740 /* end confdefs.h. */
45741 #include <math.h>
45742 int
45743 main ()
45744 {
45745 _ldexpl(0, 0);
45746 ;
45747 return 0;
45748 }
45749 _ACEOF
45750 if ac_fn_cxx_try_compile "$LINENO"; then :
45751 glibcxx_cv_func__ldexpl_use=yes
45752 else
45753 glibcxx_cv_func__ldexpl_use=no
45754 fi
45755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45756 ac_ext=c
45757 ac_cpp='$CPP $CPPFLAGS'
45758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45761
45762
45763 fi
45764
45765 fi
45766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45767 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45768
45769 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45770 for ac_func in _ldexpl
45771 do :
45772 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45773 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45774 cat >>confdefs.h <<_ACEOF
45775 #define HAVE__LDEXPL 1
45776 _ACEOF
45777
45778 fi
45779 done
45780
45781 fi
45782 fi
45783
45784
45785
45786
45787
45788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45789 $as_echo_n "checking for logl declaration... " >&6; }
45790 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45791 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45792 $as_echo_n "(cached) " >&6
45793 else
45794
45795
45796 ac_ext=cpp
45797 ac_cpp='$CXXCPP $CPPFLAGS'
45798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45801
45802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45803 /* end confdefs.h. */
45804 #include <math.h>
45805 #ifdef HAVE_IEEEFP_H
45806 #include <ieeefp.h>
45807 #endif
45808
45809 int
45810 main ()
45811 {
45812 logl(0);
45813 ;
45814 return 0;
45815 }
45816 _ACEOF
45817 if ac_fn_cxx_try_compile "$LINENO"; then :
45818 glibcxx_cv_func_logl_use=yes
45819 else
45820 glibcxx_cv_func_logl_use=no
45821 fi
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45823 ac_ext=c
45824 ac_cpp='$CPP $CPPFLAGS'
45825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45828
45829
45830 fi
45831
45832 fi
45833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45834 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45835
45836 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45837 for ac_func in logl
45838 do :
45839 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45840 if test "x$ac_cv_func_logl" = x""yes; then :
45841 cat >>confdefs.h <<_ACEOF
45842 #define HAVE_LOGL 1
45843 _ACEOF
45844
45845 fi
45846 done
45847
45848 else
45849
45850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45851 $as_echo_n "checking for _logl declaration... " >&6; }
45852 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45853 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45854 $as_echo_n "(cached) " >&6
45855 else
45856
45857
45858 ac_ext=cpp
45859 ac_cpp='$CXXCPP $CPPFLAGS'
45860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45863
45864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45865 /* end confdefs.h. */
45866 #include <math.h>
45867 #ifdef HAVE_IEEEFP_H
45868 #include <ieeefp.h>
45869 #endif
45870
45871 int
45872 main ()
45873 {
45874 _logl(0);
45875 ;
45876 return 0;
45877 }
45878 _ACEOF
45879 if ac_fn_cxx_try_compile "$LINENO"; then :
45880 glibcxx_cv_func__logl_use=yes
45881 else
45882 glibcxx_cv_func__logl_use=no
45883 fi
45884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45885 ac_ext=c
45886 ac_cpp='$CPP $CPPFLAGS'
45887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45890
45891
45892 fi
45893
45894 fi
45895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45896 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45897
45898 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45899 for ac_func in _logl
45900 do :
45901 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45902 if test "x$ac_cv_func__logl" = x""yes; then :
45903 cat >>confdefs.h <<_ACEOF
45904 #define HAVE__LOGL 1
45905 _ACEOF
45906
45907 fi
45908 done
45909
45910 fi
45911 fi
45912
45913
45914
45915
45916
45917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45918 $as_echo_n "checking for log10l declaration... " >&6; }
45919 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45920 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45921 $as_echo_n "(cached) " >&6
45922 else
45923
45924
45925 ac_ext=cpp
45926 ac_cpp='$CXXCPP $CPPFLAGS'
45927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45930
45931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45932 /* end confdefs.h. */
45933 #include <math.h>
45934 #ifdef HAVE_IEEEFP_H
45935 #include <ieeefp.h>
45936 #endif
45937
45938 int
45939 main ()
45940 {
45941 log10l(0);
45942 ;
45943 return 0;
45944 }
45945 _ACEOF
45946 if ac_fn_cxx_try_compile "$LINENO"; then :
45947 glibcxx_cv_func_log10l_use=yes
45948 else
45949 glibcxx_cv_func_log10l_use=no
45950 fi
45951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45952 ac_ext=c
45953 ac_cpp='$CPP $CPPFLAGS'
45954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45957
45958
45959 fi
45960
45961 fi
45962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45963 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45964
45965 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45966 for ac_func in log10l
45967 do :
45968 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45969 if test "x$ac_cv_func_log10l" = x""yes; then :
45970 cat >>confdefs.h <<_ACEOF
45971 #define HAVE_LOG10L 1
45972 _ACEOF
45973
45974 fi
45975 done
45976
45977 else
45978
45979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45980 $as_echo_n "checking for _log10l declaration... " >&6; }
45981 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45982 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45983 $as_echo_n "(cached) " >&6
45984 else
45985
45986
45987 ac_ext=cpp
45988 ac_cpp='$CXXCPP $CPPFLAGS'
45989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45992
45993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45994 /* end confdefs.h. */
45995 #include <math.h>
45996 #ifdef HAVE_IEEEFP_H
45997 #include <ieeefp.h>
45998 #endif
45999
46000 int
46001 main ()
46002 {
46003 _log10l(0);
46004 ;
46005 return 0;
46006 }
46007 _ACEOF
46008 if ac_fn_cxx_try_compile "$LINENO"; then :
46009 glibcxx_cv_func__log10l_use=yes
46010 else
46011 glibcxx_cv_func__log10l_use=no
46012 fi
46013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46014 ac_ext=c
46015 ac_cpp='$CPP $CPPFLAGS'
46016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46019
46020
46021 fi
46022
46023 fi
46024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46025 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46026
46027 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46028 for ac_func in _log10l
46029 do :
46030 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46031 if test "x$ac_cv_func__log10l" = x""yes; then :
46032 cat >>confdefs.h <<_ACEOF
46033 #define HAVE__LOG10L 1
46034 _ACEOF
46035
46036 fi
46037 done
46038
46039 fi
46040 fi
46041
46042
46043
46044
46045
46046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46047 $as_echo_n "checking for modfl declaration... " >&6; }
46048 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46049 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46050 $as_echo_n "(cached) " >&6
46051 else
46052
46053
46054 ac_ext=cpp
46055 ac_cpp='$CXXCPP $CPPFLAGS'
46056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46059
46060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46061 /* end confdefs.h. */
46062 #include <math.h>
46063 int
46064 main ()
46065 {
46066 modfl(0, 0);
46067 ;
46068 return 0;
46069 }
46070 _ACEOF
46071 if ac_fn_cxx_try_compile "$LINENO"; then :
46072 glibcxx_cv_func_modfl_use=yes
46073 else
46074 glibcxx_cv_func_modfl_use=no
46075 fi
46076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46077 ac_ext=c
46078 ac_cpp='$CPP $CPPFLAGS'
46079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46082
46083
46084 fi
46085
46086 fi
46087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46088 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46089
46090 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46091 for ac_func in modfl
46092 do :
46093 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46094 if test "x$ac_cv_func_modfl" = x""yes; then :
46095 cat >>confdefs.h <<_ACEOF
46096 #define HAVE_MODFL 1
46097 _ACEOF
46098
46099 fi
46100 done
46101
46102 else
46103
46104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46105 $as_echo_n "checking for _modfl declaration... " >&6; }
46106 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46107 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46108 $as_echo_n "(cached) " >&6
46109 else
46110
46111
46112 ac_ext=cpp
46113 ac_cpp='$CXXCPP $CPPFLAGS'
46114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46117
46118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46119 /* end confdefs.h. */
46120 #include <math.h>
46121 int
46122 main ()
46123 {
46124 _modfl(0, 0);
46125 ;
46126 return 0;
46127 }
46128 _ACEOF
46129 if ac_fn_cxx_try_compile "$LINENO"; then :
46130 glibcxx_cv_func__modfl_use=yes
46131 else
46132 glibcxx_cv_func__modfl_use=no
46133 fi
46134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46135 ac_ext=c
46136 ac_cpp='$CPP $CPPFLAGS'
46137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46140
46141
46142 fi
46143
46144 fi
46145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46146 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46147
46148 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46149 for ac_func in _modfl
46150 do :
46151 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46152 if test "x$ac_cv_func__modfl" = x""yes; then :
46153 cat >>confdefs.h <<_ACEOF
46154 #define HAVE__MODFL 1
46155 _ACEOF
46156
46157 fi
46158 done
46159
46160 fi
46161 fi
46162
46163
46164
46165
46166
46167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46168 $as_echo_n "checking for powl declaration... " >&6; }
46169 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46170 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46171 $as_echo_n "(cached) " >&6
46172 else
46173
46174
46175 ac_ext=cpp
46176 ac_cpp='$CXXCPP $CPPFLAGS'
46177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46180
46181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46182 /* end confdefs.h. */
46183 #include <math.h>
46184 int
46185 main ()
46186 {
46187 powl(0, 0);
46188 ;
46189 return 0;
46190 }
46191 _ACEOF
46192 if ac_fn_cxx_try_compile "$LINENO"; then :
46193 glibcxx_cv_func_powl_use=yes
46194 else
46195 glibcxx_cv_func_powl_use=no
46196 fi
46197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46198 ac_ext=c
46199 ac_cpp='$CPP $CPPFLAGS'
46200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46203
46204
46205 fi
46206
46207 fi
46208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46209 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46210
46211 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46212 for ac_func in powl
46213 do :
46214 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46215 if test "x$ac_cv_func_powl" = x""yes; then :
46216 cat >>confdefs.h <<_ACEOF
46217 #define HAVE_POWL 1
46218 _ACEOF
46219
46220 fi
46221 done
46222
46223 else
46224
46225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46226 $as_echo_n "checking for _powl declaration... " >&6; }
46227 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46228 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46229 $as_echo_n "(cached) " >&6
46230 else
46231
46232
46233 ac_ext=cpp
46234 ac_cpp='$CXXCPP $CPPFLAGS'
46235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46238
46239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46240 /* end confdefs.h. */
46241 #include <math.h>
46242 int
46243 main ()
46244 {
46245 _powl(0, 0);
46246 ;
46247 return 0;
46248 }
46249 _ACEOF
46250 if ac_fn_cxx_try_compile "$LINENO"; then :
46251 glibcxx_cv_func__powl_use=yes
46252 else
46253 glibcxx_cv_func__powl_use=no
46254 fi
46255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46256 ac_ext=c
46257 ac_cpp='$CPP $CPPFLAGS'
46258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46261
46262
46263 fi
46264
46265 fi
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46267 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46268
46269 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46270 for ac_func in _powl
46271 do :
46272 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46273 if test "x$ac_cv_func__powl" = x""yes; then :
46274 cat >>confdefs.h <<_ACEOF
46275 #define HAVE__POWL 1
46276 _ACEOF
46277
46278 fi
46279 done
46280
46281 fi
46282 fi
46283
46284
46285
46286
46287
46288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46289 $as_echo_n "checking for sqrtl declaration... " >&6; }
46290 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46291 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46292 $as_echo_n "(cached) " >&6
46293 else
46294
46295
46296 ac_ext=cpp
46297 ac_cpp='$CXXCPP $CPPFLAGS'
46298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46301
46302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46303 /* end confdefs.h. */
46304 #include <math.h>
46305 #ifdef HAVE_IEEEFP_H
46306 #include <ieeefp.h>
46307 #endif
46308
46309 int
46310 main ()
46311 {
46312 sqrtl(0);
46313 ;
46314 return 0;
46315 }
46316 _ACEOF
46317 if ac_fn_cxx_try_compile "$LINENO"; then :
46318 glibcxx_cv_func_sqrtl_use=yes
46319 else
46320 glibcxx_cv_func_sqrtl_use=no
46321 fi
46322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46323 ac_ext=c
46324 ac_cpp='$CPP $CPPFLAGS'
46325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46328
46329
46330 fi
46331
46332 fi
46333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46334 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46335
46336 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46337 for ac_func in sqrtl
46338 do :
46339 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46340 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46341 cat >>confdefs.h <<_ACEOF
46342 #define HAVE_SQRTL 1
46343 _ACEOF
46344
46345 fi
46346 done
46347
46348 else
46349
46350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46351 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46352 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46353 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46354 $as_echo_n "(cached) " >&6
46355 else
46356
46357
46358 ac_ext=cpp
46359 ac_cpp='$CXXCPP $CPPFLAGS'
46360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46363
46364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46365 /* end confdefs.h. */
46366 #include <math.h>
46367 #ifdef HAVE_IEEEFP_H
46368 #include <ieeefp.h>
46369 #endif
46370
46371 int
46372 main ()
46373 {
46374 _sqrtl(0);
46375 ;
46376 return 0;
46377 }
46378 _ACEOF
46379 if ac_fn_cxx_try_compile "$LINENO"; then :
46380 glibcxx_cv_func__sqrtl_use=yes
46381 else
46382 glibcxx_cv_func__sqrtl_use=no
46383 fi
46384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46385 ac_ext=c
46386 ac_cpp='$CPP $CPPFLAGS'
46387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46390
46391
46392 fi
46393
46394 fi
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46396 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46397
46398 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46399 for ac_func in _sqrtl
46400 do :
46401 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46402 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46403 cat >>confdefs.h <<_ACEOF
46404 #define HAVE__SQRTL 1
46405 _ACEOF
46406
46407 fi
46408 done
46409
46410 fi
46411 fi
46412
46413
46414
46415
46416
46417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46418 $as_echo_n "checking for sincosl declaration... " >&6; }
46419 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46420 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46421 $as_echo_n "(cached) " >&6
46422 else
46423
46424
46425 ac_ext=cpp
46426 ac_cpp='$CXXCPP $CPPFLAGS'
46427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46430
46431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46432 /* end confdefs.h. */
46433 #include <math.h>
46434 int
46435 main ()
46436 {
46437 sincosl(0, 0, 0);
46438 ;
46439 return 0;
46440 }
46441 _ACEOF
46442 if ac_fn_cxx_try_compile "$LINENO"; then :
46443 glibcxx_cv_func_sincosl_use=yes
46444 else
46445 glibcxx_cv_func_sincosl_use=no
46446 fi
46447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46448 ac_ext=c
46449 ac_cpp='$CPP $CPPFLAGS'
46450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46453
46454
46455 fi
46456
46457 fi
46458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46459 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46460
46461 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46462 for ac_func in sincosl
46463 do :
46464 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46465 if test "x$ac_cv_func_sincosl" = x""yes; then :
46466 cat >>confdefs.h <<_ACEOF
46467 #define HAVE_SINCOSL 1
46468 _ACEOF
46469
46470 fi
46471 done
46472
46473 else
46474
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46476 $as_echo_n "checking for _sincosl declaration... " >&6; }
46477 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46478 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46479 $as_echo_n "(cached) " >&6
46480 else
46481
46482
46483 ac_ext=cpp
46484 ac_cpp='$CXXCPP $CPPFLAGS'
46485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46488
46489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46490 /* end confdefs.h. */
46491 #include <math.h>
46492 int
46493 main ()
46494 {
46495 _sincosl(0, 0, 0);
46496 ;
46497 return 0;
46498 }
46499 _ACEOF
46500 if ac_fn_cxx_try_compile "$LINENO"; then :
46501 glibcxx_cv_func__sincosl_use=yes
46502 else
46503 glibcxx_cv_func__sincosl_use=no
46504 fi
46505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46506 ac_ext=c
46507 ac_cpp='$CPP $CPPFLAGS'
46508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46511
46512
46513 fi
46514
46515 fi
46516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46517 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46518
46519 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46520 for ac_func in _sincosl
46521 do :
46522 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46523 if test "x$ac_cv_func__sincosl" = x""yes; then :
46524 cat >>confdefs.h <<_ACEOF
46525 #define HAVE__SINCOSL 1
46526 _ACEOF
46527
46528 fi
46529 done
46530
46531 fi
46532 fi
46533
46534
46535
46536
46537
46538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46539 $as_echo_n "checking for finitel declaration... " >&6; }
46540 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46541 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46542 $as_echo_n "(cached) " >&6
46543 else
46544
46545
46546 ac_ext=cpp
46547 ac_cpp='$CXXCPP $CPPFLAGS'
46548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46551
46552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46553 /* end confdefs.h. */
46554 #include <math.h>
46555 #ifdef HAVE_IEEEFP_H
46556 #include <ieeefp.h>
46557 #endif
46558
46559 int
46560 main ()
46561 {
46562 finitel(0);
46563 ;
46564 return 0;
46565 }
46566 _ACEOF
46567 if ac_fn_cxx_try_compile "$LINENO"; then :
46568 glibcxx_cv_func_finitel_use=yes
46569 else
46570 glibcxx_cv_func_finitel_use=no
46571 fi
46572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46573 ac_ext=c
46574 ac_cpp='$CPP $CPPFLAGS'
46575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46578
46579
46580 fi
46581
46582 fi
46583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46584 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46585
46586 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46587 for ac_func in finitel
46588 do :
46589 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46590 if test "x$ac_cv_func_finitel" = x""yes; then :
46591 cat >>confdefs.h <<_ACEOF
46592 #define HAVE_FINITEL 1
46593 _ACEOF
46594
46595 fi
46596 done
46597
46598 else
46599
46600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46601 $as_echo_n "checking for _finitel declaration... " >&6; }
46602 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46603 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46604 $as_echo_n "(cached) " >&6
46605 else
46606
46607
46608 ac_ext=cpp
46609 ac_cpp='$CXXCPP $CPPFLAGS'
46610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46613
46614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46615 /* end confdefs.h. */
46616 #include <math.h>
46617 #ifdef HAVE_IEEEFP_H
46618 #include <ieeefp.h>
46619 #endif
46620
46621 int
46622 main ()
46623 {
46624 _finitel(0);
46625 ;
46626 return 0;
46627 }
46628 _ACEOF
46629 if ac_fn_cxx_try_compile "$LINENO"; then :
46630 glibcxx_cv_func__finitel_use=yes
46631 else
46632 glibcxx_cv_func__finitel_use=no
46633 fi
46634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46635 ac_ext=c
46636 ac_cpp='$CPP $CPPFLAGS'
46637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46640
46641
46642 fi
46643
46644 fi
46645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46646 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46647
46648 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46649 for ac_func in _finitel
46650 do :
46651 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46652 if test "x$ac_cv_func__finitel" = x""yes; then :
46653 cat >>confdefs.h <<_ACEOF
46654 #define HAVE__FINITEL 1
46655 _ACEOF
46656
46657 fi
46658 done
46659
46660 fi
46661 fi
46662
46663
46664
46665
46666 LIBS="$ac_save_LIBS"
46667 CXXFLAGS="$ac_save_CXXFLAGS"
46668
46669
46670 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46671 ac_save_CXXFLAGS="$CXXFLAGS"
46672 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46673
46674
46675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46676 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46677 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46678 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46679 $as_echo_n "(cached) " >&6
46680 else
46681
46682
46683 ac_ext=cpp
46684 ac_cpp='$CXXCPP $CPPFLAGS'
46685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46688
46689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46690 /* end confdefs.h. */
46691 #include <stdlib.h>
46692 int
46693 main ()
46694 {
46695 at_quick_exit(0);
46696 ;
46697 return 0;
46698 }
46699 _ACEOF
46700 if ac_fn_cxx_try_compile "$LINENO"; then :
46701 glibcxx_cv_func_at_quick_exit_use=yes
46702 else
46703 glibcxx_cv_func_at_quick_exit_use=no
46704 fi
46705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46706 ac_ext=c
46707 ac_cpp='$CPP $CPPFLAGS'
46708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46711
46712
46713 fi
46714
46715 fi
46716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46717 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46718 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46719 for ac_func in at_quick_exit
46720 do :
46721 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46722 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46723 cat >>confdefs.h <<_ACEOF
46724 #define HAVE_AT_QUICK_EXIT 1
46725 _ACEOF
46726
46727 fi
46728 done
46729
46730 fi
46731
46732
46733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46734 $as_echo_n "checking for quick_exit declaration... " >&6; }
46735 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46736 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46737 $as_echo_n "(cached) " >&6
46738 else
46739
46740
46741 ac_ext=cpp
46742 ac_cpp='$CXXCPP $CPPFLAGS'
46743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46746
46747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46748 /* end confdefs.h. */
46749 #include <stdlib.h>
46750 int
46751 main ()
46752 {
46753 quick_exit(0);
46754 ;
46755 return 0;
46756 }
46757 _ACEOF
46758 if ac_fn_cxx_try_compile "$LINENO"; then :
46759 glibcxx_cv_func_quick_exit_use=yes
46760 else
46761 glibcxx_cv_func_quick_exit_use=no
46762 fi
46763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46764 ac_ext=c
46765 ac_cpp='$CPP $CPPFLAGS'
46766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46769
46770
46771 fi
46772
46773 fi
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46775 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46776 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46777 for ac_func in quick_exit
46778 do :
46779 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46780 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46781 cat >>confdefs.h <<_ACEOF
46782 #define HAVE_QUICK_EXIT 1
46783 _ACEOF
46784
46785 fi
46786 done
46787
46788 fi
46789
46790
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46792 $as_echo_n "checking for strtold declaration... " >&6; }
46793 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46794 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46795 $as_echo_n "(cached) " >&6
46796 else
46797
46798
46799 ac_ext=cpp
46800 ac_cpp='$CXXCPP $CPPFLAGS'
46801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46804
46805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46806 /* end confdefs.h. */
46807 #include <stdlib.h>
46808 int
46809 main ()
46810 {
46811 strtold(0, 0);
46812 ;
46813 return 0;
46814 }
46815 _ACEOF
46816 if ac_fn_cxx_try_compile "$LINENO"; then :
46817 glibcxx_cv_func_strtold_use=yes
46818 else
46819 glibcxx_cv_func_strtold_use=no
46820 fi
46821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46822 ac_ext=c
46823 ac_cpp='$CPP $CPPFLAGS'
46824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46827
46828
46829 fi
46830
46831 fi
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46833 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46834 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46835 for ac_func in strtold
46836 do :
46837 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46838 if test "x$ac_cv_func_strtold" = x""yes; then :
46839 cat >>confdefs.h <<_ACEOF
46840 #define HAVE_STRTOLD 1
46841 _ACEOF
46842
46843 fi
46844 done
46845
46846 fi
46847
46848
46849
46850
46851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46852 $as_echo_n "checking for strtof declaration... " >&6; }
46853 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46854 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46855 $as_echo_n "(cached) " >&6
46856 else
46857
46858
46859 ac_ext=cpp
46860 ac_cpp='$CXXCPP $CPPFLAGS'
46861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46864
46865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46866 /* end confdefs.h. */
46867 #include <stdlib.h>
46868 int
46869 main ()
46870 {
46871 strtof(0, 0);
46872 ;
46873 return 0;
46874 }
46875 _ACEOF
46876 if ac_fn_cxx_try_compile "$LINENO"; then :
46877 glibcxx_cv_func_strtof_use=yes
46878 else
46879 glibcxx_cv_func_strtof_use=no
46880 fi
46881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46882 ac_ext=c
46883 ac_cpp='$CPP $CPPFLAGS'
46884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46887
46888
46889 fi
46890
46891 fi
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46893 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46894 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46895 for ac_func in strtof
46896 do :
46897 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46898 if test "x$ac_cv_func_strtof" = x""yes; then :
46899 cat >>confdefs.h <<_ACEOF
46900 #define HAVE_STRTOF 1
46901 _ACEOF
46902
46903 fi
46904 done
46905
46906 fi
46907
46908
46909
46910
46911 CXXFLAGS="$ac_save_CXXFLAGS"
46912
46913 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46914
46915 # We don't yet support AIX's TLS ABI.
46916 #GCC_CHECK_TLS
46917
46918
46919
46920
46921
46922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46923 $as_echo_n "checking for iconv... " >&6; }
46924 if test "${am_cv_func_iconv+set}" = set; then :
46925 $as_echo_n "(cached) " >&6
46926 else
46927
46928 am_cv_func_iconv="no, consider installing GNU libiconv"
46929 am_cv_lib_iconv=no
46930 am_save_CPPFLAGS="$CPPFLAGS"
46931 CPPFLAGS="$CPPFLAGS $INCICONV"
46932 if test x$gcc_no_link = xyes; then
46933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46934 fi
46935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46936 /* end confdefs.h. */
46937 #include <stdlib.h>
46938 #include <iconv.h>
46939 int
46940 main ()
46941 {
46942 iconv_t cd = iconv_open("","");
46943 iconv(cd,NULL,NULL,NULL,NULL);
46944 iconv_close(cd);
46945 ;
46946 return 0;
46947 }
46948 _ACEOF
46949 if ac_fn_c_try_link "$LINENO"; then :
46950 am_cv_func_iconv=yes
46951 fi
46952 rm -f core conftest.err conftest.$ac_objext \
46953 conftest$ac_exeext conftest.$ac_ext
46954 CPPFLAGS="$am_save_CPPFLAGS"
46955
46956 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46957 for _libs in .libs _libs; do
46958 am_save_CPPFLAGS="$CPPFLAGS"
46959 am_save_LIBS="$LIBS"
46960 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46961 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46962 if test x$gcc_no_link = xyes; then
46963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46964 fi
46965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46966 /* end confdefs.h. */
46967 #include <stdlib.h>
46968 #include <iconv.h>
46969 int
46970 main ()
46971 {
46972 iconv_t cd = iconv_open("","");
46973 iconv(cd,NULL,NULL,NULL,NULL);
46974 iconv_close(cd);
46975 ;
46976 return 0;
46977 }
46978 _ACEOF
46979 if ac_fn_c_try_link "$LINENO"; then :
46980 INCICONV="-I../libiconv/include"
46981 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46982 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
46983 am_cv_lib_iconv=yes
46984 am_cv_func_iconv=yes
46985 fi
46986 rm -f core conftest.err conftest.$ac_objext \
46987 conftest$ac_exeext conftest.$ac_ext
46988 CPPFLAGS="$am_save_CPPFLAGS"
46989 LIBS="$am_save_LIBS"
46990 if test "$am_cv_func_iconv" = "yes"; then
46991 break
46992 fi
46993 done
46994 fi
46995
46996 if test "$am_cv_func_iconv" != yes; then
46997 am_save_CPPFLAGS="$CPPFLAGS"
46998 am_save_LIBS="$LIBS"
46999 CPPFLAGS="$LIBS $INCICONV"
47000 LIBS="$LIBS $LIBICONV"
47001 if test x$gcc_no_link = xyes; then
47002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47003 fi
47004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47005 /* end confdefs.h. */
47006 #include <stdlib.h>
47007 #include <iconv.h>
47008 int
47009 main ()
47010 {
47011 iconv_t cd = iconv_open("","");
47012 iconv(cd,NULL,NULL,NULL,NULL);
47013 iconv_close(cd);
47014 ;
47015 return 0;
47016 }
47017 _ACEOF
47018 if ac_fn_c_try_link "$LINENO"; then :
47019 am_cv_lib_iconv=yes
47020 am_cv_func_iconv=yes
47021 fi
47022 rm -f core conftest.err conftest.$ac_objext \
47023 conftest$ac_exeext conftest.$ac_ext
47024 CPPFLAGS="$am_save_CPPFLAGS"
47025 LIBS="$am_save_LIBS"
47026 fi
47027
47028 fi
47029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47030 $as_echo "$am_cv_func_iconv" >&6; }
47031 if test "$am_cv_func_iconv" = yes; then
47032
47033 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47034
47035 fi
47036 if test "$am_cv_lib_iconv" = yes; then
47037
47038 for element in $INCICONV; do
47039 haveit=
47040 for x in $CPPFLAGS; do
47041
47042 acl_save_prefix="$prefix"
47043 prefix="$acl_final_prefix"
47044 acl_save_exec_prefix="$exec_prefix"
47045 exec_prefix="$acl_final_exec_prefix"
47046 eval x=\"$x\"
47047 exec_prefix="$acl_save_exec_prefix"
47048 prefix="$acl_save_prefix"
47049
47050 if test "X$x" = "X$element"; then
47051 haveit=yes
47052 break
47053 fi
47054 done
47055 if test -z "$haveit"; then
47056 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47057 fi
47058 done
47059
47060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47061 $as_echo_n "checking how to link with libiconv... " >&6; }
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47063 $as_echo "$LIBICONV" >&6; }
47064 else
47065 LIBICONV=
47066 LTLIBICONV=
47067 fi
47068
47069
47070
47071 if test "$am_cv_func_iconv" = yes; then
47072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47073 $as_echo_n "checking for iconv declaration... " >&6; }
47074 if test "${am_cv_proto_iconv+set}" = set; then :
47075 $as_echo_n "(cached) " >&6
47076 else
47077
47078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47079 /* end confdefs.h. */
47080
47081 #include <stdlib.h>
47082 #include <iconv.h>
47083 extern
47084 #ifdef __cplusplus
47085 "C"
47086 #endif
47087 #if defined(__STDC__) || defined(__cplusplus)
47088 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47089 #else
47090 size_t iconv();
47091 #endif
47092
47093 int
47094 main ()
47095 {
47096
47097 ;
47098 return 0;
47099 }
47100 _ACEOF
47101 if ac_fn_c_try_compile "$LINENO"; then :
47102 am_cv_proto_iconv_arg1=""
47103 else
47104 am_cv_proto_iconv_arg1="const"
47105 fi
47106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47107 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);"
47108 fi
47109
47110 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47112 }$am_cv_proto_iconv" >&5
47113 $as_echo "${ac_t:-
47114 }$am_cv_proto_iconv" >&6; }
47115
47116 cat >>confdefs.h <<_ACEOF
47117 #define ICONV_CONST $am_cv_proto_iconv_arg1
47118 _ACEOF
47119
47120 fi
47121
47122 ;;
47123
47124 *-darwin*)
47125 # Darwin versions vary, but the linker should work in a cross environment,
47126 # so we just check for all the features here.
47127 # Check for available headers.
47128
47129 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47130
47131 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47132 ac_save_CXXFLAGS="$CXXFLAGS"
47133 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47134
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47136 $as_echo_n "checking for sin in -lm... " >&6; }
47137 if test "${ac_cv_lib_m_sin+set}" = set; then :
47138 $as_echo_n "(cached) " >&6
47139 else
47140 ac_check_lib_save_LIBS=$LIBS
47141 LIBS="-lm $LIBS"
47142 if test x$gcc_no_link = xyes; then
47143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47144 fi
47145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47146 /* end confdefs.h. */
47147
47148 /* Override any GCC internal prototype to avoid an error.
47149 Use char because int might match the return type of a GCC
47150 builtin and then its argument prototype would still apply. */
47151 #ifdef __cplusplus
47152 extern "C"
47153 #endif
47154 char sin ();
47155 int
47156 main ()
47157 {
47158 return sin ();
47159 ;
47160 return 0;
47161 }
47162 _ACEOF
47163 if ac_fn_c_try_link "$LINENO"; then :
47164 ac_cv_lib_m_sin=yes
47165 else
47166 ac_cv_lib_m_sin=no
47167 fi
47168 rm -f core conftest.err conftest.$ac_objext \
47169 conftest$ac_exeext conftest.$ac_ext
47170 LIBS=$ac_check_lib_save_LIBS
47171 fi
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47173 $as_echo "$ac_cv_lib_m_sin" >&6; }
47174 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47175 libm="-lm"
47176 fi
47177
47178 ac_save_LIBS="$LIBS"
47179 LIBS="$LIBS $libm"
47180
47181
47182
47183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47184 $as_echo_n "checking for isinf declaration... " >&6; }
47185 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47186 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47187 $as_echo_n "(cached) " >&6
47188 else
47189
47190
47191 ac_ext=cpp
47192 ac_cpp='$CXXCPP $CPPFLAGS'
47193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47196
47197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47198 /* end confdefs.h. */
47199 #include <math.h>
47200 #ifdef HAVE_IEEEFP_H
47201 #include <ieeefp.h>
47202 #endif
47203
47204 int
47205 main ()
47206 {
47207 isinf(0);
47208 ;
47209 return 0;
47210 }
47211 _ACEOF
47212 if ac_fn_cxx_try_compile "$LINENO"; then :
47213 glibcxx_cv_func_isinf_use=yes
47214 else
47215 glibcxx_cv_func_isinf_use=no
47216 fi
47217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47218 ac_ext=c
47219 ac_cpp='$CPP $CPPFLAGS'
47220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47223
47224
47225 fi
47226
47227 fi
47228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47229 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47230
47231 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47232 for ac_func in isinf
47233 do :
47234 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47235 if test "x$ac_cv_func_isinf" = x""yes; then :
47236 cat >>confdefs.h <<_ACEOF
47237 #define HAVE_ISINF 1
47238 _ACEOF
47239
47240 fi
47241 done
47242
47243 else
47244
47245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47246 $as_echo_n "checking for _isinf declaration... " >&6; }
47247 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47248 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47249 $as_echo_n "(cached) " >&6
47250 else
47251
47252
47253 ac_ext=cpp
47254 ac_cpp='$CXXCPP $CPPFLAGS'
47255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47258
47259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47260 /* end confdefs.h. */
47261 #include <math.h>
47262 #ifdef HAVE_IEEEFP_H
47263 #include <ieeefp.h>
47264 #endif
47265
47266 int
47267 main ()
47268 {
47269 _isinf(0);
47270 ;
47271 return 0;
47272 }
47273 _ACEOF
47274 if ac_fn_cxx_try_compile "$LINENO"; then :
47275 glibcxx_cv_func__isinf_use=yes
47276 else
47277 glibcxx_cv_func__isinf_use=no
47278 fi
47279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47280 ac_ext=c
47281 ac_cpp='$CPP $CPPFLAGS'
47282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47285
47286
47287 fi
47288
47289 fi
47290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47291 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47292
47293 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47294 for ac_func in _isinf
47295 do :
47296 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47297 if test "x$ac_cv_func__isinf" = x""yes; then :
47298 cat >>confdefs.h <<_ACEOF
47299 #define HAVE__ISINF 1
47300 _ACEOF
47301
47302 fi
47303 done
47304
47305 fi
47306 fi
47307
47308
47309
47310
47311
47312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47313 $as_echo_n "checking for isnan declaration... " >&6; }
47314 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47315 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47316 $as_echo_n "(cached) " >&6
47317 else
47318
47319
47320 ac_ext=cpp
47321 ac_cpp='$CXXCPP $CPPFLAGS'
47322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47325
47326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47327 /* end confdefs.h. */
47328 #include <math.h>
47329 #ifdef HAVE_IEEEFP_H
47330 #include <ieeefp.h>
47331 #endif
47332
47333 int
47334 main ()
47335 {
47336 isnan(0);
47337 ;
47338 return 0;
47339 }
47340 _ACEOF
47341 if ac_fn_cxx_try_compile "$LINENO"; then :
47342 glibcxx_cv_func_isnan_use=yes
47343 else
47344 glibcxx_cv_func_isnan_use=no
47345 fi
47346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47347 ac_ext=c
47348 ac_cpp='$CPP $CPPFLAGS'
47349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47352
47353
47354 fi
47355
47356 fi
47357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47358 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47359
47360 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47361 for ac_func in isnan
47362 do :
47363 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47364 if test "x$ac_cv_func_isnan" = x""yes; then :
47365 cat >>confdefs.h <<_ACEOF
47366 #define HAVE_ISNAN 1
47367 _ACEOF
47368
47369 fi
47370 done
47371
47372 else
47373
47374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47375 $as_echo_n "checking for _isnan declaration... " >&6; }
47376 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47377 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47378 $as_echo_n "(cached) " >&6
47379 else
47380
47381
47382 ac_ext=cpp
47383 ac_cpp='$CXXCPP $CPPFLAGS'
47384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47387
47388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47389 /* end confdefs.h. */
47390 #include <math.h>
47391 #ifdef HAVE_IEEEFP_H
47392 #include <ieeefp.h>
47393 #endif
47394
47395 int
47396 main ()
47397 {
47398 _isnan(0);
47399 ;
47400 return 0;
47401 }
47402 _ACEOF
47403 if ac_fn_cxx_try_compile "$LINENO"; then :
47404 glibcxx_cv_func__isnan_use=yes
47405 else
47406 glibcxx_cv_func__isnan_use=no
47407 fi
47408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47409 ac_ext=c
47410 ac_cpp='$CPP $CPPFLAGS'
47411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47414
47415
47416 fi
47417
47418 fi
47419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47420 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47421
47422 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47423 for ac_func in _isnan
47424 do :
47425 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47426 if test "x$ac_cv_func__isnan" = x""yes; then :
47427 cat >>confdefs.h <<_ACEOF
47428 #define HAVE__ISNAN 1
47429 _ACEOF
47430
47431 fi
47432 done
47433
47434 fi
47435 fi
47436
47437
47438
47439
47440
47441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47442 $as_echo_n "checking for finite declaration... " >&6; }
47443 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47444 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47445 $as_echo_n "(cached) " >&6
47446 else
47447
47448
47449 ac_ext=cpp
47450 ac_cpp='$CXXCPP $CPPFLAGS'
47451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47454
47455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47456 /* end confdefs.h. */
47457 #include <math.h>
47458 #ifdef HAVE_IEEEFP_H
47459 #include <ieeefp.h>
47460 #endif
47461
47462 int
47463 main ()
47464 {
47465 finite(0);
47466 ;
47467 return 0;
47468 }
47469 _ACEOF
47470 if ac_fn_cxx_try_compile "$LINENO"; then :
47471 glibcxx_cv_func_finite_use=yes
47472 else
47473 glibcxx_cv_func_finite_use=no
47474 fi
47475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47476 ac_ext=c
47477 ac_cpp='$CPP $CPPFLAGS'
47478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47481
47482
47483 fi
47484
47485 fi
47486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47487 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47488
47489 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47490 for ac_func in finite
47491 do :
47492 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47493 if test "x$ac_cv_func_finite" = x""yes; then :
47494 cat >>confdefs.h <<_ACEOF
47495 #define HAVE_FINITE 1
47496 _ACEOF
47497
47498 fi
47499 done
47500
47501 else
47502
47503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47504 $as_echo_n "checking for _finite declaration... " >&6; }
47505 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47506 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47507 $as_echo_n "(cached) " >&6
47508 else
47509
47510
47511 ac_ext=cpp
47512 ac_cpp='$CXXCPP $CPPFLAGS'
47513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47516
47517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47518 /* end confdefs.h. */
47519 #include <math.h>
47520 #ifdef HAVE_IEEEFP_H
47521 #include <ieeefp.h>
47522 #endif
47523
47524 int
47525 main ()
47526 {
47527 _finite(0);
47528 ;
47529 return 0;
47530 }
47531 _ACEOF
47532 if ac_fn_cxx_try_compile "$LINENO"; then :
47533 glibcxx_cv_func__finite_use=yes
47534 else
47535 glibcxx_cv_func__finite_use=no
47536 fi
47537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47538 ac_ext=c
47539 ac_cpp='$CPP $CPPFLAGS'
47540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47543
47544
47545 fi
47546
47547 fi
47548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47549 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47550
47551 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47552 for ac_func in _finite
47553 do :
47554 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47555 if test "x$ac_cv_func__finite" = x""yes; then :
47556 cat >>confdefs.h <<_ACEOF
47557 #define HAVE__FINITE 1
47558 _ACEOF
47559
47560 fi
47561 done
47562
47563 fi
47564 fi
47565
47566
47567
47568
47569
47570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47571 $as_echo_n "checking for sincos declaration... " >&6; }
47572 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47573 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47574 $as_echo_n "(cached) " >&6
47575 else
47576
47577
47578 ac_ext=cpp
47579 ac_cpp='$CXXCPP $CPPFLAGS'
47580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47583
47584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47585 /* end confdefs.h. */
47586 #include <math.h>
47587 int
47588 main ()
47589 {
47590 sincos(0, 0, 0);
47591 ;
47592 return 0;
47593 }
47594 _ACEOF
47595 if ac_fn_cxx_try_compile "$LINENO"; then :
47596 glibcxx_cv_func_sincos_use=yes
47597 else
47598 glibcxx_cv_func_sincos_use=no
47599 fi
47600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47601 ac_ext=c
47602 ac_cpp='$CPP $CPPFLAGS'
47603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47606
47607
47608 fi
47609
47610 fi
47611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47612 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47613
47614 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47615 for ac_func in sincos
47616 do :
47617 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47618 if test "x$ac_cv_func_sincos" = x""yes; then :
47619 cat >>confdefs.h <<_ACEOF
47620 #define HAVE_SINCOS 1
47621 _ACEOF
47622
47623 fi
47624 done
47625
47626 else
47627
47628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47629 $as_echo_n "checking for _sincos declaration... " >&6; }
47630 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47631 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47632 $as_echo_n "(cached) " >&6
47633 else
47634
47635
47636 ac_ext=cpp
47637 ac_cpp='$CXXCPP $CPPFLAGS'
47638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47641
47642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47643 /* end confdefs.h. */
47644 #include <math.h>
47645 int
47646 main ()
47647 {
47648 _sincos(0, 0, 0);
47649 ;
47650 return 0;
47651 }
47652 _ACEOF
47653 if ac_fn_cxx_try_compile "$LINENO"; then :
47654 glibcxx_cv_func__sincos_use=yes
47655 else
47656 glibcxx_cv_func__sincos_use=no
47657 fi
47658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47659 ac_ext=c
47660 ac_cpp='$CPP $CPPFLAGS'
47661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47664
47665
47666 fi
47667
47668 fi
47669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47670 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47671
47672 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47673 for ac_func in _sincos
47674 do :
47675 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47676 if test "x$ac_cv_func__sincos" = x""yes; then :
47677 cat >>confdefs.h <<_ACEOF
47678 #define HAVE__SINCOS 1
47679 _ACEOF
47680
47681 fi
47682 done
47683
47684 fi
47685 fi
47686
47687
47688
47689
47690
47691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47692 $as_echo_n "checking for fpclass declaration... " >&6; }
47693 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47694 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47695 $as_echo_n "(cached) " >&6
47696 else
47697
47698
47699 ac_ext=cpp
47700 ac_cpp='$CXXCPP $CPPFLAGS'
47701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47704
47705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47706 /* end confdefs.h. */
47707 #include <math.h>
47708 #ifdef HAVE_IEEEFP_H
47709 #include <ieeefp.h>
47710 #endif
47711
47712 int
47713 main ()
47714 {
47715 fpclass(0);
47716 ;
47717 return 0;
47718 }
47719 _ACEOF
47720 if ac_fn_cxx_try_compile "$LINENO"; then :
47721 glibcxx_cv_func_fpclass_use=yes
47722 else
47723 glibcxx_cv_func_fpclass_use=no
47724 fi
47725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47726 ac_ext=c
47727 ac_cpp='$CPP $CPPFLAGS'
47728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47731
47732
47733 fi
47734
47735 fi
47736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47737 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47738
47739 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47740 for ac_func in fpclass
47741 do :
47742 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47743 if test "x$ac_cv_func_fpclass" = x""yes; then :
47744 cat >>confdefs.h <<_ACEOF
47745 #define HAVE_FPCLASS 1
47746 _ACEOF
47747
47748 fi
47749 done
47750
47751 else
47752
47753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47754 $as_echo_n "checking for _fpclass declaration... " >&6; }
47755 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47756 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47757 $as_echo_n "(cached) " >&6
47758 else
47759
47760
47761 ac_ext=cpp
47762 ac_cpp='$CXXCPP $CPPFLAGS'
47763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47766
47767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47768 /* end confdefs.h. */
47769 #include <math.h>
47770 #ifdef HAVE_IEEEFP_H
47771 #include <ieeefp.h>
47772 #endif
47773
47774 int
47775 main ()
47776 {
47777 _fpclass(0);
47778 ;
47779 return 0;
47780 }
47781 _ACEOF
47782 if ac_fn_cxx_try_compile "$LINENO"; then :
47783 glibcxx_cv_func__fpclass_use=yes
47784 else
47785 glibcxx_cv_func__fpclass_use=no
47786 fi
47787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47788 ac_ext=c
47789 ac_cpp='$CPP $CPPFLAGS'
47790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47793
47794
47795 fi
47796
47797 fi
47798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47799 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47800
47801 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47802 for ac_func in _fpclass
47803 do :
47804 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47805 if test "x$ac_cv_func__fpclass" = x""yes; then :
47806 cat >>confdefs.h <<_ACEOF
47807 #define HAVE__FPCLASS 1
47808 _ACEOF
47809
47810 fi
47811 done
47812
47813 fi
47814 fi
47815
47816
47817
47818
47819
47820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47821 $as_echo_n "checking for qfpclass declaration... " >&6; }
47822 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47823 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47824 $as_echo_n "(cached) " >&6
47825 else
47826
47827
47828 ac_ext=cpp
47829 ac_cpp='$CXXCPP $CPPFLAGS'
47830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47833
47834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47835 /* end confdefs.h. */
47836 #include <math.h>
47837 #ifdef HAVE_IEEEFP_H
47838 #include <ieeefp.h>
47839 #endif
47840
47841 int
47842 main ()
47843 {
47844 qfpclass(0);
47845 ;
47846 return 0;
47847 }
47848 _ACEOF
47849 if ac_fn_cxx_try_compile "$LINENO"; then :
47850 glibcxx_cv_func_qfpclass_use=yes
47851 else
47852 glibcxx_cv_func_qfpclass_use=no
47853 fi
47854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47855 ac_ext=c
47856 ac_cpp='$CPP $CPPFLAGS'
47857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47860
47861
47862 fi
47863
47864 fi
47865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47866 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47867
47868 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47869 for ac_func in qfpclass
47870 do :
47871 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47872 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47873 cat >>confdefs.h <<_ACEOF
47874 #define HAVE_QFPCLASS 1
47875 _ACEOF
47876
47877 fi
47878 done
47879
47880 else
47881
47882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47883 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47884 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47885 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47886 $as_echo_n "(cached) " >&6
47887 else
47888
47889
47890 ac_ext=cpp
47891 ac_cpp='$CXXCPP $CPPFLAGS'
47892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47895
47896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47897 /* end confdefs.h. */
47898 #include <math.h>
47899 #ifdef HAVE_IEEEFP_H
47900 #include <ieeefp.h>
47901 #endif
47902
47903 int
47904 main ()
47905 {
47906 _qfpclass(0);
47907 ;
47908 return 0;
47909 }
47910 _ACEOF
47911 if ac_fn_cxx_try_compile "$LINENO"; then :
47912 glibcxx_cv_func__qfpclass_use=yes
47913 else
47914 glibcxx_cv_func__qfpclass_use=no
47915 fi
47916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47917 ac_ext=c
47918 ac_cpp='$CPP $CPPFLAGS'
47919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47922
47923
47924 fi
47925
47926 fi
47927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47928 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47929
47930 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47931 for ac_func in _qfpclass
47932 do :
47933 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47934 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47935 cat >>confdefs.h <<_ACEOF
47936 #define HAVE__QFPCLASS 1
47937 _ACEOF
47938
47939 fi
47940 done
47941
47942 fi
47943 fi
47944
47945
47946
47947
47948
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47950 $as_echo_n "checking for hypot declaration... " >&6; }
47951 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47952 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47953 $as_echo_n "(cached) " >&6
47954 else
47955
47956
47957 ac_ext=cpp
47958 ac_cpp='$CXXCPP $CPPFLAGS'
47959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47962
47963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47964 /* end confdefs.h. */
47965 #include <math.h>
47966 int
47967 main ()
47968 {
47969 hypot(0, 0);
47970 ;
47971 return 0;
47972 }
47973 _ACEOF
47974 if ac_fn_cxx_try_compile "$LINENO"; then :
47975 glibcxx_cv_func_hypot_use=yes
47976 else
47977 glibcxx_cv_func_hypot_use=no
47978 fi
47979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47980 ac_ext=c
47981 ac_cpp='$CPP $CPPFLAGS'
47982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47985
47986
47987 fi
47988
47989 fi
47990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47991 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47992
47993 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47994 for ac_func in hypot
47995 do :
47996 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47997 if test "x$ac_cv_func_hypot" = x""yes; then :
47998 cat >>confdefs.h <<_ACEOF
47999 #define HAVE_HYPOT 1
48000 _ACEOF
48001
48002 fi
48003 done
48004
48005 else
48006
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48008 $as_echo_n "checking for _hypot declaration... " >&6; }
48009 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48010 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48011 $as_echo_n "(cached) " >&6
48012 else
48013
48014
48015 ac_ext=cpp
48016 ac_cpp='$CXXCPP $CPPFLAGS'
48017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020
48021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48022 /* end confdefs.h. */
48023 #include <math.h>
48024 int
48025 main ()
48026 {
48027 _hypot(0, 0);
48028 ;
48029 return 0;
48030 }
48031 _ACEOF
48032 if ac_fn_cxx_try_compile "$LINENO"; then :
48033 glibcxx_cv_func__hypot_use=yes
48034 else
48035 glibcxx_cv_func__hypot_use=no
48036 fi
48037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48038 ac_ext=c
48039 ac_cpp='$CPP $CPPFLAGS'
48040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48043
48044
48045 fi
48046
48047 fi
48048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48049 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48050
48051 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48052 for ac_func in _hypot
48053 do :
48054 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48055 if test "x$ac_cv_func__hypot" = x""yes; then :
48056 cat >>confdefs.h <<_ACEOF
48057 #define HAVE__HYPOT 1
48058 _ACEOF
48059
48060 fi
48061 done
48062
48063 fi
48064 fi
48065
48066
48067
48068
48069
48070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48071 $as_echo_n "checking for float trig functions... " >&6; }
48072 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48073 $as_echo_n "(cached) " >&6
48074 else
48075
48076
48077 ac_ext=cpp
48078 ac_cpp='$CXXCPP $CPPFLAGS'
48079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48082
48083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48084 /* end confdefs.h. */
48085 #include <math.h>
48086 int
48087 main ()
48088 {
48089 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48090 ;
48091 return 0;
48092 }
48093 _ACEOF
48094 if ac_fn_cxx_try_compile "$LINENO"; then :
48095 glibcxx_cv_func_float_trig_use=yes
48096 else
48097 glibcxx_cv_func_float_trig_use=no
48098 fi
48099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48100 ac_ext=c
48101 ac_cpp='$CPP $CPPFLAGS'
48102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48105
48106 fi
48107
48108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48109 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48110 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48111 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48112 do :
48113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48115 eval as_val=\$$as_ac_var
48116 if test "x$as_val" = x""yes; then :
48117 cat >>confdefs.h <<_ACEOF
48118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48119 _ACEOF
48120
48121 fi
48122 done
48123
48124 else
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48126 $as_echo_n "checking for _float trig functions... " >&6; }
48127 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48128 $as_echo_n "(cached) " >&6
48129 else
48130
48131
48132 ac_ext=cpp
48133 ac_cpp='$CXXCPP $CPPFLAGS'
48134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48137
48138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48139 /* end confdefs.h. */
48140 #include <math.h>
48141 int
48142 main ()
48143 {
48144 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48145 ;
48146 return 0;
48147 }
48148 _ACEOF
48149 if ac_fn_cxx_try_compile "$LINENO"; then :
48150 glibcxx_cv_func__float_trig_use=yes
48151 else
48152 glibcxx_cv_func__float_trig_use=no
48153 fi
48154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48155 ac_ext=c
48156 ac_cpp='$CPP $CPPFLAGS'
48157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48160
48161 fi
48162
48163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48164 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48165 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48166 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48167 do :
48168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48170 eval as_val=\$$as_ac_var
48171 if test "x$as_val" = x""yes; then :
48172 cat >>confdefs.h <<_ACEOF
48173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48174 _ACEOF
48175
48176 fi
48177 done
48178
48179 fi
48180 fi
48181
48182
48183
48184
48185
48186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48187 $as_echo_n "checking for float round functions... " >&6; }
48188 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48189 $as_echo_n "(cached) " >&6
48190 else
48191
48192
48193 ac_ext=cpp
48194 ac_cpp='$CXXCPP $CPPFLAGS'
48195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48198
48199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48200 /* end confdefs.h. */
48201 #include <math.h>
48202 int
48203 main ()
48204 {
48205 ceilf (0); floorf (0);
48206 ;
48207 return 0;
48208 }
48209 _ACEOF
48210 if ac_fn_cxx_try_compile "$LINENO"; then :
48211 glibcxx_cv_func_float_round_use=yes
48212 else
48213 glibcxx_cv_func_float_round_use=no
48214 fi
48215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48216 ac_ext=c
48217 ac_cpp='$CPP $CPPFLAGS'
48218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48221
48222 fi
48223
48224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48225 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48226 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48227 for ac_func in ceilf floorf
48228 do :
48229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48231 eval as_val=\$$as_ac_var
48232 if test "x$as_val" = x""yes; then :
48233 cat >>confdefs.h <<_ACEOF
48234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48235 _ACEOF
48236
48237 fi
48238 done
48239
48240 else
48241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48242 $as_echo_n "checking for _float round functions... " >&6; }
48243 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48244 $as_echo_n "(cached) " >&6
48245 else
48246
48247
48248 ac_ext=cpp
48249 ac_cpp='$CXXCPP $CPPFLAGS'
48250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48253
48254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48255 /* end confdefs.h. */
48256 #include <math.h>
48257 int
48258 main ()
48259 {
48260 _ceilf (0); _floorf (0);
48261 ;
48262 return 0;
48263 }
48264 _ACEOF
48265 if ac_fn_cxx_try_compile "$LINENO"; then :
48266 glibcxx_cv_func__float_round_use=yes
48267 else
48268 glibcxx_cv_func__float_round_use=no
48269 fi
48270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48271 ac_ext=c
48272 ac_cpp='$CPP $CPPFLAGS'
48273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48276
48277 fi
48278
48279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48280 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48281 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48282 for ac_func in _ceilf _floorf
48283 do :
48284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48286 eval as_val=\$$as_ac_var
48287 if test "x$as_val" = x""yes; then :
48288 cat >>confdefs.h <<_ACEOF
48289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48290 _ACEOF
48291
48292 fi
48293 done
48294
48295 fi
48296 fi
48297
48298
48299
48300
48301
48302
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48304 $as_echo_n "checking for expf declaration... " >&6; }
48305 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48306 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48307 $as_echo_n "(cached) " >&6
48308 else
48309
48310
48311 ac_ext=cpp
48312 ac_cpp='$CXXCPP $CPPFLAGS'
48313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48316
48317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48318 /* end confdefs.h. */
48319 #include <math.h>
48320 #ifdef HAVE_IEEEFP_H
48321 #include <ieeefp.h>
48322 #endif
48323
48324 int
48325 main ()
48326 {
48327 expf(0);
48328 ;
48329 return 0;
48330 }
48331 _ACEOF
48332 if ac_fn_cxx_try_compile "$LINENO"; then :
48333 glibcxx_cv_func_expf_use=yes
48334 else
48335 glibcxx_cv_func_expf_use=no
48336 fi
48337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48338 ac_ext=c
48339 ac_cpp='$CPP $CPPFLAGS'
48340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48343
48344
48345 fi
48346
48347 fi
48348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48349 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48350
48351 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48352 for ac_func in expf
48353 do :
48354 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48355 if test "x$ac_cv_func_expf" = x""yes; then :
48356 cat >>confdefs.h <<_ACEOF
48357 #define HAVE_EXPF 1
48358 _ACEOF
48359
48360 fi
48361 done
48362
48363 else
48364
48365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48366 $as_echo_n "checking for _expf declaration... " >&6; }
48367 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48368 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48369 $as_echo_n "(cached) " >&6
48370 else
48371
48372
48373 ac_ext=cpp
48374 ac_cpp='$CXXCPP $CPPFLAGS'
48375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48378
48379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48380 /* end confdefs.h. */
48381 #include <math.h>
48382 #ifdef HAVE_IEEEFP_H
48383 #include <ieeefp.h>
48384 #endif
48385
48386 int
48387 main ()
48388 {
48389 _expf(0);
48390 ;
48391 return 0;
48392 }
48393 _ACEOF
48394 if ac_fn_cxx_try_compile "$LINENO"; then :
48395 glibcxx_cv_func__expf_use=yes
48396 else
48397 glibcxx_cv_func__expf_use=no
48398 fi
48399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48400 ac_ext=c
48401 ac_cpp='$CPP $CPPFLAGS'
48402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48405
48406
48407 fi
48408
48409 fi
48410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48411 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48412
48413 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48414 for ac_func in _expf
48415 do :
48416 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48417 if test "x$ac_cv_func__expf" = x""yes; then :
48418 cat >>confdefs.h <<_ACEOF
48419 #define HAVE__EXPF 1
48420 _ACEOF
48421
48422 fi
48423 done
48424
48425 fi
48426 fi
48427
48428
48429
48430
48431
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48433 $as_echo_n "checking for isnanf declaration... " >&6; }
48434 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48435 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48436 $as_echo_n "(cached) " >&6
48437 else
48438
48439
48440 ac_ext=cpp
48441 ac_cpp='$CXXCPP $CPPFLAGS'
48442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48445
48446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48447 /* end confdefs.h. */
48448 #include <math.h>
48449 #ifdef HAVE_IEEEFP_H
48450 #include <ieeefp.h>
48451 #endif
48452
48453 int
48454 main ()
48455 {
48456 isnanf(0);
48457 ;
48458 return 0;
48459 }
48460 _ACEOF
48461 if ac_fn_cxx_try_compile "$LINENO"; then :
48462 glibcxx_cv_func_isnanf_use=yes
48463 else
48464 glibcxx_cv_func_isnanf_use=no
48465 fi
48466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48467 ac_ext=c
48468 ac_cpp='$CPP $CPPFLAGS'
48469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48472
48473
48474 fi
48475
48476 fi
48477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48478 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48479
48480 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48481 for ac_func in isnanf
48482 do :
48483 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48484 if test "x$ac_cv_func_isnanf" = x""yes; then :
48485 cat >>confdefs.h <<_ACEOF
48486 #define HAVE_ISNANF 1
48487 _ACEOF
48488
48489 fi
48490 done
48491
48492 else
48493
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48495 $as_echo_n "checking for _isnanf declaration... " >&6; }
48496 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48497 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48498 $as_echo_n "(cached) " >&6
48499 else
48500
48501
48502 ac_ext=cpp
48503 ac_cpp='$CXXCPP $CPPFLAGS'
48504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48507
48508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48509 /* end confdefs.h. */
48510 #include <math.h>
48511 #ifdef HAVE_IEEEFP_H
48512 #include <ieeefp.h>
48513 #endif
48514
48515 int
48516 main ()
48517 {
48518 _isnanf(0);
48519 ;
48520 return 0;
48521 }
48522 _ACEOF
48523 if ac_fn_cxx_try_compile "$LINENO"; then :
48524 glibcxx_cv_func__isnanf_use=yes
48525 else
48526 glibcxx_cv_func__isnanf_use=no
48527 fi
48528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48529 ac_ext=c
48530 ac_cpp='$CPP $CPPFLAGS'
48531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48534
48535
48536 fi
48537
48538 fi
48539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48540 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48541
48542 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48543 for ac_func in _isnanf
48544 do :
48545 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48546 if test "x$ac_cv_func__isnanf" = x""yes; then :
48547 cat >>confdefs.h <<_ACEOF
48548 #define HAVE__ISNANF 1
48549 _ACEOF
48550
48551 fi
48552 done
48553
48554 fi
48555 fi
48556
48557
48558
48559
48560
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48562 $as_echo_n "checking for isinff declaration... " >&6; }
48563 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48564 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48565 $as_echo_n "(cached) " >&6
48566 else
48567
48568
48569 ac_ext=cpp
48570 ac_cpp='$CXXCPP $CPPFLAGS'
48571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48574
48575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48576 /* end confdefs.h. */
48577 #include <math.h>
48578 #ifdef HAVE_IEEEFP_H
48579 #include <ieeefp.h>
48580 #endif
48581
48582 int
48583 main ()
48584 {
48585 isinff(0);
48586 ;
48587 return 0;
48588 }
48589 _ACEOF
48590 if ac_fn_cxx_try_compile "$LINENO"; then :
48591 glibcxx_cv_func_isinff_use=yes
48592 else
48593 glibcxx_cv_func_isinff_use=no
48594 fi
48595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596 ac_ext=c
48597 ac_cpp='$CPP $CPPFLAGS'
48598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48601
48602
48603 fi
48604
48605 fi
48606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48607 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48608
48609 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48610 for ac_func in isinff
48611 do :
48612 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48613 if test "x$ac_cv_func_isinff" = x""yes; then :
48614 cat >>confdefs.h <<_ACEOF
48615 #define HAVE_ISINFF 1
48616 _ACEOF
48617
48618 fi
48619 done
48620
48621 else
48622
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48624 $as_echo_n "checking for _isinff declaration... " >&6; }
48625 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48626 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48627 $as_echo_n "(cached) " >&6
48628 else
48629
48630
48631 ac_ext=cpp
48632 ac_cpp='$CXXCPP $CPPFLAGS'
48633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48636
48637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48638 /* end confdefs.h. */
48639 #include <math.h>
48640 #ifdef HAVE_IEEEFP_H
48641 #include <ieeefp.h>
48642 #endif
48643
48644 int
48645 main ()
48646 {
48647 _isinff(0);
48648 ;
48649 return 0;
48650 }
48651 _ACEOF
48652 if ac_fn_cxx_try_compile "$LINENO"; then :
48653 glibcxx_cv_func__isinff_use=yes
48654 else
48655 glibcxx_cv_func__isinff_use=no
48656 fi
48657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48658 ac_ext=c
48659 ac_cpp='$CPP $CPPFLAGS'
48660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48663
48664
48665 fi
48666
48667 fi
48668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48669 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48670
48671 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48672 for ac_func in _isinff
48673 do :
48674 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48675 if test "x$ac_cv_func__isinff" = x""yes; then :
48676 cat >>confdefs.h <<_ACEOF
48677 #define HAVE__ISINFF 1
48678 _ACEOF
48679
48680 fi
48681 done
48682
48683 fi
48684 fi
48685
48686
48687
48688
48689
48690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48691 $as_echo_n "checking for atan2f declaration... " >&6; }
48692 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48693 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48694 $as_echo_n "(cached) " >&6
48695 else
48696
48697
48698 ac_ext=cpp
48699 ac_cpp='$CXXCPP $CPPFLAGS'
48700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48703
48704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48705 /* end confdefs.h. */
48706 #include <math.h>
48707 int
48708 main ()
48709 {
48710 atan2f(0, 0);
48711 ;
48712 return 0;
48713 }
48714 _ACEOF
48715 if ac_fn_cxx_try_compile "$LINENO"; then :
48716 glibcxx_cv_func_atan2f_use=yes
48717 else
48718 glibcxx_cv_func_atan2f_use=no
48719 fi
48720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48721 ac_ext=c
48722 ac_cpp='$CPP $CPPFLAGS'
48723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48726
48727
48728 fi
48729
48730 fi
48731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48732 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48733
48734 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48735 for ac_func in atan2f
48736 do :
48737 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48738 if test "x$ac_cv_func_atan2f" = x""yes; then :
48739 cat >>confdefs.h <<_ACEOF
48740 #define HAVE_ATAN2F 1
48741 _ACEOF
48742
48743 fi
48744 done
48745
48746 else
48747
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48749 $as_echo_n "checking for _atan2f declaration... " >&6; }
48750 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48751 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48752 $as_echo_n "(cached) " >&6
48753 else
48754
48755
48756 ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761
48762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h. */
48764 #include <math.h>
48765 int
48766 main ()
48767 {
48768 _atan2f(0, 0);
48769 ;
48770 return 0;
48771 }
48772 _ACEOF
48773 if ac_fn_cxx_try_compile "$LINENO"; then :
48774 glibcxx_cv_func__atan2f_use=yes
48775 else
48776 glibcxx_cv_func__atan2f_use=no
48777 fi
48778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48779 ac_ext=c
48780 ac_cpp='$CPP $CPPFLAGS'
48781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48784
48785
48786 fi
48787
48788 fi
48789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48790 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48791
48792 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48793 for ac_func in _atan2f
48794 do :
48795 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48796 if test "x$ac_cv_func__atan2f" = x""yes; then :
48797 cat >>confdefs.h <<_ACEOF
48798 #define HAVE__ATAN2F 1
48799 _ACEOF
48800
48801 fi
48802 done
48803
48804 fi
48805 fi
48806
48807
48808
48809
48810
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48812 $as_echo_n "checking for fabsf declaration... " >&6; }
48813 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48814 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48815 $as_echo_n "(cached) " >&6
48816 else
48817
48818
48819 ac_ext=cpp
48820 ac_cpp='$CXXCPP $CPPFLAGS'
48821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48824
48825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48826 /* end confdefs.h. */
48827 #include <math.h>
48828 #ifdef HAVE_IEEEFP_H
48829 #include <ieeefp.h>
48830 #endif
48831
48832 int
48833 main ()
48834 {
48835 fabsf(0);
48836 ;
48837 return 0;
48838 }
48839 _ACEOF
48840 if ac_fn_cxx_try_compile "$LINENO"; then :
48841 glibcxx_cv_func_fabsf_use=yes
48842 else
48843 glibcxx_cv_func_fabsf_use=no
48844 fi
48845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48846 ac_ext=c
48847 ac_cpp='$CPP $CPPFLAGS'
48848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48851
48852
48853 fi
48854
48855 fi
48856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48857 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48858
48859 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48860 for ac_func in fabsf
48861 do :
48862 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48863 if test "x$ac_cv_func_fabsf" = x""yes; then :
48864 cat >>confdefs.h <<_ACEOF
48865 #define HAVE_FABSF 1
48866 _ACEOF
48867
48868 fi
48869 done
48870
48871 else
48872
48873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48874 $as_echo_n "checking for _fabsf declaration... " >&6; }
48875 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48876 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48877 $as_echo_n "(cached) " >&6
48878 else
48879
48880
48881 ac_ext=cpp
48882 ac_cpp='$CXXCPP $CPPFLAGS'
48883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48886
48887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48888 /* end confdefs.h. */
48889 #include <math.h>
48890 #ifdef HAVE_IEEEFP_H
48891 #include <ieeefp.h>
48892 #endif
48893
48894 int
48895 main ()
48896 {
48897 _fabsf(0);
48898 ;
48899 return 0;
48900 }
48901 _ACEOF
48902 if ac_fn_cxx_try_compile "$LINENO"; then :
48903 glibcxx_cv_func__fabsf_use=yes
48904 else
48905 glibcxx_cv_func__fabsf_use=no
48906 fi
48907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48908 ac_ext=c
48909 ac_cpp='$CPP $CPPFLAGS'
48910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48913
48914
48915 fi
48916
48917 fi
48918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48919 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48920
48921 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48922 for ac_func in _fabsf
48923 do :
48924 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48925 if test "x$ac_cv_func__fabsf" = x""yes; then :
48926 cat >>confdefs.h <<_ACEOF
48927 #define HAVE__FABSF 1
48928 _ACEOF
48929
48930 fi
48931 done
48932
48933 fi
48934 fi
48935
48936
48937
48938
48939
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48941 $as_echo_n "checking for fmodf declaration... " >&6; }
48942 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48943 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48944 $as_echo_n "(cached) " >&6
48945 else
48946
48947
48948 ac_ext=cpp
48949 ac_cpp='$CXXCPP $CPPFLAGS'
48950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48953
48954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48955 /* end confdefs.h. */
48956 #include <math.h>
48957 int
48958 main ()
48959 {
48960 fmodf(0, 0);
48961 ;
48962 return 0;
48963 }
48964 _ACEOF
48965 if ac_fn_cxx_try_compile "$LINENO"; then :
48966 glibcxx_cv_func_fmodf_use=yes
48967 else
48968 glibcxx_cv_func_fmodf_use=no
48969 fi
48970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48971 ac_ext=c
48972 ac_cpp='$CPP $CPPFLAGS'
48973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48976
48977
48978 fi
48979
48980 fi
48981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48982 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48983
48984 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48985 for ac_func in fmodf
48986 do :
48987 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48988 if test "x$ac_cv_func_fmodf" = x""yes; then :
48989 cat >>confdefs.h <<_ACEOF
48990 #define HAVE_FMODF 1
48991 _ACEOF
48992
48993 fi
48994 done
48995
48996 else
48997
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48999 $as_echo_n "checking for _fmodf declaration... " >&6; }
49000 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49001 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49002 $as_echo_n "(cached) " >&6
49003 else
49004
49005
49006 ac_ext=cpp
49007 ac_cpp='$CXXCPP $CPPFLAGS'
49008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49011
49012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49013 /* end confdefs.h. */
49014 #include <math.h>
49015 int
49016 main ()
49017 {
49018 _fmodf(0, 0);
49019 ;
49020 return 0;
49021 }
49022 _ACEOF
49023 if ac_fn_cxx_try_compile "$LINENO"; then :
49024 glibcxx_cv_func__fmodf_use=yes
49025 else
49026 glibcxx_cv_func__fmodf_use=no
49027 fi
49028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49029 ac_ext=c
49030 ac_cpp='$CPP $CPPFLAGS'
49031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49034
49035
49036 fi
49037
49038 fi
49039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49040 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49041
49042 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49043 for ac_func in _fmodf
49044 do :
49045 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49046 if test "x$ac_cv_func__fmodf" = x""yes; then :
49047 cat >>confdefs.h <<_ACEOF
49048 #define HAVE__FMODF 1
49049 _ACEOF
49050
49051 fi
49052 done
49053
49054 fi
49055 fi
49056
49057
49058
49059
49060
49061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49062 $as_echo_n "checking for frexpf declaration... " >&6; }
49063 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49064 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49065 $as_echo_n "(cached) " >&6
49066 else
49067
49068
49069 ac_ext=cpp
49070 ac_cpp='$CXXCPP $CPPFLAGS'
49071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49074
49075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49076 /* end confdefs.h. */
49077 #include <math.h>
49078 int
49079 main ()
49080 {
49081 frexpf(0, 0);
49082 ;
49083 return 0;
49084 }
49085 _ACEOF
49086 if ac_fn_cxx_try_compile "$LINENO"; then :
49087 glibcxx_cv_func_frexpf_use=yes
49088 else
49089 glibcxx_cv_func_frexpf_use=no
49090 fi
49091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49092 ac_ext=c
49093 ac_cpp='$CPP $CPPFLAGS'
49094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49097
49098
49099 fi
49100
49101 fi
49102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49103 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49104
49105 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49106 for ac_func in frexpf
49107 do :
49108 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49109 if test "x$ac_cv_func_frexpf" = x""yes; then :
49110 cat >>confdefs.h <<_ACEOF
49111 #define HAVE_FREXPF 1
49112 _ACEOF
49113
49114 fi
49115 done
49116
49117 else
49118
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49120 $as_echo_n "checking for _frexpf declaration... " >&6; }
49121 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49122 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49123 $as_echo_n "(cached) " >&6
49124 else
49125
49126
49127 ac_ext=cpp
49128 ac_cpp='$CXXCPP $CPPFLAGS'
49129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49132
49133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49134 /* end confdefs.h. */
49135 #include <math.h>
49136 int
49137 main ()
49138 {
49139 _frexpf(0, 0);
49140 ;
49141 return 0;
49142 }
49143 _ACEOF
49144 if ac_fn_cxx_try_compile "$LINENO"; then :
49145 glibcxx_cv_func__frexpf_use=yes
49146 else
49147 glibcxx_cv_func__frexpf_use=no
49148 fi
49149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49150 ac_ext=c
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49155
49156
49157 fi
49158
49159 fi
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49161 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49162
49163 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49164 for ac_func in _frexpf
49165 do :
49166 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49167 if test "x$ac_cv_func__frexpf" = x""yes; then :
49168 cat >>confdefs.h <<_ACEOF
49169 #define HAVE__FREXPF 1
49170 _ACEOF
49171
49172 fi
49173 done
49174
49175 fi
49176 fi
49177
49178
49179
49180
49181
49182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49183 $as_echo_n "checking for hypotf declaration... " >&6; }
49184 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49185 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49186 $as_echo_n "(cached) " >&6
49187 else
49188
49189
49190 ac_ext=cpp
49191 ac_cpp='$CXXCPP $CPPFLAGS'
49192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49195
49196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49197 /* end confdefs.h. */
49198 #include <math.h>
49199 int
49200 main ()
49201 {
49202 hypotf(0, 0);
49203 ;
49204 return 0;
49205 }
49206 _ACEOF
49207 if ac_fn_cxx_try_compile "$LINENO"; then :
49208 glibcxx_cv_func_hypotf_use=yes
49209 else
49210 glibcxx_cv_func_hypotf_use=no
49211 fi
49212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49213 ac_ext=c
49214 ac_cpp='$CPP $CPPFLAGS'
49215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49218
49219
49220 fi
49221
49222 fi
49223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49224 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49225
49226 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49227 for ac_func in hypotf
49228 do :
49229 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49230 if test "x$ac_cv_func_hypotf" = x""yes; then :
49231 cat >>confdefs.h <<_ACEOF
49232 #define HAVE_HYPOTF 1
49233 _ACEOF
49234
49235 fi
49236 done
49237
49238 else
49239
49240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49241 $as_echo_n "checking for _hypotf declaration... " >&6; }
49242 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49243 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49244 $as_echo_n "(cached) " >&6
49245 else
49246
49247
49248 ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49253
49254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h. */
49256 #include <math.h>
49257 int
49258 main ()
49259 {
49260 _hypotf(0, 0);
49261 ;
49262 return 0;
49263 }
49264 _ACEOF
49265 if ac_fn_cxx_try_compile "$LINENO"; then :
49266 glibcxx_cv_func__hypotf_use=yes
49267 else
49268 glibcxx_cv_func__hypotf_use=no
49269 fi
49270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49271 ac_ext=c
49272 ac_cpp='$CPP $CPPFLAGS'
49273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49276
49277
49278 fi
49279
49280 fi
49281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49282 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49283
49284 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49285 for ac_func in _hypotf
49286 do :
49287 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49288 if test "x$ac_cv_func__hypotf" = x""yes; then :
49289 cat >>confdefs.h <<_ACEOF
49290 #define HAVE__HYPOTF 1
49291 _ACEOF
49292
49293 fi
49294 done
49295
49296 fi
49297 fi
49298
49299
49300
49301
49302
49303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49304 $as_echo_n "checking for ldexpf declaration... " >&6; }
49305 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49306 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49307 $as_echo_n "(cached) " >&6
49308 else
49309
49310
49311 ac_ext=cpp
49312 ac_cpp='$CXXCPP $CPPFLAGS'
49313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49316
49317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49318 /* end confdefs.h. */
49319 #include <math.h>
49320 int
49321 main ()
49322 {
49323 ldexpf(0, 0);
49324 ;
49325 return 0;
49326 }
49327 _ACEOF
49328 if ac_fn_cxx_try_compile "$LINENO"; then :
49329 glibcxx_cv_func_ldexpf_use=yes
49330 else
49331 glibcxx_cv_func_ldexpf_use=no
49332 fi
49333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49334 ac_ext=c
49335 ac_cpp='$CPP $CPPFLAGS'
49336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49339
49340
49341 fi
49342
49343 fi
49344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49345 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49346
49347 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49348 for ac_func in ldexpf
49349 do :
49350 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49351 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49352 cat >>confdefs.h <<_ACEOF
49353 #define HAVE_LDEXPF 1
49354 _ACEOF
49355
49356 fi
49357 done
49358
49359 else
49360
49361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49362 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49363 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49364 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49365 $as_echo_n "(cached) " >&6
49366 else
49367
49368
49369 ac_ext=cpp
49370 ac_cpp='$CXXCPP $CPPFLAGS'
49371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49374
49375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49376 /* end confdefs.h. */
49377 #include <math.h>
49378 int
49379 main ()
49380 {
49381 _ldexpf(0, 0);
49382 ;
49383 return 0;
49384 }
49385 _ACEOF
49386 if ac_fn_cxx_try_compile "$LINENO"; then :
49387 glibcxx_cv_func__ldexpf_use=yes
49388 else
49389 glibcxx_cv_func__ldexpf_use=no
49390 fi
49391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49392 ac_ext=c
49393 ac_cpp='$CPP $CPPFLAGS'
49394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49397
49398
49399 fi
49400
49401 fi
49402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49403 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49404
49405 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49406 for ac_func in _ldexpf
49407 do :
49408 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49409 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49410 cat >>confdefs.h <<_ACEOF
49411 #define HAVE__LDEXPF 1
49412 _ACEOF
49413
49414 fi
49415 done
49416
49417 fi
49418 fi
49419
49420
49421
49422
49423
49424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49425 $as_echo_n "checking for logf declaration... " >&6; }
49426 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49427 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49428 $as_echo_n "(cached) " >&6
49429 else
49430
49431
49432 ac_ext=cpp
49433 ac_cpp='$CXXCPP $CPPFLAGS'
49434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49437
49438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49439 /* end confdefs.h. */
49440 #include <math.h>
49441 #ifdef HAVE_IEEEFP_H
49442 #include <ieeefp.h>
49443 #endif
49444
49445 int
49446 main ()
49447 {
49448 logf(0);
49449 ;
49450 return 0;
49451 }
49452 _ACEOF
49453 if ac_fn_cxx_try_compile "$LINENO"; then :
49454 glibcxx_cv_func_logf_use=yes
49455 else
49456 glibcxx_cv_func_logf_use=no
49457 fi
49458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49459 ac_ext=c
49460 ac_cpp='$CPP $CPPFLAGS'
49461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49464
49465
49466 fi
49467
49468 fi
49469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49470 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49471
49472 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49473 for ac_func in logf
49474 do :
49475 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49476 if test "x$ac_cv_func_logf" = x""yes; then :
49477 cat >>confdefs.h <<_ACEOF
49478 #define HAVE_LOGF 1
49479 _ACEOF
49480
49481 fi
49482 done
49483
49484 else
49485
49486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49487 $as_echo_n "checking for _logf declaration... " >&6; }
49488 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49489 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49490 $as_echo_n "(cached) " >&6
49491 else
49492
49493
49494 ac_ext=cpp
49495 ac_cpp='$CXXCPP $CPPFLAGS'
49496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49499
49500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49501 /* end confdefs.h. */
49502 #include <math.h>
49503 #ifdef HAVE_IEEEFP_H
49504 #include <ieeefp.h>
49505 #endif
49506
49507 int
49508 main ()
49509 {
49510 _logf(0);
49511 ;
49512 return 0;
49513 }
49514 _ACEOF
49515 if ac_fn_cxx_try_compile "$LINENO"; then :
49516 glibcxx_cv_func__logf_use=yes
49517 else
49518 glibcxx_cv_func__logf_use=no
49519 fi
49520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49521 ac_ext=c
49522 ac_cpp='$CPP $CPPFLAGS'
49523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49526
49527
49528 fi
49529
49530 fi
49531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49532 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49533
49534 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49535 for ac_func in _logf
49536 do :
49537 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49538 if test "x$ac_cv_func__logf" = x""yes; then :
49539 cat >>confdefs.h <<_ACEOF
49540 #define HAVE__LOGF 1
49541 _ACEOF
49542
49543 fi
49544 done
49545
49546 fi
49547 fi
49548
49549
49550
49551
49552
49553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49554 $as_echo_n "checking for log10f declaration... " >&6; }
49555 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49556 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49557 $as_echo_n "(cached) " >&6
49558 else
49559
49560
49561 ac_ext=cpp
49562 ac_cpp='$CXXCPP $CPPFLAGS'
49563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49566
49567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49568 /* end confdefs.h. */
49569 #include <math.h>
49570 #ifdef HAVE_IEEEFP_H
49571 #include <ieeefp.h>
49572 #endif
49573
49574 int
49575 main ()
49576 {
49577 log10f(0);
49578 ;
49579 return 0;
49580 }
49581 _ACEOF
49582 if ac_fn_cxx_try_compile "$LINENO"; then :
49583 glibcxx_cv_func_log10f_use=yes
49584 else
49585 glibcxx_cv_func_log10f_use=no
49586 fi
49587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49588 ac_ext=c
49589 ac_cpp='$CPP $CPPFLAGS'
49590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49593
49594
49595 fi
49596
49597 fi
49598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49599 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49600
49601 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49602 for ac_func in log10f
49603 do :
49604 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49605 if test "x$ac_cv_func_log10f" = x""yes; then :
49606 cat >>confdefs.h <<_ACEOF
49607 #define HAVE_LOG10F 1
49608 _ACEOF
49609
49610 fi
49611 done
49612
49613 else
49614
49615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49616 $as_echo_n "checking for _log10f declaration... " >&6; }
49617 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49618 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49619 $as_echo_n "(cached) " >&6
49620 else
49621
49622
49623 ac_ext=cpp
49624 ac_cpp='$CXXCPP $CPPFLAGS'
49625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49628
49629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49630 /* end confdefs.h. */
49631 #include <math.h>
49632 #ifdef HAVE_IEEEFP_H
49633 #include <ieeefp.h>
49634 #endif
49635
49636 int
49637 main ()
49638 {
49639 _log10f(0);
49640 ;
49641 return 0;
49642 }
49643 _ACEOF
49644 if ac_fn_cxx_try_compile "$LINENO"; then :
49645 glibcxx_cv_func__log10f_use=yes
49646 else
49647 glibcxx_cv_func__log10f_use=no
49648 fi
49649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49650 ac_ext=c
49651 ac_cpp='$CPP $CPPFLAGS'
49652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49655
49656
49657 fi
49658
49659 fi
49660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49661 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49662
49663 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49664 for ac_func in _log10f
49665 do :
49666 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49667 if test "x$ac_cv_func__log10f" = x""yes; then :
49668 cat >>confdefs.h <<_ACEOF
49669 #define HAVE__LOG10F 1
49670 _ACEOF
49671
49672 fi
49673 done
49674
49675 fi
49676 fi
49677
49678
49679
49680
49681
49682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49683 $as_echo_n "checking for modff declaration... " >&6; }
49684 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49685 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49686 $as_echo_n "(cached) " >&6
49687 else
49688
49689
49690 ac_ext=cpp
49691 ac_cpp='$CXXCPP $CPPFLAGS'
49692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49695
49696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49697 /* end confdefs.h. */
49698 #include <math.h>
49699 int
49700 main ()
49701 {
49702 modff(0, 0);
49703 ;
49704 return 0;
49705 }
49706 _ACEOF
49707 if ac_fn_cxx_try_compile "$LINENO"; then :
49708 glibcxx_cv_func_modff_use=yes
49709 else
49710 glibcxx_cv_func_modff_use=no
49711 fi
49712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49713 ac_ext=c
49714 ac_cpp='$CPP $CPPFLAGS'
49715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49718
49719
49720 fi
49721
49722 fi
49723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49724 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49725
49726 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49727 for ac_func in modff
49728 do :
49729 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49730 if test "x$ac_cv_func_modff" = x""yes; then :
49731 cat >>confdefs.h <<_ACEOF
49732 #define HAVE_MODFF 1
49733 _ACEOF
49734
49735 fi
49736 done
49737
49738 else
49739
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49741 $as_echo_n "checking for _modff declaration... " >&6; }
49742 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49743 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49744 $as_echo_n "(cached) " >&6
49745 else
49746
49747
49748 ac_ext=cpp
49749 ac_cpp='$CXXCPP $CPPFLAGS'
49750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49753
49754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49755 /* end confdefs.h. */
49756 #include <math.h>
49757 int
49758 main ()
49759 {
49760 _modff(0, 0);
49761 ;
49762 return 0;
49763 }
49764 _ACEOF
49765 if ac_fn_cxx_try_compile "$LINENO"; then :
49766 glibcxx_cv_func__modff_use=yes
49767 else
49768 glibcxx_cv_func__modff_use=no
49769 fi
49770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49771 ac_ext=c
49772 ac_cpp='$CPP $CPPFLAGS'
49773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49776
49777
49778 fi
49779
49780 fi
49781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49782 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49783
49784 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49785 for ac_func in _modff
49786 do :
49787 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49788 if test "x$ac_cv_func__modff" = x""yes; then :
49789 cat >>confdefs.h <<_ACEOF
49790 #define HAVE__MODFF 1
49791 _ACEOF
49792
49793 fi
49794 done
49795
49796 fi
49797 fi
49798
49799
49800
49801
49802
49803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49804 $as_echo_n "checking for modf declaration... " >&6; }
49805 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49806 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49807 $as_echo_n "(cached) " >&6
49808 else
49809
49810
49811 ac_ext=cpp
49812 ac_cpp='$CXXCPP $CPPFLAGS'
49813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49816
49817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49818 /* end confdefs.h. */
49819 #include <math.h>
49820 int
49821 main ()
49822 {
49823 modf(0, 0);
49824 ;
49825 return 0;
49826 }
49827 _ACEOF
49828 if ac_fn_cxx_try_compile "$LINENO"; then :
49829 glibcxx_cv_func_modf_use=yes
49830 else
49831 glibcxx_cv_func_modf_use=no
49832 fi
49833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49834 ac_ext=c
49835 ac_cpp='$CPP $CPPFLAGS'
49836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49839
49840
49841 fi
49842
49843 fi
49844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49845 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49846
49847 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49848 for ac_func in modf
49849 do :
49850 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49851 if test "x$ac_cv_func_modf" = x""yes; then :
49852 cat >>confdefs.h <<_ACEOF
49853 #define HAVE_MODF 1
49854 _ACEOF
49855
49856 fi
49857 done
49858
49859 else
49860
49861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49862 $as_echo_n "checking for _modf declaration... " >&6; }
49863 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49864 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49865 $as_echo_n "(cached) " >&6
49866 else
49867
49868
49869 ac_ext=cpp
49870 ac_cpp='$CXXCPP $CPPFLAGS'
49871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49874
49875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49876 /* end confdefs.h. */
49877 #include <math.h>
49878 int
49879 main ()
49880 {
49881 _modf(0, 0);
49882 ;
49883 return 0;
49884 }
49885 _ACEOF
49886 if ac_fn_cxx_try_compile "$LINENO"; then :
49887 glibcxx_cv_func__modf_use=yes
49888 else
49889 glibcxx_cv_func__modf_use=no
49890 fi
49891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49892 ac_ext=c
49893 ac_cpp='$CPP $CPPFLAGS'
49894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49897
49898
49899 fi
49900
49901 fi
49902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49903 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49904
49905 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49906 for ac_func in _modf
49907 do :
49908 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49909 if test "x$ac_cv_func__modf" = x""yes; then :
49910 cat >>confdefs.h <<_ACEOF
49911 #define HAVE__MODF 1
49912 _ACEOF
49913
49914 fi
49915 done
49916
49917 fi
49918 fi
49919
49920
49921
49922
49923
49924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49925 $as_echo_n "checking for powf declaration... " >&6; }
49926 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49927 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49928 $as_echo_n "(cached) " >&6
49929 else
49930
49931
49932 ac_ext=cpp
49933 ac_cpp='$CXXCPP $CPPFLAGS'
49934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49937
49938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49939 /* end confdefs.h. */
49940 #include <math.h>
49941 int
49942 main ()
49943 {
49944 powf(0, 0);
49945 ;
49946 return 0;
49947 }
49948 _ACEOF
49949 if ac_fn_cxx_try_compile "$LINENO"; then :
49950 glibcxx_cv_func_powf_use=yes
49951 else
49952 glibcxx_cv_func_powf_use=no
49953 fi
49954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49955 ac_ext=c
49956 ac_cpp='$CPP $CPPFLAGS'
49957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49960
49961
49962 fi
49963
49964 fi
49965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49966 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49967
49968 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49969 for ac_func in powf
49970 do :
49971 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49972 if test "x$ac_cv_func_powf" = x""yes; then :
49973 cat >>confdefs.h <<_ACEOF
49974 #define HAVE_POWF 1
49975 _ACEOF
49976
49977 fi
49978 done
49979
49980 else
49981
49982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49983 $as_echo_n "checking for _powf declaration... " >&6; }
49984 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49985 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49986 $as_echo_n "(cached) " >&6
49987 else
49988
49989
49990 ac_ext=cpp
49991 ac_cpp='$CXXCPP $CPPFLAGS'
49992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49995
49996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49997 /* end confdefs.h. */
49998 #include <math.h>
49999 int
50000 main ()
50001 {
50002 _powf(0, 0);
50003 ;
50004 return 0;
50005 }
50006 _ACEOF
50007 if ac_fn_cxx_try_compile "$LINENO"; then :
50008 glibcxx_cv_func__powf_use=yes
50009 else
50010 glibcxx_cv_func__powf_use=no
50011 fi
50012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50013 ac_ext=c
50014 ac_cpp='$CPP $CPPFLAGS'
50015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50018
50019
50020 fi
50021
50022 fi
50023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50024 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50025
50026 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50027 for ac_func in _powf
50028 do :
50029 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50030 if test "x$ac_cv_func__powf" = x""yes; then :
50031 cat >>confdefs.h <<_ACEOF
50032 #define HAVE__POWF 1
50033 _ACEOF
50034
50035 fi
50036 done
50037
50038 fi
50039 fi
50040
50041
50042
50043
50044
50045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50046 $as_echo_n "checking for sqrtf declaration... " >&6; }
50047 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50048 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50049 $as_echo_n "(cached) " >&6
50050 else
50051
50052
50053 ac_ext=cpp
50054 ac_cpp='$CXXCPP $CPPFLAGS'
50055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50058
50059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50060 /* end confdefs.h. */
50061 #include <math.h>
50062 #ifdef HAVE_IEEEFP_H
50063 #include <ieeefp.h>
50064 #endif
50065
50066 int
50067 main ()
50068 {
50069 sqrtf(0);
50070 ;
50071 return 0;
50072 }
50073 _ACEOF
50074 if ac_fn_cxx_try_compile "$LINENO"; then :
50075 glibcxx_cv_func_sqrtf_use=yes
50076 else
50077 glibcxx_cv_func_sqrtf_use=no
50078 fi
50079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50080 ac_ext=c
50081 ac_cpp='$CPP $CPPFLAGS'
50082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50085
50086
50087 fi
50088
50089 fi
50090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50091 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50092
50093 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50094 for ac_func in sqrtf
50095 do :
50096 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50097 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50098 cat >>confdefs.h <<_ACEOF
50099 #define HAVE_SQRTF 1
50100 _ACEOF
50101
50102 fi
50103 done
50104
50105 else
50106
50107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50108 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50109 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50110 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50111 $as_echo_n "(cached) " >&6
50112 else
50113
50114
50115 ac_ext=cpp
50116 ac_cpp='$CXXCPP $CPPFLAGS'
50117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50120
50121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50122 /* end confdefs.h. */
50123 #include <math.h>
50124 #ifdef HAVE_IEEEFP_H
50125 #include <ieeefp.h>
50126 #endif
50127
50128 int
50129 main ()
50130 {
50131 _sqrtf(0);
50132 ;
50133 return 0;
50134 }
50135 _ACEOF
50136 if ac_fn_cxx_try_compile "$LINENO"; then :
50137 glibcxx_cv_func__sqrtf_use=yes
50138 else
50139 glibcxx_cv_func__sqrtf_use=no
50140 fi
50141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50142 ac_ext=c
50143 ac_cpp='$CPP $CPPFLAGS'
50144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50147
50148
50149 fi
50150
50151 fi
50152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50153 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50154
50155 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50156 for ac_func in _sqrtf
50157 do :
50158 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50159 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50160 cat >>confdefs.h <<_ACEOF
50161 #define HAVE__SQRTF 1
50162 _ACEOF
50163
50164 fi
50165 done
50166
50167 fi
50168 fi
50169
50170
50171
50172
50173
50174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50175 $as_echo_n "checking for sincosf declaration... " >&6; }
50176 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50177 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50178 $as_echo_n "(cached) " >&6
50179 else
50180
50181
50182 ac_ext=cpp
50183 ac_cpp='$CXXCPP $CPPFLAGS'
50184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50187
50188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50189 /* end confdefs.h. */
50190 #include <math.h>
50191 int
50192 main ()
50193 {
50194 sincosf(0, 0, 0);
50195 ;
50196 return 0;
50197 }
50198 _ACEOF
50199 if ac_fn_cxx_try_compile "$LINENO"; then :
50200 glibcxx_cv_func_sincosf_use=yes
50201 else
50202 glibcxx_cv_func_sincosf_use=no
50203 fi
50204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50205 ac_ext=c
50206 ac_cpp='$CPP $CPPFLAGS'
50207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50210
50211
50212 fi
50213
50214 fi
50215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50216 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50217
50218 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50219 for ac_func in sincosf
50220 do :
50221 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50222 if test "x$ac_cv_func_sincosf" = x""yes; then :
50223 cat >>confdefs.h <<_ACEOF
50224 #define HAVE_SINCOSF 1
50225 _ACEOF
50226
50227 fi
50228 done
50229
50230 else
50231
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50233 $as_echo_n "checking for _sincosf declaration... " >&6; }
50234 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50235 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50236 $as_echo_n "(cached) " >&6
50237 else
50238
50239
50240 ac_ext=cpp
50241 ac_cpp='$CXXCPP $CPPFLAGS'
50242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50245
50246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50247 /* end confdefs.h. */
50248 #include <math.h>
50249 int
50250 main ()
50251 {
50252 _sincosf(0, 0, 0);
50253 ;
50254 return 0;
50255 }
50256 _ACEOF
50257 if ac_fn_cxx_try_compile "$LINENO"; then :
50258 glibcxx_cv_func__sincosf_use=yes
50259 else
50260 glibcxx_cv_func__sincosf_use=no
50261 fi
50262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50263 ac_ext=c
50264 ac_cpp='$CPP $CPPFLAGS'
50265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50268
50269
50270 fi
50271
50272 fi
50273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50274 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50275
50276 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50277 for ac_func in _sincosf
50278 do :
50279 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50280 if test "x$ac_cv_func__sincosf" = x""yes; then :
50281 cat >>confdefs.h <<_ACEOF
50282 #define HAVE__SINCOSF 1
50283 _ACEOF
50284
50285 fi
50286 done
50287
50288 fi
50289 fi
50290
50291
50292
50293
50294
50295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50296 $as_echo_n "checking for finitef declaration... " >&6; }
50297 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50298 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50299 $as_echo_n "(cached) " >&6
50300 else
50301
50302
50303 ac_ext=cpp
50304 ac_cpp='$CXXCPP $CPPFLAGS'
50305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50308
50309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50310 /* end confdefs.h. */
50311 #include <math.h>
50312 #ifdef HAVE_IEEEFP_H
50313 #include <ieeefp.h>
50314 #endif
50315
50316 int
50317 main ()
50318 {
50319 finitef(0);
50320 ;
50321 return 0;
50322 }
50323 _ACEOF
50324 if ac_fn_cxx_try_compile "$LINENO"; then :
50325 glibcxx_cv_func_finitef_use=yes
50326 else
50327 glibcxx_cv_func_finitef_use=no
50328 fi
50329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50330 ac_ext=c
50331 ac_cpp='$CPP $CPPFLAGS'
50332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50335
50336
50337 fi
50338
50339 fi
50340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50341 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50342
50343 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50344 for ac_func in finitef
50345 do :
50346 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50347 if test "x$ac_cv_func_finitef" = x""yes; then :
50348 cat >>confdefs.h <<_ACEOF
50349 #define HAVE_FINITEF 1
50350 _ACEOF
50351
50352 fi
50353 done
50354
50355 else
50356
50357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50358 $as_echo_n "checking for _finitef declaration... " >&6; }
50359 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50360 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50361 $as_echo_n "(cached) " >&6
50362 else
50363
50364
50365 ac_ext=cpp
50366 ac_cpp='$CXXCPP $CPPFLAGS'
50367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50370
50371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50372 /* end confdefs.h. */
50373 #include <math.h>
50374 #ifdef HAVE_IEEEFP_H
50375 #include <ieeefp.h>
50376 #endif
50377
50378 int
50379 main ()
50380 {
50381 _finitef(0);
50382 ;
50383 return 0;
50384 }
50385 _ACEOF
50386 if ac_fn_cxx_try_compile "$LINENO"; then :
50387 glibcxx_cv_func__finitef_use=yes
50388 else
50389 glibcxx_cv_func__finitef_use=no
50390 fi
50391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50392 ac_ext=c
50393 ac_cpp='$CPP $CPPFLAGS'
50394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50397
50398
50399 fi
50400
50401 fi
50402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50403 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50404
50405 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50406 for ac_func in _finitef
50407 do :
50408 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50409 if test "x$ac_cv_func__finitef" = x""yes; then :
50410 cat >>confdefs.h <<_ACEOF
50411 #define HAVE__FINITEF 1
50412 _ACEOF
50413
50414 fi
50415 done
50416
50417 fi
50418 fi
50419
50420
50421
50422
50423
50424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50425 $as_echo_n "checking for long double trig functions... " >&6; }
50426 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50427 $as_echo_n "(cached) " >&6
50428 else
50429
50430
50431 ac_ext=cpp
50432 ac_cpp='$CXXCPP $CPPFLAGS'
50433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50436
50437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50438 /* end confdefs.h. */
50439 #include <math.h>
50440 int
50441 main ()
50442 {
50443 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50444 ;
50445 return 0;
50446 }
50447 _ACEOF
50448 if ac_fn_cxx_try_compile "$LINENO"; then :
50449 glibcxx_cv_func_long_double_trig_use=yes
50450 else
50451 glibcxx_cv_func_long_double_trig_use=no
50452 fi
50453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50454 ac_ext=c
50455 ac_cpp='$CPP $CPPFLAGS'
50456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50459
50460 fi
50461
50462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50463 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50464 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50465 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50466 do :
50467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50469 eval as_val=\$$as_ac_var
50470 if test "x$as_val" = x""yes; then :
50471 cat >>confdefs.h <<_ACEOF
50472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50473 _ACEOF
50474
50475 fi
50476 done
50477
50478 else
50479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50480 $as_echo_n "checking for _long double trig functions... " >&6; }
50481 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50482 $as_echo_n "(cached) " >&6
50483 else
50484
50485
50486 ac_ext=cpp
50487 ac_cpp='$CXXCPP $CPPFLAGS'
50488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50491
50492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50493 /* end confdefs.h. */
50494 #include <math.h>
50495 int
50496 main ()
50497 {
50498 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50499 ;
50500 return 0;
50501 }
50502 _ACEOF
50503 if ac_fn_cxx_try_compile "$LINENO"; then :
50504 glibcxx_cv_func__long_double_trig_use=yes
50505 else
50506 glibcxx_cv_func__long_double_trig_use=no
50507 fi
50508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50509 ac_ext=c
50510 ac_cpp='$CPP $CPPFLAGS'
50511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50514
50515 fi
50516
50517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50518 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50519 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50520 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50521 do :
50522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50523 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50524 eval as_val=\$$as_ac_var
50525 if test "x$as_val" = x""yes; then :
50526 cat >>confdefs.h <<_ACEOF
50527 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50528 _ACEOF
50529
50530 fi
50531 done
50532
50533 fi
50534 fi
50535
50536
50537
50538
50539
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50541 $as_echo_n "checking for long double round functions... " >&6; }
50542 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50543 $as_echo_n "(cached) " >&6
50544 else
50545
50546
50547 ac_ext=cpp
50548 ac_cpp='$CXXCPP $CPPFLAGS'
50549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50552
50553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50554 /* end confdefs.h. */
50555 #include <math.h>
50556 int
50557 main ()
50558 {
50559 ceill (0); floorl (0);
50560 ;
50561 return 0;
50562 }
50563 _ACEOF
50564 if ac_fn_cxx_try_compile "$LINENO"; then :
50565 glibcxx_cv_func_long_double_round_use=yes
50566 else
50567 glibcxx_cv_func_long_double_round_use=no
50568 fi
50569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50570 ac_ext=c
50571 ac_cpp='$CPP $CPPFLAGS'
50572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50575
50576 fi
50577
50578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50579 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50580 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50581 for ac_func in ceill floorl
50582 do :
50583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50585 eval as_val=\$$as_ac_var
50586 if test "x$as_val" = x""yes; then :
50587 cat >>confdefs.h <<_ACEOF
50588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50589 _ACEOF
50590
50591 fi
50592 done
50593
50594 else
50595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50596 $as_echo_n "checking for _long double round functions... " >&6; }
50597 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50598 $as_echo_n "(cached) " >&6
50599 else
50600
50601
50602 ac_ext=cpp
50603 ac_cpp='$CXXCPP $CPPFLAGS'
50604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50607
50608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50609 /* end confdefs.h. */
50610 #include <math.h>
50611 int
50612 main ()
50613 {
50614 _ceill (0); _floorl (0);
50615 ;
50616 return 0;
50617 }
50618 _ACEOF
50619 if ac_fn_cxx_try_compile "$LINENO"; then :
50620 glibcxx_cv_func__long_double_round_use=yes
50621 else
50622 glibcxx_cv_func__long_double_round_use=no
50623 fi
50624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50625 ac_ext=c
50626 ac_cpp='$CPP $CPPFLAGS'
50627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50630
50631 fi
50632
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50634 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50635 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50636 for ac_func in _ceill _floorl
50637 do :
50638 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50639 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50640 eval as_val=\$$as_ac_var
50641 if test "x$as_val" = x""yes; then :
50642 cat >>confdefs.h <<_ACEOF
50643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50644 _ACEOF
50645
50646 fi
50647 done
50648
50649 fi
50650 fi
50651
50652
50653
50654
50655
50656
50657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50658 $as_echo_n "checking for isnanl declaration... " >&6; }
50659 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50660 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50661 $as_echo_n "(cached) " >&6
50662 else
50663
50664
50665 ac_ext=cpp
50666 ac_cpp='$CXXCPP $CPPFLAGS'
50667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50670
50671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50672 /* end confdefs.h. */
50673 #include <math.h>
50674 #ifdef HAVE_IEEEFP_H
50675 #include <ieeefp.h>
50676 #endif
50677
50678 int
50679 main ()
50680 {
50681 isnanl(0);
50682 ;
50683 return 0;
50684 }
50685 _ACEOF
50686 if ac_fn_cxx_try_compile "$LINENO"; then :
50687 glibcxx_cv_func_isnanl_use=yes
50688 else
50689 glibcxx_cv_func_isnanl_use=no
50690 fi
50691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50692 ac_ext=c
50693 ac_cpp='$CPP $CPPFLAGS'
50694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50697
50698
50699 fi
50700
50701 fi
50702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50703 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50704
50705 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50706 for ac_func in isnanl
50707 do :
50708 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50709 if test "x$ac_cv_func_isnanl" = x""yes; then :
50710 cat >>confdefs.h <<_ACEOF
50711 #define HAVE_ISNANL 1
50712 _ACEOF
50713
50714 fi
50715 done
50716
50717 else
50718
50719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50720 $as_echo_n "checking for _isnanl declaration... " >&6; }
50721 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50722 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50723 $as_echo_n "(cached) " >&6
50724 else
50725
50726
50727 ac_ext=cpp
50728 ac_cpp='$CXXCPP $CPPFLAGS'
50729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50732
50733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50734 /* end confdefs.h. */
50735 #include <math.h>
50736 #ifdef HAVE_IEEEFP_H
50737 #include <ieeefp.h>
50738 #endif
50739
50740 int
50741 main ()
50742 {
50743 _isnanl(0);
50744 ;
50745 return 0;
50746 }
50747 _ACEOF
50748 if ac_fn_cxx_try_compile "$LINENO"; then :
50749 glibcxx_cv_func__isnanl_use=yes
50750 else
50751 glibcxx_cv_func__isnanl_use=no
50752 fi
50753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50754 ac_ext=c
50755 ac_cpp='$CPP $CPPFLAGS'
50756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50759
50760
50761 fi
50762
50763 fi
50764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50765 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50766
50767 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50768 for ac_func in _isnanl
50769 do :
50770 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50771 if test "x$ac_cv_func__isnanl" = x""yes; then :
50772 cat >>confdefs.h <<_ACEOF
50773 #define HAVE__ISNANL 1
50774 _ACEOF
50775
50776 fi
50777 done
50778
50779 fi
50780 fi
50781
50782
50783
50784
50785
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50787 $as_echo_n "checking for isinfl declaration... " >&6; }
50788 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50789 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50790 $as_echo_n "(cached) " >&6
50791 else
50792
50793
50794 ac_ext=cpp
50795 ac_cpp='$CXXCPP $CPPFLAGS'
50796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50799
50800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50801 /* end confdefs.h. */
50802 #include <math.h>
50803 #ifdef HAVE_IEEEFP_H
50804 #include <ieeefp.h>
50805 #endif
50806
50807 int
50808 main ()
50809 {
50810 isinfl(0);
50811 ;
50812 return 0;
50813 }
50814 _ACEOF
50815 if ac_fn_cxx_try_compile "$LINENO"; then :
50816 glibcxx_cv_func_isinfl_use=yes
50817 else
50818 glibcxx_cv_func_isinfl_use=no
50819 fi
50820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50821 ac_ext=c
50822 ac_cpp='$CPP $CPPFLAGS'
50823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50826
50827
50828 fi
50829
50830 fi
50831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50832 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50833
50834 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50835 for ac_func in isinfl
50836 do :
50837 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50838 if test "x$ac_cv_func_isinfl" = x""yes; then :
50839 cat >>confdefs.h <<_ACEOF
50840 #define HAVE_ISINFL 1
50841 _ACEOF
50842
50843 fi
50844 done
50845
50846 else
50847
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50849 $as_echo_n "checking for _isinfl declaration... " >&6; }
50850 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50851 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50852 $as_echo_n "(cached) " >&6
50853 else
50854
50855
50856 ac_ext=cpp
50857 ac_cpp='$CXXCPP $CPPFLAGS'
50858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50861
50862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50863 /* end confdefs.h. */
50864 #include <math.h>
50865 #ifdef HAVE_IEEEFP_H
50866 #include <ieeefp.h>
50867 #endif
50868
50869 int
50870 main ()
50871 {
50872 _isinfl(0);
50873 ;
50874 return 0;
50875 }
50876 _ACEOF
50877 if ac_fn_cxx_try_compile "$LINENO"; then :
50878 glibcxx_cv_func__isinfl_use=yes
50879 else
50880 glibcxx_cv_func__isinfl_use=no
50881 fi
50882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50883 ac_ext=c
50884 ac_cpp='$CPP $CPPFLAGS'
50885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50888
50889
50890 fi
50891
50892 fi
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50894 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50895
50896 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50897 for ac_func in _isinfl
50898 do :
50899 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50900 if test "x$ac_cv_func__isinfl" = x""yes; then :
50901 cat >>confdefs.h <<_ACEOF
50902 #define HAVE__ISINFL 1
50903 _ACEOF
50904
50905 fi
50906 done
50907
50908 fi
50909 fi
50910
50911
50912
50913
50914
50915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50916 $as_echo_n "checking for atan2l declaration... " >&6; }
50917 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50918 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50919 $as_echo_n "(cached) " >&6
50920 else
50921
50922
50923 ac_ext=cpp
50924 ac_cpp='$CXXCPP $CPPFLAGS'
50925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50928
50929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50930 /* end confdefs.h. */
50931 #include <math.h>
50932 int
50933 main ()
50934 {
50935 atan2l(0, 0);
50936 ;
50937 return 0;
50938 }
50939 _ACEOF
50940 if ac_fn_cxx_try_compile "$LINENO"; then :
50941 glibcxx_cv_func_atan2l_use=yes
50942 else
50943 glibcxx_cv_func_atan2l_use=no
50944 fi
50945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50946 ac_ext=c
50947 ac_cpp='$CPP $CPPFLAGS'
50948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50951
50952
50953 fi
50954
50955 fi
50956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50957 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50958
50959 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50960 for ac_func in atan2l
50961 do :
50962 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50963 if test "x$ac_cv_func_atan2l" = x""yes; then :
50964 cat >>confdefs.h <<_ACEOF
50965 #define HAVE_ATAN2L 1
50966 _ACEOF
50967
50968 fi
50969 done
50970
50971 else
50972
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50974 $as_echo_n "checking for _atan2l declaration... " >&6; }
50975 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50976 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50977 $as_echo_n "(cached) " >&6
50978 else
50979
50980
50981 ac_ext=cpp
50982 ac_cpp='$CXXCPP $CPPFLAGS'
50983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50986
50987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50988 /* end confdefs.h. */
50989 #include <math.h>
50990 int
50991 main ()
50992 {
50993 _atan2l(0, 0);
50994 ;
50995 return 0;
50996 }
50997 _ACEOF
50998 if ac_fn_cxx_try_compile "$LINENO"; then :
50999 glibcxx_cv_func__atan2l_use=yes
51000 else
51001 glibcxx_cv_func__atan2l_use=no
51002 fi
51003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51004 ac_ext=c
51005 ac_cpp='$CPP $CPPFLAGS'
51006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51009
51010
51011 fi
51012
51013 fi
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51015 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51016
51017 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51018 for ac_func in _atan2l
51019 do :
51020 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51021 if test "x$ac_cv_func__atan2l" = x""yes; then :
51022 cat >>confdefs.h <<_ACEOF
51023 #define HAVE__ATAN2L 1
51024 _ACEOF
51025
51026 fi
51027 done
51028
51029 fi
51030 fi
51031
51032
51033
51034
51035
51036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51037 $as_echo_n "checking for expl declaration... " >&6; }
51038 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51039 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51040 $as_echo_n "(cached) " >&6
51041 else
51042
51043
51044 ac_ext=cpp
51045 ac_cpp='$CXXCPP $CPPFLAGS'
51046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51049
51050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51051 /* end confdefs.h. */
51052 #include <math.h>
51053 #ifdef HAVE_IEEEFP_H
51054 #include <ieeefp.h>
51055 #endif
51056
51057 int
51058 main ()
51059 {
51060 expl(0);
51061 ;
51062 return 0;
51063 }
51064 _ACEOF
51065 if ac_fn_cxx_try_compile "$LINENO"; then :
51066 glibcxx_cv_func_expl_use=yes
51067 else
51068 glibcxx_cv_func_expl_use=no
51069 fi
51070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51071 ac_ext=c
51072 ac_cpp='$CPP $CPPFLAGS'
51073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51076
51077
51078 fi
51079
51080 fi
51081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51082 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51083
51084 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51085 for ac_func in expl
51086 do :
51087 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51088 if test "x$ac_cv_func_expl" = x""yes; then :
51089 cat >>confdefs.h <<_ACEOF
51090 #define HAVE_EXPL 1
51091 _ACEOF
51092
51093 fi
51094 done
51095
51096 else
51097
51098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51099 $as_echo_n "checking for _expl declaration... " >&6; }
51100 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51101 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51102 $as_echo_n "(cached) " >&6
51103 else
51104
51105
51106 ac_ext=cpp
51107 ac_cpp='$CXXCPP $CPPFLAGS'
51108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51111
51112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51113 /* end confdefs.h. */
51114 #include <math.h>
51115 #ifdef HAVE_IEEEFP_H
51116 #include <ieeefp.h>
51117 #endif
51118
51119 int
51120 main ()
51121 {
51122 _expl(0);
51123 ;
51124 return 0;
51125 }
51126 _ACEOF
51127 if ac_fn_cxx_try_compile "$LINENO"; then :
51128 glibcxx_cv_func__expl_use=yes
51129 else
51130 glibcxx_cv_func__expl_use=no
51131 fi
51132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51133 ac_ext=c
51134 ac_cpp='$CPP $CPPFLAGS'
51135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51138
51139
51140 fi
51141
51142 fi
51143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51144 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51145
51146 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51147 for ac_func in _expl
51148 do :
51149 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51150 if test "x$ac_cv_func__expl" = x""yes; then :
51151 cat >>confdefs.h <<_ACEOF
51152 #define HAVE__EXPL 1
51153 _ACEOF
51154
51155 fi
51156 done
51157
51158 fi
51159 fi
51160
51161
51162
51163
51164
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51166 $as_echo_n "checking for fabsl declaration... " >&6; }
51167 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51168 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51169 $as_echo_n "(cached) " >&6
51170 else
51171
51172
51173 ac_ext=cpp
51174 ac_cpp='$CXXCPP $CPPFLAGS'
51175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51178
51179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51180 /* end confdefs.h. */
51181 #include <math.h>
51182 #ifdef HAVE_IEEEFP_H
51183 #include <ieeefp.h>
51184 #endif
51185
51186 int
51187 main ()
51188 {
51189 fabsl(0);
51190 ;
51191 return 0;
51192 }
51193 _ACEOF
51194 if ac_fn_cxx_try_compile "$LINENO"; then :
51195 glibcxx_cv_func_fabsl_use=yes
51196 else
51197 glibcxx_cv_func_fabsl_use=no
51198 fi
51199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51200 ac_ext=c
51201 ac_cpp='$CPP $CPPFLAGS'
51202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51205
51206
51207 fi
51208
51209 fi
51210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51211 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51212
51213 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51214 for ac_func in fabsl
51215 do :
51216 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51217 if test "x$ac_cv_func_fabsl" = x""yes; then :
51218 cat >>confdefs.h <<_ACEOF
51219 #define HAVE_FABSL 1
51220 _ACEOF
51221
51222 fi
51223 done
51224
51225 else
51226
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51228 $as_echo_n "checking for _fabsl declaration... " >&6; }
51229 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51230 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51231 $as_echo_n "(cached) " >&6
51232 else
51233
51234
51235 ac_ext=cpp
51236 ac_cpp='$CXXCPP $CPPFLAGS'
51237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51240
51241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51242 /* end confdefs.h. */
51243 #include <math.h>
51244 #ifdef HAVE_IEEEFP_H
51245 #include <ieeefp.h>
51246 #endif
51247
51248 int
51249 main ()
51250 {
51251 _fabsl(0);
51252 ;
51253 return 0;
51254 }
51255 _ACEOF
51256 if ac_fn_cxx_try_compile "$LINENO"; then :
51257 glibcxx_cv_func__fabsl_use=yes
51258 else
51259 glibcxx_cv_func__fabsl_use=no
51260 fi
51261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51262 ac_ext=c
51263 ac_cpp='$CPP $CPPFLAGS'
51264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51267
51268
51269 fi
51270
51271 fi
51272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51273 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51274
51275 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51276 for ac_func in _fabsl
51277 do :
51278 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51279 if test "x$ac_cv_func__fabsl" = x""yes; then :
51280 cat >>confdefs.h <<_ACEOF
51281 #define HAVE__FABSL 1
51282 _ACEOF
51283
51284 fi
51285 done
51286
51287 fi
51288 fi
51289
51290
51291
51292
51293
51294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51295 $as_echo_n "checking for fmodl declaration... " >&6; }
51296 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51297 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51298 $as_echo_n "(cached) " >&6
51299 else
51300
51301
51302 ac_ext=cpp
51303 ac_cpp='$CXXCPP $CPPFLAGS'
51304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51307
51308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51309 /* end confdefs.h. */
51310 #include <math.h>
51311 int
51312 main ()
51313 {
51314 fmodl(0, 0);
51315 ;
51316 return 0;
51317 }
51318 _ACEOF
51319 if ac_fn_cxx_try_compile "$LINENO"; then :
51320 glibcxx_cv_func_fmodl_use=yes
51321 else
51322 glibcxx_cv_func_fmodl_use=no
51323 fi
51324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51325 ac_ext=c
51326 ac_cpp='$CPP $CPPFLAGS'
51327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51330
51331
51332 fi
51333
51334 fi
51335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51336 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51337
51338 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51339 for ac_func in fmodl
51340 do :
51341 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51342 if test "x$ac_cv_func_fmodl" = x""yes; then :
51343 cat >>confdefs.h <<_ACEOF
51344 #define HAVE_FMODL 1
51345 _ACEOF
51346
51347 fi
51348 done
51349
51350 else
51351
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51353 $as_echo_n "checking for _fmodl declaration... " >&6; }
51354 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51355 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51356 $as_echo_n "(cached) " >&6
51357 else
51358
51359
51360 ac_ext=cpp
51361 ac_cpp='$CXXCPP $CPPFLAGS'
51362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51365
51366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51367 /* end confdefs.h. */
51368 #include <math.h>
51369 int
51370 main ()
51371 {
51372 _fmodl(0, 0);
51373 ;
51374 return 0;
51375 }
51376 _ACEOF
51377 if ac_fn_cxx_try_compile "$LINENO"; then :
51378 glibcxx_cv_func__fmodl_use=yes
51379 else
51380 glibcxx_cv_func__fmodl_use=no
51381 fi
51382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51383 ac_ext=c
51384 ac_cpp='$CPP $CPPFLAGS'
51385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51388
51389
51390 fi
51391
51392 fi
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51394 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51395
51396 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51397 for ac_func in _fmodl
51398 do :
51399 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51400 if test "x$ac_cv_func__fmodl" = x""yes; then :
51401 cat >>confdefs.h <<_ACEOF
51402 #define HAVE__FMODL 1
51403 _ACEOF
51404
51405 fi
51406 done
51407
51408 fi
51409 fi
51410
51411
51412
51413
51414
51415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51416 $as_echo_n "checking for frexpl declaration... " >&6; }
51417 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51418 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51419 $as_echo_n "(cached) " >&6
51420 else
51421
51422
51423 ac_ext=cpp
51424 ac_cpp='$CXXCPP $CPPFLAGS'
51425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51428
51429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51430 /* end confdefs.h. */
51431 #include <math.h>
51432 int
51433 main ()
51434 {
51435 frexpl(0, 0);
51436 ;
51437 return 0;
51438 }
51439 _ACEOF
51440 if ac_fn_cxx_try_compile "$LINENO"; then :
51441 glibcxx_cv_func_frexpl_use=yes
51442 else
51443 glibcxx_cv_func_frexpl_use=no
51444 fi
51445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51446 ac_ext=c
51447 ac_cpp='$CPP $CPPFLAGS'
51448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51451
51452
51453 fi
51454
51455 fi
51456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51457 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51458
51459 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51460 for ac_func in frexpl
51461 do :
51462 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51463 if test "x$ac_cv_func_frexpl" = x""yes; then :
51464 cat >>confdefs.h <<_ACEOF
51465 #define HAVE_FREXPL 1
51466 _ACEOF
51467
51468 fi
51469 done
51470
51471 else
51472
51473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51474 $as_echo_n "checking for _frexpl declaration... " >&6; }
51475 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51476 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51477 $as_echo_n "(cached) " >&6
51478 else
51479
51480
51481 ac_ext=cpp
51482 ac_cpp='$CXXCPP $CPPFLAGS'
51483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51486
51487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51488 /* end confdefs.h. */
51489 #include <math.h>
51490 int
51491 main ()
51492 {
51493 _frexpl(0, 0);
51494 ;
51495 return 0;
51496 }
51497 _ACEOF
51498 if ac_fn_cxx_try_compile "$LINENO"; then :
51499 glibcxx_cv_func__frexpl_use=yes
51500 else
51501 glibcxx_cv_func__frexpl_use=no
51502 fi
51503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51504 ac_ext=c
51505 ac_cpp='$CPP $CPPFLAGS'
51506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51509
51510
51511 fi
51512
51513 fi
51514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51515 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51516
51517 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51518 for ac_func in _frexpl
51519 do :
51520 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51521 if test "x$ac_cv_func__frexpl" = x""yes; then :
51522 cat >>confdefs.h <<_ACEOF
51523 #define HAVE__FREXPL 1
51524 _ACEOF
51525
51526 fi
51527 done
51528
51529 fi
51530 fi
51531
51532
51533
51534
51535
51536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51537 $as_echo_n "checking for hypotl declaration... " >&6; }
51538 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51539 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51540 $as_echo_n "(cached) " >&6
51541 else
51542
51543
51544 ac_ext=cpp
51545 ac_cpp='$CXXCPP $CPPFLAGS'
51546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51549
51550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51551 /* end confdefs.h. */
51552 #include <math.h>
51553 int
51554 main ()
51555 {
51556 hypotl(0, 0);
51557 ;
51558 return 0;
51559 }
51560 _ACEOF
51561 if ac_fn_cxx_try_compile "$LINENO"; then :
51562 glibcxx_cv_func_hypotl_use=yes
51563 else
51564 glibcxx_cv_func_hypotl_use=no
51565 fi
51566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51567 ac_ext=c
51568 ac_cpp='$CPP $CPPFLAGS'
51569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51572
51573
51574 fi
51575
51576 fi
51577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51578 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51579
51580 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51581 for ac_func in hypotl
51582 do :
51583 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51584 if test "x$ac_cv_func_hypotl" = x""yes; then :
51585 cat >>confdefs.h <<_ACEOF
51586 #define HAVE_HYPOTL 1
51587 _ACEOF
51588
51589 fi
51590 done
51591
51592 else
51593
51594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51595 $as_echo_n "checking for _hypotl declaration... " >&6; }
51596 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51597 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51598 $as_echo_n "(cached) " >&6
51599 else
51600
51601
51602 ac_ext=cpp
51603 ac_cpp='$CXXCPP $CPPFLAGS'
51604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51607
51608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51609 /* end confdefs.h. */
51610 #include <math.h>
51611 int
51612 main ()
51613 {
51614 _hypotl(0, 0);
51615 ;
51616 return 0;
51617 }
51618 _ACEOF
51619 if ac_fn_cxx_try_compile "$LINENO"; then :
51620 glibcxx_cv_func__hypotl_use=yes
51621 else
51622 glibcxx_cv_func__hypotl_use=no
51623 fi
51624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51625 ac_ext=c
51626 ac_cpp='$CPP $CPPFLAGS'
51627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51630
51631
51632 fi
51633
51634 fi
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51636 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51637
51638 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51639 for ac_func in _hypotl
51640 do :
51641 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51642 if test "x$ac_cv_func__hypotl" = x""yes; then :
51643 cat >>confdefs.h <<_ACEOF
51644 #define HAVE__HYPOTL 1
51645 _ACEOF
51646
51647 fi
51648 done
51649
51650 fi
51651 fi
51652
51653
51654
51655
51656
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51658 $as_echo_n "checking for ldexpl declaration... " >&6; }
51659 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51660 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51661 $as_echo_n "(cached) " >&6
51662 else
51663
51664
51665 ac_ext=cpp
51666 ac_cpp='$CXXCPP $CPPFLAGS'
51667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51670
51671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51672 /* end confdefs.h. */
51673 #include <math.h>
51674 int
51675 main ()
51676 {
51677 ldexpl(0, 0);
51678 ;
51679 return 0;
51680 }
51681 _ACEOF
51682 if ac_fn_cxx_try_compile "$LINENO"; then :
51683 glibcxx_cv_func_ldexpl_use=yes
51684 else
51685 glibcxx_cv_func_ldexpl_use=no
51686 fi
51687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51688 ac_ext=c
51689 ac_cpp='$CPP $CPPFLAGS'
51690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51693
51694
51695 fi
51696
51697 fi
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51699 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51700
51701 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51702 for ac_func in ldexpl
51703 do :
51704 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51705 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51706 cat >>confdefs.h <<_ACEOF
51707 #define HAVE_LDEXPL 1
51708 _ACEOF
51709
51710 fi
51711 done
51712
51713 else
51714
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51716 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51717 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51718 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51719 $as_echo_n "(cached) " >&6
51720 else
51721
51722
51723 ac_ext=cpp
51724 ac_cpp='$CXXCPP $CPPFLAGS'
51725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51728
51729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51730 /* end confdefs.h. */
51731 #include <math.h>
51732 int
51733 main ()
51734 {
51735 _ldexpl(0, 0);
51736 ;
51737 return 0;
51738 }
51739 _ACEOF
51740 if ac_fn_cxx_try_compile "$LINENO"; then :
51741 glibcxx_cv_func__ldexpl_use=yes
51742 else
51743 glibcxx_cv_func__ldexpl_use=no
51744 fi
51745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51746 ac_ext=c
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51751
51752
51753 fi
51754
51755 fi
51756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51757 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51758
51759 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51760 for ac_func in _ldexpl
51761 do :
51762 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51763 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51764 cat >>confdefs.h <<_ACEOF
51765 #define HAVE__LDEXPL 1
51766 _ACEOF
51767
51768 fi
51769 done
51770
51771 fi
51772 fi
51773
51774
51775
51776
51777
51778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51779 $as_echo_n "checking for logl declaration... " >&6; }
51780 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51781 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51782 $as_echo_n "(cached) " >&6
51783 else
51784
51785
51786 ac_ext=cpp
51787 ac_cpp='$CXXCPP $CPPFLAGS'
51788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51791
51792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51793 /* end confdefs.h. */
51794 #include <math.h>
51795 #ifdef HAVE_IEEEFP_H
51796 #include <ieeefp.h>
51797 #endif
51798
51799 int
51800 main ()
51801 {
51802 logl(0);
51803 ;
51804 return 0;
51805 }
51806 _ACEOF
51807 if ac_fn_cxx_try_compile "$LINENO"; then :
51808 glibcxx_cv_func_logl_use=yes
51809 else
51810 glibcxx_cv_func_logl_use=no
51811 fi
51812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51813 ac_ext=c
51814 ac_cpp='$CPP $CPPFLAGS'
51815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51818
51819
51820 fi
51821
51822 fi
51823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51824 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51825
51826 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51827 for ac_func in logl
51828 do :
51829 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51830 if test "x$ac_cv_func_logl" = x""yes; then :
51831 cat >>confdefs.h <<_ACEOF
51832 #define HAVE_LOGL 1
51833 _ACEOF
51834
51835 fi
51836 done
51837
51838 else
51839
51840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51841 $as_echo_n "checking for _logl declaration... " >&6; }
51842 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51843 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51844 $as_echo_n "(cached) " >&6
51845 else
51846
51847
51848 ac_ext=cpp
51849 ac_cpp='$CXXCPP $CPPFLAGS'
51850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51853
51854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51855 /* end confdefs.h. */
51856 #include <math.h>
51857 #ifdef HAVE_IEEEFP_H
51858 #include <ieeefp.h>
51859 #endif
51860
51861 int
51862 main ()
51863 {
51864 _logl(0);
51865 ;
51866 return 0;
51867 }
51868 _ACEOF
51869 if ac_fn_cxx_try_compile "$LINENO"; then :
51870 glibcxx_cv_func__logl_use=yes
51871 else
51872 glibcxx_cv_func__logl_use=no
51873 fi
51874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51875 ac_ext=c
51876 ac_cpp='$CPP $CPPFLAGS'
51877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51880
51881
51882 fi
51883
51884 fi
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51886 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51887
51888 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51889 for ac_func in _logl
51890 do :
51891 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51892 if test "x$ac_cv_func__logl" = x""yes; then :
51893 cat >>confdefs.h <<_ACEOF
51894 #define HAVE__LOGL 1
51895 _ACEOF
51896
51897 fi
51898 done
51899
51900 fi
51901 fi
51902
51903
51904
51905
51906
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51908 $as_echo_n "checking for log10l declaration... " >&6; }
51909 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51910 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51911 $as_echo_n "(cached) " >&6
51912 else
51913
51914
51915 ac_ext=cpp
51916 ac_cpp='$CXXCPP $CPPFLAGS'
51917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51920
51921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51922 /* end confdefs.h. */
51923 #include <math.h>
51924 #ifdef HAVE_IEEEFP_H
51925 #include <ieeefp.h>
51926 #endif
51927
51928 int
51929 main ()
51930 {
51931 log10l(0);
51932 ;
51933 return 0;
51934 }
51935 _ACEOF
51936 if ac_fn_cxx_try_compile "$LINENO"; then :
51937 glibcxx_cv_func_log10l_use=yes
51938 else
51939 glibcxx_cv_func_log10l_use=no
51940 fi
51941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51942 ac_ext=c
51943 ac_cpp='$CPP $CPPFLAGS'
51944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51947
51948
51949 fi
51950
51951 fi
51952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51953 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51954
51955 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51956 for ac_func in log10l
51957 do :
51958 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51959 if test "x$ac_cv_func_log10l" = x""yes; then :
51960 cat >>confdefs.h <<_ACEOF
51961 #define HAVE_LOG10L 1
51962 _ACEOF
51963
51964 fi
51965 done
51966
51967 else
51968
51969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51970 $as_echo_n "checking for _log10l declaration... " >&6; }
51971 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51972 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51973 $as_echo_n "(cached) " >&6
51974 else
51975
51976
51977 ac_ext=cpp
51978 ac_cpp='$CXXCPP $CPPFLAGS'
51979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51982
51983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51984 /* end confdefs.h. */
51985 #include <math.h>
51986 #ifdef HAVE_IEEEFP_H
51987 #include <ieeefp.h>
51988 #endif
51989
51990 int
51991 main ()
51992 {
51993 _log10l(0);
51994 ;
51995 return 0;
51996 }
51997 _ACEOF
51998 if ac_fn_cxx_try_compile "$LINENO"; then :
51999 glibcxx_cv_func__log10l_use=yes
52000 else
52001 glibcxx_cv_func__log10l_use=no
52002 fi
52003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52004 ac_ext=c
52005 ac_cpp='$CPP $CPPFLAGS'
52006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52009
52010
52011 fi
52012
52013 fi
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52015 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52016
52017 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52018 for ac_func in _log10l
52019 do :
52020 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52021 if test "x$ac_cv_func__log10l" = x""yes; then :
52022 cat >>confdefs.h <<_ACEOF
52023 #define HAVE__LOG10L 1
52024 _ACEOF
52025
52026 fi
52027 done
52028
52029 fi
52030 fi
52031
52032
52033
52034
52035
52036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52037 $as_echo_n "checking for modfl declaration... " >&6; }
52038 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52039 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52040 $as_echo_n "(cached) " >&6
52041 else
52042
52043
52044 ac_ext=cpp
52045 ac_cpp='$CXXCPP $CPPFLAGS'
52046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52049
52050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52051 /* end confdefs.h. */
52052 #include <math.h>
52053 int
52054 main ()
52055 {
52056 modfl(0, 0);
52057 ;
52058 return 0;
52059 }
52060 _ACEOF
52061 if ac_fn_cxx_try_compile "$LINENO"; then :
52062 glibcxx_cv_func_modfl_use=yes
52063 else
52064 glibcxx_cv_func_modfl_use=no
52065 fi
52066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52067 ac_ext=c
52068 ac_cpp='$CPP $CPPFLAGS'
52069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52072
52073
52074 fi
52075
52076 fi
52077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52078 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52079
52080 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52081 for ac_func in modfl
52082 do :
52083 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52084 if test "x$ac_cv_func_modfl" = x""yes; then :
52085 cat >>confdefs.h <<_ACEOF
52086 #define HAVE_MODFL 1
52087 _ACEOF
52088
52089 fi
52090 done
52091
52092 else
52093
52094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52095 $as_echo_n "checking for _modfl declaration... " >&6; }
52096 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52097 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52098 $as_echo_n "(cached) " >&6
52099 else
52100
52101
52102 ac_ext=cpp
52103 ac_cpp='$CXXCPP $CPPFLAGS'
52104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52107
52108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52109 /* end confdefs.h. */
52110 #include <math.h>
52111 int
52112 main ()
52113 {
52114 _modfl(0, 0);
52115 ;
52116 return 0;
52117 }
52118 _ACEOF
52119 if ac_fn_cxx_try_compile "$LINENO"; then :
52120 glibcxx_cv_func__modfl_use=yes
52121 else
52122 glibcxx_cv_func__modfl_use=no
52123 fi
52124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52125 ac_ext=c
52126 ac_cpp='$CPP $CPPFLAGS'
52127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52130
52131
52132 fi
52133
52134 fi
52135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52136 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52137
52138 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52139 for ac_func in _modfl
52140 do :
52141 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52142 if test "x$ac_cv_func__modfl" = x""yes; then :
52143 cat >>confdefs.h <<_ACEOF
52144 #define HAVE__MODFL 1
52145 _ACEOF
52146
52147 fi
52148 done
52149
52150 fi
52151 fi
52152
52153
52154
52155
52156
52157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52158 $as_echo_n "checking for powl declaration... " >&6; }
52159 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52160 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52161 $as_echo_n "(cached) " >&6
52162 else
52163
52164
52165 ac_ext=cpp
52166 ac_cpp='$CXXCPP $CPPFLAGS'
52167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52170
52171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52172 /* end confdefs.h. */
52173 #include <math.h>
52174 int
52175 main ()
52176 {
52177 powl(0, 0);
52178 ;
52179 return 0;
52180 }
52181 _ACEOF
52182 if ac_fn_cxx_try_compile "$LINENO"; then :
52183 glibcxx_cv_func_powl_use=yes
52184 else
52185 glibcxx_cv_func_powl_use=no
52186 fi
52187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52188 ac_ext=c
52189 ac_cpp='$CPP $CPPFLAGS'
52190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52193
52194
52195 fi
52196
52197 fi
52198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52199 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52200
52201 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52202 for ac_func in powl
52203 do :
52204 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52205 if test "x$ac_cv_func_powl" = x""yes; then :
52206 cat >>confdefs.h <<_ACEOF
52207 #define HAVE_POWL 1
52208 _ACEOF
52209
52210 fi
52211 done
52212
52213 else
52214
52215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52216 $as_echo_n "checking for _powl declaration... " >&6; }
52217 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52218 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52219 $as_echo_n "(cached) " >&6
52220 else
52221
52222
52223 ac_ext=cpp
52224 ac_cpp='$CXXCPP $CPPFLAGS'
52225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52228
52229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52230 /* end confdefs.h. */
52231 #include <math.h>
52232 int
52233 main ()
52234 {
52235 _powl(0, 0);
52236 ;
52237 return 0;
52238 }
52239 _ACEOF
52240 if ac_fn_cxx_try_compile "$LINENO"; then :
52241 glibcxx_cv_func__powl_use=yes
52242 else
52243 glibcxx_cv_func__powl_use=no
52244 fi
52245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52246 ac_ext=c
52247 ac_cpp='$CPP $CPPFLAGS'
52248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52251
52252
52253 fi
52254
52255 fi
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52257 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52258
52259 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52260 for ac_func in _powl
52261 do :
52262 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52263 if test "x$ac_cv_func__powl" = x""yes; then :
52264 cat >>confdefs.h <<_ACEOF
52265 #define HAVE__POWL 1
52266 _ACEOF
52267
52268 fi
52269 done
52270
52271 fi
52272 fi
52273
52274
52275
52276
52277
52278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52279 $as_echo_n "checking for sqrtl declaration... " >&6; }
52280 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52281 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52282 $as_echo_n "(cached) " >&6
52283 else
52284
52285
52286 ac_ext=cpp
52287 ac_cpp='$CXXCPP $CPPFLAGS'
52288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52291
52292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52293 /* end confdefs.h. */
52294 #include <math.h>
52295 #ifdef HAVE_IEEEFP_H
52296 #include <ieeefp.h>
52297 #endif
52298
52299 int
52300 main ()
52301 {
52302 sqrtl(0);
52303 ;
52304 return 0;
52305 }
52306 _ACEOF
52307 if ac_fn_cxx_try_compile "$LINENO"; then :
52308 glibcxx_cv_func_sqrtl_use=yes
52309 else
52310 glibcxx_cv_func_sqrtl_use=no
52311 fi
52312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52313 ac_ext=c
52314 ac_cpp='$CPP $CPPFLAGS'
52315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52318
52319
52320 fi
52321
52322 fi
52323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52324 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52325
52326 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52327 for ac_func in sqrtl
52328 do :
52329 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52330 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52331 cat >>confdefs.h <<_ACEOF
52332 #define HAVE_SQRTL 1
52333 _ACEOF
52334
52335 fi
52336 done
52337
52338 else
52339
52340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52341 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52342 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52343 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52344 $as_echo_n "(cached) " >&6
52345 else
52346
52347
52348 ac_ext=cpp
52349 ac_cpp='$CXXCPP $CPPFLAGS'
52350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52353
52354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52355 /* end confdefs.h. */
52356 #include <math.h>
52357 #ifdef HAVE_IEEEFP_H
52358 #include <ieeefp.h>
52359 #endif
52360
52361 int
52362 main ()
52363 {
52364 _sqrtl(0);
52365 ;
52366 return 0;
52367 }
52368 _ACEOF
52369 if ac_fn_cxx_try_compile "$LINENO"; then :
52370 glibcxx_cv_func__sqrtl_use=yes
52371 else
52372 glibcxx_cv_func__sqrtl_use=no
52373 fi
52374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52375 ac_ext=c
52376 ac_cpp='$CPP $CPPFLAGS'
52377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52380
52381
52382 fi
52383
52384 fi
52385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52386 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52387
52388 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52389 for ac_func in _sqrtl
52390 do :
52391 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52392 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52393 cat >>confdefs.h <<_ACEOF
52394 #define HAVE__SQRTL 1
52395 _ACEOF
52396
52397 fi
52398 done
52399
52400 fi
52401 fi
52402
52403
52404
52405
52406
52407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52408 $as_echo_n "checking for sincosl declaration... " >&6; }
52409 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52410 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52411 $as_echo_n "(cached) " >&6
52412 else
52413
52414
52415 ac_ext=cpp
52416 ac_cpp='$CXXCPP $CPPFLAGS'
52417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52420
52421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52422 /* end confdefs.h. */
52423 #include <math.h>
52424 int
52425 main ()
52426 {
52427 sincosl(0, 0, 0);
52428 ;
52429 return 0;
52430 }
52431 _ACEOF
52432 if ac_fn_cxx_try_compile "$LINENO"; then :
52433 glibcxx_cv_func_sincosl_use=yes
52434 else
52435 glibcxx_cv_func_sincosl_use=no
52436 fi
52437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52438 ac_ext=c
52439 ac_cpp='$CPP $CPPFLAGS'
52440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52443
52444
52445 fi
52446
52447 fi
52448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52449 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52450
52451 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52452 for ac_func in sincosl
52453 do :
52454 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52455 if test "x$ac_cv_func_sincosl" = x""yes; then :
52456 cat >>confdefs.h <<_ACEOF
52457 #define HAVE_SINCOSL 1
52458 _ACEOF
52459
52460 fi
52461 done
52462
52463 else
52464
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52466 $as_echo_n "checking for _sincosl declaration... " >&6; }
52467 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52468 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52469 $as_echo_n "(cached) " >&6
52470 else
52471
52472
52473 ac_ext=cpp
52474 ac_cpp='$CXXCPP $CPPFLAGS'
52475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52478
52479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52480 /* end confdefs.h. */
52481 #include <math.h>
52482 int
52483 main ()
52484 {
52485 _sincosl(0, 0, 0);
52486 ;
52487 return 0;
52488 }
52489 _ACEOF
52490 if ac_fn_cxx_try_compile "$LINENO"; then :
52491 glibcxx_cv_func__sincosl_use=yes
52492 else
52493 glibcxx_cv_func__sincosl_use=no
52494 fi
52495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52496 ac_ext=c
52497 ac_cpp='$CPP $CPPFLAGS'
52498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52501
52502
52503 fi
52504
52505 fi
52506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52507 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52508
52509 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52510 for ac_func in _sincosl
52511 do :
52512 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52513 if test "x$ac_cv_func__sincosl" = x""yes; then :
52514 cat >>confdefs.h <<_ACEOF
52515 #define HAVE__SINCOSL 1
52516 _ACEOF
52517
52518 fi
52519 done
52520
52521 fi
52522 fi
52523
52524
52525
52526
52527
52528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52529 $as_echo_n "checking for finitel declaration... " >&6; }
52530 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52531 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52532 $as_echo_n "(cached) " >&6
52533 else
52534
52535
52536 ac_ext=cpp
52537 ac_cpp='$CXXCPP $CPPFLAGS'
52538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52541
52542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52543 /* end confdefs.h. */
52544 #include <math.h>
52545 #ifdef HAVE_IEEEFP_H
52546 #include <ieeefp.h>
52547 #endif
52548
52549 int
52550 main ()
52551 {
52552 finitel(0);
52553 ;
52554 return 0;
52555 }
52556 _ACEOF
52557 if ac_fn_cxx_try_compile "$LINENO"; then :
52558 glibcxx_cv_func_finitel_use=yes
52559 else
52560 glibcxx_cv_func_finitel_use=no
52561 fi
52562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52563 ac_ext=c
52564 ac_cpp='$CPP $CPPFLAGS'
52565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52568
52569
52570 fi
52571
52572 fi
52573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52574 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52575
52576 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52577 for ac_func in finitel
52578 do :
52579 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52580 if test "x$ac_cv_func_finitel" = x""yes; then :
52581 cat >>confdefs.h <<_ACEOF
52582 #define HAVE_FINITEL 1
52583 _ACEOF
52584
52585 fi
52586 done
52587
52588 else
52589
52590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52591 $as_echo_n "checking for _finitel declaration... " >&6; }
52592 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52593 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52594 $as_echo_n "(cached) " >&6
52595 else
52596
52597
52598 ac_ext=cpp
52599 ac_cpp='$CXXCPP $CPPFLAGS'
52600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52603
52604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52605 /* end confdefs.h. */
52606 #include <math.h>
52607 #ifdef HAVE_IEEEFP_H
52608 #include <ieeefp.h>
52609 #endif
52610
52611 int
52612 main ()
52613 {
52614 _finitel(0);
52615 ;
52616 return 0;
52617 }
52618 _ACEOF
52619 if ac_fn_cxx_try_compile "$LINENO"; then :
52620 glibcxx_cv_func__finitel_use=yes
52621 else
52622 glibcxx_cv_func__finitel_use=no
52623 fi
52624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52625 ac_ext=c
52626 ac_cpp='$CPP $CPPFLAGS'
52627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52630
52631
52632 fi
52633
52634 fi
52635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52636 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52637
52638 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52639 for ac_func in _finitel
52640 do :
52641 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52642 if test "x$ac_cv_func__finitel" = x""yes; then :
52643 cat >>confdefs.h <<_ACEOF
52644 #define HAVE__FINITEL 1
52645 _ACEOF
52646
52647 fi
52648 done
52649
52650 fi
52651 fi
52652
52653
52654
52655
52656 LIBS="$ac_save_LIBS"
52657 CXXFLAGS="$ac_save_CXXFLAGS"
52658
52659
52660 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52661 ac_save_CXXFLAGS="$CXXFLAGS"
52662 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52663
52664
52665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52666 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52667 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52668 if test "${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
52682 int
52683 main ()
52684 {
52685 at_quick_exit(0);
52686 ;
52687 return 0;
52688 }
52689 _ACEOF
52690 if ac_fn_cxx_try_compile "$LINENO"; then :
52691 glibcxx_cv_func_at_quick_exit_use=yes
52692 else
52693 glibcxx_cv_func_at_quick_exit_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_at_quick_exit_use" >&5
52707 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52708 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52709 for ac_func in at_quick_exit
52710 do :
52711 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52712 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52713 cat >>confdefs.h <<_ACEOF
52714 #define HAVE_AT_QUICK_EXIT 1
52715 _ACEOF
52716
52717 fi
52718 done
52719
52720 fi
52721
52722
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52724 $as_echo_n "checking for quick_exit declaration... " >&6; }
52725 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52726 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52727 $as_echo_n "(cached) " >&6
52728 else
52729
52730
52731 ac_ext=cpp
52732 ac_cpp='$CXXCPP $CPPFLAGS'
52733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52736
52737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52738 /* end confdefs.h. */
52739 #include <stdlib.h>
52740 int
52741 main ()
52742 {
52743 quick_exit(0);
52744 ;
52745 return 0;
52746 }
52747 _ACEOF
52748 if ac_fn_cxx_try_compile "$LINENO"; then :
52749 glibcxx_cv_func_quick_exit_use=yes
52750 else
52751 glibcxx_cv_func_quick_exit_use=no
52752 fi
52753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52754 ac_ext=c
52755 ac_cpp='$CPP $CPPFLAGS'
52756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52759
52760
52761 fi
52762
52763 fi
52764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52765 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52766 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52767 for ac_func in quick_exit
52768 do :
52769 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52770 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52771 cat >>confdefs.h <<_ACEOF
52772 #define HAVE_QUICK_EXIT 1
52773 _ACEOF
52774
52775 fi
52776 done
52777
52778 fi
52779
52780
52781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52782 $as_echo_n "checking for strtold declaration... " >&6; }
52783 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52784 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52785 $as_echo_n "(cached) " >&6
52786 else
52787
52788
52789 ac_ext=cpp
52790 ac_cpp='$CXXCPP $CPPFLAGS'
52791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52794
52795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52796 /* end confdefs.h. */
52797 #include <stdlib.h>
52798 int
52799 main ()
52800 {
52801 strtold(0, 0);
52802 ;
52803 return 0;
52804 }
52805 _ACEOF
52806 if ac_fn_cxx_try_compile "$LINENO"; then :
52807 glibcxx_cv_func_strtold_use=yes
52808 else
52809 glibcxx_cv_func_strtold_use=no
52810 fi
52811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52812 ac_ext=c
52813 ac_cpp='$CPP $CPPFLAGS'
52814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52817
52818
52819 fi
52820
52821 fi
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52823 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52824 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52825 for ac_func in strtold
52826 do :
52827 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52828 if test "x$ac_cv_func_strtold" = x""yes; then :
52829 cat >>confdefs.h <<_ACEOF
52830 #define HAVE_STRTOLD 1
52831 _ACEOF
52832
52833 fi
52834 done
52835
52836 fi
52837
52838
52839
52840
52841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52842 $as_echo_n "checking for strtof declaration... " >&6; }
52843 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52844 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52845 $as_echo_n "(cached) " >&6
52846 else
52847
52848
52849 ac_ext=cpp
52850 ac_cpp='$CXXCPP $CPPFLAGS'
52851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52854
52855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52856 /* end confdefs.h. */
52857 #include <stdlib.h>
52858 int
52859 main ()
52860 {
52861 strtof(0, 0);
52862 ;
52863 return 0;
52864 }
52865 _ACEOF
52866 if ac_fn_cxx_try_compile "$LINENO"; then :
52867 glibcxx_cv_func_strtof_use=yes
52868 else
52869 glibcxx_cv_func_strtof_use=no
52870 fi
52871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52872 ac_ext=c
52873 ac_cpp='$CPP $CPPFLAGS'
52874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52877
52878
52879 fi
52880
52881 fi
52882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52883 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52884 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52885 for ac_func in strtof
52886 do :
52887 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52888 if test "x$ac_cv_func_strtof" = x""yes; then :
52889 cat >>confdefs.h <<_ACEOF
52890 #define HAVE_STRTOF 1
52891 _ACEOF
52892
52893 fi
52894 done
52895
52896 fi
52897
52898
52899
52900
52901 CXXFLAGS="$ac_save_CXXFLAGS"
52902
52903 ;;
52904
52905 *djgpp)
52906 # GLIBCXX_CHECK_MATH_SUPPORT
52907 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52908
52909 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52910
52911 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52912
52913 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52914
52915 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52916
52917 ;;
52918
52919 *-freebsd*)
52920 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52921
52922
52923 # If we're not using GNU ld, then there's no point in even trying these
52924 # tests. Check for that first. We should have already tested for gld
52925 # by now (in libtool), but require it now just to be safe...
52926 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52927 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52928
52929
52930
52931 # The name set by libtool depends on the version of libtool. Shame on us
52932 # for depending on an impl detail, but c'est la vie. Older versions used
52933 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52934 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52935 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52936 # set (hence we're using an older libtool), then set it.
52937 if test x${with_gnu_ld+set} != xset; then
52938 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52939 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52940 with_gnu_ld=no
52941 else
52942 with_gnu_ld=$ac_cv_prog_gnu_ld
52943 fi
52944 fi
52945
52946 # Start by getting the version number. I think the libtool test already
52947 # does some of this, but throws away the result.
52948 glibcxx_ld_is_gold=no
52949 if test x"$with_gnu_ld" = x"yes"; then
52950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52951 $as_echo_n "checking for ld version... " >&6; }
52952
52953 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52954 glibcxx_ld_is_gold=yes
52955 fi
52956 ldver=`$LD --version 2>/dev/null |
52957 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'`
52958
52959 glibcxx_gnu_ld_version=`echo $ldver | \
52960 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52962 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52963 fi
52964
52965 # Set --gc-sections.
52966 glibcxx_have_gc_sections=no
52967 if test "$glibcxx_ld_is_gold" = "yes"; then
52968 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52969 glibcxx_have_gc_sections=yes
52970 fi
52971 else
52972 glibcxx_gcsections_min_ld=21602
52973 if test x"$with_gnu_ld" = x"yes" &&
52974 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52975 glibcxx_have_gc_sections=yes
52976 fi
52977 fi
52978 if test "$glibcxx_have_gc_sections" = "yes"; then
52979 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52980 # NB: This flag only works reliably after 2.16.1. Configure tests
52981 # for this are difficult, so hard wire a value that should work.
52982
52983 ac_test_CFLAGS="${CFLAGS+set}"
52984 ac_save_CFLAGS="$CFLAGS"
52985 CFLAGS='-Wl,--gc-sections'
52986
52987 # Check for -Wl,--gc-sections
52988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52989 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52990 if test x$gcc_no_link = xyes; then
52991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52992 fi
52993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52994 /* end confdefs.h. */
52995 int one(void) { return 1; }
52996 int two(void) { return 2; }
52997
52998 int
52999 main ()
53000 {
53001 two();
53002 ;
53003 return 0;
53004 }
53005 _ACEOF
53006 if ac_fn_c_try_link "$LINENO"; then :
53007 ac_gcsections=yes
53008 else
53009 ac_gcsections=no
53010 fi
53011 rm -f core conftest.err conftest.$ac_objext \
53012 conftest$ac_exeext conftest.$ac_ext
53013 if test "$ac_gcsections" = "yes"; then
53014 rm -f conftest.c
53015 touch conftest.c
53016 if $CC -c conftest.c; then
53017 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53018 grep "Warning: gc-sections option ignored" > /dev/null; then
53019 ac_gcsections=no
53020 fi
53021 fi
53022 rm -f conftest.c conftest.o conftest
53023 fi
53024 if test "$ac_gcsections" = "yes"; then
53025 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53026 fi
53027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53028 $as_echo "$ac_gcsections" >&6; }
53029
53030 if test "$ac_test_CFLAGS" = set; then
53031 CFLAGS="$ac_save_CFLAGS"
53032 else
53033 # this is the suspicious part
53034 CFLAGS=''
53035 fi
53036 fi
53037
53038 # Set -z,relro.
53039 # Note this is only for shared objects.
53040 ac_ld_relro=no
53041 if test x"$with_gnu_ld" = x"yes"; then
53042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53043 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53044 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53045 if test -n "$cxx_z_relo"; then
53046 OPT_LDFLAGS="-Wl,-z,relro"
53047 ac_ld_relro=yes
53048 fi
53049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53050 $as_echo "$ac_ld_relro" >&6; }
53051 fi
53052
53053 # Set linker optimization flags.
53054 if test x"$with_gnu_ld" = x"yes"; then
53055 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53056 fi
53057
53058
53059
53060
53061 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53062
53063 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53064
53065 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53066
53067 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53068
53069 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53070
53071 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53072
53073 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53074
53075 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53076
53077 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53078
53079
53080 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53081
53082 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53083
53084 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53085
53086 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53087
53088 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53089
53090 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53091
53092 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53093
53094 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53095
53096 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53097
53098 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53099
53100 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53101
53102 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53103
53104 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53105
53106 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53107
53108 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53109
53110 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53111
53112 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53113
53114 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53115
53116 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53117
53118 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53119
53120 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53121
53122 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53123
53124 if test x"long_double_math_on_this_cpu" = x"yes"; then
53125 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53126
53127 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53128
53129 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53130
53131 fi
53132 ;;
53133 *-hpux*)
53134 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53135
53136
53137 # If we're not using GNU ld, then there's no point in even trying these
53138 # tests. Check for that first. We should have already tested for gld
53139 # by now (in libtool), but require it now just to be safe...
53140 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53141 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53142
53143
53144
53145 # The name set by libtool depends on the version of libtool. Shame on us
53146 # for depending on an impl detail, but c'est la vie. Older versions used
53147 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53148 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53149 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53150 # set (hence we're using an older libtool), then set it.
53151 if test x${with_gnu_ld+set} != xset; then
53152 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53153 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53154 with_gnu_ld=no
53155 else
53156 with_gnu_ld=$ac_cv_prog_gnu_ld
53157 fi
53158 fi
53159
53160 # Start by getting the version number. I think the libtool test already
53161 # does some of this, but throws away the result.
53162 glibcxx_ld_is_gold=no
53163 if test x"$with_gnu_ld" = x"yes"; then
53164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53165 $as_echo_n "checking for ld version... " >&6; }
53166
53167 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53168 glibcxx_ld_is_gold=yes
53169 fi
53170 ldver=`$LD --version 2>/dev/null |
53171 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'`
53172
53173 glibcxx_gnu_ld_version=`echo $ldver | \
53174 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53176 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53177 fi
53178
53179 # Set --gc-sections.
53180 glibcxx_have_gc_sections=no
53181 if test "$glibcxx_ld_is_gold" = "yes"; then
53182 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53183 glibcxx_have_gc_sections=yes
53184 fi
53185 else
53186 glibcxx_gcsections_min_ld=21602
53187 if test x"$with_gnu_ld" = x"yes" &&
53188 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53189 glibcxx_have_gc_sections=yes
53190 fi
53191 fi
53192 if test "$glibcxx_have_gc_sections" = "yes"; then
53193 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53194 # NB: This flag only works reliably after 2.16.1. Configure tests
53195 # for this are difficult, so hard wire a value that should work.
53196
53197 ac_test_CFLAGS="${CFLAGS+set}"
53198 ac_save_CFLAGS="$CFLAGS"
53199 CFLAGS='-Wl,--gc-sections'
53200
53201 # Check for -Wl,--gc-sections
53202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53203 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53204 if test x$gcc_no_link = xyes; then
53205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53206 fi
53207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53208 /* end confdefs.h. */
53209 int one(void) { return 1; }
53210 int two(void) { return 2; }
53211
53212 int
53213 main ()
53214 {
53215 two();
53216 ;
53217 return 0;
53218 }
53219 _ACEOF
53220 if ac_fn_c_try_link "$LINENO"; then :
53221 ac_gcsections=yes
53222 else
53223 ac_gcsections=no
53224 fi
53225 rm -f core conftest.err conftest.$ac_objext \
53226 conftest$ac_exeext conftest.$ac_ext
53227 if test "$ac_gcsections" = "yes"; then
53228 rm -f conftest.c
53229 touch conftest.c
53230 if $CC -c conftest.c; then
53231 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53232 grep "Warning: gc-sections option ignored" > /dev/null; then
53233 ac_gcsections=no
53234 fi
53235 fi
53236 rm -f conftest.c conftest.o conftest
53237 fi
53238 if test "$ac_gcsections" = "yes"; then
53239 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53240 fi
53241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53242 $as_echo "$ac_gcsections" >&6; }
53243
53244 if test "$ac_test_CFLAGS" = set; then
53245 CFLAGS="$ac_save_CFLAGS"
53246 else
53247 # this is the suspicious part
53248 CFLAGS=''
53249 fi
53250 fi
53251
53252 # Set -z,relro.
53253 # Note this is only for shared objects.
53254 ac_ld_relro=no
53255 if test x"$with_gnu_ld" = x"yes"; then
53256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53257 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53258 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53259 if test -n "$cxx_z_relo"; then
53260 OPT_LDFLAGS="-Wl,-z,relro"
53261 ac_ld_relro=yes
53262 fi
53263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53264 $as_echo "$ac_ld_relro" >&6; }
53265 fi
53266
53267 # Set linker optimization flags.
53268 if test x"$with_gnu_ld" = x"yes"; then
53269 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53270 fi
53271
53272
53273
53274
53275
53276 # GLIBCXX_CHECK_MATH_SUPPORT
53277 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53278
53279 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53280
53281 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53282
53283 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53284
53285 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53286
53287 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53288
53289 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53290
53291 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53292
53293 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53294
53295 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53296
53297 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53298
53299 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53300
53301 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53302
53303 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53304
53305 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53306
53307 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53308
53309 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53310
53311 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53312
53313 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53314
53315 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53316
53317 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53318
53319
53320 # GLIBCXX_CHECK_STDLIB_SUPPORT
53321 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53322
53323
53324
53325
53326 # Check whether --enable-tls was given.
53327 if test "${enable_tls+set}" = set; then :
53328 enableval=$enable_tls;
53329 case "$enableval" in
53330 yes|no) ;;
53331 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53332 esac
53333
53334 else
53335 enable_tls=yes
53336 fi
53337
53338
53339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53340 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53341 if test "${gcc_cv_have_tls+set}" = set; then :
53342 $as_echo_n "(cached) " >&6
53343 else
53344
53345 if test "$cross_compiling" = yes; then :
53346 if test x$gcc_no_link = xyes; then
53347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53348 fi
53349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53350 /* end confdefs.h. */
53351 __thread int a; int b; int main() { return a = b; }
53352 _ACEOF
53353 if ac_fn_c_try_link "$LINENO"; then :
53354 chktls_save_LDFLAGS="$LDFLAGS"
53355 case $host in
53356 *-*-linux*)
53357 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53358 ;;
53359 esac
53360 chktls_save_CFLAGS="$CFLAGS"
53361 CFLAGS="-fPIC $CFLAGS"
53362 if test x$gcc_no_link = xyes; then
53363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53364 fi
53365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53366 /* end confdefs.h. */
53367 int f() { return 0; }
53368 _ACEOF
53369 if ac_fn_c_try_link "$LINENO"; then :
53370 if test x$gcc_no_link = xyes; then
53371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53372 fi
53373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53374 /* end confdefs.h. */
53375 __thread int a; int b; int f() { return a = b; }
53376 _ACEOF
53377 if ac_fn_c_try_link "$LINENO"; then :
53378 gcc_cv_have_tls=yes
53379 else
53380 gcc_cv_have_tls=no
53381 fi
53382 rm -f core conftest.err conftest.$ac_objext \
53383 conftest$ac_exeext conftest.$ac_ext
53384 else
53385 gcc_cv_have_tls=yes
53386 fi
53387 rm -f core conftest.err conftest.$ac_objext \
53388 conftest$ac_exeext conftest.$ac_ext
53389 CFLAGS="$chktls_save_CFLAGS"
53390 LDFLAGS="$chktls_save_LDFLAGS"
53391 else
53392 gcc_cv_have_tls=no
53393 fi
53394 rm -f core conftest.err conftest.$ac_objext \
53395 conftest$ac_exeext conftest.$ac_ext
53396
53397
53398 else
53399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53400 /* end confdefs.h. */
53401 __thread int a; int b; int main() { return a = b; }
53402 _ACEOF
53403 if ac_fn_c_try_run "$LINENO"; then :
53404 chktls_save_LDFLAGS="$LDFLAGS"
53405 LDFLAGS="-static $LDFLAGS"
53406 if test x$gcc_no_link = xyes; then
53407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53408 fi
53409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53410 /* end confdefs.h. */
53411 int main() { return 0; }
53412 _ACEOF
53413 if ac_fn_c_try_link "$LINENO"; then :
53414 if test "$cross_compiling" = yes; then :
53415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53417 as_fn_error "cannot run test program while cross compiling
53418 See \`config.log' for more details." "$LINENO" 5; }
53419 else
53420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53421 /* end confdefs.h. */
53422 __thread int a; int b; int main() { return a = b; }
53423 _ACEOF
53424 if ac_fn_c_try_run "$LINENO"; then :
53425 gcc_cv_have_tls=yes
53426 else
53427 gcc_cv_have_tls=no
53428 fi
53429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53430 conftest.$ac_objext conftest.beam conftest.$ac_ext
53431 fi
53432
53433 else
53434 gcc_cv_have_tls=yes
53435 fi
53436 rm -f core conftest.err conftest.$ac_objext \
53437 conftest$ac_exeext conftest.$ac_ext
53438 LDFLAGS="$chktls_save_LDFLAGS"
53439 if test $gcc_cv_have_tls = yes; then
53440 chktls_save_CFLAGS="$CFLAGS"
53441 thread_CFLAGS=failed
53442 for flag in '' '-pthread' '-lpthread'; do
53443 CFLAGS="$flag $chktls_save_CFLAGS"
53444 if test x$gcc_no_link = xyes; then
53445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53446 fi
53447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53448 /* end confdefs.h. */
53449 #include <pthread.h>
53450 void *g(void *d) { return NULL; }
53451 int
53452 main ()
53453 {
53454 pthread_t t; pthread_create(&t,NULL,g,NULL);
53455 ;
53456 return 0;
53457 }
53458 _ACEOF
53459 if ac_fn_c_try_link "$LINENO"; then :
53460 thread_CFLAGS="$flag"
53461 fi
53462 rm -f core conftest.err conftest.$ac_objext \
53463 conftest$ac_exeext conftest.$ac_ext
53464 if test "X$thread_CFLAGS" != Xfailed; then
53465 break
53466 fi
53467 done
53468 CFLAGS="$chktls_save_CFLAGS"
53469 if test "X$thread_CFLAGS" != Xfailed; then
53470 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53471 if test "$cross_compiling" = yes; then :
53472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53474 as_fn_error "cannot run test program while cross compiling
53475 See \`config.log' for more details." "$LINENO" 5; }
53476 else
53477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53478 /* end confdefs.h. */
53479 #include <pthread.h>
53480 __thread int a;
53481 static int *volatile a_in_other_thread;
53482 static void *
53483 thread_func (void *arg)
53484 {
53485 a_in_other_thread = &a;
53486 return (void *)0;
53487 }
53488 int
53489 main ()
53490 {
53491 pthread_t thread;
53492 void *thread_retval;
53493 int *volatile a_in_main_thread;
53494 a_in_main_thread = &a;
53495 if (pthread_create (&thread, (pthread_attr_t *)0,
53496 thread_func, (void *)0))
53497 return 0;
53498 if (pthread_join (thread, &thread_retval))
53499 return 0;
53500 return (a_in_other_thread == a_in_main_thread);
53501 ;
53502 return 0;
53503 }
53504 _ACEOF
53505 if ac_fn_c_try_run "$LINENO"; then :
53506 gcc_cv_have_tls=yes
53507 else
53508 gcc_cv_have_tls=no
53509 fi
53510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53511 conftest.$ac_objext conftest.beam conftest.$ac_ext
53512 fi
53513
53514 CFLAGS="$chktls_save_CFLAGS"
53515 fi
53516 fi
53517 else
53518 gcc_cv_have_tls=no
53519 fi
53520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53521 conftest.$ac_objext conftest.beam conftest.$ac_ext
53522 fi
53523
53524 fi
53525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53526 $as_echo "$gcc_cv_have_tls" >&6; }
53527 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53528
53529 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53530
53531 fi
53532 case "$target" in
53533 *-hpux10*)
53534 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53535
53536 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53537
53538 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53539
53540 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53541
53542 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53543
53544 ;;
53545 esac
53546 ;;
53547 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin*)
53548
53549 # All these tests are for C++; save the language and the compiler flags.
53550 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53551 # found in GLIBCXX_CONFIGURE.
53552
53553 ac_ext=cpp
53554 ac_cpp='$CXXCPP $CPPFLAGS'
53555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53558
53559 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53560 ac_save_CXXFLAGS="$CXXFLAGS"
53561
53562 # Check for maintainer-mode bits.
53563 if test x"$USE_MAINTAINER_MODE" = xno; then
53564 WERROR=''
53565 else
53566 WERROR='-Werror'
53567 fi
53568
53569 # Check for -ffunction-sections -fdata-sections
53570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53571 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53572 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53574 /* end confdefs.h. */
53575 int foo; void bar() { };
53576 int
53577 main ()
53578 {
53579
53580 ;
53581 return 0;
53582 }
53583 _ACEOF
53584 if ac_fn_cxx_try_compile "$LINENO"; then :
53585 ac_fdsections=yes
53586 else
53587 ac_fdsections=no
53588 fi
53589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53590 if test "$ac_test_CXXFLAGS" = set; then
53591 CXXFLAGS="$ac_save_CXXFLAGS"
53592 else
53593 # this is the suspicious part
53594 CXXFLAGS=''
53595 fi
53596 if test x"$ac_fdsections" = x"yes"; then
53597 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53598 fi
53599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53600 $as_echo "$ac_fdsections" >&6; }
53601
53602 ac_ext=c
53603 ac_cpp='$CPP $CPPFLAGS'
53604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53607
53608
53609
53610
53611
53612 # If we're not using GNU ld, then there's no point in even trying these
53613 # tests. Check for that first. We should have already tested for gld
53614 # by now (in libtool), but require it now just to be safe...
53615 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53616 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53617
53618
53619
53620 # The name set by libtool depends on the version of libtool. Shame on us
53621 # for depending on an impl detail, but c'est la vie. Older versions used
53622 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53623 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53624 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53625 # set (hence we're using an older libtool), then set it.
53626 if test x${with_gnu_ld+set} != xset; then
53627 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53628 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53629 with_gnu_ld=no
53630 else
53631 with_gnu_ld=$ac_cv_prog_gnu_ld
53632 fi
53633 fi
53634
53635 # Start by getting the version number. I think the libtool test already
53636 # does some of this, but throws away the result.
53637 glibcxx_ld_is_gold=no
53638 if test x"$with_gnu_ld" = x"yes"; then
53639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53640 $as_echo_n "checking for ld version... " >&6; }
53641
53642 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53643 glibcxx_ld_is_gold=yes
53644 fi
53645 ldver=`$LD --version 2>/dev/null |
53646 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'`
53647
53648 glibcxx_gnu_ld_version=`echo $ldver | \
53649 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53651 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53652 fi
53653
53654 # Set --gc-sections.
53655 glibcxx_have_gc_sections=no
53656 if test "$glibcxx_ld_is_gold" = "yes"; then
53657 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53658 glibcxx_have_gc_sections=yes
53659 fi
53660 else
53661 glibcxx_gcsections_min_ld=21602
53662 if test x"$with_gnu_ld" = x"yes" &&
53663 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53664 glibcxx_have_gc_sections=yes
53665 fi
53666 fi
53667 if test "$glibcxx_have_gc_sections" = "yes"; then
53668 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53669 # NB: This flag only works reliably after 2.16.1. Configure tests
53670 # for this are difficult, so hard wire a value that should work.
53671
53672 ac_test_CFLAGS="${CFLAGS+set}"
53673 ac_save_CFLAGS="$CFLAGS"
53674 CFLAGS='-Wl,--gc-sections'
53675
53676 # Check for -Wl,--gc-sections
53677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53678 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53679 if test x$gcc_no_link = xyes; then
53680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53681 fi
53682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53683 /* end confdefs.h. */
53684 int one(void) { return 1; }
53685 int two(void) { return 2; }
53686
53687 int
53688 main ()
53689 {
53690 two();
53691 ;
53692 return 0;
53693 }
53694 _ACEOF
53695 if ac_fn_c_try_link "$LINENO"; then :
53696 ac_gcsections=yes
53697 else
53698 ac_gcsections=no
53699 fi
53700 rm -f core conftest.err conftest.$ac_objext \
53701 conftest$ac_exeext conftest.$ac_ext
53702 if test "$ac_gcsections" = "yes"; then
53703 rm -f conftest.c
53704 touch conftest.c
53705 if $CC -c conftest.c; then
53706 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53707 grep "Warning: gc-sections option ignored" > /dev/null; then
53708 ac_gcsections=no
53709 fi
53710 fi
53711 rm -f conftest.c conftest.o conftest
53712 fi
53713 if test "$ac_gcsections" = "yes"; then
53714 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53715 fi
53716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53717 $as_echo "$ac_gcsections" >&6; }
53718
53719 if test "$ac_test_CFLAGS" = set; then
53720 CFLAGS="$ac_save_CFLAGS"
53721 else
53722 # this is the suspicious part
53723 CFLAGS=''
53724 fi
53725 fi
53726
53727 # Set -z,relro.
53728 # Note this is only for shared objects.
53729 ac_ld_relro=no
53730 if test x"$with_gnu_ld" = x"yes"; then
53731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53732 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53733 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53734 if test -n "$cxx_z_relo"; then
53735 OPT_LDFLAGS="-Wl,-z,relro"
53736 ac_ld_relro=yes
53737 fi
53738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53739 $as_echo "$ac_ld_relro" >&6; }
53740 fi
53741
53742 # Set linker optimization flags.
53743 if test x"$with_gnu_ld" = x"yes"; then
53744 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53745 fi
53746
53747
53748
53749
53750
53751 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53752 ac_save_CXXFLAGS="$CXXFLAGS"
53753 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53754
53755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53756 $as_echo_n "checking for sin in -lm... " >&6; }
53757 if test "${ac_cv_lib_m_sin+set}" = set; then :
53758 $as_echo_n "(cached) " >&6
53759 else
53760 ac_check_lib_save_LIBS=$LIBS
53761 LIBS="-lm $LIBS"
53762 if test x$gcc_no_link = xyes; then
53763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53764 fi
53765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53766 /* end confdefs.h. */
53767
53768 /* Override any GCC internal prototype to avoid an error.
53769 Use char because int might match the return type of a GCC
53770 builtin and then its argument prototype would still apply. */
53771 #ifdef __cplusplus
53772 extern "C"
53773 #endif
53774 char sin ();
53775 int
53776 main ()
53777 {
53778 return sin ();
53779 ;
53780 return 0;
53781 }
53782 _ACEOF
53783 if ac_fn_c_try_link "$LINENO"; then :
53784 ac_cv_lib_m_sin=yes
53785 else
53786 ac_cv_lib_m_sin=no
53787 fi
53788 rm -f core conftest.err conftest.$ac_objext \
53789 conftest$ac_exeext conftest.$ac_ext
53790 LIBS=$ac_check_lib_save_LIBS
53791 fi
53792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53793 $as_echo "$ac_cv_lib_m_sin" >&6; }
53794 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53795 libm="-lm"
53796 fi
53797
53798 ac_save_LIBS="$LIBS"
53799 LIBS="$LIBS $libm"
53800
53801
53802
53803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53804 $as_echo_n "checking for isinf declaration... " >&6; }
53805 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53806 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53807 $as_echo_n "(cached) " >&6
53808 else
53809
53810
53811 ac_ext=cpp
53812 ac_cpp='$CXXCPP $CPPFLAGS'
53813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53816
53817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53818 /* end confdefs.h. */
53819 #include <math.h>
53820 #ifdef HAVE_IEEEFP_H
53821 #include <ieeefp.h>
53822 #endif
53823
53824 int
53825 main ()
53826 {
53827 isinf(0);
53828 ;
53829 return 0;
53830 }
53831 _ACEOF
53832 if ac_fn_cxx_try_compile "$LINENO"; then :
53833 glibcxx_cv_func_isinf_use=yes
53834 else
53835 glibcxx_cv_func_isinf_use=no
53836 fi
53837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53838 ac_ext=c
53839 ac_cpp='$CPP $CPPFLAGS'
53840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53843
53844
53845 fi
53846
53847 fi
53848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53849 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53850
53851 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53852 for ac_func in isinf
53853 do :
53854 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53855 if test "x$ac_cv_func_isinf" = x""yes; then :
53856 cat >>confdefs.h <<_ACEOF
53857 #define HAVE_ISINF 1
53858 _ACEOF
53859
53860 fi
53861 done
53862
53863 else
53864
53865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53866 $as_echo_n "checking for _isinf declaration... " >&6; }
53867 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53868 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53869 $as_echo_n "(cached) " >&6
53870 else
53871
53872
53873 ac_ext=cpp
53874 ac_cpp='$CXXCPP $CPPFLAGS'
53875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53878
53879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53880 /* end confdefs.h. */
53881 #include <math.h>
53882 #ifdef HAVE_IEEEFP_H
53883 #include <ieeefp.h>
53884 #endif
53885
53886 int
53887 main ()
53888 {
53889 _isinf(0);
53890 ;
53891 return 0;
53892 }
53893 _ACEOF
53894 if ac_fn_cxx_try_compile "$LINENO"; then :
53895 glibcxx_cv_func__isinf_use=yes
53896 else
53897 glibcxx_cv_func__isinf_use=no
53898 fi
53899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53900 ac_ext=c
53901 ac_cpp='$CPP $CPPFLAGS'
53902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53905
53906
53907 fi
53908
53909 fi
53910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53911 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53912
53913 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53914 for ac_func in _isinf
53915 do :
53916 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53917 if test "x$ac_cv_func__isinf" = x""yes; then :
53918 cat >>confdefs.h <<_ACEOF
53919 #define HAVE__ISINF 1
53920 _ACEOF
53921
53922 fi
53923 done
53924
53925 fi
53926 fi
53927
53928
53929
53930
53931
53932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53933 $as_echo_n "checking for isnan declaration... " >&6; }
53934 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53935 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53936 $as_echo_n "(cached) " >&6
53937 else
53938
53939
53940 ac_ext=cpp
53941 ac_cpp='$CXXCPP $CPPFLAGS'
53942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53945
53946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53947 /* end confdefs.h. */
53948 #include <math.h>
53949 #ifdef HAVE_IEEEFP_H
53950 #include <ieeefp.h>
53951 #endif
53952
53953 int
53954 main ()
53955 {
53956 isnan(0);
53957 ;
53958 return 0;
53959 }
53960 _ACEOF
53961 if ac_fn_cxx_try_compile "$LINENO"; then :
53962 glibcxx_cv_func_isnan_use=yes
53963 else
53964 glibcxx_cv_func_isnan_use=no
53965 fi
53966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53967 ac_ext=c
53968 ac_cpp='$CPP $CPPFLAGS'
53969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53972
53973
53974 fi
53975
53976 fi
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53978 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53979
53980 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53981 for ac_func in isnan
53982 do :
53983 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53984 if test "x$ac_cv_func_isnan" = x""yes; then :
53985 cat >>confdefs.h <<_ACEOF
53986 #define HAVE_ISNAN 1
53987 _ACEOF
53988
53989 fi
53990 done
53991
53992 else
53993
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53995 $as_echo_n "checking for _isnan declaration... " >&6; }
53996 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53997 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53998 $as_echo_n "(cached) " >&6
53999 else
54000
54001
54002 ac_ext=cpp
54003 ac_cpp='$CXXCPP $CPPFLAGS'
54004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54007
54008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54009 /* end confdefs.h. */
54010 #include <math.h>
54011 #ifdef HAVE_IEEEFP_H
54012 #include <ieeefp.h>
54013 #endif
54014
54015 int
54016 main ()
54017 {
54018 _isnan(0);
54019 ;
54020 return 0;
54021 }
54022 _ACEOF
54023 if ac_fn_cxx_try_compile "$LINENO"; then :
54024 glibcxx_cv_func__isnan_use=yes
54025 else
54026 glibcxx_cv_func__isnan_use=no
54027 fi
54028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54029 ac_ext=c
54030 ac_cpp='$CPP $CPPFLAGS'
54031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54034
54035
54036 fi
54037
54038 fi
54039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54040 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54041
54042 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54043 for ac_func in _isnan
54044 do :
54045 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54046 if test "x$ac_cv_func__isnan" = x""yes; then :
54047 cat >>confdefs.h <<_ACEOF
54048 #define HAVE__ISNAN 1
54049 _ACEOF
54050
54051 fi
54052 done
54053
54054 fi
54055 fi
54056
54057
54058
54059
54060
54061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54062 $as_echo_n "checking for finite declaration... " >&6; }
54063 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54064 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54065 $as_echo_n "(cached) " >&6
54066 else
54067
54068
54069 ac_ext=cpp
54070 ac_cpp='$CXXCPP $CPPFLAGS'
54071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54074
54075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54076 /* end confdefs.h. */
54077 #include <math.h>
54078 #ifdef HAVE_IEEEFP_H
54079 #include <ieeefp.h>
54080 #endif
54081
54082 int
54083 main ()
54084 {
54085 finite(0);
54086 ;
54087 return 0;
54088 }
54089 _ACEOF
54090 if ac_fn_cxx_try_compile "$LINENO"; then :
54091 glibcxx_cv_func_finite_use=yes
54092 else
54093 glibcxx_cv_func_finite_use=no
54094 fi
54095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54096 ac_ext=c
54097 ac_cpp='$CPP $CPPFLAGS'
54098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54101
54102
54103 fi
54104
54105 fi
54106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54107 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54108
54109 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54110 for ac_func in finite
54111 do :
54112 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54113 if test "x$ac_cv_func_finite" = x""yes; then :
54114 cat >>confdefs.h <<_ACEOF
54115 #define HAVE_FINITE 1
54116 _ACEOF
54117
54118 fi
54119 done
54120
54121 else
54122
54123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54124 $as_echo_n "checking for _finite declaration... " >&6; }
54125 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54126 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54127 $as_echo_n "(cached) " >&6
54128 else
54129
54130
54131 ac_ext=cpp
54132 ac_cpp='$CXXCPP $CPPFLAGS'
54133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54136
54137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54138 /* end confdefs.h. */
54139 #include <math.h>
54140 #ifdef HAVE_IEEEFP_H
54141 #include <ieeefp.h>
54142 #endif
54143
54144 int
54145 main ()
54146 {
54147 _finite(0);
54148 ;
54149 return 0;
54150 }
54151 _ACEOF
54152 if ac_fn_cxx_try_compile "$LINENO"; then :
54153 glibcxx_cv_func__finite_use=yes
54154 else
54155 glibcxx_cv_func__finite_use=no
54156 fi
54157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54158 ac_ext=c
54159 ac_cpp='$CPP $CPPFLAGS'
54160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54163
54164
54165 fi
54166
54167 fi
54168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54169 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54170
54171 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54172 for ac_func in _finite
54173 do :
54174 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54175 if test "x$ac_cv_func__finite" = x""yes; then :
54176 cat >>confdefs.h <<_ACEOF
54177 #define HAVE__FINITE 1
54178 _ACEOF
54179
54180 fi
54181 done
54182
54183 fi
54184 fi
54185
54186
54187
54188
54189
54190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54191 $as_echo_n "checking for sincos declaration... " >&6; }
54192 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54193 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54194 $as_echo_n "(cached) " >&6
54195 else
54196
54197
54198 ac_ext=cpp
54199 ac_cpp='$CXXCPP $CPPFLAGS'
54200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54203
54204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54205 /* end confdefs.h. */
54206 #include <math.h>
54207 int
54208 main ()
54209 {
54210 sincos(0, 0, 0);
54211 ;
54212 return 0;
54213 }
54214 _ACEOF
54215 if ac_fn_cxx_try_compile "$LINENO"; then :
54216 glibcxx_cv_func_sincos_use=yes
54217 else
54218 glibcxx_cv_func_sincos_use=no
54219 fi
54220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54221 ac_ext=c
54222 ac_cpp='$CPP $CPPFLAGS'
54223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54226
54227
54228 fi
54229
54230 fi
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54232 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54233
54234 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54235 for ac_func in sincos
54236 do :
54237 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54238 if test "x$ac_cv_func_sincos" = x""yes; then :
54239 cat >>confdefs.h <<_ACEOF
54240 #define HAVE_SINCOS 1
54241 _ACEOF
54242
54243 fi
54244 done
54245
54246 else
54247
54248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54249 $as_echo_n "checking for _sincos declaration... " >&6; }
54250 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54251 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54252 $as_echo_n "(cached) " >&6
54253 else
54254
54255
54256 ac_ext=cpp
54257 ac_cpp='$CXXCPP $CPPFLAGS'
54258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54261
54262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54263 /* end confdefs.h. */
54264 #include <math.h>
54265 int
54266 main ()
54267 {
54268 _sincos(0, 0, 0);
54269 ;
54270 return 0;
54271 }
54272 _ACEOF
54273 if ac_fn_cxx_try_compile "$LINENO"; then :
54274 glibcxx_cv_func__sincos_use=yes
54275 else
54276 glibcxx_cv_func__sincos_use=no
54277 fi
54278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54279 ac_ext=c
54280 ac_cpp='$CPP $CPPFLAGS'
54281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54284
54285
54286 fi
54287
54288 fi
54289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54290 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54291
54292 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54293 for ac_func in _sincos
54294 do :
54295 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54296 if test "x$ac_cv_func__sincos" = x""yes; then :
54297 cat >>confdefs.h <<_ACEOF
54298 #define HAVE__SINCOS 1
54299 _ACEOF
54300
54301 fi
54302 done
54303
54304 fi
54305 fi
54306
54307
54308
54309
54310
54311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54312 $as_echo_n "checking for fpclass declaration... " >&6; }
54313 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54314 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54315 $as_echo_n "(cached) " >&6
54316 else
54317
54318
54319 ac_ext=cpp
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54324
54325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54326 /* end confdefs.h. */
54327 #include <math.h>
54328 #ifdef HAVE_IEEEFP_H
54329 #include <ieeefp.h>
54330 #endif
54331
54332 int
54333 main ()
54334 {
54335 fpclass(0);
54336 ;
54337 return 0;
54338 }
54339 _ACEOF
54340 if ac_fn_cxx_try_compile "$LINENO"; then :
54341 glibcxx_cv_func_fpclass_use=yes
54342 else
54343 glibcxx_cv_func_fpclass_use=no
54344 fi
54345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54346 ac_ext=c
54347 ac_cpp='$CPP $CPPFLAGS'
54348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54351
54352
54353 fi
54354
54355 fi
54356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54357 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54358
54359 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54360 for ac_func in fpclass
54361 do :
54362 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54363 if test "x$ac_cv_func_fpclass" = x""yes; then :
54364 cat >>confdefs.h <<_ACEOF
54365 #define HAVE_FPCLASS 1
54366 _ACEOF
54367
54368 fi
54369 done
54370
54371 else
54372
54373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54374 $as_echo_n "checking for _fpclass declaration... " >&6; }
54375 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54376 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54377 $as_echo_n "(cached) " >&6
54378 else
54379
54380
54381 ac_ext=cpp
54382 ac_cpp='$CXXCPP $CPPFLAGS'
54383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54386
54387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54388 /* end confdefs.h. */
54389 #include <math.h>
54390 #ifdef HAVE_IEEEFP_H
54391 #include <ieeefp.h>
54392 #endif
54393
54394 int
54395 main ()
54396 {
54397 _fpclass(0);
54398 ;
54399 return 0;
54400 }
54401 _ACEOF
54402 if ac_fn_cxx_try_compile "$LINENO"; then :
54403 glibcxx_cv_func__fpclass_use=yes
54404 else
54405 glibcxx_cv_func__fpclass_use=no
54406 fi
54407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54408 ac_ext=c
54409 ac_cpp='$CPP $CPPFLAGS'
54410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54413
54414
54415 fi
54416
54417 fi
54418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54419 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54420
54421 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54422 for ac_func in _fpclass
54423 do :
54424 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54425 if test "x$ac_cv_func__fpclass" = x""yes; then :
54426 cat >>confdefs.h <<_ACEOF
54427 #define HAVE__FPCLASS 1
54428 _ACEOF
54429
54430 fi
54431 done
54432
54433 fi
54434 fi
54435
54436
54437
54438
54439
54440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54441 $as_echo_n "checking for qfpclass declaration... " >&6; }
54442 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54443 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54444 $as_echo_n "(cached) " >&6
54445 else
54446
54447
54448 ac_ext=cpp
54449 ac_cpp='$CXXCPP $CPPFLAGS'
54450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54453
54454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54455 /* end confdefs.h. */
54456 #include <math.h>
54457 #ifdef HAVE_IEEEFP_H
54458 #include <ieeefp.h>
54459 #endif
54460
54461 int
54462 main ()
54463 {
54464 qfpclass(0);
54465 ;
54466 return 0;
54467 }
54468 _ACEOF
54469 if ac_fn_cxx_try_compile "$LINENO"; then :
54470 glibcxx_cv_func_qfpclass_use=yes
54471 else
54472 glibcxx_cv_func_qfpclass_use=no
54473 fi
54474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54475 ac_ext=c
54476 ac_cpp='$CPP $CPPFLAGS'
54477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54480
54481
54482 fi
54483
54484 fi
54485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54486 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54487
54488 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54489 for ac_func in qfpclass
54490 do :
54491 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54492 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54493 cat >>confdefs.h <<_ACEOF
54494 #define HAVE_QFPCLASS 1
54495 _ACEOF
54496
54497 fi
54498 done
54499
54500 else
54501
54502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54503 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54504 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54505 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54506 $as_echo_n "(cached) " >&6
54507 else
54508
54509
54510 ac_ext=cpp
54511 ac_cpp='$CXXCPP $CPPFLAGS'
54512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54515
54516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54517 /* end confdefs.h. */
54518 #include <math.h>
54519 #ifdef HAVE_IEEEFP_H
54520 #include <ieeefp.h>
54521 #endif
54522
54523 int
54524 main ()
54525 {
54526 _qfpclass(0);
54527 ;
54528 return 0;
54529 }
54530 _ACEOF
54531 if ac_fn_cxx_try_compile "$LINENO"; then :
54532 glibcxx_cv_func__qfpclass_use=yes
54533 else
54534 glibcxx_cv_func__qfpclass_use=no
54535 fi
54536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54537 ac_ext=c
54538 ac_cpp='$CPP $CPPFLAGS'
54539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54542
54543
54544 fi
54545
54546 fi
54547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54548 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54549
54550 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54551 for ac_func in _qfpclass
54552 do :
54553 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54554 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54555 cat >>confdefs.h <<_ACEOF
54556 #define HAVE__QFPCLASS 1
54557 _ACEOF
54558
54559 fi
54560 done
54561
54562 fi
54563 fi
54564
54565
54566
54567
54568
54569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54570 $as_echo_n "checking for hypot declaration... " >&6; }
54571 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54572 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54573 $as_echo_n "(cached) " >&6
54574 else
54575
54576
54577 ac_ext=cpp
54578 ac_cpp='$CXXCPP $CPPFLAGS'
54579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54582
54583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54584 /* end confdefs.h. */
54585 #include <math.h>
54586 int
54587 main ()
54588 {
54589 hypot(0, 0);
54590 ;
54591 return 0;
54592 }
54593 _ACEOF
54594 if ac_fn_cxx_try_compile "$LINENO"; then :
54595 glibcxx_cv_func_hypot_use=yes
54596 else
54597 glibcxx_cv_func_hypot_use=no
54598 fi
54599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54600 ac_ext=c
54601 ac_cpp='$CPP $CPPFLAGS'
54602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54605
54606
54607 fi
54608
54609 fi
54610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54611 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54612
54613 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54614 for ac_func in hypot
54615 do :
54616 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54617 if test "x$ac_cv_func_hypot" = x""yes; then :
54618 cat >>confdefs.h <<_ACEOF
54619 #define HAVE_HYPOT 1
54620 _ACEOF
54621
54622 fi
54623 done
54624
54625 else
54626
54627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54628 $as_echo_n "checking for _hypot declaration... " >&6; }
54629 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54630 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54631 $as_echo_n "(cached) " >&6
54632 else
54633
54634
54635 ac_ext=cpp
54636 ac_cpp='$CXXCPP $CPPFLAGS'
54637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54640
54641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54642 /* end confdefs.h. */
54643 #include <math.h>
54644 int
54645 main ()
54646 {
54647 _hypot(0, 0);
54648 ;
54649 return 0;
54650 }
54651 _ACEOF
54652 if ac_fn_cxx_try_compile "$LINENO"; then :
54653 glibcxx_cv_func__hypot_use=yes
54654 else
54655 glibcxx_cv_func__hypot_use=no
54656 fi
54657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54658 ac_ext=c
54659 ac_cpp='$CPP $CPPFLAGS'
54660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54663
54664
54665 fi
54666
54667 fi
54668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54669 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54670
54671 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54672 for ac_func in _hypot
54673 do :
54674 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54675 if test "x$ac_cv_func__hypot" = x""yes; then :
54676 cat >>confdefs.h <<_ACEOF
54677 #define HAVE__HYPOT 1
54678 _ACEOF
54679
54680 fi
54681 done
54682
54683 fi
54684 fi
54685
54686
54687
54688
54689
54690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54691 $as_echo_n "checking for float trig functions... " >&6; }
54692 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54693 $as_echo_n "(cached) " >&6
54694 else
54695
54696
54697 ac_ext=cpp
54698 ac_cpp='$CXXCPP $CPPFLAGS'
54699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54702
54703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54704 /* end confdefs.h. */
54705 #include <math.h>
54706 int
54707 main ()
54708 {
54709 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54710 ;
54711 return 0;
54712 }
54713 _ACEOF
54714 if ac_fn_cxx_try_compile "$LINENO"; then :
54715 glibcxx_cv_func_float_trig_use=yes
54716 else
54717 glibcxx_cv_func_float_trig_use=no
54718 fi
54719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54720 ac_ext=c
54721 ac_cpp='$CPP $CPPFLAGS'
54722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54725
54726 fi
54727
54728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54729 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54730 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54731 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54732 do :
54733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54735 eval as_val=\$$as_ac_var
54736 if test "x$as_val" = x""yes; then :
54737 cat >>confdefs.h <<_ACEOF
54738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54739 _ACEOF
54740
54741 fi
54742 done
54743
54744 else
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54746 $as_echo_n "checking for _float trig functions... " >&6; }
54747 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54748 $as_echo_n "(cached) " >&6
54749 else
54750
54751
54752 ac_ext=cpp
54753 ac_cpp='$CXXCPP $CPPFLAGS'
54754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54757
54758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54759 /* end confdefs.h. */
54760 #include <math.h>
54761 int
54762 main ()
54763 {
54764 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54765 ;
54766 return 0;
54767 }
54768 _ACEOF
54769 if ac_fn_cxx_try_compile "$LINENO"; then :
54770 glibcxx_cv_func__float_trig_use=yes
54771 else
54772 glibcxx_cv_func__float_trig_use=no
54773 fi
54774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54775 ac_ext=c
54776 ac_cpp='$CPP $CPPFLAGS'
54777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54780
54781 fi
54782
54783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54784 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54785 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54786 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54787 do :
54788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54790 eval as_val=\$$as_ac_var
54791 if test "x$as_val" = x""yes; then :
54792 cat >>confdefs.h <<_ACEOF
54793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54794 _ACEOF
54795
54796 fi
54797 done
54798
54799 fi
54800 fi
54801
54802
54803
54804
54805
54806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54807 $as_echo_n "checking for float round functions... " >&6; }
54808 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54809 $as_echo_n "(cached) " >&6
54810 else
54811
54812
54813 ac_ext=cpp
54814 ac_cpp='$CXXCPP $CPPFLAGS'
54815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54818
54819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54820 /* end confdefs.h. */
54821 #include <math.h>
54822 int
54823 main ()
54824 {
54825 ceilf (0); floorf (0);
54826 ;
54827 return 0;
54828 }
54829 _ACEOF
54830 if ac_fn_cxx_try_compile "$LINENO"; then :
54831 glibcxx_cv_func_float_round_use=yes
54832 else
54833 glibcxx_cv_func_float_round_use=no
54834 fi
54835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836 ac_ext=c
54837 ac_cpp='$CPP $CPPFLAGS'
54838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54841
54842 fi
54843
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54845 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54846 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54847 for ac_func in ceilf floorf
54848 do :
54849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54851 eval as_val=\$$as_ac_var
54852 if test "x$as_val" = x""yes; then :
54853 cat >>confdefs.h <<_ACEOF
54854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54855 _ACEOF
54856
54857 fi
54858 done
54859
54860 else
54861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54862 $as_echo_n "checking for _float round functions... " >&6; }
54863 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54864 $as_echo_n "(cached) " >&6
54865 else
54866
54867
54868 ac_ext=cpp
54869 ac_cpp='$CXXCPP $CPPFLAGS'
54870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54873
54874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54875 /* end confdefs.h. */
54876 #include <math.h>
54877 int
54878 main ()
54879 {
54880 _ceilf (0); _floorf (0);
54881 ;
54882 return 0;
54883 }
54884 _ACEOF
54885 if ac_fn_cxx_try_compile "$LINENO"; then :
54886 glibcxx_cv_func__float_round_use=yes
54887 else
54888 glibcxx_cv_func__float_round_use=no
54889 fi
54890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54891 ac_ext=c
54892 ac_cpp='$CPP $CPPFLAGS'
54893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54896
54897 fi
54898
54899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54900 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54901 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54902 for ac_func in _ceilf _floorf
54903 do :
54904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54906 eval as_val=\$$as_ac_var
54907 if test "x$as_val" = x""yes; then :
54908 cat >>confdefs.h <<_ACEOF
54909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54910 _ACEOF
54911
54912 fi
54913 done
54914
54915 fi
54916 fi
54917
54918
54919
54920
54921
54922
54923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54924 $as_echo_n "checking for expf declaration... " >&6; }
54925 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54926 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54927 $as_echo_n "(cached) " >&6
54928 else
54929
54930
54931 ac_ext=cpp
54932 ac_cpp='$CXXCPP $CPPFLAGS'
54933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54936
54937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54938 /* end confdefs.h. */
54939 #include <math.h>
54940 #ifdef HAVE_IEEEFP_H
54941 #include <ieeefp.h>
54942 #endif
54943
54944 int
54945 main ()
54946 {
54947 expf(0);
54948 ;
54949 return 0;
54950 }
54951 _ACEOF
54952 if ac_fn_cxx_try_compile "$LINENO"; then :
54953 glibcxx_cv_func_expf_use=yes
54954 else
54955 glibcxx_cv_func_expf_use=no
54956 fi
54957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54958 ac_ext=c
54959 ac_cpp='$CPP $CPPFLAGS'
54960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54963
54964
54965 fi
54966
54967 fi
54968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54969 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54970
54971 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54972 for ac_func in expf
54973 do :
54974 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54975 if test "x$ac_cv_func_expf" = x""yes; then :
54976 cat >>confdefs.h <<_ACEOF
54977 #define HAVE_EXPF 1
54978 _ACEOF
54979
54980 fi
54981 done
54982
54983 else
54984
54985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54986 $as_echo_n "checking for _expf declaration... " >&6; }
54987 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54988 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54989 $as_echo_n "(cached) " >&6
54990 else
54991
54992
54993 ac_ext=cpp
54994 ac_cpp='$CXXCPP $CPPFLAGS'
54995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54998
54999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55000 /* end confdefs.h. */
55001 #include <math.h>
55002 #ifdef HAVE_IEEEFP_H
55003 #include <ieeefp.h>
55004 #endif
55005
55006 int
55007 main ()
55008 {
55009 _expf(0);
55010 ;
55011 return 0;
55012 }
55013 _ACEOF
55014 if ac_fn_cxx_try_compile "$LINENO"; then :
55015 glibcxx_cv_func__expf_use=yes
55016 else
55017 glibcxx_cv_func__expf_use=no
55018 fi
55019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55020 ac_ext=c
55021 ac_cpp='$CPP $CPPFLAGS'
55022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55025
55026
55027 fi
55028
55029 fi
55030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55031 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55032
55033 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55034 for ac_func in _expf
55035 do :
55036 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55037 if test "x$ac_cv_func__expf" = x""yes; then :
55038 cat >>confdefs.h <<_ACEOF
55039 #define HAVE__EXPF 1
55040 _ACEOF
55041
55042 fi
55043 done
55044
55045 fi
55046 fi
55047
55048
55049
55050
55051
55052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55053 $as_echo_n "checking for isnanf declaration... " >&6; }
55054 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55055 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55056 $as_echo_n "(cached) " >&6
55057 else
55058
55059
55060 ac_ext=cpp
55061 ac_cpp='$CXXCPP $CPPFLAGS'
55062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55065
55066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55067 /* end confdefs.h. */
55068 #include <math.h>
55069 #ifdef HAVE_IEEEFP_H
55070 #include <ieeefp.h>
55071 #endif
55072
55073 int
55074 main ()
55075 {
55076 isnanf(0);
55077 ;
55078 return 0;
55079 }
55080 _ACEOF
55081 if ac_fn_cxx_try_compile "$LINENO"; then :
55082 glibcxx_cv_func_isnanf_use=yes
55083 else
55084 glibcxx_cv_func_isnanf_use=no
55085 fi
55086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55087 ac_ext=c
55088 ac_cpp='$CPP $CPPFLAGS'
55089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55092
55093
55094 fi
55095
55096 fi
55097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55098 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55099
55100 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55101 for ac_func in isnanf
55102 do :
55103 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55104 if test "x$ac_cv_func_isnanf" = x""yes; then :
55105 cat >>confdefs.h <<_ACEOF
55106 #define HAVE_ISNANF 1
55107 _ACEOF
55108
55109 fi
55110 done
55111
55112 else
55113
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55115 $as_echo_n "checking for _isnanf declaration... " >&6; }
55116 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55117 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55118 $as_echo_n "(cached) " >&6
55119 else
55120
55121
55122 ac_ext=cpp
55123 ac_cpp='$CXXCPP $CPPFLAGS'
55124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55127
55128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55129 /* end confdefs.h. */
55130 #include <math.h>
55131 #ifdef HAVE_IEEEFP_H
55132 #include <ieeefp.h>
55133 #endif
55134
55135 int
55136 main ()
55137 {
55138 _isnanf(0);
55139 ;
55140 return 0;
55141 }
55142 _ACEOF
55143 if ac_fn_cxx_try_compile "$LINENO"; then :
55144 glibcxx_cv_func__isnanf_use=yes
55145 else
55146 glibcxx_cv_func__isnanf_use=no
55147 fi
55148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55149 ac_ext=c
55150 ac_cpp='$CPP $CPPFLAGS'
55151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55154
55155
55156 fi
55157
55158 fi
55159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55160 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55161
55162 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55163 for ac_func in _isnanf
55164 do :
55165 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55166 if test "x$ac_cv_func__isnanf" = x""yes; then :
55167 cat >>confdefs.h <<_ACEOF
55168 #define HAVE__ISNANF 1
55169 _ACEOF
55170
55171 fi
55172 done
55173
55174 fi
55175 fi
55176
55177
55178
55179
55180
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55182 $as_echo_n "checking for isinff declaration... " >&6; }
55183 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55184 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55185 $as_echo_n "(cached) " >&6
55186 else
55187
55188
55189 ac_ext=cpp
55190 ac_cpp='$CXXCPP $CPPFLAGS'
55191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55194
55195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55196 /* end confdefs.h. */
55197 #include <math.h>
55198 #ifdef HAVE_IEEEFP_H
55199 #include <ieeefp.h>
55200 #endif
55201
55202 int
55203 main ()
55204 {
55205 isinff(0);
55206 ;
55207 return 0;
55208 }
55209 _ACEOF
55210 if ac_fn_cxx_try_compile "$LINENO"; then :
55211 glibcxx_cv_func_isinff_use=yes
55212 else
55213 glibcxx_cv_func_isinff_use=no
55214 fi
55215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55216 ac_ext=c
55217 ac_cpp='$CPP $CPPFLAGS'
55218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55221
55222
55223 fi
55224
55225 fi
55226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55227 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55228
55229 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55230 for ac_func in isinff
55231 do :
55232 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55233 if test "x$ac_cv_func_isinff" = x""yes; then :
55234 cat >>confdefs.h <<_ACEOF
55235 #define HAVE_ISINFF 1
55236 _ACEOF
55237
55238 fi
55239 done
55240
55241 else
55242
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55244 $as_echo_n "checking for _isinff declaration... " >&6; }
55245 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55246 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55247 $as_echo_n "(cached) " >&6
55248 else
55249
55250
55251 ac_ext=cpp
55252 ac_cpp='$CXXCPP $CPPFLAGS'
55253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55256
55257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55258 /* end confdefs.h. */
55259 #include <math.h>
55260 #ifdef HAVE_IEEEFP_H
55261 #include <ieeefp.h>
55262 #endif
55263
55264 int
55265 main ()
55266 {
55267 _isinff(0);
55268 ;
55269 return 0;
55270 }
55271 _ACEOF
55272 if ac_fn_cxx_try_compile "$LINENO"; then :
55273 glibcxx_cv_func__isinff_use=yes
55274 else
55275 glibcxx_cv_func__isinff_use=no
55276 fi
55277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55278 ac_ext=c
55279 ac_cpp='$CPP $CPPFLAGS'
55280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55283
55284
55285 fi
55286
55287 fi
55288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55289 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55290
55291 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55292 for ac_func in _isinff
55293 do :
55294 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55295 if test "x$ac_cv_func__isinff" = x""yes; then :
55296 cat >>confdefs.h <<_ACEOF
55297 #define HAVE__ISINFF 1
55298 _ACEOF
55299
55300 fi
55301 done
55302
55303 fi
55304 fi
55305
55306
55307
55308
55309
55310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55311 $as_echo_n "checking for atan2f declaration... " >&6; }
55312 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55313 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55314 $as_echo_n "(cached) " >&6
55315 else
55316
55317
55318 ac_ext=cpp
55319 ac_cpp='$CXXCPP $CPPFLAGS'
55320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55323
55324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55325 /* end confdefs.h. */
55326 #include <math.h>
55327 int
55328 main ()
55329 {
55330 atan2f(0, 0);
55331 ;
55332 return 0;
55333 }
55334 _ACEOF
55335 if ac_fn_cxx_try_compile "$LINENO"; then :
55336 glibcxx_cv_func_atan2f_use=yes
55337 else
55338 glibcxx_cv_func_atan2f_use=no
55339 fi
55340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55341 ac_ext=c
55342 ac_cpp='$CPP $CPPFLAGS'
55343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55346
55347
55348 fi
55349
55350 fi
55351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55352 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55353
55354 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55355 for ac_func in atan2f
55356 do :
55357 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55358 if test "x$ac_cv_func_atan2f" = x""yes; then :
55359 cat >>confdefs.h <<_ACEOF
55360 #define HAVE_ATAN2F 1
55361 _ACEOF
55362
55363 fi
55364 done
55365
55366 else
55367
55368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55369 $as_echo_n "checking for _atan2f declaration... " >&6; }
55370 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55371 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55372 $as_echo_n "(cached) " >&6
55373 else
55374
55375
55376 ac_ext=cpp
55377 ac_cpp='$CXXCPP $CPPFLAGS'
55378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55381
55382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55383 /* end confdefs.h. */
55384 #include <math.h>
55385 int
55386 main ()
55387 {
55388 _atan2f(0, 0);
55389 ;
55390 return 0;
55391 }
55392 _ACEOF
55393 if ac_fn_cxx_try_compile "$LINENO"; then :
55394 glibcxx_cv_func__atan2f_use=yes
55395 else
55396 glibcxx_cv_func__atan2f_use=no
55397 fi
55398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55399 ac_ext=c
55400 ac_cpp='$CPP $CPPFLAGS'
55401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55404
55405
55406 fi
55407
55408 fi
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55410 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55411
55412 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55413 for ac_func in _atan2f
55414 do :
55415 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55416 if test "x$ac_cv_func__atan2f" = x""yes; then :
55417 cat >>confdefs.h <<_ACEOF
55418 #define HAVE__ATAN2F 1
55419 _ACEOF
55420
55421 fi
55422 done
55423
55424 fi
55425 fi
55426
55427
55428
55429
55430
55431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55432 $as_echo_n "checking for fabsf declaration... " >&6; }
55433 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55434 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55435 $as_echo_n "(cached) " >&6
55436 else
55437
55438
55439 ac_ext=cpp
55440 ac_cpp='$CXXCPP $CPPFLAGS'
55441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55444
55445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55446 /* end confdefs.h. */
55447 #include <math.h>
55448 #ifdef HAVE_IEEEFP_H
55449 #include <ieeefp.h>
55450 #endif
55451
55452 int
55453 main ()
55454 {
55455 fabsf(0);
55456 ;
55457 return 0;
55458 }
55459 _ACEOF
55460 if ac_fn_cxx_try_compile "$LINENO"; then :
55461 glibcxx_cv_func_fabsf_use=yes
55462 else
55463 glibcxx_cv_func_fabsf_use=no
55464 fi
55465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55466 ac_ext=c
55467 ac_cpp='$CPP $CPPFLAGS'
55468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55471
55472
55473 fi
55474
55475 fi
55476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55477 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55478
55479 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55480 for ac_func in fabsf
55481 do :
55482 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55483 if test "x$ac_cv_func_fabsf" = x""yes; then :
55484 cat >>confdefs.h <<_ACEOF
55485 #define HAVE_FABSF 1
55486 _ACEOF
55487
55488 fi
55489 done
55490
55491 else
55492
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55494 $as_echo_n "checking for _fabsf declaration... " >&6; }
55495 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55496 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55497 $as_echo_n "(cached) " >&6
55498 else
55499
55500
55501 ac_ext=cpp
55502 ac_cpp='$CXXCPP $CPPFLAGS'
55503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55506
55507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55508 /* end confdefs.h. */
55509 #include <math.h>
55510 #ifdef HAVE_IEEEFP_H
55511 #include <ieeefp.h>
55512 #endif
55513
55514 int
55515 main ()
55516 {
55517 _fabsf(0);
55518 ;
55519 return 0;
55520 }
55521 _ACEOF
55522 if ac_fn_cxx_try_compile "$LINENO"; then :
55523 glibcxx_cv_func__fabsf_use=yes
55524 else
55525 glibcxx_cv_func__fabsf_use=no
55526 fi
55527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55528 ac_ext=c
55529 ac_cpp='$CPP $CPPFLAGS'
55530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55533
55534
55535 fi
55536
55537 fi
55538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55539 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55540
55541 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55542 for ac_func in _fabsf
55543 do :
55544 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55545 if test "x$ac_cv_func__fabsf" = x""yes; then :
55546 cat >>confdefs.h <<_ACEOF
55547 #define HAVE__FABSF 1
55548 _ACEOF
55549
55550 fi
55551 done
55552
55553 fi
55554 fi
55555
55556
55557
55558
55559
55560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55561 $as_echo_n "checking for fmodf declaration... " >&6; }
55562 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55563 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55564 $as_echo_n "(cached) " >&6
55565 else
55566
55567
55568 ac_ext=cpp
55569 ac_cpp='$CXXCPP $CPPFLAGS'
55570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55573
55574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55575 /* end confdefs.h. */
55576 #include <math.h>
55577 int
55578 main ()
55579 {
55580 fmodf(0, 0);
55581 ;
55582 return 0;
55583 }
55584 _ACEOF
55585 if ac_fn_cxx_try_compile "$LINENO"; then :
55586 glibcxx_cv_func_fmodf_use=yes
55587 else
55588 glibcxx_cv_func_fmodf_use=no
55589 fi
55590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55591 ac_ext=c
55592 ac_cpp='$CPP $CPPFLAGS'
55593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55596
55597
55598 fi
55599
55600 fi
55601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55602 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55603
55604 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55605 for ac_func in fmodf
55606 do :
55607 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55608 if test "x$ac_cv_func_fmodf" = x""yes; then :
55609 cat >>confdefs.h <<_ACEOF
55610 #define HAVE_FMODF 1
55611 _ACEOF
55612
55613 fi
55614 done
55615
55616 else
55617
55618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55619 $as_echo_n "checking for _fmodf declaration... " >&6; }
55620 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55621 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55622 $as_echo_n "(cached) " >&6
55623 else
55624
55625
55626 ac_ext=cpp
55627 ac_cpp='$CXXCPP $CPPFLAGS'
55628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55631
55632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55633 /* end confdefs.h. */
55634 #include <math.h>
55635 int
55636 main ()
55637 {
55638 _fmodf(0, 0);
55639 ;
55640 return 0;
55641 }
55642 _ACEOF
55643 if ac_fn_cxx_try_compile "$LINENO"; then :
55644 glibcxx_cv_func__fmodf_use=yes
55645 else
55646 glibcxx_cv_func__fmodf_use=no
55647 fi
55648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55649 ac_ext=c
55650 ac_cpp='$CPP $CPPFLAGS'
55651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55654
55655
55656 fi
55657
55658 fi
55659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55660 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55661
55662 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55663 for ac_func in _fmodf
55664 do :
55665 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55666 if test "x$ac_cv_func__fmodf" = x""yes; then :
55667 cat >>confdefs.h <<_ACEOF
55668 #define HAVE__FMODF 1
55669 _ACEOF
55670
55671 fi
55672 done
55673
55674 fi
55675 fi
55676
55677
55678
55679
55680
55681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55682 $as_echo_n "checking for frexpf declaration... " >&6; }
55683 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55684 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55685 $as_echo_n "(cached) " >&6
55686 else
55687
55688
55689 ac_ext=cpp
55690 ac_cpp='$CXXCPP $CPPFLAGS'
55691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55694
55695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55696 /* end confdefs.h. */
55697 #include <math.h>
55698 int
55699 main ()
55700 {
55701 frexpf(0, 0);
55702 ;
55703 return 0;
55704 }
55705 _ACEOF
55706 if ac_fn_cxx_try_compile "$LINENO"; then :
55707 glibcxx_cv_func_frexpf_use=yes
55708 else
55709 glibcxx_cv_func_frexpf_use=no
55710 fi
55711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55712 ac_ext=c
55713 ac_cpp='$CPP $CPPFLAGS'
55714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55717
55718
55719 fi
55720
55721 fi
55722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55723 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55724
55725 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55726 for ac_func in frexpf
55727 do :
55728 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55729 if test "x$ac_cv_func_frexpf" = x""yes; then :
55730 cat >>confdefs.h <<_ACEOF
55731 #define HAVE_FREXPF 1
55732 _ACEOF
55733
55734 fi
55735 done
55736
55737 else
55738
55739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55740 $as_echo_n "checking for _frexpf declaration... " >&6; }
55741 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55742 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55743 $as_echo_n "(cached) " >&6
55744 else
55745
55746
55747 ac_ext=cpp
55748 ac_cpp='$CXXCPP $CPPFLAGS'
55749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55752
55753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55754 /* end confdefs.h. */
55755 #include <math.h>
55756 int
55757 main ()
55758 {
55759 _frexpf(0, 0);
55760 ;
55761 return 0;
55762 }
55763 _ACEOF
55764 if ac_fn_cxx_try_compile "$LINENO"; then :
55765 glibcxx_cv_func__frexpf_use=yes
55766 else
55767 glibcxx_cv_func__frexpf_use=no
55768 fi
55769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55770 ac_ext=c
55771 ac_cpp='$CPP $CPPFLAGS'
55772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55775
55776
55777 fi
55778
55779 fi
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55781 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55782
55783 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55784 for ac_func in _frexpf
55785 do :
55786 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55787 if test "x$ac_cv_func__frexpf" = x""yes; then :
55788 cat >>confdefs.h <<_ACEOF
55789 #define HAVE__FREXPF 1
55790 _ACEOF
55791
55792 fi
55793 done
55794
55795 fi
55796 fi
55797
55798
55799
55800
55801
55802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55803 $as_echo_n "checking for hypotf declaration... " >&6; }
55804 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55805 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55806 $as_echo_n "(cached) " >&6
55807 else
55808
55809
55810 ac_ext=cpp
55811 ac_cpp='$CXXCPP $CPPFLAGS'
55812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55815
55816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55817 /* end confdefs.h. */
55818 #include <math.h>
55819 int
55820 main ()
55821 {
55822 hypotf(0, 0);
55823 ;
55824 return 0;
55825 }
55826 _ACEOF
55827 if ac_fn_cxx_try_compile "$LINENO"; then :
55828 glibcxx_cv_func_hypotf_use=yes
55829 else
55830 glibcxx_cv_func_hypotf_use=no
55831 fi
55832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55833 ac_ext=c
55834 ac_cpp='$CPP $CPPFLAGS'
55835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55838
55839
55840 fi
55841
55842 fi
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55844 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55845
55846 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55847 for ac_func in hypotf
55848 do :
55849 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55850 if test "x$ac_cv_func_hypotf" = x""yes; then :
55851 cat >>confdefs.h <<_ACEOF
55852 #define HAVE_HYPOTF 1
55853 _ACEOF
55854
55855 fi
55856 done
55857
55858 else
55859
55860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55861 $as_echo_n "checking for _hypotf declaration... " >&6; }
55862 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55863 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55864 $as_echo_n "(cached) " >&6
55865 else
55866
55867
55868 ac_ext=cpp
55869 ac_cpp='$CXXCPP $CPPFLAGS'
55870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55873
55874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55875 /* end confdefs.h. */
55876 #include <math.h>
55877 int
55878 main ()
55879 {
55880 _hypotf(0, 0);
55881 ;
55882 return 0;
55883 }
55884 _ACEOF
55885 if ac_fn_cxx_try_compile "$LINENO"; then :
55886 glibcxx_cv_func__hypotf_use=yes
55887 else
55888 glibcxx_cv_func__hypotf_use=no
55889 fi
55890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55891 ac_ext=c
55892 ac_cpp='$CPP $CPPFLAGS'
55893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55896
55897
55898 fi
55899
55900 fi
55901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55902 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55903
55904 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55905 for ac_func in _hypotf
55906 do :
55907 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55908 if test "x$ac_cv_func__hypotf" = x""yes; then :
55909 cat >>confdefs.h <<_ACEOF
55910 #define HAVE__HYPOTF 1
55911 _ACEOF
55912
55913 fi
55914 done
55915
55916 fi
55917 fi
55918
55919
55920
55921
55922
55923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55924 $as_echo_n "checking for ldexpf declaration... " >&6; }
55925 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55926 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55927 $as_echo_n "(cached) " >&6
55928 else
55929
55930
55931 ac_ext=cpp
55932 ac_cpp='$CXXCPP $CPPFLAGS'
55933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55936
55937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55938 /* end confdefs.h. */
55939 #include <math.h>
55940 int
55941 main ()
55942 {
55943 ldexpf(0, 0);
55944 ;
55945 return 0;
55946 }
55947 _ACEOF
55948 if ac_fn_cxx_try_compile "$LINENO"; then :
55949 glibcxx_cv_func_ldexpf_use=yes
55950 else
55951 glibcxx_cv_func_ldexpf_use=no
55952 fi
55953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55954 ac_ext=c
55955 ac_cpp='$CPP $CPPFLAGS'
55956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55959
55960
55961 fi
55962
55963 fi
55964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55965 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55966
55967 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55968 for ac_func in ldexpf
55969 do :
55970 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55971 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55972 cat >>confdefs.h <<_ACEOF
55973 #define HAVE_LDEXPF 1
55974 _ACEOF
55975
55976 fi
55977 done
55978
55979 else
55980
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55982 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55983 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55984 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55985 $as_echo_n "(cached) " >&6
55986 else
55987
55988
55989 ac_ext=cpp
55990 ac_cpp='$CXXCPP $CPPFLAGS'
55991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55994
55995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55996 /* end confdefs.h. */
55997 #include <math.h>
55998 int
55999 main ()
56000 {
56001 _ldexpf(0, 0);
56002 ;
56003 return 0;
56004 }
56005 _ACEOF
56006 if ac_fn_cxx_try_compile "$LINENO"; then :
56007 glibcxx_cv_func__ldexpf_use=yes
56008 else
56009 glibcxx_cv_func__ldexpf_use=no
56010 fi
56011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56012 ac_ext=c
56013 ac_cpp='$CPP $CPPFLAGS'
56014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56017
56018
56019 fi
56020
56021 fi
56022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56023 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56024
56025 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56026 for ac_func in _ldexpf
56027 do :
56028 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56029 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56030 cat >>confdefs.h <<_ACEOF
56031 #define HAVE__LDEXPF 1
56032 _ACEOF
56033
56034 fi
56035 done
56036
56037 fi
56038 fi
56039
56040
56041
56042
56043
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56045 $as_echo_n "checking for logf declaration... " >&6; }
56046 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56047 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56048 $as_echo_n "(cached) " >&6
56049 else
56050
56051
56052 ac_ext=cpp
56053 ac_cpp='$CXXCPP $CPPFLAGS'
56054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56057
56058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56059 /* end confdefs.h. */
56060 #include <math.h>
56061 #ifdef HAVE_IEEEFP_H
56062 #include <ieeefp.h>
56063 #endif
56064
56065 int
56066 main ()
56067 {
56068 logf(0);
56069 ;
56070 return 0;
56071 }
56072 _ACEOF
56073 if ac_fn_cxx_try_compile "$LINENO"; then :
56074 glibcxx_cv_func_logf_use=yes
56075 else
56076 glibcxx_cv_func_logf_use=no
56077 fi
56078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56079 ac_ext=c
56080 ac_cpp='$CPP $CPPFLAGS'
56081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56084
56085
56086 fi
56087
56088 fi
56089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56090 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56091
56092 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56093 for ac_func in logf
56094 do :
56095 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56096 if test "x$ac_cv_func_logf" = x""yes; then :
56097 cat >>confdefs.h <<_ACEOF
56098 #define HAVE_LOGF 1
56099 _ACEOF
56100
56101 fi
56102 done
56103
56104 else
56105
56106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56107 $as_echo_n "checking for _logf declaration... " >&6; }
56108 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56109 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56110 $as_echo_n "(cached) " >&6
56111 else
56112
56113
56114 ac_ext=cpp
56115 ac_cpp='$CXXCPP $CPPFLAGS'
56116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56119
56120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56121 /* end confdefs.h. */
56122 #include <math.h>
56123 #ifdef HAVE_IEEEFP_H
56124 #include <ieeefp.h>
56125 #endif
56126
56127 int
56128 main ()
56129 {
56130 _logf(0);
56131 ;
56132 return 0;
56133 }
56134 _ACEOF
56135 if ac_fn_cxx_try_compile "$LINENO"; then :
56136 glibcxx_cv_func__logf_use=yes
56137 else
56138 glibcxx_cv_func__logf_use=no
56139 fi
56140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56141 ac_ext=c
56142 ac_cpp='$CPP $CPPFLAGS'
56143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56146
56147
56148 fi
56149
56150 fi
56151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56152 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56153
56154 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56155 for ac_func in _logf
56156 do :
56157 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56158 if test "x$ac_cv_func__logf" = x""yes; then :
56159 cat >>confdefs.h <<_ACEOF
56160 #define HAVE__LOGF 1
56161 _ACEOF
56162
56163 fi
56164 done
56165
56166 fi
56167 fi
56168
56169
56170
56171
56172
56173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56174 $as_echo_n "checking for log10f declaration... " >&6; }
56175 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56176 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56177 $as_echo_n "(cached) " >&6
56178 else
56179
56180
56181 ac_ext=cpp
56182 ac_cpp='$CXXCPP $CPPFLAGS'
56183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56186
56187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56188 /* end confdefs.h. */
56189 #include <math.h>
56190 #ifdef HAVE_IEEEFP_H
56191 #include <ieeefp.h>
56192 #endif
56193
56194 int
56195 main ()
56196 {
56197 log10f(0);
56198 ;
56199 return 0;
56200 }
56201 _ACEOF
56202 if ac_fn_cxx_try_compile "$LINENO"; then :
56203 glibcxx_cv_func_log10f_use=yes
56204 else
56205 glibcxx_cv_func_log10f_use=no
56206 fi
56207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56208 ac_ext=c
56209 ac_cpp='$CPP $CPPFLAGS'
56210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56213
56214
56215 fi
56216
56217 fi
56218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56219 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56220
56221 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56222 for ac_func in log10f
56223 do :
56224 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56225 if test "x$ac_cv_func_log10f" = x""yes; then :
56226 cat >>confdefs.h <<_ACEOF
56227 #define HAVE_LOG10F 1
56228 _ACEOF
56229
56230 fi
56231 done
56232
56233 else
56234
56235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56236 $as_echo_n "checking for _log10f declaration... " >&6; }
56237 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56238 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56239 $as_echo_n "(cached) " >&6
56240 else
56241
56242
56243 ac_ext=cpp
56244 ac_cpp='$CXXCPP $CPPFLAGS'
56245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56248
56249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56250 /* end confdefs.h. */
56251 #include <math.h>
56252 #ifdef HAVE_IEEEFP_H
56253 #include <ieeefp.h>
56254 #endif
56255
56256 int
56257 main ()
56258 {
56259 _log10f(0);
56260 ;
56261 return 0;
56262 }
56263 _ACEOF
56264 if ac_fn_cxx_try_compile "$LINENO"; then :
56265 glibcxx_cv_func__log10f_use=yes
56266 else
56267 glibcxx_cv_func__log10f_use=no
56268 fi
56269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56270 ac_ext=c
56271 ac_cpp='$CPP $CPPFLAGS'
56272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56275
56276
56277 fi
56278
56279 fi
56280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56281 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56282
56283 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56284 for ac_func in _log10f
56285 do :
56286 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56287 if test "x$ac_cv_func__log10f" = x""yes; then :
56288 cat >>confdefs.h <<_ACEOF
56289 #define HAVE__LOG10F 1
56290 _ACEOF
56291
56292 fi
56293 done
56294
56295 fi
56296 fi
56297
56298
56299
56300
56301
56302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56303 $as_echo_n "checking for modff declaration... " >&6; }
56304 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56305 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56306 $as_echo_n "(cached) " >&6
56307 else
56308
56309
56310 ac_ext=cpp
56311 ac_cpp='$CXXCPP $CPPFLAGS'
56312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56315
56316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56317 /* end confdefs.h. */
56318 #include <math.h>
56319 int
56320 main ()
56321 {
56322 modff(0, 0);
56323 ;
56324 return 0;
56325 }
56326 _ACEOF
56327 if ac_fn_cxx_try_compile "$LINENO"; then :
56328 glibcxx_cv_func_modff_use=yes
56329 else
56330 glibcxx_cv_func_modff_use=no
56331 fi
56332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56333 ac_ext=c
56334 ac_cpp='$CPP $CPPFLAGS'
56335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56338
56339
56340 fi
56341
56342 fi
56343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56344 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56345
56346 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56347 for ac_func in modff
56348 do :
56349 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56350 if test "x$ac_cv_func_modff" = x""yes; then :
56351 cat >>confdefs.h <<_ACEOF
56352 #define HAVE_MODFF 1
56353 _ACEOF
56354
56355 fi
56356 done
56357
56358 else
56359
56360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56361 $as_echo_n "checking for _modff declaration... " >&6; }
56362 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56363 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56364 $as_echo_n "(cached) " >&6
56365 else
56366
56367
56368 ac_ext=cpp
56369 ac_cpp='$CXXCPP $CPPFLAGS'
56370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56373
56374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56375 /* end confdefs.h. */
56376 #include <math.h>
56377 int
56378 main ()
56379 {
56380 _modff(0, 0);
56381 ;
56382 return 0;
56383 }
56384 _ACEOF
56385 if ac_fn_cxx_try_compile "$LINENO"; then :
56386 glibcxx_cv_func__modff_use=yes
56387 else
56388 glibcxx_cv_func__modff_use=no
56389 fi
56390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56391 ac_ext=c
56392 ac_cpp='$CPP $CPPFLAGS'
56393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56396
56397
56398 fi
56399
56400 fi
56401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56402 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56403
56404 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56405 for ac_func in _modff
56406 do :
56407 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56408 if test "x$ac_cv_func__modff" = x""yes; then :
56409 cat >>confdefs.h <<_ACEOF
56410 #define HAVE__MODFF 1
56411 _ACEOF
56412
56413 fi
56414 done
56415
56416 fi
56417 fi
56418
56419
56420
56421
56422
56423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56424 $as_echo_n "checking for modf declaration... " >&6; }
56425 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56426 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56427 $as_echo_n "(cached) " >&6
56428 else
56429
56430
56431 ac_ext=cpp
56432 ac_cpp='$CXXCPP $CPPFLAGS'
56433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56436
56437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56438 /* end confdefs.h. */
56439 #include <math.h>
56440 int
56441 main ()
56442 {
56443 modf(0, 0);
56444 ;
56445 return 0;
56446 }
56447 _ACEOF
56448 if ac_fn_cxx_try_compile "$LINENO"; then :
56449 glibcxx_cv_func_modf_use=yes
56450 else
56451 glibcxx_cv_func_modf_use=no
56452 fi
56453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56454 ac_ext=c
56455 ac_cpp='$CPP $CPPFLAGS'
56456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56459
56460
56461 fi
56462
56463 fi
56464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56465 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56466
56467 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56468 for ac_func in modf
56469 do :
56470 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56471 if test "x$ac_cv_func_modf" = x""yes; then :
56472 cat >>confdefs.h <<_ACEOF
56473 #define HAVE_MODF 1
56474 _ACEOF
56475
56476 fi
56477 done
56478
56479 else
56480
56481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56482 $as_echo_n "checking for _modf declaration... " >&6; }
56483 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56484 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56485 $as_echo_n "(cached) " >&6
56486 else
56487
56488
56489 ac_ext=cpp
56490 ac_cpp='$CXXCPP $CPPFLAGS'
56491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56494
56495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56496 /* end confdefs.h. */
56497 #include <math.h>
56498 int
56499 main ()
56500 {
56501 _modf(0, 0);
56502 ;
56503 return 0;
56504 }
56505 _ACEOF
56506 if ac_fn_cxx_try_compile "$LINENO"; then :
56507 glibcxx_cv_func__modf_use=yes
56508 else
56509 glibcxx_cv_func__modf_use=no
56510 fi
56511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56512 ac_ext=c
56513 ac_cpp='$CPP $CPPFLAGS'
56514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56517
56518
56519 fi
56520
56521 fi
56522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56523 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56524
56525 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56526 for ac_func in _modf
56527 do :
56528 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56529 if test "x$ac_cv_func__modf" = x""yes; then :
56530 cat >>confdefs.h <<_ACEOF
56531 #define HAVE__MODF 1
56532 _ACEOF
56533
56534 fi
56535 done
56536
56537 fi
56538 fi
56539
56540
56541
56542
56543
56544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56545 $as_echo_n "checking for powf declaration... " >&6; }
56546 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56547 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56548 $as_echo_n "(cached) " >&6
56549 else
56550
56551
56552 ac_ext=cpp
56553 ac_cpp='$CXXCPP $CPPFLAGS'
56554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56557
56558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56559 /* end confdefs.h. */
56560 #include <math.h>
56561 int
56562 main ()
56563 {
56564 powf(0, 0);
56565 ;
56566 return 0;
56567 }
56568 _ACEOF
56569 if ac_fn_cxx_try_compile "$LINENO"; then :
56570 glibcxx_cv_func_powf_use=yes
56571 else
56572 glibcxx_cv_func_powf_use=no
56573 fi
56574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56575 ac_ext=c
56576 ac_cpp='$CPP $CPPFLAGS'
56577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56580
56581
56582 fi
56583
56584 fi
56585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56586 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56587
56588 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56589 for ac_func in powf
56590 do :
56591 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56592 if test "x$ac_cv_func_powf" = x""yes; then :
56593 cat >>confdefs.h <<_ACEOF
56594 #define HAVE_POWF 1
56595 _ACEOF
56596
56597 fi
56598 done
56599
56600 else
56601
56602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56603 $as_echo_n "checking for _powf declaration... " >&6; }
56604 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56605 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56606 $as_echo_n "(cached) " >&6
56607 else
56608
56609
56610 ac_ext=cpp
56611 ac_cpp='$CXXCPP $CPPFLAGS'
56612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56615
56616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56617 /* end confdefs.h. */
56618 #include <math.h>
56619 int
56620 main ()
56621 {
56622 _powf(0, 0);
56623 ;
56624 return 0;
56625 }
56626 _ACEOF
56627 if ac_fn_cxx_try_compile "$LINENO"; then :
56628 glibcxx_cv_func__powf_use=yes
56629 else
56630 glibcxx_cv_func__powf_use=no
56631 fi
56632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56633 ac_ext=c
56634 ac_cpp='$CPP $CPPFLAGS'
56635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56638
56639
56640 fi
56641
56642 fi
56643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56644 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56645
56646 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56647 for ac_func in _powf
56648 do :
56649 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56650 if test "x$ac_cv_func__powf" = x""yes; then :
56651 cat >>confdefs.h <<_ACEOF
56652 #define HAVE__POWF 1
56653 _ACEOF
56654
56655 fi
56656 done
56657
56658 fi
56659 fi
56660
56661
56662
56663
56664
56665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56666 $as_echo_n "checking for sqrtf declaration... " >&6; }
56667 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56668 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56669 $as_echo_n "(cached) " >&6
56670 else
56671
56672
56673 ac_ext=cpp
56674 ac_cpp='$CXXCPP $CPPFLAGS'
56675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56678
56679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56680 /* end confdefs.h. */
56681 #include <math.h>
56682 #ifdef HAVE_IEEEFP_H
56683 #include <ieeefp.h>
56684 #endif
56685
56686 int
56687 main ()
56688 {
56689 sqrtf(0);
56690 ;
56691 return 0;
56692 }
56693 _ACEOF
56694 if ac_fn_cxx_try_compile "$LINENO"; then :
56695 glibcxx_cv_func_sqrtf_use=yes
56696 else
56697 glibcxx_cv_func_sqrtf_use=no
56698 fi
56699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56700 ac_ext=c
56701 ac_cpp='$CPP $CPPFLAGS'
56702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56705
56706
56707 fi
56708
56709 fi
56710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56711 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56712
56713 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56714 for ac_func in sqrtf
56715 do :
56716 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56717 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56718 cat >>confdefs.h <<_ACEOF
56719 #define HAVE_SQRTF 1
56720 _ACEOF
56721
56722 fi
56723 done
56724
56725 else
56726
56727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56728 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56729 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56730 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56731 $as_echo_n "(cached) " >&6
56732 else
56733
56734
56735 ac_ext=cpp
56736 ac_cpp='$CXXCPP $CPPFLAGS'
56737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56740
56741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56742 /* end confdefs.h. */
56743 #include <math.h>
56744 #ifdef HAVE_IEEEFP_H
56745 #include <ieeefp.h>
56746 #endif
56747
56748 int
56749 main ()
56750 {
56751 _sqrtf(0);
56752 ;
56753 return 0;
56754 }
56755 _ACEOF
56756 if ac_fn_cxx_try_compile "$LINENO"; then :
56757 glibcxx_cv_func__sqrtf_use=yes
56758 else
56759 glibcxx_cv_func__sqrtf_use=no
56760 fi
56761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56762 ac_ext=c
56763 ac_cpp='$CPP $CPPFLAGS'
56764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56767
56768
56769 fi
56770
56771 fi
56772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56773 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56774
56775 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56776 for ac_func in _sqrtf
56777 do :
56778 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56779 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56780 cat >>confdefs.h <<_ACEOF
56781 #define HAVE__SQRTF 1
56782 _ACEOF
56783
56784 fi
56785 done
56786
56787 fi
56788 fi
56789
56790
56791
56792
56793
56794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56795 $as_echo_n "checking for sincosf declaration... " >&6; }
56796 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56797 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56798 $as_echo_n "(cached) " >&6
56799 else
56800
56801
56802 ac_ext=cpp
56803 ac_cpp='$CXXCPP $CPPFLAGS'
56804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56807
56808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56809 /* end confdefs.h. */
56810 #include <math.h>
56811 int
56812 main ()
56813 {
56814 sincosf(0, 0, 0);
56815 ;
56816 return 0;
56817 }
56818 _ACEOF
56819 if ac_fn_cxx_try_compile "$LINENO"; then :
56820 glibcxx_cv_func_sincosf_use=yes
56821 else
56822 glibcxx_cv_func_sincosf_use=no
56823 fi
56824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56825 ac_ext=c
56826 ac_cpp='$CPP $CPPFLAGS'
56827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56830
56831
56832 fi
56833
56834 fi
56835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56836 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56837
56838 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56839 for ac_func in sincosf
56840 do :
56841 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56842 if test "x$ac_cv_func_sincosf" = x""yes; then :
56843 cat >>confdefs.h <<_ACEOF
56844 #define HAVE_SINCOSF 1
56845 _ACEOF
56846
56847 fi
56848 done
56849
56850 else
56851
56852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56853 $as_echo_n "checking for _sincosf declaration... " >&6; }
56854 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56855 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56856 $as_echo_n "(cached) " >&6
56857 else
56858
56859
56860 ac_ext=cpp
56861 ac_cpp='$CXXCPP $CPPFLAGS'
56862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56865
56866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56867 /* end confdefs.h. */
56868 #include <math.h>
56869 int
56870 main ()
56871 {
56872 _sincosf(0, 0, 0);
56873 ;
56874 return 0;
56875 }
56876 _ACEOF
56877 if ac_fn_cxx_try_compile "$LINENO"; then :
56878 glibcxx_cv_func__sincosf_use=yes
56879 else
56880 glibcxx_cv_func__sincosf_use=no
56881 fi
56882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56883 ac_ext=c
56884 ac_cpp='$CPP $CPPFLAGS'
56885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56888
56889
56890 fi
56891
56892 fi
56893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56894 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56895
56896 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56897 for ac_func in _sincosf
56898 do :
56899 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56900 if test "x$ac_cv_func__sincosf" = x""yes; then :
56901 cat >>confdefs.h <<_ACEOF
56902 #define HAVE__SINCOSF 1
56903 _ACEOF
56904
56905 fi
56906 done
56907
56908 fi
56909 fi
56910
56911
56912
56913
56914
56915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56916 $as_echo_n "checking for finitef declaration... " >&6; }
56917 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56918 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56919 $as_echo_n "(cached) " >&6
56920 else
56921
56922
56923 ac_ext=cpp
56924 ac_cpp='$CXXCPP $CPPFLAGS'
56925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56928
56929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56930 /* end confdefs.h. */
56931 #include <math.h>
56932 #ifdef HAVE_IEEEFP_H
56933 #include <ieeefp.h>
56934 #endif
56935
56936 int
56937 main ()
56938 {
56939 finitef(0);
56940 ;
56941 return 0;
56942 }
56943 _ACEOF
56944 if ac_fn_cxx_try_compile "$LINENO"; then :
56945 glibcxx_cv_func_finitef_use=yes
56946 else
56947 glibcxx_cv_func_finitef_use=no
56948 fi
56949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56950 ac_ext=c
56951 ac_cpp='$CPP $CPPFLAGS'
56952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56955
56956
56957 fi
56958
56959 fi
56960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56961 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56962
56963 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56964 for ac_func in finitef
56965 do :
56966 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56967 if test "x$ac_cv_func_finitef" = x""yes; then :
56968 cat >>confdefs.h <<_ACEOF
56969 #define HAVE_FINITEF 1
56970 _ACEOF
56971
56972 fi
56973 done
56974
56975 else
56976
56977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56978 $as_echo_n "checking for _finitef declaration... " >&6; }
56979 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56980 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56981 $as_echo_n "(cached) " >&6
56982 else
56983
56984
56985 ac_ext=cpp
56986 ac_cpp='$CXXCPP $CPPFLAGS'
56987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56990
56991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56992 /* end confdefs.h. */
56993 #include <math.h>
56994 #ifdef HAVE_IEEEFP_H
56995 #include <ieeefp.h>
56996 #endif
56997
56998 int
56999 main ()
57000 {
57001 _finitef(0);
57002 ;
57003 return 0;
57004 }
57005 _ACEOF
57006 if ac_fn_cxx_try_compile "$LINENO"; then :
57007 glibcxx_cv_func__finitef_use=yes
57008 else
57009 glibcxx_cv_func__finitef_use=no
57010 fi
57011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57012 ac_ext=c
57013 ac_cpp='$CPP $CPPFLAGS'
57014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57017
57018
57019 fi
57020
57021 fi
57022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57023 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57024
57025 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57026 for ac_func in _finitef
57027 do :
57028 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57029 if test "x$ac_cv_func__finitef" = x""yes; then :
57030 cat >>confdefs.h <<_ACEOF
57031 #define HAVE__FINITEF 1
57032 _ACEOF
57033
57034 fi
57035 done
57036
57037 fi
57038 fi
57039
57040
57041
57042
57043
57044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57045 $as_echo_n "checking for long double trig functions... " >&6; }
57046 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57047 $as_echo_n "(cached) " >&6
57048 else
57049
57050
57051 ac_ext=cpp
57052 ac_cpp='$CXXCPP $CPPFLAGS'
57053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57056
57057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57058 /* end confdefs.h. */
57059 #include <math.h>
57060 int
57061 main ()
57062 {
57063 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57064 ;
57065 return 0;
57066 }
57067 _ACEOF
57068 if ac_fn_cxx_try_compile "$LINENO"; then :
57069 glibcxx_cv_func_long_double_trig_use=yes
57070 else
57071 glibcxx_cv_func_long_double_trig_use=no
57072 fi
57073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57074 ac_ext=c
57075 ac_cpp='$CPP $CPPFLAGS'
57076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57079
57080 fi
57081
57082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57083 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57084 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57085 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57086 do :
57087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57089 eval as_val=\$$as_ac_var
57090 if test "x$as_val" = x""yes; then :
57091 cat >>confdefs.h <<_ACEOF
57092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57093 _ACEOF
57094
57095 fi
57096 done
57097
57098 else
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57100 $as_echo_n "checking for _long double trig functions... " >&6; }
57101 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57102 $as_echo_n "(cached) " >&6
57103 else
57104
57105
57106 ac_ext=cpp
57107 ac_cpp='$CXXCPP $CPPFLAGS'
57108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57111
57112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57113 /* end confdefs.h. */
57114 #include <math.h>
57115 int
57116 main ()
57117 {
57118 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57119 ;
57120 return 0;
57121 }
57122 _ACEOF
57123 if ac_fn_cxx_try_compile "$LINENO"; then :
57124 glibcxx_cv_func__long_double_trig_use=yes
57125 else
57126 glibcxx_cv_func__long_double_trig_use=no
57127 fi
57128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57129 ac_ext=c
57130 ac_cpp='$CPP $CPPFLAGS'
57131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57134
57135 fi
57136
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57138 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57139 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57140 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57141 do :
57142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57144 eval as_val=\$$as_ac_var
57145 if test "x$as_val" = x""yes; then :
57146 cat >>confdefs.h <<_ACEOF
57147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57148 _ACEOF
57149
57150 fi
57151 done
57152
57153 fi
57154 fi
57155
57156
57157
57158
57159
57160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57161 $as_echo_n "checking for long double round functions... " >&6; }
57162 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57163 $as_echo_n "(cached) " >&6
57164 else
57165
57166
57167 ac_ext=cpp
57168 ac_cpp='$CXXCPP $CPPFLAGS'
57169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57172
57173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57174 /* end confdefs.h. */
57175 #include <math.h>
57176 int
57177 main ()
57178 {
57179 ceill (0); floorl (0);
57180 ;
57181 return 0;
57182 }
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func_long_double_round_use=yes
57186 else
57187 glibcxx_cv_func_long_double_round_use=no
57188 fi
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57195
57196 fi
57197
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57199 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57200 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57201 for ac_func in ceill floorl
57202 do :
57203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57205 eval as_val=\$$as_ac_var
57206 if test "x$as_val" = x""yes; then :
57207 cat >>confdefs.h <<_ACEOF
57208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57209 _ACEOF
57210
57211 fi
57212 done
57213
57214 else
57215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57216 $as_echo_n "checking for _long double round functions... " >&6; }
57217 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57218 $as_echo_n "(cached) " >&6
57219 else
57220
57221
57222 ac_ext=cpp
57223 ac_cpp='$CXXCPP $CPPFLAGS'
57224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57227
57228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57229 /* end confdefs.h. */
57230 #include <math.h>
57231 int
57232 main ()
57233 {
57234 _ceill (0); _floorl (0);
57235 ;
57236 return 0;
57237 }
57238 _ACEOF
57239 if ac_fn_cxx_try_compile "$LINENO"; then :
57240 glibcxx_cv_func__long_double_round_use=yes
57241 else
57242 glibcxx_cv_func__long_double_round_use=no
57243 fi
57244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57245 ac_ext=c
57246 ac_cpp='$CPP $CPPFLAGS'
57247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57250
57251 fi
57252
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57254 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57255 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57256 for ac_func in _ceill _floorl
57257 do :
57258 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57259 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57260 eval as_val=\$$as_ac_var
57261 if test "x$as_val" = x""yes; then :
57262 cat >>confdefs.h <<_ACEOF
57263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57264 _ACEOF
57265
57266 fi
57267 done
57268
57269 fi
57270 fi
57271
57272
57273
57274
57275
57276
57277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57278 $as_echo_n "checking for isnanl declaration... " >&6; }
57279 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57280 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57281 $as_echo_n "(cached) " >&6
57282 else
57283
57284
57285 ac_ext=cpp
57286 ac_cpp='$CXXCPP $CPPFLAGS'
57287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57290
57291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57292 /* end confdefs.h. */
57293 #include <math.h>
57294 #ifdef HAVE_IEEEFP_H
57295 #include <ieeefp.h>
57296 #endif
57297
57298 int
57299 main ()
57300 {
57301 isnanl(0);
57302 ;
57303 return 0;
57304 }
57305 _ACEOF
57306 if ac_fn_cxx_try_compile "$LINENO"; then :
57307 glibcxx_cv_func_isnanl_use=yes
57308 else
57309 glibcxx_cv_func_isnanl_use=no
57310 fi
57311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57312 ac_ext=c
57313 ac_cpp='$CPP $CPPFLAGS'
57314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57317
57318
57319 fi
57320
57321 fi
57322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57323 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57324
57325 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57326 for ac_func in isnanl
57327 do :
57328 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57329 if test "x$ac_cv_func_isnanl" = x""yes; then :
57330 cat >>confdefs.h <<_ACEOF
57331 #define HAVE_ISNANL 1
57332 _ACEOF
57333
57334 fi
57335 done
57336
57337 else
57338
57339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57340 $as_echo_n "checking for _isnanl declaration... " >&6; }
57341 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57342 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57343 $as_echo_n "(cached) " >&6
57344 else
57345
57346
57347 ac_ext=cpp
57348 ac_cpp='$CXXCPP $CPPFLAGS'
57349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57352
57353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57354 /* end confdefs.h. */
57355 #include <math.h>
57356 #ifdef HAVE_IEEEFP_H
57357 #include <ieeefp.h>
57358 #endif
57359
57360 int
57361 main ()
57362 {
57363 _isnanl(0);
57364 ;
57365 return 0;
57366 }
57367 _ACEOF
57368 if ac_fn_cxx_try_compile "$LINENO"; then :
57369 glibcxx_cv_func__isnanl_use=yes
57370 else
57371 glibcxx_cv_func__isnanl_use=no
57372 fi
57373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57374 ac_ext=c
57375 ac_cpp='$CPP $CPPFLAGS'
57376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57379
57380
57381 fi
57382
57383 fi
57384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57385 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57386
57387 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57388 for ac_func in _isnanl
57389 do :
57390 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57391 if test "x$ac_cv_func__isnanl" = x""yes; then :
57392 cat >>confdefs.h <<_ACEOF
57393 #define HAVE__ISNANL 1
57394 _ACEOF
57395
57396 fi
57397 done
57398
57399 fi
57400 fi
57401
57402
57403
57404
57405
57406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57407 $as_echo_n "checking for isinfl declaration... " >&6; }
57408 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57409 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57410 $as_echo_n "(cached) " >&6
57411 else
57412
57413
57414 ac_ext=cpp
57415 ac_cpp='$CXXCPP $CPPFLAGS'
57416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57419
57420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57421 /* end confdefs.h. */
57422 #include <math.h>
57423 #ifdef HAVE_IEEEFP_H
57424 #include <ieeefp.h>
57425 #endif
57426
57427 int
57428 main ()
57429 {
57430 isinfl(0);
57431 ;
57432 return 0;
57433 }
57434 _ACEOF
57435 if ac_fn_cxx_try_compile "$LINENO"; then :
57436 glibcxx_cv_func_isinfl_use=yes
57437 else
57438 glibcxx_cv_func_isinfl_use=no
57439 fi
57440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57441 ac_ext=c
57442 ac_cpp='$CPP $CPPFLAGS'
57443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57446
57447
57448 fi
57449
57450 fi
57451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57452 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57453
57454 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57455 for ac_func in isinfl
57456 do :
57457 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57458 if test "x$ac_cv_func_isinfl" = x""yes; then :
57459 cat >>confdefs.h <<_ACEOF
57460 #define HAVE_ISINFL 1
57461 _ACEOF
57462
57463 fi
57464 done
57465
57466 else
57467
57468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57469 $as_echo_n "checking for _isinfl declaration... " >&6; }
57470 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57471 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57472 $as_echo_n "(cached) " >&6
57473 else
57474
57475
57476 ac_ext=cpp
57477 ac_cpp='$CXXCPP $CPPFLAGS'
57478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57481
57482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57483 /* end confdefs.h. */
57484 #include <math.h>
57485 #ifdef HAVE_IEEEFP_H
57486 #include <ieeefp.h>
57487 #endif
57488
57489 int
57490 main ()
57491 {
57492 _isinfl(0);
57493 ;
57494 return 0;
57495 }
57496 _ACEOF
57497 if ac_fn_cxx_try_compile "$LINENO"; then :
57498 glibcxx_cv_func__isinfl_use=yes
57499 else
57500 glibcxx_cv_func__isinfl_use=no
57501 fi
57502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57503 ac_ext=c
57504 ac_cpp='$CPP $CPPFLAGS'
57505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57508
57509
57510 fi
57511
57512 fi
57513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57514 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57515
57516 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57517 for ac_func in _isinfl
57518 do :
57519 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57520 if test "x$ac_cv_func__isinfl" = x""yes; then :
57521 cat >>confdefs.h <<_ACEOF
57522 #define HAVE__ISINFL 1
57523 _ACEOF
57524
57525 fi
57526 done
57527
57528 fi
57529 fi
57530
57531
57532
57533
57534
57535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57536 $as_echo_n "checking for atan2l declaration... " >&6; }
57537 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57538 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57539 $as_echo_n "(cached) " >&6
57540 else
57541
57542
57543 ac_ext=cpp
57544 ac_cpp='$CXXCPP $CPPFLAGS'
57545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57548
57549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57550 /* end confdefs.h. */
57551 #include <math.h>
57552 int
57553 main ()
57554 {
57555 atan2l(0, 0);
57556 ;
57557 return 0;
57558 }
57559 _ACEOF
57560 if ac_fn_cxx_try_compile "$LINENO"; then :
57561 glibcxx_cv_func_atan2l_use=yes
57562 else
57563 glibcxx_cv_func_atan2l_use=no
57564 fi
57565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57566 ac_ext=c
57567 ac_cpp='$CPP $CPPFLAGS'
57568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57571
57572
57573 fi
57574
57575 fi
57576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57577 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57578
57579 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57580 for ac_func in atan2l
57581 do :
57582 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57583 if test "x$ac_cv_func_atan2l" = x""yes; then :
57584 cat >>confdefs.h <<_ACEOF
57585 #define HAVE_ATAN2L 1
57586 _ACEOF
57587
57588 fi
57589 done
57590
57591 else
57592
57593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57594 $as_echo_n "checking for _atan2l declaration... " >&6; }
57595 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57596 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57597 $as_echo_n "(cached) " >&6
57598 else
57599
57600
57601 ac_ext=cpp
57602 ac_cpp='$CXXCPP $CPPFLAGS'
57603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57606
57607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57608 /* end confdefs.h. */
57609 #include <math.h>
57610 int
57611 main ()
57612 {
57613 _atan2l(0, 0);
57614 ;
57615 return 0;
57616 }
57617 _ACEOF
57618 if ac_fn_cxx_try_compile "$LINENO"; then :
57619 glibcxx_cv_func__atan2l_use=yes
57620 else
57621 glibcxx_cv_func__atan2l_use=no
57622 fi
57623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57624 ac_ext=c
57625 ac_cpp='$CPP $CPPFLAGS'
57626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57629
57630
57631 fi
57632
57633 fi
57634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57635 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57636
57637 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57638 for ac_func in _atan2l
57639 do :
57640 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57641 if test "x$ac_cv_func__atan2l" = x""yes; then :
57642 cat >>confdefs.h <<_ACEOF
57643 #define HAVE__ATAN2L 1
57644 _ACEOF
57645
57646 fi
57647 done
57648
57649 fi
57650 fi
57651
57652
57653
57654
57655
57656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57657 $as_echo_n "checking for expl declaration... " >&6; }
57658 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57659 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57660 $as_echo_n "(cached) " >&6
57661 else
57662
57663
57664 ac_ext=cpp
57665 ac_cpp='$CXXCPP $CPPFLAGS'
57666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57669
57670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57671 /* end confdefs.h. */
57672 #include <math.h>
57673 #ifdef HAVE_IEEEFP_H
57674 #include <ieeefp.h>
57675 #endif
57676
57677 int
57678 main ()
57679 {
57680 expl(0);
57681 ;
57682 return 0;
57683 }
57684 _ACEOF
57685 if ac_fn_cxx_try_compile "$LINENO"; then :
57686 glibcxx_cv_func_expl_use=yes
57687 else
57688 glibcxx_cv_func_expl_use=no
57689 fi
57690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57691 ac_ext=c
57692 ac_cpp='$CPP $CPPFLAGS'
57693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57696
57697
57698 fi
57699
57700 fi
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57702 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57703
57704 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57705 for ac_func in expl
57706 do :
57707 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57708 if test "x$ac_cv_func_expl" = x""yes; then :
57709 cat >>confdefs.h <<_ACEOF
57710 #define HAVE_EXPL 1
57711 _ACEOF
57712
57713 fi
57714 done
57715
57716 else
57717
57718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57719 $as_echo_n "checking for _expl declaration... " >&6; }
57720 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57721 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57722 $as_echo_n "(cached) " >&6
57723 else
57724
57725
57726 ac_ext=cpp
57727 ac_cpp='$CXXCPP $CPPFLAGS'
57728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57731
57732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57733 /* end confdefs.h. */
57734 #include <math.h>
57735 #ifdef HAVE_IEEEFP_H
57736 #include <ieeefp.h>
57737 #endif
57738
57739 int
57740 main ()
57741 {
57742 _expl(0);
57743 ;
57744 return 0;
57745 }
57746 _ACEOF
57747 if ac_fn_cxx_try_compile "$LINENO"; then :
57748 glibcxx_cv_func__expl_use=yes
57749 else
57750 glibcxx_cv_func__expl_use=no
57751 fi
57752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57753 ac_ext=c
57754 ac_cpp='$CPP $CPPFLAGS'
57755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57758
57759
57760 fi
57761
57762 fi
57763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57764 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57765
57766 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57767 for ac_func in _expl
57768 do :
57769 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57770 if test "x$ac_cv_func__expl" = x""yes; then :
57771 cat >>confdefs.h <<_ACEOF
57772 #define HAVE__EXPL 1
57773 _ACEOF
57774
57775 fi
57776 done
57777
57778 fi
57779 fi
57780
57781
57782
57783
57784
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57786 $as_echo_n "checking for fabsl declaration... " >&6; }
57787 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57788 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57789 $as_echo_n "(cached) " >&6
57790 else
57791
57792
57793 ac_ext=cpp
57794 ac_cpp='$CXXCPP $CPPFLAGS'
57795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57798
57799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57800 /* end confdefs.h. */
57801 #include <math.h>
57802 #ifdef HAVE_IEEEFP_H
57803 #include <ieeefp.h>
57804 #endif
57805
57806 int
57807 main ()
57808 {
57809 fabsl(0);
57810 ;
57811 return 0;
57812 }
57813 _ACEOF
57814 if ac_fn_cxx_try_compile "$LINENO"; then :
57815 glibcxx_cv_func_fabsl_use=yes
57816 else
57817 glibcxx_cv_func_fabsl_use=no
57818 fi
57819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57820 ac_ext=c
57821 ac_cpp='$CPP $CPPFLAGS'
57822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57825
57826
57827 fi
57828
57829 fi
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57831 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57832
57833 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57834 for ac_func in fabsl
57835 do :
57836 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57837 if test "x$ac_cv_func_fabsl" = x""yes; then :
57838 cat >>confdefs.h <<_ACEOF
57839 #define HAVE_FABSL 1
57840 _ACEOF
57841
57842 fi
57843 done
57844
57845 else
57846
57847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57848 $as_echo_n "checking for _fabsl declaration... " >&6; }
57849 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57850 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57851 $as_echo_n "(cached) " >&6
57852 else
57853
57854
57855 ac_ext=cpp
57856 ac_cpp='$CXXCPP $CPPFLAGS'
57857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57860
57861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57862 /* end confdefs.h. */
57863 #include <math.h>
57864 #ifdef HAVE_IEEEFP_H
57865 #include <ieeefp.h>
57866 #endif
57867
57868 int
57869 main ()
57870 {
57871 _fabsl(0);
57872 ;
57873 return 0;
57874 }
57875 _ACEOF
57876 if ac_fn_cxx_try_compile "$LINENO"; then :
57877 glibcxx_cv_func__fabsl_use=yes
57878 else
57879 glibcxx_cv_func__fabsl_use=no
57880 fi
57881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57882 ac_ext=c
57883 ac_cpp='$CPP $CPPFLAGS'
57884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57887
57888
57889 fi
57890
57891 fi
57892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57893 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57894
57895 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57896 for ac_func in _fabsl
57897 do :
57898 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57899 if test "x$ac_cv_func__fabsl" = x""yes; then :
57900 cat >>confdefs.h <<_ACEOF
57901 #define HAVE__FABSL 1
57902 _ACEOF
57903
57904 fi
57905 done
57906
57907 fi
57908 fi
57909
57910
57911
57912
57913
57914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57915 $as_echo_n "checking for fmodl declaration... " >&6; }
57916 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57917 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57918 $as_echo_n "(cached) " >&6
57919 else
57920
57921
57922 ac_ext=cpp
57923 ac_cpp='$CXXCPP $CPPFLAGS'
57924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57927
57928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57929 /* end confdefs.h. */
57930 #include <math.h>
57931 int
57932 main ()
57933 {
57934 fmodl(0, 0);
57935 ;
57936 return 0;
57937 }
57938 _ACEOF
57939 if ac_fn_cxx_try_compile "$LINENO"; then :
57940 glibcxx_cv_func_fmodl_use=yes
57941 else
57942 glibcxx_cv_func_fmodl_use=no
57943 fi
57944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57945 ac_ext=c
57946 ac_cpp='$CPP $CPPFLAGS'
57947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57950
57951
57952 fi
57953
57954 fi
57955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57956 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57957
57958 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57959 for ac_func in fmodl
57960 do :
57961 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57962 if test "x$ac_cv_func_fmodl" = x""yes; then :
57963 cat >>confdefs.h <<_ACEOF
57964 #define HAVE_FMODL 1
57965 _ACEOF
57966
57967 fi
57968 done
57969
57970 else
57971
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57973 $as_echo_n "checking for _fmodl declaration... " >&6; }
57974 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57975 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57976 $as_echo_n "(cached) " >&6
57977 else
57978
57979
57980 ac_ext=cpp
57981 ac_cpp='$CXXCPP $CPPFLAGS'
57982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57985
57986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57987 /* end confdefs.h. */
57988 #include <math.h>
57989 int
57990 main ()
57991 {
57992 _fmodl(0, 0);
57993 ;
57994 return 0;
57995 }
57996 _ACEOF
57997 if ac_fn_cxx_try_compile "$LINENO"; then :
57998 glibcxx_cv_func__fmodl_use=yes
57999 else
58000 glibcxx_cv_func__fmodl_use=no
58001 fi
58002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58003 ac_ext=c
58004 ac_cpp='$CPP $CPPFLAGS'
58005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58008
58009
58010 fi
58011
58012 fi
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58014 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58015
58016 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58017 for ac_func in _fmodl
58018 do :
58019 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58020 if test "x$ac_cv_func__fmodl" = x""yes; then :
58021 cat >>confdefs.h <<_ACEOF
58022 #define HAVE__FMODL 1
58023 _ACEOF
58024
58025 fi
58026 done
58027
58028 fi
58029 fi
58030
58031
58032
58033
58034
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58036 $as_echo_n "checking for frexpl declaration... " >&6; }
58037 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58038 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58039 $as_echo_n "(cached) " >&6
58040 else
58041
58042
58043 ac_ext=cpp
58044 ac_cpp='$CXXCPP $CPPFLAGS'
58045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58048
58049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58050 /* end confdefs.h. */
58051 #include <math.h>
58052 int
58053 main ()
58054 {
58055 frexpl(0, 0);
58056 ;
58057 return 0;
58058 }
58059 _ACEOF
58060 if ac_fn_cxx_try_compile "$LINENO"; then :
58061 glibcxx_cv_func_frexpl_use=yes
58062 else
58063 glibcxx_cv_func_frexpl_use=no
58064 fi
58065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58066 ac_ext=c
58067 ac_cpp='$CPP $CPPFLAGS'
58068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58071
58072
58073 fi
58074
58075 fi
58076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58077 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58078
58079 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58080 for ac_func in frexpl
58081 do :
58082 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58083 if test "x$ac_cv_func_frexpl" = x""yes; then :
58084 cat >>confdefs.h <<_ACEOF
58085 #define HAVE_FREXPL 1
58086 _ACEOF
58087
58088 fi
58089 done
58090
58091 else
58092
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58094 $as_echo_n "checking for _frexpl declaration... " >&6; }
58095 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58096 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58097 $as_echo_n "(cached) " >&6
58098 else
58099
58100
58101 ac_ext=cpp
58102 ac_cpp='$CXXCPP $CPPFLAGS'
58103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58106
58107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58108 /* end confdefs.h. */
58109 #include <math.h>
58110 int
58111 main ()
58112 {
58113 _frexpl(0, 0);
58114 ;
58115 return 0;
58116 }
58117 _ACEOF
58118 if ac_fn_cxx_try_compile "$LINENO"; then :
58119 glibcxx_cv_func__frexpl_use=yes
58120 else
58121 glibcxx_cv_func__frexpl_use=no
58122 fi
58123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58124 ac_ext=c
58125 ac_cpp='$CPP $CPPFLAGS'
58126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58129
58130
58131 fi
58132
58133 fi
58134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58135 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58136
58137 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58138 for ac_func in _frexpl
58139 do :
58140 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58141 if test "x$ac_cv_func__frexpl" = x""yes; then :
58142 cat >>confdefs.h <<_ACEOF
58143 #define HAVE__FREXPL 1
58144 _ACEOF
58145
58146 fi
58147 done
58148
58149 fi
58150 fi
58151
58152
58153
58154
58155
58156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58157 $as_echo_n "checking for hypotl declaration... " >&6; }
58158 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58159 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58160 $as_echo_n "(cached) " >&6
58161 else
58162
58163
58164 ac_ext=cpp
58165 ac_cpp='$CXXCPP $CPPFLAGS'
58166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58169
58170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58171 /* end confdefs.h. */
58172 #include <math.h>
58173 int
58174 main ()
58175 {
58176 hypotl(0, 0);
58177 ;
58178 return 0;
58179 }
58180 _ACEOF
58181 if ac_fn_cxx_try_compile "$LINENO"; then :
58182 glibcxx_cv_func_hypotl_use=yes
58183 else
58184 glibcxx_cv_func_hypotl_use=no
58185 fi
58186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58187 ac_ext=c
58188 ac_cpp='$CPP $CPPFLAGS'
58189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58192
58193
58194 fi
58195
58196 fi
58197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58198 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58199
58200 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58201 for ac_func in hypotl
58202 do :
58203 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58204 if test "x$ac_cv_func_hypotl" = x""yes; then :
58205 cat >>confdefs.h <<_ACEOF
58206 #define HAVE_HYPOTL 1
58207 _ACEOF
58208
58209 fi
58210 done
58211
58212 else
58213
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58215 $as_echo_n "checking for _hypotl declaration... " >&6; }
58216 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58217 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58218 $as_echo_n "(cached) " >&6
58219 else
58220
58221
58222 ac_ext=cpp
58223 ac_cpp='$CXXCPP $CPPFLAGS'
58224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58227
58228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58229 /* end confdefs.h. */
58230 #include <math.h>
58231 int
58232 main ()
58233 {
58234 _hypotl(0, 0);
58235 ;
58236 return 0;
58237 }
58238 _ACEOF
58239 if ac_fn_cxx_try_compile "$LINENO"; then :
58240 glibcxx_cv_func__hypotl_use=yes
58241 else
58242 glibcxx_cv_func__hypotl_use=no
58243 fi
58244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58245 ac_ext=c
58246 ac_cpp='$CPP $CPPFLAGS'
58247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58250
58251
58252 fi
58253
58254 fi
58255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58256 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58257
58258 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58259 for ac_func in _hypotl
58260 do :
58261 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58262 if test "x$ac_cv_func__hypotl" = x""yes; then :
58263 cat >>confdefs.h <<_ACEOF
58264 #define HAVE__HYPOTL 1
58265 _ACEOF
58266
58267 fi
58268 done
58269
58270 fi
58271 fi
58272
58273
58274
58275
58276
58277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58278 $as_echo_n "checking for ldexpl declaration... " >&6; }
58279 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58280 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58281 $as_echo_n "(cached) " >&6
58282 else
58283
58284
58285 ac_ext=cpp
58286 ac_cpp='$CXXCPP $CPPFLAGS'
58287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58290
58291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58292 /* end confdefs.h. */
58293 #include <math.h>
58294 int
58295 main ()
58296 {
58297 ldexpl(0, 0);
58298 ;
58299 return 0;
58300 }
58301 _ACEOF
58302 if ac_fn_cxx_try_compile "$LINENO"; then :
58303 glibcxx_cv_func_ldexpl_use=yes
58304 else
58305 glibcxx_cv_func_ldexpl_use=no
58306 fi
58307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58308 ac_ext=c
58309 ac_cpp='$CPP $CPPFLAGS'
58310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58313
58314
58315 fi
58316
58317 fi
58318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58319 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58320
58321 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58322 for ac_func in ldexpl
58323 do :
58324 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58325 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58326 cat >>confdefs.h <<_ACEOF
58327 #define HAVE_LDEXPL 1
58328 _ACEOF
58329
58330 fi
58331 done
58332
58333 else
58334
58335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58336 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58337 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58338 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58339 $as_echo_n "(cached) " >&6
58340 else
58341
58342
58343 ac_ext=cpp
58344 ac_cpp='$CXXCPP $CPPFLAGS'
58345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58348
58349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58350 /* end confdefs.h. */
58351 #include <math.h>
58352 int
58353 main ()
58354 {
58355 _ldexpl(0, 0);
58356 ;
58357 return 0;
58358 }
58359 _ACEOF
58360 if ac_fn_cxx_try_compile "$LINENO"; then :
58361 glibcxx_cv_func__ldexpl_use=yes
58362 else
58363 glibcxx_cv_func__ldexpl_use=no
58364 fi
58365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58366 ac_ext=c
58367 ac_cpp='$CPP $CPPFLAGS'
58368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58371
58372
58373 fi
58374
58375 fi
58376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58377 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58378
58379 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58380 for ac_func in _ldexpl
58381 do :
58382 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58383 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58384 cat >>confdefs.h <<_ACEOF
58385 #define HAVE__LDEXPL 1
58386 _ACEOF
58387
58388 fi
58389 done
58390
58391 fi
58392 fi
58393
58394
58395
58396
58397
58398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58399 $as_echo_n "checking for logl declaration... " >&6; }
58400 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58401 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58402 $as_echo_n "(cached) " >&6
58403 else
58404
58405
58406 ac_ext=cpp
58407 ac_cpp='$CXXCPP $CPPFLAGS'
58408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58411
58412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58413 /* end confdefs.h. */
58414 #include <math.h>
58415 #ifdef HAVE_IEEEFP_H
58416 #include <ieeefp.h>
58417 #endif
58418
58419 int
58420 main ()
58421 {
58422 logl(0);
58423 ;
58424 return 0;
58425 }
58426 _ACEOF
58427 if ac_fn_cxx_try_compile "$LINENO"; then :
58428 glibcxx_cv_func_logl_use=yes
58429 else
58430 glibcxx_cv_func_logl_use=no
58431 fi
58432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58433 ac_ext=c
58434 ac_cpp='$CPP $CPPFLAGS'
58435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58438
58439
58440 fi
58441
58442 fi
58443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58444 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58445
58446 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58447 for ac_func in logl
58448 do :
58449 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58450 if test "x$ac_cv_func_logl" = x""yes; then :
58451 cat >>confdefs.h <<_ACEOF
58452 #define HAVE_LOGL 1
58453 _ACEOF
58454
58455 fi
58456 done
58457
58458 else
58459
58460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58461 $as_echo_n "checking for _logl declaration... " >&6; }
58462 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58463 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58464 $as_echo_n "(cached) " >&6
58465 else
58466
58467
58468 ac_ext=cpp
58469 ac_cpp='$CXXCPP $CPPFLAGS'
58470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58473
58474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58475 /* end confdefs.h. */
58476 #include <math.h>
58477 #ifdef HAVE_IEEEFP_H
58478 #include <ieeefp.h>
58479 #endif
58480
58481 int
58482 main ()
58483 {
58484 _logl(0);
58485 ;
58486 return 0;
58487 }
58488 _ACEOF
58489 if ac_fn_cxx_try_compile "$LINENO"; then :
58490 glibcxx_cv_func__logl_use=yes
58491 else
58492 glibcxx_cv_func__logl_use=no
58493 fi
58494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58495 ac_ext=c
58496 ac_cpp='$CPP $CPPFLAGS'
58497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58500
58501
58502 fi
58503
58504 fi
58505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58506 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58507
58508 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58509 for ac_func in _logl
58510 do :
58511 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58512 if test "x$ac_cv_func__logl" = x""yes; then :
58513 cat >>confdefs.h <<_ACEOF
58514 #define HAVE__LOGL 1
58515 _ACEOF
58516
58517 fi
58518 done
58519
58520 fi
58521 fi
58522
58523
58524
58525
58526
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58528 $as_echo_n "checking for log10l declaration... " >&6; }
58529 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58530 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58531 $as_echo_n "(cached) " >&6
58532 else
58533
58534
58535 ac_ext=cpp
58536 ac_cpp='$CXXCPP $CPPFLAGS'
58537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58540
58541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58542 /* end confdefs.h. */
58543 #include <math.h>
58544 #ifdef HAVE_IEEEFP_H
58545 #include <ieeefp.h>
58546 #endif
58547
58548 int
58549 main ()
58550 {
58551 log10l(0);
58552 ;
58553 return 0;
58554 }
58555 _ACEOF
58556 if ac_fn_cxx_try_compile "$LINENO"; then :
58557 glibcxx_cv_func_log10l_use=yes
58558 else
58559 glibcxx_cv_func_log10l_use=no
58560 fi
58561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58562 ac_ext=c
58563 ac_cpp='$CPP $CPPFLAGS'
58564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58567
58568
58569 fi
58570
58571 fi
58572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58573 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58574
58575 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58576 for ac_func in log10l
58577 do :
58578 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58579 if test "x$ac_cv_func_log10l" = x""yes; then :
58580 cat >>confdefs.h <<_ACEOF
58581 #define HAVE_LOG10L 1
58582 _ACEOF
58583
58584 fi
58585 done
58586
58587 else
58588
58589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58590 $as_echo_n "checking for _log10l declaration... " >&6; }
58591 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58592 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58593 $as_echo_n "(cached) " >&6
58594 else
58595
58596
58597 ac_ext=cpp
58598 ac_cpp='$CXXCPP $CPPFLAGS'
58599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58602
58603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58604 /* end confdefs.h. */
58605 #include <math.h>
58606 #ifdef HAVE_IEEEFP_H
58607 #include <ieeefp.h>
58608 #endif
58609
58610 int
58611 main ()
58612 {
58613 _log10l(0);
58614 ;
58615 return 0;
58616 }
58617 _ACEOF
58618 if ac_fn_cxx_try_compile "$LINENO"; then :
58619 glibcxx_cv_func__log10l_use=yes
58620 else
58621 glibcxx_cv_func__log10l_use=no
58622 fi
58623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58624 ac_ext=c
58625 ac_cpp='$CPP $CPPFLAGS'
58626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58629
58630
58631 fi
58632
58633 fi
58634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58635 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58636
58637 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58638 for ac_func in _log10l
58639 do :
58640 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58641 if test "x$ac_cv_func__log10l" = x""yes; then :
58642 cat >>confdefs.h <<_ACEOF
58643 #define HAVE__LOG10L 1
58644 _ACEOF
58645
58646 fi
58647 done
58648
58649 fi
58650 fi
58651
58652
58653
58654
58655
58656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58657 $as_echo_n "checking for modfl declaration... " >&6; }
58658 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58659 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58660 $as_echo_n "(cached) " >&6
58661 else
58662
58663
58664 ac_ext=cpp
58665 ac_cpp='$CXXCPP $CPPFLAGS'
58666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58669
58670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58671 /* end confdefs.h. */
58672 #include <math.h>
58673 int
58674 main ()
58675 {
58676 modfl(0, 0);
58677 ;
58678 return 0;
58679 }
58680 _ACEOF
58681 if ac_fn_cxx_try_compile "$LINENO"; then :
58682 glibcxx_cv_func_modfl_use=yes
58683 else
58684 glibcxx_cv_func_modfl_use=no
58685 fi
58686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58687 ac_ext=c
58688 ac_cpp='$CPP $CPPFLAGS'
58689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58692
58693
58694 fi
58695
58696 fi
58697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58698 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58699
58700 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58701 for ac_func in modfl
58702 do :
58703 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58704 if test "x$ac_cv_func_modfl" = x""yes; then :
58705 cat >>confdefs.h <<_ACEOF
58706 #define HAVE_MODFL 1
58707 _ACEOF
58708
58709 fi
58710 done
58711
58712 else
58713
58714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58715 $as_echo_n "checking for _modfl declaration... " >&6; }
58716 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58717 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58718 $as_echo_n "(cached) " >&6
58719 else
58720
58721
58722 ac_ext=cpp
58723 ac_cpp='$CXXCPP $CPPFLAGS'
58724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58727
58728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58729 /* end confdefs.h. */
58730 #include <math.h>
58731 int
58732 main ()
58733 {
58734 _modfl(0, 0);
58735 ;
58736 return 0;
58737 }
58738 _ACEOF
58739 if ac_fn_cxx_try_compile "$LINENO"; then :
58740 glibcxx_cv_func__modfl_use=yes
58741 else
58742 glibcxx_cv_func__modfl_use=no
58743 fi
58744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58745 ac_ext=c
58746 ac_cpp='$CPP $CPPFLAGS'
58747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58750
58751
58752 fi
58753
58754 fi
58755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58756 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58757
58758 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58759 for ac_func in _modfl
58760 do :
58761 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58762 if test "x$ac_cv_func__modfl" = x""yes; then :
58763 cat >>confdefs.h <<_ACEOF
58764 #define HAVE__MODFL 1
58765 _ACEOF
58766
58767 fi
58768 done
58769
58770 fi
58771 fi
58772
58773
58774
58775
58776
58777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58778 $as_echo_n "checking for powl declaration... " >&6; }
58779 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58780 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58781 $as_echo_n "(cached) " >&6
58782 else
58783
58784
58785 ac_ext=cpp
58786 ac_cpp='$CXXCPP $CPPFLAGS'
58787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58790
58791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58792 /* end confdefs.h. */
58793 #include <math.h>
58794 int
58795 main ()
58796 {
58797 powl(0, 0);
58798 ;
58799 return 0;
58800 }
58801 _ACEOF
58802 if ac_fn_cxx_try_compile "$LINENO"; then :
58803 glibcxx_cv_func_powl_use=yes
58804 else
58805 glibcxx_cv_func_powl_use=no
58806 fi
58807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58808 ac_ext=c
58809 ac_cpp='$CPP $CPPFLAGS'
58810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58813
58814
58815 fi
58816
58817 fi
58818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58819 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58820
58821 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58822 for ac_func in powl
58823 do :
58824 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58825 if test "x$ac_cv_func_powl" = x""yes; then :
58826 cat >>confdefs.h <<_ACEOF
58827 #define HAVE_POWL 1
58828 _ACEOF
58829
58830 fi
58831 done
58832
58833 else
58834
58835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58836 $as_echo_n "checking for _powl declaration... " >&6; }
58837 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58838 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58839 $as_echo_n "(cached) " >&6
58840 else
58841
58842
58843 ac_ext=cpp
58844 ac_cpp='$CXXCPP $CPPFLAGS'
58845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58848
58849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58850 /* end confdefs.h. */
58851 #include <math.h>
58852 int
58853 main ()
58854 {
58855 _powl(0, 0);
58856 ;
58857 return 0;
58858 }
58859 _ACEOF
58860 if ac_fn_cxx_try_compile "$LINENO"; then :
58861 glibcxx_cv_func__powl_use=yes
58862 else
58863 glibcxx_cv_func__powl_use=no
58864 fi
58865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58866 ac_ext=c
58867 ac_cpp='$CPP $CPPFLAGS'
58868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58871
58872
58873 fi
58874
58875 fi
58876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58877 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58878
58879 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58880 for ac_func in _powl
58881 do :
58882 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58883 if test "x$ac_cv_func__powl" = x""yes; then :
58884 cat >>confdefs.h <<_ACEOF
58885 #define HAVE__POWL 1
58886 _ACEOF
58887
58888 fi
58889 done
58890
58891 fi
58892 fi
58893
58894
58895
58896
58897
58898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58899 $as_echo_n "checking for sqrtl declaration... " >&6; }
58900 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58901 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58902 $as_echo_n "(cached) " >&6
58903 else
58904
58905
58906 ac_ext=cpp
58907 ac_cpp='$CXXCPP $CPPFLAGS'
58908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58911
58912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58913 /* end confdefs.h. */
58914 #include <math.h>
58915 #ifdef HAVE_IEEEFP_H
58916 #include <ieeefp.h>
58917 #endif
58918
58919 int
58920 main ()
58921 {
58922 sqrtl(0);
58923 ;
58924 return 0;
58925 }
58926 _ACEOF
58927 if ac_fn_cxx_try_compile "$LINENO"; then :
58928 glibcxx_cv_func_sqrtl_use=yes
58929 else
58930 glibcxx_cv_func_sqrtl_use=no
58931 fi
58932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58933 ac_ext=c
58934 ac_cpp='$CPP $CPPFLAGS'
58935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58938
58939
58940 fi
58941
58942 fi
58943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58944 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58945
58946 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58947 for ac_func in sqrtl
58948 do :
58949 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58950 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58951 cat >>confdefs.h <<_ACEOF
58952 #define HAVE_SQRTL 1
58953 _ACEOF
58954
58955 fi
58956 done
58957
58958 else
58959
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58961 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58962 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58963 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58964 $as_echo_n "(cached) " >&6
58965 else
58966
58967
58968 ac_ext=cpp
58969 ac_cpp='$CXXCPP $CPPFLAGS'
58970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58973
58974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58975 /* end confdefs.h. */
58976 #include <math.h>
58977 #ifdef HAVE_IEEEFP_H
58978 #include <ieeefp.h>
58979 #endif
58980
58981 int
58982 main ()
58983 {
58984 _sqrtl(0);
58985 ;
58986 return 0;
58987 }
58988 _ACEOF
58989 if ac_fn_cxx_try_compile "$LINENO"; then :
58990 glibcxx_cv_func__sqrtl_use=yes
58991 else
58992 glibcxx_cv_func__sqrtl_use=no
58993 fi
58994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58995 ac_ext=c
58996 ac_cpp='$CPP $CPPFLAGS'
58997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59000
59001
59002 fi
59003
59004 fi
59005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59006 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59007
59008 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59009 for ac_func in _sqrtl
59010 do :
59011 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59012 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59013 cat >>confdefs.h <<_ACEOF
59014 #define HAVE__SQRTL 1
59015 _ACEOF
59016
59017 fi
59018 done
59019
59020 fi
59021 fi
59022
59023
59024
59025
59026
59027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59028 $as_echo_n "checking for sincosl declaration... " >&6; }
59029 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59030 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59031 $as_echo_n "(cached) " >&6
59032 else
59033
59034
59035 ac_ext=cpp
59036 ac_cpp='$CXXCPP $CPPFLAGS'
59037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59040
59041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59042 /* end confdefs.h. */
59043 #include <math.h>
59044 int
59045 main ()
59046 {
59047 sincosl(0, 0, 0);
59048 ;
59049 return 0;
59050 }
59051 _ACEOF
59052 if ac_fn_cxx_try_compile "$LINENO"; then :
59053 glibcxx_cv_func_sincosl_use=yes
59054 else
59055 glibcxx_cv_func_sincosl_use=no
59056 fi
59057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59058 ac_ext=c
59059 ac_cpp='$CPP $CPPFLAGS'
59060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59063
59064
59065 fi
59066
59067 fi
59068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59069 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59070
59071 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59072 for ac_func in sincosl
59073 do :
59074 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59075 if test "x$ac_cv_func_sincosl" = x""yes; then :
59076 cat >>confdefs.h <<_ACEOF
59077 #define HAVE_SINCOSL 1
59078 _ACEOF
59079
59080 fi
59081 done
59082
59083 else
59084
59085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59086 $as_echo_n "checking for _sincosl declaration... " >&6; }
59087 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59088 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59089 $as_echo_n "(cached) " >&6
59090 else
59091
59092
59093 ac_ext=cpp
59094 ac_cpp='$CXXCPP $CPPFLAGS'
59095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59098
59099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59100 /* end confdefs.h. */
59101 #include <math.h>
59102 int
59103 main ()
59104 {
59105 _sincosl(0, 0, 0);
59106 ;
59107 return 0;
59108 }
59109 _ACEOF
59110 if ac_fn_cxx_try_compile "$LINENO"; then :
59111 glibcxx_cv_func__sincosl_use=yes
59112 else
59113 glibcxx_cv_func__sincosl_use=no
59114 fi
59115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59116 ac_ext=c
59117 ac_cpp='$CPP $CPPFLAGS'
59118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59121
59122
59123 fi
59124
59125 fi
59126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59127 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59128
59129 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59130 for ac_func in _sincosl
59131 do :
59132 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59133 if test "x$ac_cv_func__sincosl" = x""yes; then :
59134 cat >>confdefs.h <<_ACEOF
59135 #define HAVE__SINCOSL 1
59136 _ACEOF
59137
59138 fi
59139 done
59140
59141 fi
59142 fi
59143
59144
59145
59146
59147
59148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59149 $as_echo_n "checking for finitel declaration... " >&6; }
59150 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59151 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59152 $as_echo_n "(cached) " >&6
59153 else
59154
59155
59156 ac_ext=cpp
59157 ac_cpp='$CXXCPP $CPPFLAGS'
59158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59161
59162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59163 /* end confdefs.h. */
59164 #include <math.h>
59165 #ifdef HAVE_IEEEFP_H
59166 #include <ieeefp.h>
59167 #endif
59168
59169 int
59170 main ()
59171 {
59172 finitel(0);
59173 ;
59174 return 0;
59175 }
59176 _ACEOF
59177 if ac_fn_cxx_try_compile "$LINENO"; then :
59178 glibcxx_cv_func_finitel_use=yes
59179 else
59180 glibcxx_cv_func_finitel_use=no
59181 fi
59182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59183 ac_ext=c
59184 ac_cpp='$CPP $CPPFLAGS'
59185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59188
59189
59190 fi
59191
59192 fi
59193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59194 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59195
59196 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59197 for ac_func in finitel
59198 do :
59199 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59200 if test "x$ac_cv_func_finitel" = x""yes; then :
59201 cat >>confdefs.h <<_ACEOF
59202 #define HAVE_FINITEL 1
59203 _ACEOF
59204
59205 fi
59206 done
59207
59208 else
59209
59210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59211 $as_echo_n "checking for _finitel declaration... " >&6; }
59212 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59213 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59214 $as_echo_n "(cached) " >&6
59215 else
59216
59217
59218 ac_ext=cpp
59219 ac_cpp='$CXXCPP $CPPFLAGS'
59220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59223
59224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59225 /* end confdefs.h. */
59226 #include <math.h>
59227 #ifdef HAVE_IEEEFP_H
59228 #include <ieeefp.h>
59229 #endif
59230
59231 int
59232 main ()
59233 {
59234 _finitel(0);
59235 ;
59236 return 0;
59237 }
59238 _ACEOF
59239 if ac_fn_cxx_try_compile "$LINENO"; then :
59240 glibcxx_cv_func__finitel_use=yes
59241 else
59242 glibcxx_cv_func__finitel_use=no
59243 fi
59244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59245 ac_ext=c
59246 ac_cpp='$CPP $CPPFLAGS'
59247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59250
59251
59252 fi
59253
59254 fi
59255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59256 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59257
59258 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59259 for ac_func in _finitel
59260 do :
59261 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59262 if test "x$ac_cv_func__finitel" = x""yes; then :
59263 cat >>confdefs.h <<_ACEOF
59264 #define HAVE__FINITEL 1
59265 _ACEOF
59266
59267 fi
59268 done
59269
59270 fi
59271 fi
59272
59273
59274
59275
59276 LIBS="$ac_save_LIBS"
59277 CXXFLAGS="$ac_save_CXXFLAGS"
59278
59279
59280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59281 ac_save_CXXFLAGS="$CXXFLAGS"
59282 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59283
59284
59285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59286 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59287 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59288 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59289 $as_echo_n "(cached) " >&6
59290 else
59291
59292
59293 ac_ext=cpp
59294 ac_cpp='$CXXCPP $CPPFLAGS'
59295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59298
59299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59300 /* end confdefs.h. */
59301 #include <stdlib.h>
59302 int
59303 main ()
59304 {
59305 at_quick_exit(0);
59306 ;
59307 return 0;
59308 }
59309 _ACEOF
59310 if ac_fn_cxx_try_compile "$LINENO"; then :
59311 glibcxx_cv_func_at_quick_exit_use=yes
59312 else
59313 glibcxx_cv_func_at_quick_exit_use=no
59314 fi
59315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59316 ac_ext=c
59317 ac_cpp='$CPP $CPPFLAGS'
59318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59321
59322
59323 fi
59324
59325 fi
59326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59327 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59328 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59329 for ac_func in at_quick_exit
59330 do :
59331 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59332 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59333 cat >>confdefs.h <<_ACEOF
59334 #define HAVE_AT_QUICK_EXIT 1
59335 _ACEOF
59336
59337 fi
59338 done
59339
59340 fi
59341
59342
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59344 $as_echo_n "checking for quick_exit declaration... " >&6; }
59345 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59346 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59347 $as_echo_n "(cached) " >&6
59348 else
59349
59350
59351 ac_ext=cpp
59352 ac_cpp='$CXXCPP $CPPFLAGS'
59353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59356
59357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59358 /* end confdefs.h. */
59359 #include <stdlib.h>
59360 int
59361 main ()
59362 {
59363 quick_exit(0);
59364 ;
59365 return 0;
59366 }
59367 _ACEOF
59368 if ac_fn_cxx_try_compile "$LINENO"; then :
59369 glibcxx_cv_func_quick_exit_use=yes
59370 else
59371 glibcxx_cv_func_quick_exit_use=no
59372 fi
59373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59374 ac_ext=c
59375 ac_cpp='$CPP $CPPFLAGS'
59376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59379
59380
59381 fi
59382
59383 fi
59384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59385 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59386 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59387 for ac_func in quick_exit
59388 do :
59389 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59390 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59391 cat >>confdefs.h <<_ACEOF
59392 #define HAVE_QUICK_EXIT 1
59393 _ACEOF
59394
59395 fi
59396 done
59397
59398 fi
59399
59400
59401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59402 $as_echo_n "checking for strtold declaration... " >&6; }
59403 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59404 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59405 $as_echo_n "(cached) " >&6
59406 else
59407
59408
59409 ac_ext=cpp
59410 ac_cpp='$CXXCPP $CPPFLAGS'
59411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59414
59415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59416 /* end confdefs.h. */
59417 #include <stdlib.h>
59418 int
59419 main ()
59420 {
59421 strtold(0, 0);
59422 ;
59423 return 0;
59424 }
59425 _ACEOF
59426 if ac_fn_cxx_try_compile "$LINENO"; then :
59427 glibcxx_cv_func_strtold_use=yes
59428 else
59429 glibcxx_cv_func_strtold_use=no
59430 fi
59431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59432 ac_ext=c
59433 ac_cpp='$CPP $CPPFLAGS'
59434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59437
59438
59439 fi
59440
59441 fi
59442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59443 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59444 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59445 for ac_func in strtold
59446 do :
59447 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59448 if test "x$ac_cv_func_strtold" = x""yes; then :
59449 cat >>confdefs.h <<_ACEOF
59450 #define HAVE_STRTOLD 1
59451 _ACEOF
59452
59453 fi
59454 done
59455
59456 fi
59457
59458
59459
59460
59461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59462 $as_echo_n "checking for strtof declaration... " >&6; }
59463 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59464 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59465 $as_echo_n "(cached) " >&6
59466 else
59467
59468
59469 ac_ext=cpp
59470 ac_cpp='$CXXCPP $CPPFLAGS'
59471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59474
59475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59476 /* end confdefs.h. */
59477 #include <stdlib.h>
59478 int
59479 main ()
59480 {
59481 strtof(0, 0);
59482 ;
59483 return 0;
59484 }
59485 _ACEOF
59486 if ac_fn_cxx_try_compile "$LINENO"; then :
59487 glibcxx_cv_func_strtof_use=yes
59488 else
59489 glibcxx_cv_func_strtof_use=no
59490 fi
59491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59492 ac_ext=c
59493 ac_cpp='$CPP $CPPFLAGS'
59494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59497
59498
59499 fi
59500
59501 fi
59502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59503 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59504 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59505 for ac_func in strtof
59506 do :
59507 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59508 if test "x$ac_cv_func_strtof" = x""yes; then :
59509 cat >>confdefs.h <<_ACEOF
59510 #define HAVE_STRTOF 1
59511 _ACEOF
59512
59513 fi
59514 done
59515
59516 fi
59517
59518
59519
59520
59521 CXXFLAGS="$ac_save_CXXFLAGS"
59522
59523 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59524
59525
59526
59527 # Check whether --enable-tls was given.
59528 if test "${enable_tls+set}" = set; then :
59529 enableval=$enable_tls;
59530 case "$enableval" in
59531 yes|no) ;;
59532 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59533 esac
59534
59535 else
59536 enable_tls=yes
59537 fi
59538
59539
59540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59541 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59542 if test "${gcc_cv_have_tls+set}" = set; then :
59543 $as_echo_n "(cached) " >&6
59544 else
59545
59546 if test "$cross_compiling" = yes; then :
59547 if test x$gcc_no_link = xyes; then
59548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59549 fi
59550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59551 /* end confdefs.h. */
59552 __thread int a; int b; int main() { return a = b; }
59553 _ACEOF
59554 if ac_fn_c_try_link "$LINENO"; then :
59555 chktls_save_LDFLAGS="$LDFLAGS"
59556 case $host in
59557 *-*-linux*)
59558 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59559 ;;
59560 esac
59561 chktls_save_CFLAGS="$CFLAGS"
59562 CFLAGS="-fPIC $CFLAGS"
59563 if test x$gcc_no_link = xyes; then
59564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59565 fi
59566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59567 /* end confdefs.h. */
59568 int f() { return 0; }
59569 _ACEOF
59570 if ac_fn_c_try_link "$LINENO"; then :
59571 if test x$gcc_no_link = xyes; then
59572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59573 fi
59574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59575 /* end confdefs.h. */
59576 __thread int a; int b; int f() { return a = b; }
59577 _ACEOF
59578 if ac_fn_c_try_link "$LINENO"; then :
59579 gcc_cv_have_tls=yes
59580 else
59581 gcc_cv_have_tls=no
59582 fi
59583 rm -f core conftest.err conftest.$ac_objext \
59584 conftest$ac_exeext conftest.$ac_ext
59585 else
59586 gcc_cv_have_tls=yes
59587 fi
59588 rm -f core conftest.err conftest.$ac_objext \
59589 conftest$ac_exeext conftest.$ac_ext
59590 CFLAGS="$chktls_save_CFLAGS"
59591 LDFLAGS="$chktls_save_LDFLAGS"
59592 else
59593 gcc_cv_have_tls=no
59594 fi
59595 rm -f core conftest.err conftest.$ac_objext \
59596 conftest$ac_exeext conftest.$ac_ext
59597
59598
59599 else
59600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59601 /* end confdefs.h. */
59602 __thread int a; int b; int main() { return a = b; }
59603 _ACEOF
59604 if ac_fn_c_try_run "$LINENO"; then :
59605 chktls_save_LDFLAGS="$LDFLAGS"
59606 LDFLAGS="-static $LDFLAGS"
59607 if test x$gcc_no_link = xyes; then
59608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59609 fi
59610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59611 /* end confdefs.h. */
59612 int main() { return 0; }
59613 _ACEOF
59614 if ac_fn_c_try_link "$LINENO"; then :
59615 if test "$cross_compiling" = yes; then :
59616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59618 as_fn_error "cannot run test program while cross compiling
59619 See \`config.log' for more details." "$LINENO" 5; }
59620 else
59621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59622 /* end confdefs.h. */
59623 __thread int a; int b; int main() { return a = b; }
59624 _ACEOF
59625 if ac_fn_c_try_run "$LINENO"; then :
59626 gcc_cv_have_tls=yes
59627 else
59628 gcc_cv_have_tls=no
59629 fi
59630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59631 conftest.$ac_objext conftest.beam conftest.$ac_ext
59632 fi
59633
59634 else
59635 gcc_cv_have_tls=yes
59636 fi
59637 rm -f core conftest.err conftest.$ac_objext \
59638 conftest$ac_exeext conftest.$ac_ext
59639 LDFLAGS="$chktls_save_LDFLAGS"
59640 if test $gcc_cv_have_tls = yes; then
59641 chktls_save_CFLAGS="$CFLAGS"
59642 thread_CFLAGS=failed
59643 for flag in '' '-pthread' '-lpthread'; do
59644 CFLAGS="$flag $chktls_save_CFLAGS"
59645 if test x$gcc_no_link = xyes; then
59646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59647 fi
59648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59649 /* end confdefs.h. */
59650 #include <pthread.h>
59651 void *g(void *d) { return NULL; }
59652 int
59653 main ()
59654 {
59655 pthread_t t; pthread_create(&t,NULL,g,NULL);
59656 ;
59657 return 0;
59658 }
59659 _ACEOF
59660 if ac_fn_c_try_link "$LINENO"; then :
59661 thread_CFLAGS="$flag"
59662 fi
59663 rm -f core conftest.err conftest.$ac_objext \
59664 conftest$ac_exeext conftest.$ac_ext
59665 if test "X$thread_CFLAGS" != Xfailed; then
59666 break
59667 fi
59668 done
59669 CFLAGS="$chktls_save_CFLAGS"
59670 if test "X$thread_CFLAGS" != Xfailed; then
59671 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59672 if test "$cross_compiling" = yes; then :
59673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59675 as_fn_error "cannot run test program while cross compiling
59676 See \`config.log' for more details." "$LINENO" 5; }
59677 else
59678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59679 /* end confdefs.h. */
59680 #include <pthread.h>
59681 __thread int a;
59682 static int *volatile a_in_other_thread;
59683 static void *
59684 thread_func (void *arg)
59685 {
59686 a_in_other_thread = &a;
59687 return (void *)0;
59688 }
59689 int
59690 main ()
59691 {
59692 pthread_t thread;
59693 void *thread_retval;
59694 int *volatile a_in_main_thread;
59695 a_in_main_thread = &a;
59696 if (pthread_create (&thread, (pthread_attr_t *)0,
59697 thread_func, (void *)0))
59698 return 0;
59699 if (pthread_join (thread, &thread_retval))
59700 return 0;
59701 return (a_in_other_thread == a_in_main_thread);
59702 ;
59703 return 0;
59704 }
59705 _ACEOF
59706 if ac_fn_c_try_run "$LINENO"; then :
59707 gcc_cv_have_tls=yes
59708 else
59709 gcc_cv_have_tls=no
59710 fi
59711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59712 conftest.$ac_objext conftest.beam conftest.$ac_ext
59713 fi
59714
59715 CFLAGS="$chktls_save_CFLAGS"
59716 fi
59717 fi
59718 else
59719 gcc_cv_have_tls=no
59720 fi
59721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59722 conftest.$ac_objext conftest.beam conftest.$ac_ext
59723 fi
59724
59725 fi
59726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59727 $as_echo "$gcc_cv_have_tls" >&6; }
59728 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59729
59730 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59731
59732 fi
59733 for ac_func in __cxa_thread_atexit_impl
59734 do :
59735 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59736 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59737 cat >>confdefs.h <<_ACEOF
59738 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59739 _ACEOF
59740
59741 fi
59742 done
59743
59744
59745
59746
59747
59748
59749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59750 $as_echo_n "checking for iconv... " >&6; }
59751 if test "${am_cv_func_iconv+set}" = set; then :
59752 $as_echo_n "(cached) " >&6
59753 else
59754
59755 am_cv_func_iconv="no, consider installing GNU libiconv"
59756 am_cv_lib_iconv=no
59757 am_save_CPPFLAGS="$CPPFLAGS"
59758 CPPFLAGS="$CPPFLAGS $INCICONV"
59759 if test x$gcc_no_link = xyes; then
59760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59761 fi
59762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59763 /* end confdefs.h. */
59764 #include <stdlib.h>
59765 #include <iconv.h>
59766 int
59767 main ()
59768 {
59769 iconv_t cd = iconv_open("","");
59770 iconv(cd,NULL,NULL,NULL,NULL);
59771 iconv_close(cd);
59772 ;
59773 return 0;
59774 }
59775 _ACEOF
59776 if ac_fn_c_try_link "$LINENO"; then :
59777 am_cv_func_iconv=yes
59778 fi
59779 rm -f core conftest.err conftest.$ac_objext \
59780 conftest$ac_exeext conftest.$ac_ext
59781 CPPFLAGS="$am_save_CPPFLAGS"
59782
59783 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59784 for _libs in .libs _libs; do
59785 am_save_CPPFLAGS="$CPPFLAGS"
59786 am_save_LIBS="$LIBS"
59787 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59788 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59789 if test x$gcc_no_link = xyes; then
59790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59791 fi
59792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59793 /* end confdefs.h. */
59794 #include <stdlib.h>
59795 #include <iconv.h>
59796 int
59797 main ()
59798 {
59799 iconv_t cd = iconv_open("","");
59800 iconv(cd,NULL,NULL,NULL,NULL);
59801 iconv_close(cd);
59802 ;
59803 return 0;
59804 }
59805 _ACEOF
59806 if ac_fn_c_try_link "$LINENO"; then :
59807 INCICONV="-I../libiconv/include"
59808 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59809 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59810 am_cv_lib_iconv=yes
59811 am_cv_func_iconv=yes
59812 fi
59813 rm -f core conftest.err conftest.$ac_objext \
59814 conftest$ac_exeext conftest.$ac_ext
59815 CPPFLAGS="$am_save_CPPFLAGS"
59816 LIBS="$am_save_LIBS"
59817 if test "$am_cv_func_iconv" = "yes"; then
59818 break
59819 fi
59820 done
59821 fi
59822
59823 if test "$am_cv_func_iconv" != yes; then
59824 am_save_CPPFLAGS="$CPPFLAGS"
59825 am_save_LIBS="$LIBS"
59826 CPPFLAGS="$LIBS $INCICONV"
59827 LIBS="$LIBS $LIBICONV"
59828 if test x$gcc_no_link = xyes; then
59829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59830 fi
59831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h. */
59833 #include <stdlib.h>
59834 #include <iconv.h>
59835 int
59836 main ()
59837 {
59838 iconv_t cd = iconv_open("","");
59839 iconv(cd,NULL,NULL,NULL,NULL);
59840 iconv_close(cd);
59841 ;
59842 return 0;
59843 }
59844 _ACEOF
59845 if ac_fn_c_try_link "$LINENO"; then :
59846 am_cv_lib_iconv=yes
59847 am_cv_func_iconv=yes
59848 fi
59849 rm -f core conftest.err conftest.$ac_objext \
59850 conftest$ac_exeext conftest.$ac_ext
59851 CPPFLAGS="$am_save_CPPFLAGS"
59852 LIBS="$am_save_LIBS"
59853 fi
59854
59855 fi
59856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59857 $as_echo "$am_cv_func_iconv" >&6; }
59858 if test "$am_cv_func_iconv" = yes; then
59859
59860 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59861
59862 fi
59863 if test "$am_cv_lib_iconv" = yes; then
59864
59865 for element in $INCICONV; do
59866 haveit=
59867 for x in $CPPFLAGS; do
59868
59869 acl_save_prefix="$prefix"
59870 prefix="$acl_final_prefix"
59871 acl_save_exec_prefix="$exec_prefix"
59872 exec_prefix="$acl_final_exec_prefix"
59873 eval x=\"$x\"
59874 exec_prefix="$acl_save_exec_prefix"
59875 prefix="$acl_save_prefix"
59876
59877 if test "X$x" = "X$element"; then
59878 haveit=yes
59879 break
59880 fi
59881 done
59882 if test -z "$haveit"; then
59883 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59884 fi
59885 done
59886
59887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59888 $as_echo_n "checking how to link with libiconv... " >&6; }
59889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59890 $as_echo "$LIBICONV" >&6; }
59891 else
59892 LIBICONV=
59893 LTLIBICONV=
59894 fi
59895
59896
59897
59898 if test "$am_cv_func_iconv" = yes; then
59899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59900 $as_echo_n "checking for iconv declaration... " >&6; }
59901 if test "${am_cv_proto_iconv+set}" = set; then :
59902 $as_echo_n "(cached) " >&6
59903 else
59904
59905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59906 /* end confdefs.h. */
59907
59908 #include <stdlib.h>
59909 #include <iconv.h>
59910 extern
59911 #ifdef __cplusplus
59912 "C"
59913 #endif
59914 #if defined(__STDC__) || defined(__cplusplus)
59915 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59916 #else
59917 size_t iconv();
59918 #endif
59919
59920 int
59921 main ()
59922 {
59923
59924 ;
59925 return 0;
59926 }
59927 _ACEOF
59928 if ac_fn_c_try_compile "$LINENO"; then :
59929 am_cv_proto_iconv_arg1=""
59930 else
59931 am_cv_proto_iconv_arg1="const"
59932 fi
59933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59934 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);"
59935 fi
59936
59937 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59939 }$am_cv_proto_iconv" >&5
59940 $as_echo "${ac_t:-
59941 }$am_cv_proto_iconv" >&6; }
59942
59943 cat >>confdefs.h <<_ACEOF
59944 #define ICONV_CONST $am_cv_proto_iconv_arg1
59945 _ACEOF
59946
59947 fi
59948
59949 ;;
59950 *-mingw32*)
59951
59952 # If we're not using GNU ld, then there's no point in even trying these
59953 # tests. Check for that first. We should have already tested for gld
59954 # by now (in libtool), but require it now just to be safe...
59955 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59956 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59957
59958
59959
59960 # The name set by libtool depends on the version of libtool. Shame on us
59961 # for depending on an impl detail, but c'est la vie. Older versions used
59962 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59963 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59964 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59965 # set (hence we're using an older libtool), then set it.
59966 if test x${with_gnu_ld+set} != xset; then
59967 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59968 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59969 with_gnu_ld=no
59970 else
59971 with_gnu_ld=$ac_cv_prog_gnu_ld
59972 fi
59973 fi
59974
59975 # Start by getting the version number. I think the libtool test already
59976 # does some of this, but throws away the result.
59977 glibcxx_ld_is_gold=no
59978 if test x"$with_gnu_ld" = x"yes"; then
59979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59980 $as_echo_n "checking for ld version... " >&6; }
59981
59982 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59983 glibcxx_ld_is_gold=yes
59984 fi
59985 ldver=`$LD --version 2>/dev/null |
59986 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'`
59987
59988 glibcxx_gnu_ld_version=`echo $ldver | \
59989 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59991 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59992 fi
59993
59994 # Set --gc-sections.
59995 glibcxx_have_gc_sections=no
59996 if test "$glibcxx_ld_is_gold" = "yes"; then
59997 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59998 glibcxx_have_gc_sections=yes
59999 fi
60000 else
60001 glibcxx_gcsections_min_ld=21602
60002 if test x"$with_gnu_ld" = x"yes" &&
60003 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60004 glibcxx_have_gc_sections=yes
60005 fi
60006 fi
60007 if test "$glibcxx_have_gc_sections" = "yes"; then
60008 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60009 # NB: This flag only works reliably after 2.16.1. Configure tests
60010 # for this are difficult, so hard wire a value that should work.
60011
60012 ac_test_CFLAGS="${CFLAGS+set}"
60013 ac_save_CFLAGS="$CFLAGS"
60014 CFLAGS='-Wl,--gc-sections'
60015
60016 # Check for -Wl,--gc-sections
60017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60018 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60019 if test x$gcc_no_link = xyes; then
60020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60021 fi
60022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60023 /* end confdefs.h. */
60024 int one(void) { return 1; }
60025 int two(void) { return 2; }
60026
60027 int
60028 main ()
60029 {
60030 two();
60031 ;
60032 return 0;
60033 }
60034 _ACEOF
60035 if ac_fn_c_try_link "$LINENO"; then :
60036 ac_gcsections=yes
60037 else
60038 ac_gcsections=no
60039 fi
60040 rm -f core conftest.err conftest.$ac_objext \
60041 conftest$ac_exeext conftest.$ac_ext
60042 if test "$ac_gcsections" = "yes"; then
60043 rm -f conftest.c
60044 touch conftest.c
60045 if $CC -c conftest.c; then
60046 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60047 grep "Warning: gc-sections option ignored" > /dev/null; then
60048 ac_gcsections=no
60049 fi
60050 fi
60051 rm -f conftest.c conftest.o conftest
60052 fi
60053 if test "$ac_gcsections" = "yes"; then
60054 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60055 fi
60056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60057 $as_echo "$ac_gcsections" >&6; }
60058
60059 if test "$ac_test_CFLAGS" = set; then
60060 CFLAGS="$ac_save_CFLAGS"
60061 else
60062 # this is the suspicious part
60063 CFLAGS=''
60064 fi
60065 fi
60066
60067 # Set -z,relro.
60068 # Note this is only for shared objects.
60069 ac_ld_relro=no
60070 if test x"$with_gnu_ld" = x"yes"; then
60071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60074 if test -n "$cxx_z_relo"; then
60075 OPT_LDFLAGS="-Wl,-z,relro"
60076 ac_ld_relro=yes
60077 fi
60078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60079 $as_echo "$ac_ld_relro" >&6; }
60080 fi
60081
60082 # Set linker optimization flags.
60083 if test x"$with_gnu_ld" = x"yes"; then
60084 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60085 fi
60086
60087
60088
60089
60090
60091 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60092 ac_save_CXXFLAGS="$CXXFLAGS"
60093 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60094
60095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60096 $as_echo_n "checking for sin in -lm... " >&6; }
60097 if test "${ac_cv_lib_m_sin+set}" = set; then :
60098 $as_echo_n "(cached) " >&6
60099 else
60100 ac_check_lib_save_LIBS=$LIBS
60101 LIBS="-lm $LIBS"
60102 if test x$gcc_no_link = xyes; then
60103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60104 fi
60105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60106 /* end confdefs.h. */
60107
60108 /* Override any GCC internal prototype to avoid an error.
60109 Use char because int might match the return type of a GCC
60110 builtin and then its argument prototype would still apply. */
60111 #ifdef __cplusplus
60112 extern "C"
60113 #endif
60114 char sin ();
60115 int
60116 main ()
60117 {
60118 return sin ();
60119 ;
60120 return 0;
60121 }
60122 _ACEOF
60123 if ac_fn_c_try_link "$LINENO"; then :
60124 ac_cv_lib_m_sin=yes
60125 else
60126 ac_cv_lib_m_sin=no
60127 fi
60128 rm -f core conftest.err conftest.$ac_objext \
60129 conftest$ac_exeext conftest.$ac_ext
60130 LIBS=$ac_check_lib_save_LIBS
60131 fi
60132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60133 $as_echo "$ac_cv_lib_m_sin" >&6; }
60134 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60135 libm="-lm"
60136 fi
60137
60138 ac_save_LIBS="$LIBS"
60139 LIBS="$LIBS $libm"
60140
60141
60142
60143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60144 $as_echo_n "checking for isinf declaration... " >&6; }
60145 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60146 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60147 $as_echo_n "(cached) " >&6
60148 else
60149
60150
60151 ac_ext=cpp
60152 ac_cpp='$CXXCPP $CPPFLAGS'
60153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60156
60157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60158 /* end confdefs.h. */
60159 #include <math.h>
60160 #ifdef HAVE_IEEEFP_H
60161 #include <ieeefp.h>
60162 #endif
60163
60164 int
60165 main ()
60166 {
60167 isinf(0);
60168 ;
60169 return 0;
60170 }
60171 _ACEOF
60172 if ac_fn_cxx_try_compile "$LINENO"; then :
60173 glibcxx_cv_func_isinf_use=yes
60174 else
60175 glibcxx_cv_func_isinf_use=no
60176 fi
60177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60178 ac_ext=c
60179 ac_cpp='$CPP $CPPFLAGS'
60180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60183
60184
60185 fi
60186
60187 fi
60188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60189 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60190
60191 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60192 for ac_func in isinf
60193 do :
60194 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60195 if test "x$ac_cv_func_isinf" = x""yes; then :
60196 cat >>confdefs.h <<_ACEOF
60197 #define HAVE_ISINF 1
60198 _ACEOF
60199
60200 fi
60201 done
60202
60203 else
60204
60205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60206 $as_echo_n "checking for _isinf declaration... " >&6; }
60207 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60208 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60209 $as_echo_n "(cached) " >&6
60210 else
60211
60212
60213 ac_ext=cpp
60214 ac_cpp='$CXXCPP $CPPFLAGS'
60215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60218
60219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60220 /* end confdefs.h. */
60221 #include <math.h>
60222 #ifdef HAVE_IEEEFP_H
60223 #include <ieeefp.h>
60224 #endif
60225
60226 int
60227 main ()
60228 {
60229 _isinf(0);
60230 ;
60231 return 0;
60232 }
60233 _ACEOF
60234 if ac_fn_cxx_try_compile "$LINENO"; then :
60235 glibcxx_cv_func__isinf_use=yes
60236 else
60237 glibcxx_cv_func__isinf_use=no
60238 fi
60239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60240 ac_ext=c
60241 ac_cpp='$CPP $CPPFLAGS'
60242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60245
60246
60247 fi
60248
60249 fi
60250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60251 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60252
60253 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60254 for ac_func in _isinf
60255 do :
60256 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60257 if test "x$ac_cv_func__isinf" = x""yes; then :
60258 cat >>confdefs.h <<_ACEOF
60259 #define HAVE__ISINF 1
60260 _ACEOF
60261
60262 fi
60263 done
60264
60265 fi
60266 fi
60267
60268
60269
60270
60271
60272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60273 $as_echo_n "checking for isnan declaration... " >&6; }
60274 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60275 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60276 $as_echo_n "(cached) " >&6
60277 else
60278
60279
60280 ac_ext=cpp
60281 ac_cpp='$CXXCPP $CPPFLAGS'
60282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60285
60286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60287 /* end confdefs.h. */
60288 #include <math.h>
60289 #ifdef HAVE_IEEEFP_H
60290 #include <ieeefp.h>
60291 #endif
60292
60293 int
60294 main ()
60295 {
60296 isnan(0);
60297 ;
60298 return 0;
60299 }
60300 _ACEOF
60301 if ac_fn_cxx_try_compile "$LINENO"; then :
60302 glibcxx_cv_func_isnan_use=yes
60303 else
60304 glibcxx_cv_func_isnan_use=no
60305 fi
60306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60307 ac_ext=c
60308 ac_cpp='$CPP $CPPFLAGS'
60309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60312
60313
60314 fi
60315
60316 fi
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60318 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60319
60320 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60321 for ac_func in isnan
60322 do :
60323 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60324 if test "x$ac_cv_func_isnan" = x""yes; then :
60325 cat >>confdefs.h <<_ACEOF
60326 #define HAVE_ISNAN 1
60327 _ACEOF
60328
60329 fi
60330 done
60331
60332 else
60333
60334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60335 $as_echo_n "checking for _isnan declaration... " >&6; }
60336 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60337 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60338 $as_echo_n "(cached) " >&6
60339 else
60340
60341
60342 ac_ext=cpp
60343 ac_cpp='$CXXCPP $CPPFLAGS'
60344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60347
60348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60349 /* end confdefs.h. */
60350 #include <math.h>
60351 #ifdef HAVE_IEEEFP_H
60352 #include <ieeefp.h>
60353 #endif
60354
60355 int
60356 main ()
60357 {
60358 _isnan(0);
60359 ;
60360 return 0;
60361 }
60362 _ACEOF
60363 if ac_fn_cxx_try_compile "$LINENO"; then :
60364 glibcxx_cv_func__isnan_use=yes
60365 else
60366 glibcxx_cv_func__isnan_use=no
60367 fi
60368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60369 ac_ext=c
60370 ac_cpp='$CPP $CPPFLAGS'
60371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60374
60375
60376 fi
60377
60378 fi
60379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60380 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60381
60382 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60383 for ac_func in _isnan
60384 do :
60385 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60386 if test "x$ac_cv_func__isnan" = x""yes; then :
60387 cat >>confdefs.h <<_ACEOF
60388 #define HAVE__ISNAN 1
60389 _ACEOF
60390
60391 fi
60392 done
60393
60394 fi
60395 fi
60396
60397
60398
60399
60400
60401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60402 $as_echo_n "checking for finite declaration... " >&6; }
60403 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60404 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60405 $as_echo_n "(cached) " >&6
60406 else
60407
60408
60409 ac_ext=cpp
60410 ac_cpp='$CXXCPP $CPPFLAGS'
60411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60414
60415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60416 /* end confdefs.h. */
60417 #include <math.h>
60418 #ifdef HAVE_IEEEFP_H
60419 #include <ieeefp.h>
60420 #endif
60421
60422 int
60423 main ()
60424 {
60425 finite(0);
60426 ;
60427 return 0;
60428 }
60429 _ACEOF
60430 if ac_fn_cxx_try_compile "$LINENO"; then :
60431 glibcxx_cv_func_finite_use=yes
60432 else
60433 glibcxx_cv_func_finite_use=no
60434 fi
60435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60436 ac_ext=c
60437 ac_cpp='$CPP $CPPFLAGS'
60438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60441
60442
60443 fi
60444
60445 fi
60446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60447 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60448
60449 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60450 for ac_func in finite
60451 do :
60452 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60453 if test "x$ac_cv_func_finite" = x""yes; then :
60454 cat >>confdefs.h <<_ACEOF
60455 #define HAVE_FINITE 1
60456 _ACEOF
60457
60458 fi
60459 done
60460
60461 else
60462
60463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60464 $as_echo_n "checking for _finite declaration... " >&6; }
60465 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60466 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60467 $as_echo_n "(cached) " >&6
60468 else
60469
60470
60471 ac_ext=cpp
60472 ac_cpp='$CXXCPP $CPPFLAGS'
60473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60476
60477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60478 /* end confdefs.h. */
60479 #include <math.h>
60480 #ifdef HAVE_IEEEFP_H
60481 #include <ieeefp.h>
60482 #endif
60483
60484 int
60485 main ()
60486 {
60487 _finite(0);
60488 ;
60489 return 0;
60490 }
60491 _ACEOF
60492 if ac_fn_cxx_try_compile "$LINENO"; then :
60493 glibcxx_cv_func__finite_use=yes
60494 else
60495 glibcxx_cv_func__finite_use=no
60496 fi
60497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60498 ac_ext=c
60499 ac_cpp='$CPP $CPPFLAGS'
60500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60503
60504
60505 fi
60506
60507 fi
60508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60509 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60510
60511 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60512 for ac_func in _finite
60513 do :
60514 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60515 if test "x$ac_cv_func__finite" = x""yes; then :
60516 cat >>confdefs.h <<_ACEOF
60517 #define HAVE__FINITE 1
60518 _ACEOF
60519
60520 fi
60521 done
60522
60523 fi
60524 fi
60525
60526
60527
60528
60529
60530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60531 $as_echo_n "checking for sincos declaration... " >&6; }
60532 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60533 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60534 $as_echo_n "(cached) " >&6
60535 else
60536
60537
60538 ac_ext=cpp
60539 ac_cpp='$CXXCPP $CPPFLAGS'
60540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60543
60544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60545 /* end confdefs.h. */
60546 #include <math.h>
60547 int
60548 main ()
60549 {
60550 sincos(0, 0, 0);
60551 ;
60552 return 0;
60553 }
60554 _ACEOF
60555 if ac_fn_cxx_try_compile "$LINENO"; then :
60556 glibcxx_cv_func_sincos_use=yes
60557 else
60558 glibcxx_cv_func_sincos_use=no
60559 fi
60560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60561 ac_ext=c
60562 ac_cpp='$CPP $CPPFLAGS'
60563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60566
60567
60568 fi
60569
60570 fi
60571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60572 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60573
60574 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60575 for ac_func in sincos
60576 do :
60577 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60578 if test "x$ac_cv_func_sincos" = x""yes; then :
60579 cat >>confdefs.h <<_ACEOF
60580 #define HAVE_SINCOS 1
60581 _ACEOF
60582
60583 fi
60584 done
60585
60586 else
60587
60588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60589 $as_echo_n "checking for _sincos declaration... " >&6; }
60590 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60591 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60592 $as_echo_n "(cached) " >&6
60593 else
60594
60595
60596 ac_ext=cpp
60597 ac_cpp='$CXXCPP $CPPFLAGS'
60598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60601
60602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60603 /* end confdefs.h. */
60604 #include <math.h>
60605 int
60606 main ()
60607 {
60608 _sincos(0, 0, 0);
60609 ;
60610 return 0;
60611 }
60612 _ACEOF
60613 if ac_fn_cxx_try_compile "$LINENO"; then :
60614 glibcxx_cv_func__sincos_use=yes
60615 else
60616 glibcxx_cv_func__sincos_use=no
60617 fi
60618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60619 ac_ext=c
60620 ac_cpp='$CPP $CPPFLAGS'
60621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60624
60625
60626 fi
60627
60628 fi
60629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60630 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60631
60632 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60633 for ac_func in _sincos
60634 do :
60635 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60636 if test "x$ac_cv_func__sincos" = x""yes; then :
60637 cat >>confdefs.h <<_ACEOF
60638 #define HAVE__SINCOS 1
60639 _ACEOF
60640
60641 fi
60642 done
60643
60644 fi
60645 fi
60646
60647
60648
60649
60650
60651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60652 $as_echo_n "checking for fpclass declaration... " >&6; }
60653 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60654 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60655 $as_echo_n "(cached) " >&6
60656 else
60657
60658
60659 ac_ext=cpp
60660 ac_cpp='$CXXCPP $CPPFLAGS'
60661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60664
60665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60666 /* end confdefs.h. */
60667 #include <math.h>
60668 #ifdef HAVE_IEEEFP_H
60669 #include <ieeefp.h>
60670 #endif
60671
60672 int
60673 main ()
60674 {
60675 fpclass(0);
60676 ;
60677 return 0;
60678 }
60679 _ACEOF
60680 if ac_fn_cxx_try_compile "$LINENO"; then :
60681 glibcxx_cv_func_fpclass_use=yes
60682 else
60683 glibcxx_cv_func_fpclass_use=no
60684 fi
60685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60686 ac_ext=c
60687 ac_cpp='$CPP $CPPFLAGS'
60688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60691
60692
60693 fi
60694
60695 fi
60696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60697 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60698
60699 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60700 for ac_func in fpclass
60701 do :
60702 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60703 if test "x$ac_cv_func_fpclass" = x""yes; then :
60704 cat >>confdefs.h <<_ACEOF
60705 #define HAVE_FPCLASS 1
60706 _ACEOF
60707
60708 fi
60709 done
60710
60711 else
60712
60713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60714 $as_echo_n "checking for _fpclass declaration... " >&6; }
60715 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60716 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60717 $as_echo_n "(cached) " >&6
60718 else
60719
60720
60721 ac_ext=cpp
60722 ac_cpp='$CXXCPP $CPPFLAGS'
60723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60726
60727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60728 /* end confdefs.h. */
60729 #include <math.h>
60730 #ifdef HAVE_IEEEFP_H
60731 #include <ieeefp.h>
60732 #endif
60733
60734 int
60735 main ()
60736 {
60737 _fpclass(0);
60738 ;
60739 return 0;
60740 }
60741 _ACEOF
60742 if ac_fn_cxx_try_compile "$LINENO"; then :
60743 glibcxx_cv_func__fpclass_use=yes
60744 else
60745 glibcxx_cv_func__fpclass_use=no
60746 fi
60747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60748 ac_ext=c
60749 ac_cpp='$CPP $CPPFLAGS'
60750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60753
60754
60755 fi
60756
60757 fi
60758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60759 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60760
60761 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60762 for ac_func in _fpclass
60763 do :
60764 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60765 if test "x$ac_cv_func__fpclass" = x""yes; then :
60766 cat >>confdefs.h <<_ACEOF
60767 #define HAVE__FPCLASS 1
60768 _ACEOF
60769
60770 fi
60771 done
60772
60773 fi
60774 fi
60775
60776
60777
60778
60779
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60781 $as_echo_n "checking for qfpclass declaration... " >&6; }
60782 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60783 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60784 $as_echo_n "(cached) " >&6
60785 else
60786
60787
60788 ac_ext=cpp
60789 ac_cpp='$CXXCPP $CPPFLAGS'
60790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60793
60794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60795 /* end confdefs.h. */
60796 #include <math.h>
60797 #ifdef HAVE_IEEEFP_H
60798 #include <ieeefp.h>
60799 #endif
60800
60801 int
60802 main ()
60803 {
60804 qfpclass(0);
60805 ;
60806 return 0;
60807 }
60808 _ACEOF
60809 if ac_fn_cxx_try_compile "$LINENO"; then :
60810 glibcxx_cv_func_qfpclass_use=yes
60811 else
60812 glibcxx_cv_func_qfpclass_use=no
60813 fi
60814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60815 ac_ext=c
60816 ac_cpp='$CPP $CPPFLAGS'
60817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60820
60821
60822 fi
60823
60824 fi
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60826 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60827
60828 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60829 for ac_func in qfpclass
60830 do :
60831 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60832 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60833 cat >>confdefs.h <<_ACEOF
60834 #define HAVE_QFPCLASS 1
60835 _ACEOF
60836
60837 fi
60838 done
60839
60840 else
60841
60842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60843 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60844 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60845 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60846 $as_echo_n "(cached) " >&6
60847 else
60848
60849
60850 ac_ext=cpp
60851 ac_cpp='$CXXCPP $CPPFLAGS'
60852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60855
60856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60857 /* end confdefs.h. */
60858 #include <math.h>
60859 #ifdef HAVE_IEEEFP_H
60860 #include <ieeefp.h>
60861 #endif
60862
60863 int
60864 main ()
60865 {
60866 _qfpclass(0);
60867 ;
60868 return 0;
60869 }
60870 _ACEOF
60871 if ac_fn_cxx_try_compile "$LINENO"; then :
60872 glibcxx_cv_func__qfpclass_use=yes
60873 else
60874 glibcxx_cv_func__qfpclass_use=no
60875 fi
60876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60877 ac_ext=c
60878 ac_cpp='$CPP $CPPFLAGS'
60879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60882
60883
60884 fi
60885
60886 fi
60887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60888 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60889
60890 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60891 for ac_func in _qfpclass
60892 do :
60893 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60894 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60895 cat >>confdefs.h <<_ACEOF
60896 #define HAVE__QFPCLASS 1
60897 _ACEOF
60898
60899 fi
60900 done
60901
60902 fi
60903 fi
60904
60905
60906
60907
60908
60909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60910 $as_echo_n "checking for hypot declaration... " >&6; }
60911 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60912 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60913 $as_echo_n "(cached) " >&6
60914 else
60915
60916
60917 ac_ext=cpp
60918 ac_cpp='$CXXCPP $CPPFLAGS'
60919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60922
60923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60924 /* end confdefs.h. */
60925 #include <math.h>
60926 int
60927 main ()
60928 {
60929 hypot(0, 0);
60930 ;
60931 return 0;
60932 }
60933 _ACEOF
60934 if ac_fn_cxx_try_compile "$LINENO"; then :
60935 glibcxx_cv_func_hypot_use=yes
60936 else
60937 glibcxx_cv_func_hypot_use=no
60938 fi
60939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60940 ac_ext=c
60941 ac_cpp='$CPP $CPPFLAGS'
60942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60945
60946
60947 fi
60948
60949 fi
60950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60951 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60952
60953 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60954 for ac_func in hypot
60955 do :
60956 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60957 if test "x$ac_cv_func_hypot" = x""yes; then :
60958 cat >>confdefs.h <<_ACEOF
60959 #define HAVE_HYPOT 1
60960 _ACEOF
60961
60962 fi
60963 done
60964
60965 else
60966
60967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60968 $as_echo_n "checking for _hypot declaration... " >&6; }
60969 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60970 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60971 $as_echo_n "(cached) " >&6
60972 else
60973
60974
60975 ac_ext=cpp
60976 ac_cpp='$CXXCPP $CPPFLAGS'
60977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60980
60981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60982 /* end confdefs.h. */
60983 #include <math.h>
60984 int
60985 main ()
60986 {
60987 _hypot(0, 0);
60988 ;
60989 return 0;
60990 }
60991 _ACEOF
60992 if ac_fn_cxx_try_compile "$LINENO"; then :
60993 glibcxx_cv_func__hypot_use=yes
60994 else
60995 glibcxx_cv_func__hypot_use=no
60996 fi
60997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60998 ac_ext=c
60999 ac_cpp='$CPP $CPPFLAGS'
61000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61003
61004
61005 fi
61006
61007 fi
61008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61009 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61010
61011 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61012 for ac_func in _hypot
61013 do :
61014 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61015 if test "x$ac_cv_func__hypot" = x""yes; then :
61016 cat >>confdefs.h <<_ACEOF
61017 #define HAVE__HYPOT 1
61018 _ACEOF
61019
61020 fi
61021 done
61022
61023 fi
61024 fi
61025
61026
61027
61028
61029
61030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61031 $as_echo_n "checking for float trig functions... " >&6; }
61032 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61033 $as_echo_n "(cached) " >&6
61034 else
61035
61036
61037 ac_ext=cpp
61038 ac_cpp='$CXXCPP $CPPFLAGS'
61039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61042
61043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61044 /* end confdefs.h. */
61045 #include <math.h>
61046 int
61047 main ()
61048 {
61049 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61050 ;
61051 return 0;
61052 }
61053 _ACEOF
61054 if ac_fn_cxx_try_compile "$LINENO"; then :
61055 glibcxx_cv_func_float_trig_use=yes
61056 else
61057 glibcxx_cv_func_float_trig_use=no
61058 fi
61059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61060 ac_ext=c
61061 ac_cpp='$CPP $CPPFLAGS'
61062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61065
61066 fi
61067
61068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61069 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61070 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61071 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61072 do :
61073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61075 eval as_val=\$$as_ac_var
61076 if test "x$as_val" = x""yes; then :
61077 cat >>confdefs.h <<_ACEOF
61078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61079 _ACEOF
61080
61081 fi
61082 done
61083
61084 else
61085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61086 $as_echo_n "checking for _float trig functions... " >&6; }
61087 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61088 $as_echo_n "(cached) " >&6
61089 else
61090
61091
61092 ac_ext=cpp
61093 ac_cpp='$CXXCPP $CPPFLAGS'
61094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61097
61098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61099 /* end confdefs.h. */
61100 #include <math.h>
61101 int
61102 main ()
61103 {
61104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61105 ;
61106 return 0;
61107 }
61108 _ACEOF
61109 if ac_fn_cxx_try_compile "$LINENO"; then :
61110 glibcxx_cv_func__float_trig_use=yes
61111 else
61112 glibcxx_cv_func__float_trig_use=no
61113 fi
61114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61115 ac_ext=c
61116 ac_cpp='$CPP $CPPFLAGS'
61117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61120
61121 fi
61122
61123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61125 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61126 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61127 do :
61128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61130 eval as_val=\$$as_ac_var
61131 if test "x$as_val" = x""yes; then :
61132 cat >>confdefs.h <<_ACEOF
61133 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 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 float round functions" >&5
61147 $as_echo_n "checking for float round functions... " >&6; }
61148 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61149 $as_echo_n "(cached) " >&6
61150 else
61151
61152
61153 ac_ext=cpp
61154 ac_cpp='$CXXCPP $CPPFLAGS'
61155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61158
61159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61160 /* end confdefs.h. */
61161 #include <math.h>
61162 int
61163 main ()
61164 {
61165 ceilf (0); floorf (0);
61166 ;
61167 return 0;
61168 }
61169 _ACEOF
61170 if ac_fn_cxx_try_compile "$LINENO"; then :
61171 glibcxx_cv_func_float_round_use=yes
61172 else
61173 glibcxx_cv_func_float_round_use=no
61174 fi
61175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61176 ac_ext=c
61177 ac_cpp='$CPP $CPPFLAGS'
61178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61181
61182 fi
61183
61184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61185 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61186 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61187 for ac_func in ceilf floorf
61188 do :
61189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61191 eval as_val=\$$as_ac_var
61192 if test "x$as_val" = x""yes; then :
61193 cat >>confdefs.h <<_ACEOF
61194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61195 _ACEOF
61196
61197 fi
61198 done
61199
61200 else
61201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61202 $as_echo_n "checking for _float round functions... " >&6; }
61203 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61204 $as_echo_n "(cached) " >&6
61205 else
61206
61207
61208 ac_ext=cpp
61209 ac_cpp='$CXXCPP $CPPFLAGS'
61210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61213
61214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61215 /* end confdefs.h. */
61216 #include <math.h>
61217 int
61218 main ()
61219 {
61220 _ceilf (0); _floorf (0);
61221 ;
61222 return 0;
61223 }
61224 _ACEOF
61225 if ac_fn_cxx_try_compile "$LINENO"; then :
61226 glibcxx_cv_func__float_round_use=yes
61227 else
61228 glibcxx_cv_func__float_round_use=no
61229 fi
61230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61231 ac_ext=c
61232 ac_cpp='$CPP $CPPFLAGS'
61233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61236
61237 fi
61238
61239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61240 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61241 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61242 for ac_func in _ceilf _floorf
61243 do :
61244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61246 eval as_val=\$$as_ac_var
61247 if test "x$as_val" = x""yes; then :
61248 cat >>confdefs.h <<_ACEOF
61249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61250 _ACEOF
61251
61252 fi
61253 done
61254
61255 fi
61256 fi
61257
61258
61259
61260
61261
61262
61263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61264 $as_echo_n "checking for expf declaration... " >&6; }
61265 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61266 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61267 $as_echo_n "(cached) " >&6
61268 else
61269
61270
61271 ac_ext=cpp
61272 ac_cpp='$CXXCPP $CPPFLAGS'
61273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61276
61277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61278 /* end confdefs.h. */
61279 #include <math.h>
61280 #ifdef HAVE_IEEEFP_H
61281 #include <ieeefp.h>
61282 #endif
61283
61284 int
61285 main ()
61286 {
61287 expf(0);
61288 ;
61289 return 0;
61290 }
61291 _ACEOF
61292 if ac_fn_cxx_try_compile "$LINENO"; then :
61293 glibcxx_cv_func_expf_use=yes
61294 else
61295 glibcxx_cv_func_expf_use=no
61296 fi
61297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61298 ac_ext=c
61299 ac_cpp='$CPP $CPPFLAGS'
61300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61303
61304
61305 fi
61306
61307 fi
61308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61309 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61310
61311 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61312 for ac_func in expf
61313 do :
61314 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61315 if test "x$ac_cv_func_expf" = x""yes; then :
61316 cat >>confdefs.h <<_ACEOF
61317 #define HAVE_EXPF 1
61318 _ACEOF
61319
61320 fi
61321 done
61322
61323 else
61324
61325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61326 $as_echo_n "checking for _expf declaration... " >&6; }
61327 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61328 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61329 $as_echo_n "(cached) " >&6
61330 else
61331
61332
61333 ac_ext=cpp
61334 ac_cpp='$CXXCPP $CPPFLAGS'
61335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61338
61339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61340 /* end confdefs.h. */
61341 #include <math.h>
61342 #ifdef HAVE_IEEEFP_H
61343 #include <ieeefp.h>
61344 #endif
61345
61346 int
61347 main ()
61348 {
61349 _expf(0);
61350 ;
61351 return 0;
61352 }
61353 _ACEOF
61354 if ac_fn_cxx_try_compile "$LINENO"; then :
61355 glibcxx_cv_func__expf_use=yes
61356 else
61357 glibcxx_cv_func__expf_use=no
61358 fi
61359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61360 ac_ext=c
61361 ac_cpp='$CPP $CPPFLAGS'
61362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61365
61366
61367 fi
61368
61369 fi
61370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61371 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61372
61373 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61374 for ac_func in _expf
61375 do :
61376 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61377 if test "x$ac_cv_func__expf" = x""yes; then :
61378 cat >>confdefs.h <<_ACEOF
61379 #define HAVE__EXPF 1
61380 _ACEOF
61381
61382 fi
61383 done
61384
61385 fi
61386 fi
61387
61388
61389
61390
61391
61392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61393 $as_echo_n "checking for isnanf declaration... " >&6; }
61394 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61395 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61396 $as_echo_n "(cached) " >&6
61397 else
61398
61399
61400 ac_ext=cpp
61401 ac_cpp='$CXXCPP $CPPFLAGS'
61402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61405
61406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61407 /* end confdefs.h. */
61408 #include <math.h>
61409 #ifdef HAVE_IEEEFP_H
61410 #include <ieeefp.h>
61411 #endif
61412
61413 int
61414 main ()
61415 {
61416 isnanf(0);
61417 ;
61418 return 0;
61419 }
61420 _ACEOF
61421 if ac_fn_cxx_try_compile "$LINENO"; then :
61422 glibcxx_cv_func_isnanf_use=yes
61423 else
61424 glibcxx_cv_func_isnanf_use=no
61425 fi
61426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61427 ac_ext=c
61428 ac_cpp='$CPP $CPPFLAGS'
61429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61432
61433
61434 fi
61435
61436 fi
61437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61438 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61439
61440 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61441 for ac_func in isnanf
61442 do :
61443 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61444 if test "x$ac_cv_func_isnanf" = x""yes; then :
61445 cat >>confdefs.h <<_ACEOF
61446 #define HAVE_ISNANF 1
61447 _ACEOF
61448
61449 fi
61450 done
61451
61452 else
61453
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61455 $as_echo_n "checking for _isnanf declaration... " >&6; }
61456 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61457 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61458 $as_echo_n "(cached) " >&6
61459 else
61460
61461
61462 ac_ext=cpp
61463 ac_cpp='$CXXCPP $CPPFLAGS'
61464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61467
61468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61469 /* end confdefs.h. */
61470 #include <math.h>
61471 #ifdef HAVE_IEEEFP_H
61472 #include <ieeefp.h>
61473 #endif
61474
61475 int
61476 main ()
61477 {
61478 _isnanf(0);
61479 ;
61480 return 0;
61481 }
61482 _ACEOF
61483 if ac_fn_cxx_try_compile "$LINENO"; then :
61484 glibcxx_cv_func__isnanf_use=yes
61485 else
61486 glibcxx_cv_func__isnanf_use=no
61487 fi
61488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61489 ac_ext=c
61490 ac_cpp='$CPP $CPPFLAGS'
61491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61494
61495
61496 fi
61497
61498 fi
61499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61500 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61501
61502 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61503 for ac_func in _isnanf
61504 do :
61505 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61506 if test "x$ac_cv_func__isnanf" = x""yes; then :
61507 cat >>confdefs.h <<_ACEOF
61508 #define HAVE__ISNANF 1
61509 _ACEOF
61510
61511 fi
61512 done
61513
61514 fi
61515 fi
61516
61517
61518
61519
61520
61521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61522 $as_echo_n "checking for isinff declaration... " >&6; }
61523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61525 $as_echo_n "(cached) " >&6
61526 else
61527
61528
61529 ac_ext=cpp
61530 ac_cpp='$CXXCPP $CPPFLAGS'
61531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61534
61535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61536 /* end confdefs.h. */
61537 #include <math.h>
61538 #ifdef HAVE_IEEEFP_H
61539 #include <ieeefp.h>
61540 #endif
61541
61542 int
61543 main ()
61544 {
61545 isinff(0);
61546 ;
61547 return 0;
61548 }
61549 _ACEOF
61550 if ac_fn_cxx_try_compile "$LINENO"; then :
61551 glibcxx_cv_func_isinff_use=yes
61552 else
61553 glibcxx_cv_func_isinff_use=no
61554 fi
61555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61556 ac_ext=c
61557 ac_cpp='$CPP $CPPFLAGS'
61558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61561
61562
61563 fi
61564
61565 fi
61566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61567 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61568
61569 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61570 for ac_func in isinff
61571 do :
61572 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61573 if test "x$ac_cv_func_isinff" = x""yes; then :
61574 cat >>confdefs.h <<_ACEOF
61575 #define HAVE_ISINFF 1
61576 _ACEOF
61577
61578 fi
61579 done
61580
61581 else
61582
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61584 $as_echo_n "checking for _isinff declaration... " >&6; }
61585 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61586 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61587 $as_echo_n "(cached) " >&6
61588 else
61589
61590
61591 ac_ext=cpp
61592 ac_cpp='$CXXCPP $CPPFLAGS'
61593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61596
61597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61598 /* end confdefs.h. */
61599 #include <math.h>
61600 #ifdef HAVE_IEEEFP_H
61601 #include <ieeefp.h>
61602 #endif
61603
61604 int
61605 main ()
61606 {
61607 _isinff(0);
61608 ;
61609 return 0;
61610 }
61611 _ACEOF
61612 if ac_fn_cxx_try_compile "$LINENO"; then :
61613 glibcxx_cv_func__isinff_use=yes
61614 else
61615 glibcxx_cv_func__isinff_use=no
61616 fi
61617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61618 ac_ext=c
61619 ac_cpp='$CPP $CPPFLAGS'
61620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61623
61624
61625 fi
61626
61627 fi
61628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61629 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61630
61631 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61632 for ac_func in _isinff
61633 do :
61634 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61635 if test "x$ac_cv_func__isinff" = x""yes; then :
61636 cat >>confdefs.h <<_ACEOF
61637 #define HAVE__ISINFF 1
61638 _ACEOF
61639
61640 fi
61641 done
61642
61643 fi
61644 fi
61645
61646
61647
61648
61649
61650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61651 $as_echo_n "checking for atan2f declaration... " >&6; }
61652 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61653 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61654 $as_echo_n "(cached) " >&6
61655 else
61656
61657
61658 ac_ext=cpp
61659 ac_cpp='$CXXCPP $CPPFLAGS'
61660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61663
61664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61665 /* end confdefs.h. */
61666 #include <math.h>
61667 int
61668 main ()
61669 {
61670 atan2f(0, 0);
61671 ;
61672 return 0;
61673 }
61674 _ACEOF
61675 if ac_fn_cxx_try_compile "$LINENO"; then :
61676 glibcxx_cv_func_atan2f_use=yes
61677 else
61678 glibcxx_cv_func_atan2f_use=no
61679 fi
61680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61681 ac_ext=c
61682 ac_cpp='$CPP $CPPFLAGS'
61683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61686
61687
61688 fi
61689
61690 fi
61691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61692 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61693
61694 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61695 for ac_func in atan2f
61696 do :
61697 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61698 if test "x$ac_cv_func_atan2f" = x""yes; then :
61699 cat >>confdefs.h <<_ACEOF
61700 #define HAVE_ATAN2F 1
61701 _ACEOF
61702
61703 fi
61704 done
61705
61706 else
61707
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61709 $as_echo_n "checking for _atan2f declaration... " >&6; }
61710 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61711 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61712 $as_echo_n "(cached) " >&6
61713 else
61714
61715
61716 ac_ext=cpp
61717 ac_cpp='$CXXCPP $CPPFLAGS'
61718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61721
61722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61723 /* end confdefs.h. */
61724 #include <math.h>
61725 int
61726 main ()
61727 {
61728 _atan2f(0, 0);
61729 ;
61730 return 0;
61731 }
61732 _ACEOF
61733 if ac_fn_cxx_try_compile "$LINENO"; then :
61734 glibcxx_cv_func__atan2f_use=yes
61735 else
61736 glibcxx_cv_func__atan2f_use=no
61737 fi
61738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61739 ac_ext=c
61740 ac_cpp='$CPP $CPPFLAGS'
61741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61744
61745
61746 fi
61747
61748 fi
61749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61750 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61751
61752 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61753 for ac_func in _atan2f
61754 do :
61755 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61756 if test "x$ac_cv_func__atan2f" = x""yes; then :
61757 cat >>confdefs.h <<_ACEOF
61758 #define HAVE__ATAN2F 1
61759 _ACEOF
61760
61761 fi
61762 done
61763
61764 fi
61765 fi
61766
61767
61768
61769
61770
61771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61772 $as_echo_n "checking for fabsf declaration... " >&6; }
61773 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61774 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61775 $as_echo_n "(cached) " >&6
61776 else
61777
61778
61779 ac_ext=cpp
61780 ac_cpp='$CXXCPP $CPPFLAGS'
61781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61784
61785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61786 /* end confdefs.h. */
61787 #include <math.h>
61788 #ifdef HAVE_IEEEFP_H
61789 #include <ieeefp.h>
61790 #endif
61791
61792 int
61793 main ()
61794 {
61795 fabsf(0);
61796 ;
61797 return 0;
61798 }
61799 _ACEOF
61800 if ac_fn_cxx_try_compile "$LINENO"; then :
61801 glibcxx_cv_func_fabsf_use=yes
61802 else
61803 glibcxx_cv_func_fabsf_use=no
61804 fi
61805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61806 ac_ext=c
61807 ac_cpp='$CPP $CPPFLAGS'
61808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61811
61812
61813 fi
61814
61815 fi
61816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61817 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61818
61819 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61820 for ac_func in fabsf
61821 do :
61822 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61823 if test "x$ac_cv_func_fabsf" = x""yes; then :
61824 cat >>confdefs.h <<_ACEOF
61825 #define HAVE_FABSF 1
61826 _ACEOF
61827
61828 fi
61829 done
61830
61831 else
61832
61833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61834 $as_echo_n "checking for _fabsf declaration... " >&6; }
61835 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61836 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61837 $as_echo_n "(cached) " >&6
61838 else
61839
61840
61841 ac_ext=cpp
61842 ac_cpp='$CXXCPP $CPPFLAGS'
61843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61846
61847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61848 /* end confdefs.h. */
61849 #include <math.h>
61850 #ifdef HAVE_IEEEFP_H
61851 #include <ieeefp.h>
61852 #endif
61853
61854 int
61855 main ()
61856 {
61857 _fabsf(0);
61858 ;
61859 return 0;
61860 }
61861 _ACEOF
61862 if ac_fn_cxx_try_compile "$LINENO"; then :
61863 glibcxx_cv_func__fabsf_use=yes
61864 else
61865 glibcxx_cv_func__fabsf_use=no
61866 fi
61867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61868 ac_ext=c
61869 ac_cpp='$CPP $CPPFLAGS'
61870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61873
61874
61875 fi
61876
61877 fi
61878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61879 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61880
61881 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61882 for ac_func in _fabsf
61883 do :
61884 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61885 if test "x$ac_cv_func__fabsf" = x""yes; then :
61886 cat >>confdefs.h <<_ACEOF
61887 #define HAVE__FABSF 1
61888 _ACEOF
61889
61890 fi
61891 done
61892
61893 fi
61894 fi
61895
61896
61897
61898
61899
61900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61901 $as_echo_n "checking for fmodf declaration... " >&6; }
61902 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61903 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61904 $as_echo_n "(cached) " >&6
61905 else
61906
61907
61908 ac_ext=cpp
61909 ac_cpp='$CXXCPP $CPPFLAGS'
61910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61913
61914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61915 /* end confdefs.h. */
61916 #include <math.h>
61917 int
61918 main ()
61919 {
61920 fmodf(0, 0);
61921 ;
61922 return 0;
61923 }
61924 _ACEOF
61925 if ac_fn_cxx_try_compile "$LINENO"; then :
61926 glibcxx_cv_func_fmodf_use=yes
61927 else
61928 glibcxx_cv_func_fmodf_use=no
61929 fi
61930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61931 ac_ext=c
61932 ac_cpp='$CPP $CPPFLAGS'
61933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61936
61937
61938 fi
61939
61940 fi
61941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61942 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61943
61944 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61945 for ac_func in fmodf
61946 do :
61947 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61948 if test "x$ac_cv_func_fmodf" = x""yes; then :
61949 cat >>confdefs.h <<_ACEOF
61950 #define HAVE_FMODF 1
61951 _ACEOF
61952
61953 fi
61954 done
61955
61956 else
61957
61958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61959 $as_echo_n "checking for _fmodf declaration... " >&6; }
61960 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61961 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61962 $as_echo_n "(cached) " >&6
61963 else
61964
61965
61966 ac_ext=cpp
61967 ac_cpp='$CXXCPP $CPPFLAGS'
61968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61971
61972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61973 /* end confdefs.h. */
61974 #include <math.h>
61975 int
61976 main ()
61977 {
61978 _fmodf(0, 0);
61979 ;
61980 return 0;
61981 }
61982 _ACEOF
61983 if ac_fn_cxx_try_compile "$LINENO"; then :
61984 glibcxx_cv_func__fmodf_use=yes
61985 else
61986 glibcxx_cv_func__fmodf_use=no
61987 fi
61988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61989 ac_ext=c
61990 ac_cpp='$CPP $CPPFLAGS'
61991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61994
61995
61996 fi
61997
61998 fi
61999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62000 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62001
62002 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62003 for ac_func in _fmodf
62004 do :
62005 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62006 if test "x$ac_cv_func__fmodf" = x""yes; then :
62007 cat >>confdefs.h <<_ACEOF
62008 #define HAVE__FMODF 1
62009 _ACEOF
62010
62011 fi
62012 done
62013
62014 fi
62015 fi
62016
62017
62018
62019
62020
62021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62022 $as_echo_n "checking for frexpf declaration... " >&6; }
62023 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62024 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62025 $as_echo_n "(cached) " >&6
62026 else
62027
62028
62029 ac_ext=cpp
62030 ac_cpp='$CXXCPP $CPPFLAGS'
62031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62034
62035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62036 /* end confdefs.h. */
62037 #include <math.h>
62038 int
62039 main ()
62040 {
62041 frexpf(0, 0);
62042 ;
62043 return 0;
62044 }
62045 _ACEOF
62046 if ac_fn_cxx_try_compile "$LINENO"; then :
62047 glibcxx_cv_func_frexpf_use=yes
62048 else
62049 glibcxx_cv_func_frexpf_use=no
62050 fi
62051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62052 ac_ext=c
62053 ac_cpp='$CPP $CPPFLAGS'
62054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62057
62058
62059 fi
62060
62061 fi
62062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62063 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62064
62065 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62066 for ac_func in frexpf
62067 do :
62068 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62069 if test "x$ac_cv_func_frexpf" = x""yes; then :
62070 cat >>confdefs.h <<_ACEOF
62071 #define HAVE_FREXPF 1
62072 _ACEOF
62073
62074 fi
62075 done
62076
62077 else
62078
62079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62080 $as_echo_n "checking for _frexpf declaration... " >&6; }
62081 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62082 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62083 $as_echo_n "(cached) " >&6
62084 else
62085
62086
62087 ac_ext=cpp
62088 ac_cpp='$CXXCPP $CPPFLAGS'
62089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62092
62093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62094 /* end confdefs.h. */
62095 #include <math.h>
62096 int
62097 main ()
62098 {
62099 _frexpf(0, 0);
62100 ;
62101 return 0;
62102 }
62103 _ACEOF
62104 if ac_fn_cxx_try_compile "$LINENO"; then :
62105 glibcxx_cv_func__frexpf_use=yes
62106 else
62107 glibcxx_cv_func__frexpf_use=no
62108 fi
62109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62110 ac_ext=c
62111 ac_cpp='$CPP $CPPFLAGS'
62112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62115
62116
62117 fi
62118
62119 fi
62120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62121 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62122
62123 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62124 for ac_func in _frexpf
62125 do :
62126 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62127 if test "x$ac_cv_func__frexpf" = x""yes; then :
62128 cat >>confdefs.h <<_ACEOF
62129 #define HAVE__FREXPF 1
62130 _ACEOF
62131
62132 fi
62133 done
62134
62135 fi
62136 fi
62137
62138
62139
62140
62141
62142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62143 $as_echo_n "checking for hypotf declaration... " >&6; }
62144 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62145 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62146 $as_echo_n "(cached) " >&6
62147 else
62148
62149
62150 ac_ext=cpp
62151 ac_cpp='$CXXCPP $CPPFLAGS'
62152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62155
62156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62157 /* end confdefs.h. */
62158 #include <math.h>
62159 int
62160 main ()
62161 {
62162 hypotf(0, 0);
62163 ;
62164 return 0;
62165 }
62166 _ACEOF
62167 if ac_fn_cxx_try_compile "$LINENO"; then :
62168 glibcxx_cv_func_hypotf_use=yes
62169 else
62170 glibcxx_cv_func_hypotf_use=no
62171 fi
62172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62173 ac_ext=c
62174 ac_cpp='$CPP $CPPFLAGS'
62175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62178
62179
62180 fi
62181
62182 fi
62183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62184 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62185
62186 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62187 for ac_func in hypotf
62188 do :
62189 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62190 if test "x$ac_cv_func_hypotf" = x""yes; then :
62191 cat >>confdefs.h <<_ACEOF
62192 #define HAVE_HYPOTF 1
62193 _ACEOF
62194
62195 fi
62196 done
62197
62198 else
62199
62200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62201 $as_echo_n "checking for _hypotf declaration... " >&6; }
62202 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62203 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62204 $as_echo_n "(cached) " >&6
62205 else
62206
62207
62208 ac_ext=cpp
62209 ac_cpp='$CXXCPP $CPPFLAGS'
62210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62213
62214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62215 /* end confdefs.h. */
62216 #include <math.h>
62217 int
62218 main ()
62219 {
62220 _hypotf(0, 0);
62221 ;
62222 return 0;
62223 }
62224 _ACEOF
62225 if ac_fn_cxx_try_compile "$LINENO"; then :
62226 glibcxx_cv_func__hypotf_use=yes
62227 else
62228 glibcxx_cv_func__hypotf_use=no
62229 fi
62230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62231 ac_ext=c
62232 ac_cpp='$CPP $CPPFLAGS'
62233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62236
62237
62238 fi
62239
62240 fi
62241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62242 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62243
62244 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62245 for ac_func in _hypotf
62246 do :
62247 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62248 if test "x$ac_cv_func__hypotf" = x""yes; then :
62249 cat >>confdefs.h <<_ACEOF
62250 #define HAVE__HYPOTF 1
62251 _ACEOF
62252
62253 fi
62254 done
62255
62256 fi
62257 fi
62258
62259
62260
62261
62262
62263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62264 $as_echo_n "checking for ldexpf declaration... " >&6; }
62265 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62266 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62267 $as_echo_n "(cached) " >&6
62268 else
62269
62270
62271 ac_ext=cpp
62272 ac_cpp='$CXXCPP $CPPFLAGS'
62273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62276
62277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62278 /* end confdefs.h. */
62279 #include <math.h>
62280 int
62281 main ()
62282 {
62283 ldexpf(0, 0);
62284 ;
62285 return 0;
62286 }
62287 _ACEOF
62288 if ac_fn_cxx_try_compile "$LINENO"; then :
62289 glibcxx_cv_func_ldexpf_use=yes
62290 else
62291 glibcxx_cv_func_ldexpf_use=no
62292 fi
62293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62294 ac_ext=c
62295 ac_cpp='$CPP $CPPFLAGS'
62296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62299
62300
62301 fi
62302
62303 fi
62304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62305 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62306
62307 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62308 for ac_func in ldexpf
62309 do :
62310 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62311 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62312 cat >>confdefs.h <<_ACEOF
62313 #define HAVE_LDEXPF 1
62314 _ACEOF
62315
62316 fi
62317 done
62318
62319 else
62320
62321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62322 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62323 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62324 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62325 $as_echo_n "(cached) " >&6
62326 else
62327
62328
62329 ac_ext=cpp
62330 ac_cpp='$CXXCPP $CPPFLAGS'
62331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62334
62335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62336 /* end confdefs.h. */
62337 #include <math.h>
62338 int
62339 main ()
62340 {
62341 _ldexpf(0, 0);
62342 ;
62343 return 0;
62344 }
62345 _ACEOF
62346 if ac_fn_cxx_try_compile "$LINENO"; then :
62347 glibcxx_cv_func__ldexpf_use=yes
62348 else
62349 glibcxx_cv_func__ldexpf_use=no
62350 fi
62351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62352 ac_ext=c
62353 ac_cpp='$CPP $CPPFLAGS'
62354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62357
62358
62359 fi
62360
62361 fi
62362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62363 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62364
62365 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62366 for ac_func in _ldexpf
62367 do :
62368 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62369 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62370 cat >>confdefs.h <<_ACEOF
62371 #define HAVE__LDEXPF 1
62372 _ACEOF
62373
62374 fi
62375 done
62376
62377 fi
62378 fi
62379
62380
62381
62382
62383
62384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62385 $as_echo_n "checking for logf declaration... " >&6; }
62386 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62387 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62388 $as_echo_n "(cached) " >&6
62389 else
62390
62391
62392 ac_ext=cpp
62393 ac_cpp='$CXXCPP $CPPFLAGS'
62394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62397
62398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62399 /* end confdefs.h. */
62400 #include <math.h>
62401 #ifdef HAVE_IEEEFP_H
62402 #include <ieeefp.h>
62403 #endif
62404
62405 int
62406 main ()
62407 {
62408 logf(0);
62409 ;
62410 return 0;
62411 }
62412 _ACEOF
62413 if ac_fn_cxx_try_compile "$LINENO"; then :
62414 glibcxx_cv_func_logf_use=yes
62415 else
62416 glibcxx_cv_func_logf_use=no
62417 fi
62418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62419 ac_ext=c
62420 ac_cpp='$CPP $CPPFLAGS'
62421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62424
62425
62426 fi
62427
62428 fi
62429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62430 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62431
62432 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62433 for ac_func in logf
62434 do :
62435 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62436 if test "x$ac_cv_func_logf" = x""yes; then :
62437 cat >>confdefs.h <<_ACEOF
62438 #define HAVE_LOGF 1
62439 _ACEOF
62440
62441 fi
62442 done
62443
62444 else
62445
62446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62447 $as_echo_n "checking for _logf declaration... " >&6; }
62448 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62449 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62450 $as_echo_n "(cached) " >&6
62451 else
62452
62453
62454 ac_ext=cpp
62455 ac_cpp='$CXXCPP $CPPFLAGS'
62456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62459
62460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62461 /* end confdefs.h. */
62462 #include <math.h>
62463 #ifdef HAVE_IEEEFP_H
62464 #include <ieeefp.h>
62465 #endif
62466
62467 int
62468 main ()
62469 {
62470 _logf(0);
62471 ;
62472 return 0;
62473 }
62474 _ACEOF
62475 if ac_fn_cxx_try_compile "$LINENO"; then :
62476 glibcxx_cv_func__logf_use=yes
62477 else
62478 glibcxx_cv_func__logf_use=no
62479 fi
62480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62481 ac_ext=c
62482 ac_cpp='$CPP $CPPFLAGS'
62483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62486
62487
62488 fi
62489
62490 fi
62491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62492 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62493
62494 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62495 for ac_func in _logf
62496 do :
62497 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62498 if test "x$ac_cv_func__logf" = x""yes; then :
62499 cat >>confdefs.h <<_ACEOF
62500 #define HAVE__LOGF 1
62501 _ACEOF
62502
62503 fi
62504 done
62505
62506 fi
62507 fi
62508
62509
62510
62511
62512
62513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62514 $as_echo_n "checking for log10f declaration... " >&6; }
62515 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62516 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62517 $as_echo_n "(cached) " >&6
62518 else
62519
62520
62521 ac_ext=cpp
62522 ac_cpp='$CXXCPP $CPPFLAGS'
62523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62526
62527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62528 /* end confdefs.h. */
62529 #include <math.h>
62530 #ifdef HAVE_IEEEFP_H
62531 #include <ieeefp.h>
62532 #endif
62533
62534 int
62535 main ()
62536 {
62537 log10f(0);
62538 ;
62539 return 0;
62540 }
62541 _ACEOF
62542 if ac_fn_cxx_try_compile "$LINENO"; then :
62543 glibcxx_cv_func_log10f_use=yes
62544 else
62545 glibcxx_cv_func_log10f_use=no
62546 fi
62547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62548 ac_ext=c
62549 ac_cpp='$CPP $CPPFLAGS'
62550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62553
62554
62555 fi
62556
62557 fi
62558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62559 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62560
62561 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62562 for ac_func in log10f
62563 do :
62564 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62565 if test "x$ac_cv_func_log10f" = x""yes; then :
62566 cat >>confdefs.h <<_ACEOF
62567 #define HAVE_LOG10F 1
62568 _ACEOF
62569
62570 fi
62571 done
62572
62573 else
62574
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62576 $as_echo_n "checking for _log10f declaration... " >&6; }
62577 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62578 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62579 $as_echo_n "(cached) " >&6
62580 else
62581
62582
62583 ac_ext=cpp
62584 ac_cpp='$CXXCPP $CPPFLAGS'
62585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62588
62589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62590 /* end confdefs.h. */
62591 #include <math.h>
62592 #ifdef HAVE_IEEEFP_H
62593 #include <ieeefp.h>
62594 #endif
62595
62596 int
62597 main ()
62598 {
62599 _log10f(0);
62600 ;
62601 return 0;
62602 }
62603 _ACEOF
62604 if ac_fn_cxx_try_compile "$LINENO"; then :
62605 glibcxx_cv_func__log10f_use=yes
62606 else
62607 glibcxx_cv_func__log10f_use=no
62608 fi
62609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62610 ac_ext=c
62611 ac_cpp='$CPP $CPPFLAGS'
62612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62615
62616
62617 fi
62618
62619 fi
62620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62621 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62622
62623 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62624 for ac_func in _log10f
62625 do :
62626 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62627 if test "x$ac_cv_func__log10f" = x""yes; then :
62628 cat >>confdefs.h <<_ACEOF
62629 #define HAVE__LOG10F 1
62630 _ACEOF
62631
62632 fi
62633 done
62634
62635 fi
62636 fi
62637
62638
62639
62640
62641
62642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62643 $as_echo_n "checking for modff declaration... " >&6; }
62644 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62645 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62646 $as_echo_n "(cached) " >&6
62647 else
62648
62649
62650 ac_ext=cpp
62651 ac_cpp='$CXXCPP $CPPFLAGS'
62652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62655
62656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62657 /* end confdefs.h. */
62658 #include <math.h>
62659 int
62660 main ()
62661 {
62662 modff(0, 0);
62663 ;
62664 return 0;
62665 }
62666 _ACEOF
62667 if ac_fn_cxx_try_compile "$LINENO"; then :
62668 glibcxx_cv_func_modff_use=yes
62669 else
62670 glibcxx_cv_func_modff_use=no
62671 fi
62672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62673 ac_ext=c
62674 ac_cpp='$CPP $CPPFLAGS'
62675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62678
62679
62680 fi
62681
62682 fi
62683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62684 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62685
62686 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62687 for ac_func in modff
62688 do :
62689 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62690 if test "x$ac_cv_func_modff" = x""yes; then :
62691 cat >>confdefs.h <<_ACEOF
62692 #define HAVE_MODFF 1
62693 _ACEOF
62694
62695 fi
62696 done
62697
62698 else
62699
62700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62701 $as_echo_n "checking for _modff declaration... " >&6; }
62702 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62703 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62704 $as_echo_n "(cached) " >&6
62705 else
62706
62707
62708 ac_ext=cpp
62709 ac_cpp='$CXXCPP $CPPFLAGS'
62710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62713
62714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62715 /* end confdefs.h. */
62716 #include <math.h>
62717 int
62718 main ()
62719 {
62720 _modff(0, 0);
62721 ;
62722 return 0;
62723 }
62724 _ACEOF
62725 if ac_fn_cxx_try_compile "$LINENO"; then :
62726 glibcxx_cv_func__modff_use=yes
62727 else
62728 glibcxx_cv_func__modff_use=no
62729 fi
62730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62731 ac_ext=c
62732 ac_cpp='$CPP $CPPFLAGS'
62733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62736
62737
62738 fi
62739
62740 fi
62741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62742 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62743
62744 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62745 for ac_func in _modff
62746 do :
62747 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62748 if test "x$ac_cv_func__modff" = x""yes; then :
62749 cat >>confdefs.h <<_ACEOF
62750 #define HAVE__MODFF 1
62751 _ACEOF
62752
62753 fi
62754 done
62755
62756 fi
62757 fi
62758
62759
62760
62761
62762
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62764 $as_echo_n "checking for modf declaration... " >&6; }
62765 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62766 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62767 $as_echo_n "(cached) " >&6
62768 else
62769
62770
62771 ac_ext=cpp
62772 ac_cpp='$CXXCPP $CPPFLAGS'
62773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62776
62777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62778 /* end confdefs.h. */
62779 #include <math.h>
62780 int
62781 main ()
62782 {
62783 modf(0, 0);
62784 ;
62785 return 0;
62786 }
62787 _ACEOF
62788 if ac_fn_cxx_try_compile "$LINENO"; then :
62789 glibcxx_cv_func_modf_use=yes
62790 else
62791 glibcxx_cv_func_modf_use=no
62792 fi
62793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62794 ac_ext=c
62795 ac_cpp='$CPP $CPPFLAGS'
62796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62799
62800
62801 fi
62802
62803 fi
62804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62805 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62806
62807 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62808 for ac_func in modf
62809 do :
62810 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62811 if test "x$ac_cv_func_modf" = x""yes; then :
62812 cat >>confdefs.h <<_ACEOF
62813 #define HAVE_MODF 1
62814 _ACEOF
62815
62816 fi
62817 done
62818
62819 else
62820
62821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62822 $as_echo_n "checking for _modf declaration... " >&6; }
62823 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62824 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62825 $as_echo_n "(cached) " >&6
62826 else
62827
62828
62829 ac_ext=cpp
62830 ac_cpp='$CXXCPP $CPPFLAGS'
62831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62834
62835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62836 /* end confdefs.h. */
62837 #include <math.h>
62838 int
62839 main ()
62840 {
62841 _modf(0, 0);
62842 ;
62843 return 0;
62844 }
62845 _ACEOF
62846 if ac_fn_cxx_try_compile "$LINENO"; then :
62847 glibcxx_cv_func__modf_use=yes
62848 else
62849 glibcxx_cv_func__modf_use=no
62850 fi
62851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62852 ac_ext=c
62853 ac_cpp='$CPP $CPPFLAGS'
62854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62857
62858
62859 fi
62860
62861 fi
62862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62863 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62864
62865 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62866 for ac_func in _modf
62867 do :
62868 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62869 if test "x$ac_cv_func__modf" = x""yes; then :
62870 cat >>confdefs.h <<_ACEOF
62871 #define HAVE__MODF 1
62872 _ACEOF
62873
62874 fi
62875 done
62876
62877 fi
62878 fi
62879
62880
62881
62882
62883
62884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62885 $as_echo_n "checking for powf declaration... " >&6; }
62886 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62887 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62888 $as_echo_n "(cached) " >&6
62889 else
62890
62891
62892 ac_ext=cpp
62893 ac_cpp='$CXXCPP $CPPFLAGS'
62894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62897
62898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62899 /* end confdefs.h. */
62900 #include <math.h>
62901 int
62902 main ()
62903 {
62904 powf(0, 0);
62905 ;
62906 return 0;
62907 }
62908 _ACEOF
62909 if ac_fn_cxx_try_compile "$LINENO"; then :
62910 glibcxx_cv_func_powf_use=yes
62911 else
62912 glibcxx_cv_func_powf_use=no
62913 fi
62914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62915 ac_ext=c
62916 ac_cpp='$CPP $CPPFLAGS'
62917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62920
62921
62922 fi
62923
62924 fi
62925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62926 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62927
62928 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62929 for ac_func in powf
62930 do :
62931 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62932 if test "x$ac_cv_func_powf" = x""yes; then :
62933 cat >>confdefs.h <<_ACEOF
62934 #define HAVE_POWF 1
62935 _ACEOF
62936
62937 fi
62938 done
62939
62940 else
62941
62942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62943 $as_echo_n "checking for _powf declaration... " >&6; }
62944 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62945 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62946 $as_echo_n "(cached) " >&6
62947 else
62948
62949
62950 ac_ext=cpp
62951 ac_cpp='$CXXCPP $CPPFLAGS'
62952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62955
62956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62957 /* end confdefs.h. */
62958 #include <math.h>
62959 int
62960 main ()
62961 {
62962 _powf(0, 0);
62963 ;
62964 return 0;
62965 }
62966 _ACEOF
62967 if ac_fn_cxx_try_compile "$LINENO"; then :
62968 glibcxx_cv_func__powf_use=yes
62969 else
62970 glibcxx_cv_func__powf_use=no
62971 fi
62972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62973 ac_ext=c
62974 ac_cpp='$CPP $CPPFLAGS'
62975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62978
62979
62980 fi
62981
62982 fi
62983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62984 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62985
62986 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62987 for ac_func in _powf
62988 do :
62989 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62990 if test "x$ac_cv_func__powf" = x""yes; then :
62991 cat >>confdefs.h <<_ACEOF
62992 #define HAVE__POWF 1
62993 _ACEOF
62994
62995 fi
62996 done
62997
62998 fi
62999 fi
63000
63001
63002
63003
63004
63005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63006 $as_echo_n "checking for sqrtf declaration... " >&6; }
63007 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63008 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63009 $as_echo_n "(cached) " >&6
63010 else
63011
63012
63013 ac_ext=cpp
63014 ac_cpp='$CXXCPP $CPPFLAGS'
63015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63018
63019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63020 /* end confdefs.h. */
63021 #include <math.h>
63022 #ifdef HAVE_IEEEFP_H
63023 #include <ieeefp.h>
63024 #endif
63025
63026 int
63027 main ()
63028 {
63029 sqrtf(0);
63030 ;
63031 return 0;
63032 }
63033 _ACEOF
63034 if ac_fn_cxx_try_compile "$LINENO"; then :
63035 glibcxx_cv_func_sqrtf_use=yes
63036 else
63037 glibcxx_cv_func_sqrtf_use=no
63038 fi
63039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63040 ac_ext=c
63041 ac_cpp='$CPP $CPPFLAGS'
63042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63045
63046
63047 fi
63048
63049 fi
63050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63051 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63052
63053 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63054 for ac_func in sqrtf
63055 do :
63056 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63057 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63058 cat >>confdefs.h <<_ACEOF
63059 #define HAVE_SQRTF 1
63060 _ACEOF
63061
63062 fi
63063 done
63064
63065 else
63066
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63068 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63069 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63070 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63071 $as_echo_n "(cached) " >&6
63072 else
63073
63074
63075 ac_ext=cpp
63076 ac_cpp='$CXXCPP $CPPFLAGS'
63077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63080
63081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63082 /* end confdefs.h. */
63083 #include <math.h>
63084 #ifdef HAVE_IEEEFP_H
63085 #include <ieeefp.h>
63086 #endif
63087
63088 int
63089 main ()
63090 {
63091 _sqrtf(0);
63092 ;
63093 return 0;
63094 }
63095 _ACEOF
63096 if ac_fn_cxx_try_compile "$LINENO"; then :
63097 glibcxx_cv_func__sqrtf_use=yes
63098 else
63099 glibcxx_cv_func__sqrtf_use=no
63100 fi
63101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63102 ac_ext=c
63103 ac_cpp='$CPP $CPPFLAGS'
63104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63107
63108
63109 fi
63110
63111 fi
63112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63113 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63114
63115 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63116 for ac_func in _sqrtf
63117 do :
63118 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63119 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63120 cat >>confdefs.h <<_ACEOF
63121 #define HAVE__SQRTF 1
63122 _ACEOF
63123
63124 fi
63125 done
63126
63127 fi
63128 fi
63129
63130
63131
63132
63133
63134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63135 $as_echo_n "checking for sincosf declaration... " >&6; }
63136 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63137 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63138 $as_echo_n "(cached) " >&6
63139 else
63140
63141
63142 ac_ext=cpp
63143 ac_cpp='$CXXCPP $CPPFLAGS'
63144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63147
63148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63149 /* end confdefs.h. */
63150 #include <math.h>
63151 int
63152 main ()
63153 {
63154 sincosf(0, 0, 0);
63155 ;
63156 return 0;
63157 }
63158 _ACEOF
63159 if ac_fn_cxx_try_compile "$LINENO"; then :
63160 glibcxx_cv_func_sincosf_use=yes
63161 else
63162 glibcxx_cv_func_sincosf_use=no
63163 fi
63164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63165 ac_ext=c
63166 ac_cpp='$CPP $CPPFLAGS'
63167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63170
63171
63172 fi
63173
63174 fi
63175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63176 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63177
63178 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63179 for ac_func in sincosf
63180 do :
63181 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63182 if test "x$ac_cv_func_sincosf" = x""yes; then :
63183 cat >>confdefs.h <<_ACEOF
63184 #define HAVE_SINCOSF 1
63185 _ACEOF
63186
63187 fi
63188 done
63189
63190 else
63191
63192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63193 $as_echo_n "checking for _sincosf declaration... " >&6; }
63194 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63195 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63196 $as_echo_n "(cached) " >&6
63197 else
63198
63199
63200 ac_ext=cpp
63201 ac_cpp='$CXXCPP $CPPFLAGS'
63202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63205
63206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63207 /* end confdefs.h. */
63208 #include <math.h>
63209 int
63210 main ()
63211 {
63212 _sincosf(0, 0, 0);
63213 ;
63214 return 0;
63215 }
63216 _ACEOF
63217 if ac_fn_cxx_try_compile "$LINENO"; then :
63218 glibcxx_cv_func__sincosf_use=yes
63219 else
63220 glibcxx_cv_func__sincosf_use=no
63221 fi
63222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63223 ac_ext=c
63224 ac_cpp='$CPP $CPPFLAGS'
63225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63228
63229
63230 fi
63231
63232 fi
63233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63234 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63235
63236 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63237 for ac_func in _sincosf
63238 do :
63239 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63240 if test "x$ac_cv_func__sincosf" = x""yes; then :
63241 cat >>confdefs.h <<_ACEOF
63242 #define HAVE__SINCOSF 1
63243 _ACEOF
63244
63245 fi
63246 done
63247
63248 fi
63249 fi
63250
63251
63252
63253
63254
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63256 $as_echo_n "checking for finitef declaration... " >&6; }
63257 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63258 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63259 $as_echo_n "(cached) " >&6
63260 else
63261
63262
63263 ac_ext=cpp
63264 ac_cpp='$CXXCPP $CPPFLAGS'
63265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63268
63269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63270 /* end confdefs.h. */
63271 #include <math.h>
63272 #ifdef HAVE_IEEEFP_H
63273 #include <ieeefp.h>
63274 #endif
63275
63276 int
63277 main ()
63278 {
63279 finitef(0);
63280 ;
63281 return 0;
63282 }
63283 _ACEOF
63284 if ac_fn_cxx_try_compile "$LINENO"; then :
63285 glibcxx_cv_func_finitef_use=yes
63286 else
63287 glibcxx_cv_func_finitef_use=no
63288 fi
63289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63290 ac_ext=c
63291 ac_cpp='$CPP $CPPFLAGS'
63292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63295
63296
63297 fi
63298
63299 fi
63300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63301 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63302
63303 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63304 for ac_func in finitef
63305 do :
63306 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63307 if test "x$ac_cv_func_finitef" = x""yes; then :
63308 cat >>confdefs.h <<_ACEOF
63309 #define HAVE_FINITEF 1
63310 _ACEOF
63311
63312 fi
63313 done
63314
63315 else
63316
63317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63318 $as_echo_n "checking for _finitef declaration... " >&6; }
63319 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63320 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63321 $as_echo_n "(cached) " >&6
63322 else
63323
63324
63325 ac_ext=cpp
63326 ac_cpp='$CXXCPP $CPPFLAGS'
63327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63330
63331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63332 /* end confdefs.h. */
63333 #include <math.h>
63334 #ifdef HAVE_IEEEFP_H
63335 #include <ieeefp.h>
63336 #endif
63337
63338 int
63339 main ()
63340 {
63341 _finitef(0);
63342 ;
63343 return 0;
63344 }
63345 _ACEOF
63346 if ac_fn_cxx_try_compile "$LINENO"; then :
63347 glibcxx_cv_func__finitef_use=yes
63348 else
63349 glibcxx_cv_func__finitef_use=no
63350 fi
63351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63352 ac_ext=c
63353 ac_cpp='$CPP $CPPFLAGS'
63354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63357
63358
63359 fi
63360
63361 fi
63362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63363 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63364
63365 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63366 for ac_func in _finitef
63367 do :
63368 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63369 if test "x$ac_cv_func__finitef" = x""yes; then :
63370 cat >>confdefs.h <<_ACEOF
63371 #define HAVE__FINITEF 1
63372 _ACEOF
63373
63374 fi
63375 done
63376
63377 fi
63378 fi
63379
63380
63381
63382
63383
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63385 $as_echo_n "checking for long double trig functions... " >&6; }
63386 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63387 $as_echo_n "(cached) " >&6
63388 else
63389
63390
63391 ac_ext=cpp
63392 ac_cpp='$CXXCPP $CPPFLAGS'
63393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63396
63397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63398 /* end confdefs.h. */
63399 #include <math.h>
63400 int
63401 main ()
63402 {
63403 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63404 ;
63405 return 0;
63406 }
63407 _ACEOF
63408 if ac_fn_cxx_try_compile "$LINENO"; then :
63409 glibcxx_cv_func_long_double_trig_use=yes
63410 else
63411 glibcxx_cv_func_long_double_trig_use=no
63412 fi
63413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63414 ac_ext=c
63415 ac_cpp='$CPP $CPPFLAGS'
63416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63419
63420 fi
63421
63422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63423 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63424 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63425 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63426 do :
63427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63429 eval as_val=\$$as_ac_var
63430 if test "x$as_val" = x""yes; then :
63431 cat >>confdefs.h <<_ACEOF
63432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63433 _ACEOF
63434
63435 fi
63436 done
63437
63438 else
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63440 $as_echo_n "checking for _long double trig functions... " >&6; }
63441 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63442 $as_echo_n "(cached) " >&6
63443 else
63444
63445
63446 ac_ext=cpp
63447 ac_cpp='$CXXCPP $CPPFLAGS'
63448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63451
63452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63453 /* end confdefs.h. */
63454 #include <math.h>
63455 int
63456 main ()
63457 {
63458 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63459 ;
63460 return 0;
63461 }
63462 _ACEOF
63463 if ac_fn_cxx_try_compile "$LINENO"; then :
63464 glibcxx_cv_func__long_double_trig_use=yes
63465 else
63466 glibcxx_cv_func__long_double_trig_use=no
63467 fi
63468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63469 ac_ext=c
63470 ac_cpp='$CPP $CPPFLAGS'
63471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63474
63475 fi
63476
63477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63478 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63479 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63480 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63481 do :
63482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63484 eval as_val=\$$as_ac_var
63485 if test "x$as_val" = x""yes; then :
63486 cat >>confdefs.h <<_ACEOF
63487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63488 _ACEOF
63489
63490 fi
63491 done
63492
63493 fi
63494 fi
63495
63496
63497
63498
63499
63500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63501 $as_echo_n "checking for long double round functions... " >&6; }
63502 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63503 $as_echo_n "(cached) " >&6
63504 else
63505
63506
63507 ac_ext=cpp
63508 ac_cpp='$CXXCPP $CPPFLAGS'
63509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63512
63513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63514 /* end confdefs.h. */
63515 #include <math.h>
63516 int
63517 main ()
63518 {
63519 ceill (0); floorl (0);
63520 ;
63521 return 0;
63522 }
63523 _ACEOF
63524 if ac_fn_cxx_try_compile "$LINENO"; then :
63525 glibcxx_cv_func_long_double_round_use=yes
63526 else
63527 glibcxx_cv_func_long_double_round_use=no
63528 fi
63529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63530 ac_ext=c
63531 ac_cpp='$CPP $CPPFLAGS'
63532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63535
63536 fi
63537
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63539 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63540 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63541 for ac_func in ceill floorl
63542 do :
63543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63545 eval as_val=\$$as_ac_var
63546 if test "x$as_val" = x""yes; then :
63547 cat >>confdefs.h <<_ACEOF
63548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63549 _ACEOF
63550
63551 fi
63552 done
63553
63554 else
63555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63556 $as_echo_n "checking for _long double round functions... " >&6; }
63557 if test "${glibcxx_cv_func__long_double_round_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 int
63572 main ()
63573 {
63574 _ceill (0); _floorl (0);
63575 ;
63576 return 0;
63577 }
63578 _ACEOF
63579 if ac_fn_cxx_try_compile "$LINENO"; then :
63580 glibcxx_cv_func__long_double_round_use=yes
63581 else
63582 glibcxx_cv_func__long_double_round_use=no
63583 fi
63584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63585 ac_ext=c
63586 ac_cpp='$CPP $CPPFLAGS'
63587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63590
63591 fi
63592
63593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63594 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63595 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63596 for ac_func in _ceill _floorl
63597 do :
63598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63600 eval as_val=\$$as_ac_var
63601 if test "x$as_val" = x""yes; then :
63602 cat >>confdefs.h <<_ACEOF
63603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63604 _ACEOF
63605
63606 fi
63607 done
63608
63609 fi
63610 fi
63611
63612
63613
63614
63615
63616
63617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63618 $as_echo_n "checking for isnanl declaration... " >&6; }
63619 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63620 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63621 $as_echo_n "(cached) " >&6
63622 else
63623
63624
63625 ac_ext=cpp
63626 ac_cpp='$CXXCPP $CPPFLAGS'
63627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63630
63631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63632 /* end confdefs.h. */
63633 #include <math.h>
63634 #ifdef HAVE_IEEEFP_H
63635 #include <ieeefp.h>
63636 #endif
63637
63638 int
63639 main ()
63640 {
63641 isnanl(0);
63642 ;
63643 return 0;
63644 }
63645 _ACEOF
63646 if ac_fn_cxx_try_compile "$LINENO"; then :
63647 glibcxx_cv_func_isnanl_use=yes
63648 else
63649 glibcxx_cv_func_isnanl_use=no
63650 fi
63651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63652 ac_ext=c
63653 ac_cpp='$CPP $CPPFLAGS'
63654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63657
63658
63659 fi
63660
63661 fi
63662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63663 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63664
63665 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63666 for ac_func in isnanl
63667 do :
63668 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63669 if test "x$ac_cv_func_isnanl" = x""yes; then :
63670 cat >>confdefs.h <<_ACEOF
63671 #define HAVE_ISNANL 1
63672 _ACEOF
63673
63674 fi
63675 done
63676
63677 else
63678
63679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63680 $as_echo_n "checking for _isnanl declaration... " >&6; }
63681 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63682 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63683 $as_echo_n "(cached) " >&6
63684 else
63685
63686
63687 ac_ext=cpp
63688 ac_cpp='$CXXCPP $CPPFLAGS'
63689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63692
63693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63694 /* end confdefs.h. */
63695 #include <math.h>
63696 #ifdef HAVE_IEEEFP_H
63697 #include <ieeefp.h>
63698 #endif
63699
63700 int
63701 main ()
63702 {
63703 _isnanl(0);
63704 ;
63705 return 0;
63706 }
63707 _ACEOF
63708 if ac_fn_cxx_try_compile "$LINENO"; then :
63709 glibcxx_cv_func__isnanl_use=yes
63710 else
63711 glibcxx_cv_func__isnanl_use=no
63712 fi
63713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63714 ac_ext=c
63715 ac_cpp='$CPP $CPPFLAGS'
63716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63719
63720
63721 fi
63722
63723 fi
63724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63725 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63726
63727 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63728 for ac_func in _isnanl
63729 do :
63730 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63731 if test "x$ac_cv_func__isnanl" = x""yes; then :
63732 cat >>confdefs.h <<_ACEOF
63733 #define HAVE__ISNANL 1
63734 _ACEOF
63735
63736 fi
63737 done
63738
63739 fi
63740 fi
63741
63742
63743
63744
63745
63746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63747 $as_echo_n "checking for isinfl declaration... " >&6; }
63748 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63749 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63750 $as_echo_n "(cached) " >&6
63751 else
63752
63753
63754 ac_ext=cpp
63755 ac_cpp='$CXXCPP $CPPFLAGS'
63756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63759
63760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63761 /* end confdefs.h. */
63762 #include <math.h>
63763 #ifdef HAVE_IEEEFP_H
63764 #include <ieeefp.h>
63765 #endif
63766
63767 int
63768 main ()
63769 {
63770 isinfl(0);
63771 ;
63772 return 0;
63773 }
63774 _ACEOF
63775 if ac_fn_cxx_try_compile "$LINENO"; then :
63776 glibcxx_cv_func_isinfl_use=yes
63777 else
63778 glibcxx_cv_func_isinfl_use=no
63779 fi
63780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63781 ac_ext=c
63782 ac_cpp='$CPP $CPPFLAGS'
63783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63786
63787
63788 fi
63789
63790 fi
63791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63792 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63793
63794 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63795 for ac_func in isinfl
63796 do :
63797 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63798 if test "x$ac_cv_func_isinfl" = x""yes; then :
63799 cat >>confdefs.h <<_ACEOF
63800 #define HAVE_ISINFL 1
63801 _ACEOF
63802
63803 fi
63804 done
63805
63806 else
63807
63808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63809 $as_echo_n "checking for _isinfl declaration... " >&6; }
63810 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63811 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63812 $as_echo_n "(cached) " >&6
63813 else
63814
63815
63816 ac_ext=cpp
63817 ac_cpp='$CXXCPP $CPPFLAGS'
63818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63821
63822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63823 /* end confdefs.h. */
63824 #include <math.h>
63825 #ifdef HAVE_IEEEFP_H
63826 #include <ieeefp.h>
63827 #endif
63828
63829 int
63830 main ()
63831 {
63832 _isinfl(0);
63833 ;
63834 return 0;
63835 }
63836 _ACEOF
63837 if ac_fn_cxx_try_compile "$LINENO"; then :
63838 glibcxx_cv_func__isinfl_use=yes
63839 else
63840 glibcxx_cv_func__isinfl_use=no
63841 fi
63842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63843 ac_ext=c
63844 ac_cpp='$CPP $CPPFLAGS'
63845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63848
63849
63850 fi
63851
63852 fi
63853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63854 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63855
63856 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63857 for ac_func in _isinfl
63858 do :
63859 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63860 if test "x$ac_cv_func__isinfl" = x""yes; then :
63861 cat >>confdefs.h <<_ACEOF
63862 #define HAVE__ISINFL 1
63863 _ACEOF
63864
63865 fi
63866 done
63867
63868 fi
63869 fi
63870
63871
63872
63873
63874
63875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63876 $as_echo_n "checking for atan2l declaration... " >&6; }
63877 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63878 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63879 $as_echo_n "(cached) " >&6
63880 else
63881
63882
63883 ac_ext=cpp
63884 ac_cpp='$CXXCPP $CPPFLAGS'
63885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63888
63889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63890 /* end confdefs.h. */
63891 #include <math.h>
63892 int
63893 main ()
63894 {
63895 atan2l(0, 0);
63896 ;
63897 return 0;
63898 }
63899 _ACEOF
63900 if ac_fn_cxx_try_compile "$LINENO"; then :
63901 glibcxx_cv_func_atan2l_use=yes
63902 else
63903 glibcxx_cv_func_atan2l_use=no
63904 fi
63905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63906 ac_ext=c
63907 ac_cpp='$CPP $CPPFLAGS'
63908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63911
63912
63913 fi
63914
63915 fi
63916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63917 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63918
63919 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63920 for ac_func in atan2l
63921 do :
63922 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63923 if test "x$ac_cv_func_atan2l" = x""yes; then :
63924 cat >>confdefs.h <<_ACEOF
63925 #define HAVE_ATAN2L 1
63926 _ACEOF
63927
63928 fi
63929 done
63930
63931 else
63932
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63934 $as_echo_n "checking for _atan2l declaration... " >&6; }
63935 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63936 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63937 $as_echo_n "(cached) " >&6
63938 else
63939
63940
63941 ac_ext=cpp
63942 ac_cpp='$CXXCPP $CPPFLAGS'
63943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63946
63947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63948 /* end confdefs.h. */
63949 #include <math.h>
63950 int
63951 main ()
63952 {
63953 _atan2l(0, 0);
63954 ;
63955 return 0;
63956 }
63957 _ACEOF
63958 if ac_fn_cxx_try_compile "$LINENO"; then :
63959 glibcxx_cv_func__atan2l_use=yes
63960 else
63961 glibcxx_cv_func__atan2l_use=no
63962 fi
63963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63964 ac_ext=c
63965 ac_cpp='$CPP $CPPFLAGS'
63966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63969
63970
63971 fi
63972
63973 fi
63974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63975 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63976
63977 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63978 for ac_func in _atan2l
63979 do :
63980 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63981 if test "x$ac_cv_func__atan2l" = x""yes; then :
63982 cat >>confdefs.h <<_ACEOF
63983 #define HAVE__ATAN2L 1
63984 _ACEOF
63985
63986 fi
63987 done
63988
63989 fi
63990 fi
63991
63992
63993
63994
63995
63996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63997 $as_echo_n "checking for expl declaration... " >&6; }
63998 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63999 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64000 $as_echo_n "(cached) " >&6
64001 else
64002
64003
64004 ac_ext=cpp
64005 ac_cpp='$CXXCPP $CPPFLAGS'
64006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64009
64010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64011 /* end confdefs.h. */
64012 #include <math.h>
64013 #ifdef HAVE_IEEEFP_H
64014 #include <ieeefp.h>
64015 #endif
64016
64017 int
64018 main ()
64019 {
64020 expl(0);
64021 ;
64022 return 0;
64023 }
64024 _ACEOF
64025 if ac_fn_cxx_try_compile "$LINENO"; then :
64026 glibcxx_cv_func_expl_use=yes
64027 else
64028 glibcxx_cv_func_expl_use=no
64029 fi
64030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64031 ac_ext=c
64032 ac_cpp='$CPP $CPPFLAGS'
64033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64036
64037
64038 fi
64039
64040 fi
64041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64042 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64043
64044 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64045 for ac_func in expl
64046 do :
64047 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64048 if test "x$ac_cv_func_expl" = x""yes; then :
64049 cat >>confdefs.h <<_ACEOF
64050 #define HAVE_EXPL 1
64051 _ACEOF
64052
64053 fi
64054 done
64055
64056 else
64057
64058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64059 $as_echo_n "checking for _expl declaration... " >&6; }
64060 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64061 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64062 $as_echo_n "(cached) " >&6
64063 else
64064
64065
64066 ac_ext=cpp
64067 ac_cpp='$CXXCPP $CPPFLAGS'
64068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64071
64072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64073 /* end confdefs.h. */
64074 #include <math.h>
64075 #ifdef HAVE_IEEEFP_H
64076 #include <ieeefp.h>
64077 #endif
64078
64079 int
64080 main ()
64081 {
64082 _expl(0);
64083 ;
64084 return 0;
64085 }
64086 _ACEOF
64087 if ac_fn_cxx_try_compile "$LINENO"; then :
64088 glibcxx_cv_func__expl_use=yes
64089 else
64090 glibcxx_cv_func__expl_use=no
64091 fi
64092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64093 ac_ext=c
64094 ac_cpp='$CPP $CPPFLAGS'
64095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64098
64099
64100 fi
64101
64102 fi
64103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64104 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64105
64106 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64107 for ac_func in _expl
64108 do :
64109 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64110 if test "x$ac_cv_func__expl" = x""yes; then :
64111 cat >>confdefs.h <<_ACEOF
64112 #define HAVE__EXPL 1
64113 _ACEOF
64114
64115 fi
64116 done
64117
64118 fi
64119 fi
64120
64121
64122
64123
64124
64125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64126 $as_echo_n "checking for fabsl declaration... " >&6; }
64127 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64128 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64129 $as_echo_n "(cached) " >&6
64130 else
64131
64132
64133 ac_ext=cpp
64134 ac_cpp='$CXXCPP $CPPFLAGS'
64135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64138
64139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64140 /* end confdefs.h. */
64141 #include <math.h>
64142 #ifdef HAVE_IEEEFP_H
64143 #include <ieeefp.h>
64144 #endif
64145
64146 int
64147 main ()
64148 {
64149 fabsl(0);
64150 ;
64151 return 0;
64152 }
64153 _ACEOF
64154 if ac_fn_cxx_try_compile "$LINENO"; then :
64155 glibcxx_cv_func_fabsl_use=yes
64156 else
64157 glibcxx_cv_func_fabsl_use=no
64158 fi
64159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64160 ac_ext=c
64161 ac_cpp='$CPP $CPPFLAGS'
64162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64165
64166
64167 fi
64168
64169 fi
64170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64171 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64172
64173 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64174 for ac_func in fabsl
64175 do :
64176 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64177 if test "x$ac_cv_func_fabsl" = x""yes; then :
64178 cat >>confdefs.h <<_ACEOF
64179 #define HAVE_FABSL 1
64180 _ACEOF
64181
64182 fi
64183 done
64184
64185 else
64186
64187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64188 $as_echo_n "checking for _fabsl declaration... " >&6; }
64189 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64190 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64191 $as_echo_n "(cached) " >&6
64192 else
64193
64194
64195 ac_ext=cpp
64196 ac_cpp='$CXXCPP $CPPFLAGS'
64197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64200
64201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64202 /* end confdefs.h. */
64203 #include <math.h>
64204 #ifdef HAVE_IEEEFP_H
64205 #include <ieeefp.h>
64206 #endif
64207
64208 int
64209 main ()
64210 {
64211 _fabsl(0);
64212 ;
64213 return 0;
64214 }
64215 _ACEOF
64216 if ac_fn_cxx_try_compile "$LINENO"; then :
64217 glibcxx_cv_func__fabsl_use=yes
64218 else
64219 glibcxx_cv_func__fabsl_use=no
64220 fi
64221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64222 ac_ext=c
64223 ac_cpp='$CPP $CPPFLAGS'
64224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64227
64228
64229 fi
64230
64231 fi
64232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64233 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64234
64235 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64236 for ac_func in _fabsl
64237 do :
64238 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64239 if test "x$ac_cv_func__fabsl" = x""yes; then :
64240 cat >>confdefs.h <<_ACEOF
64241 #define HAVE__FABSL 1
64242 _ACEOF
64243
64244 fi
64245 done
64246
64247 fi
64248 fi
64249
64250
64251
64252
64253
64254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64255 $as_echo_n "checking for fmodl declaration... " >&6; }
64256 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64257 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64258 $as_echo_n "(cached) " >&6
64259 else
64260
64261
64262 ac_ext=cpp
64263 ac_cpp='$CXXCPP $CPPFLAGS'
64264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64267
64268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64269 /* end confdefs.h. */
64270 #include <math.h>
64271 int
64272 main ()
64273 {
64274 fmodl(0, 0);
64275 ;
64276 return 0;
64277 }
64278 _ACEOF
64279 if ac_fn_cxx_try_compile "$LINENO"; then :
64280 glibcxx_cv_func_fmodl_use=yes
64281 else
64282 glibcxx_cv_func_fmodl_use=no
64283 fi
64284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64285 ac_ext=c
64286 ac_cpp='$CPP $CPPFLAGS'
64287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64290
64291
64292 fi
64293
64294 fi
64295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64296 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64297
64298 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64299 for ac_func in fmodl
64300 do :
64301 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64302 if test "x$ac_cv_func_fmodl" = x""yes; then :
64303 cat >>confdefs.h <<_ACEOF
64304 #define HAVE_FMODL 1
64305 _ACEOF
64306
64307 fi
64308 done
64309
64310 else
64311
64312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64313 $as_echo_n "checking for _fmodl declaration... " >&6; }
64314 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64315 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64316 $as_echo_n "(cached) " >&6
64317 else
64318
64319
64320 ac_ext=cpp
64321 ac_cpp='$CXXCPP $CPPFLAGS'
64322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64325
64326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64327 /* end confdefs.h. */
64328 #include <math.h>
64329 int
64330 main ()
64331 {
64332 _fmodl(0, 0);
64333 ;
64334 return 0;
64335 }
64336 _ACEOF
64337 if ac_fn_cxx_try_compile "$LINENO"; then :
64338 glibcxx_cv_func__fmodl_use=yes
64339 else
64340 glibcxx_cv_func__fmodl_use=no
64341 fi
64342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64343 ac_ext=c
64344 ac_cpp='$CPP $CPPFLAGS'
64345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64348
64349
64350 fi
64351
64352 fi
64353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64354 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64355
64356 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64357 for ac_func in _fmodl
64358 do :
64359 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64360 if test "x$ac_cv_func__fmodl" = x""yes; then :
64361 cat >>confdefs.h <<_ACEOF
64362 #define HAVE__FMODL 1
64363 _ACEOF
64364
64365 fi
64366 done
64367
64368 fi
64369 fi
64370
64371
64372
64373
64374
64375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64376 $as_echo_n "checking for frexpl declaration... " >&6; }
64377 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64378 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64379 $as_echo_n "(cached) " >&6
64380 else
64381
64382
64383 ac_ext=cpp
64384 ac_cpp='$CXXCPP $CPPFLAGS'
64385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64388
64389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64390 /* end confdefs.h. */
64391 #include <math.h>
64392 int
64393 main ()
64394 {
64395 frexpl(0, 0);
64396 ;
64397 return 0;
64398 }
64399 _ACEOF
64400 if ac_fn_cxx_try_compile "$LINENO"; then :
64401 glibcxx_cv_func_frexpl_use=yes
64402 else
64403 glibcxx_cv_func_frexpl_use=no
64404 fi
64405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64406 ac_ext=c
64407 ac_cpp='$CPP $CPPFLAGS'
64408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64411
64412
64413 fi
64414
64415 fi
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64417 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64418
64419 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64420 for ac_func in frexpl
64421 do :
64422 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64423 if test "x$ac_cv_func_frexpl" = x""yes; then :
64424 cat >>confdefs.h <<_ACEOF
64425 #define HAVE_FREXPL 1
64426 _ACEOF
64427
64428 fi
64429 done
64430
64431 else
64432
64433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64434 $as_echo_n "checking for _frexpl declaration... " >&6; }
64435 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64436 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64437 $as_echo_n "(cached) " >&6
64438 else
64439
64440
64441 ac_ext=cpp
64442 ac_cpp='$CXXCPP $CPPFLAGS'
64443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64446
64447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64448 /* end confdefs.h. */
64449 #include <math.h>
64450 int
64451 main ()
64452 {
64453 _frexpl(0, 0);
64454 ;
64455 return 0;
64456 }
64457 _ACEOF
64458 if ac_fn_cxx_try_compile "$LINENO"; then :
64459 glibcxx_cv_func__frexpl_use=yes
64460 else
64461 glibcxx_cv_func__frexpl_use=no
64462 fi
64463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64464 ac_ext=c
64465 ac_cpp='$CPP $CPPFLAGS'
64466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64469
64470
64471 fi
64472
64473 fi
64474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64475 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64476
64477 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64478 for ac_func in _frexpl
64479 do :
64480 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64481 if test "x$ac_cv_func__frexpl" = x""yes; then :
64482 cat >>confdefs.h <<_ACEOF
64483 #define HAVE__FREXPL 1
64484 _ACEOF
64485
64486 fi
64487 done
64488
64489 fi
64490 fi
64491
64492
64493
64494
64495
64496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64497 $as_echo_n "checking for hypotl declaration... " >&6; }
64498 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64499 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64500 $as_echo_n "(cached) " >&6
64501 else
64502
64503
64504 ac_ext=cpp
64505 ac_cpp='$CXXCPP $CPPFLAGS'
64506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64509
64510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64511 /* end confdefs.h. */
64512 #include <math.h>
64513 int
64514 main ()
64515 {
64516 hypotl(0, 0);
64517 ;
64518 return 0;
64519 }
64520 _ACEOF
64521 if ac_fn_cxx_try_compile "$LINENO"; then :
64522 glibcxx_cv_func_hypotl_use=yes
64523 else
64524 glibcxx_cv_func_hypotl_use=no
64525 fi
64526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64527 ac_ext=c
64528 ac_cpp='$CPP $CPPFLAGS'
64529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64532
64533
64534 fi
64535
64536 fi
64537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64538 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64539
64540 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64541 for ac_func in hypotl
64542 do :
64543 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64544 if test "x$ac_cv_func_hypotl" = x""yes; then :
64545 cat >>confdefs.h <<_ACEOF
64546 #define HAVE_HYPOTL 1
64547 _ACEOF
64548
64549 fi
64550 done
64551
64552 else
64553
64554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64555 $as_echo_n "checking for _hypotl declaration... " >&6; }
64556 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64557 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64558 $as_echo_n "(cached) " >&6
64559 else
64560
64561
64562 ac_ext=cpp
64563 ac_cpp='$CXXCPP $CPPFLAGS'
64564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64567
64568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64569 /* end confdefs.h. */
64570 #include <math.h>
64571 int
64572 main ()
64573 {
64574 _hypotl(0, 0);
64575 ;
64576 return 0;
64577 }
64578 _ACEOF
64579 if ac_fn_cxx_try_compile "$LINENO"; then :
64580 glibcxx_cv_func__hypotl_use=yes
64581 else
64582 glibcxx_cv_func__hypotl_use=no
64583 fi
64584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64585 ac_ext=c
64586 ac_cpp='$CPP $CPPFLAGS'
64587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64590
64591
64592 fi
64593
64594 fi
64595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64596 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64597
64598 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64599 for ac_func in _hypotl
64600 do :
64601 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64602 if test "x$ac_cv_func__hypotl" = x""yes; then :
64603 cat >>confdefs.h <<_ACEOF
64604 #define HAVE__HYPOTL 1
64605 _ACEOF
64606
64607 fi
64608 done
64609
64610 fi
64611 fi
64612
64613
64614
64615
64616
64617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64618 $as_echo_n "checking for ldexpl declaration... " >&6; }
64619 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64620 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64621 $as_echo_n "(cached) " >&6
64622 else
64623
64624
64625 ac_ext=cpp
64626 ac_cpp='$CXXCPP $CPPFLAGS'
64627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64630
64631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64632 /* end confdefs.h. */
64633 #include <math.h>
64634 int
64635 main ()
64636 {
64637 ldexpl(0, 0);
64638 ;
64639 return 0;
64640 }
64641 _ACEOF
64642 if ac_fn_cxx_try_compile "$LINENO"; then :
64643 glibcxx_cv_func_ldexpl_use=yes
64644 else
64645 glibcxx_cv_func_ldexpl_use=no
64646 fi
64647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64648 ac_ext=c
64649 ac_cpp='$CPP $CPPFLAGS'
64650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64653
64654
64655 fi
64656
64657 fi
64658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64659 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64660
64661 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64662 for ac_func in ldexpl
64663 do :
64664 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64665 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64666 cat >>confdefs.h <<_ACEOF
64667 #define HAVE_LDEXPL 1
64668 _ACEOF
64669
64670 fi
64671 done
64672
64673 else
64674
64675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64676 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64677 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64678 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64679 $as_echo_n "(cached) " >&6
64680 else
64681
64682
64683 ac_ext=cpp
64684 ac_cpp='$CXXCPP $CPPFLAGS'
64685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64688
64689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64690 /* end confdefs.h. */
64691 #include <math.h>
64692 int
64693 main ()
64694 {
64695 _ldexpl(0, 0);
64696 ;
64697 return 0;
64698 }
64699 _ACEOF
64700 if ac_fn_cxx_try_compile "$LINENO"; then :
64701 glibcxx_cv_func__ldexpl_use=yes
64702 else
64703 glibcxx_cv_func__ldexpl_use=no
64704 fi
64705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64706 ac_ext=c
64707 ac_cpp='$CPP $CPPFLAGS'
64708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64711
64712
64713 fi
64714
64715 fi
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64717 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64718
64719 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64720 for ac_func in _ldexpl
64721 do :
64722 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64723 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64724 cat >>confdefs.h <<_ACEOF
64725 #define HAVE__LDEXPL 1
64726 _ACEOF
64727
64728 fi
64729 done
64730
64731 fi
64732 fi
64733
64734
64735
64736
64737
64738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64739 $as_echo_n "checking for logl declaration... " >&6; }
64740 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64741 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64742 $as_echo_n "(cached) " >&6
64743 else
64744
64745
64746 ac_ext=cpp
64747 ac_cpp='$CXXCPP $CPPFLAGS'
64748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64751
64752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64753 /* end confdefs.h. */
64754 #include <math.h>
64755 #ifdef HAVE_IEEEFP_H
64756 #include <ieeefp.h>
64757 #endif
64758
64759 int
64760 main ()
64761 {
64762 logl(0);
64763 ;
64764 return 0;
64765 }
64766 _ACEOF
64767 if ac_fn_cxx_try_compile "$LINENO"; then :
64768 glibcxx_cv_func_logl_use=yes
64769 else
64770 glibcxx_cv_func_logl_use=no
64771 fi
64772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64773 ac_ext=c
64774 ac_cpp='$CPP $CPPFLAGS'
64775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64778
64779
64780 fi
64781
64782 fi
64783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64784 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64785
64786 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64787 for ac_func in logl
64788 do :
64789 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64790 if test "x$ac_cv_func_logl" = x""yes; then :
64791 cat >>confdefs.h <<_ACEOF
64792 #define HAVE_LOGL 1
64793 _ACEOF
64794
64795 fi
64796 done
64797
64798 else
64799
64800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64801 $as_echo_n "checking for _logl declaration... " >&6; }
64802 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64803 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64804 $as_echo_n "(cached) " >&6
64805 else
64806
64807
64808 ac_ext=cpp
64809 ac_cpp='$CXXCPP $CPPFLAGS'
64810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64813
64814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64815 /* end confdefs.h. */
64816 #include <math.h>
64817 #ifdef HAVE_IEEEFP_H
64818 #include <ieeefp.h>
64819 #endif
64820
64821 int
64822 main ()
64823 {
64824 _logl(0);
64825 ;
64826 return 0;
64827 }
64828 _ACEOF
64829 if ac_fn_cxx_try_compile "$LINENO"; then :
64830 glibcxx_cv_func__logl_use=yes
64831 else
64832 glibcxx_cv_func__logl_use=no
64833 fi
64834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64835 ac_ext=c
64836 ac_cpp='$CPP $CPPFLAGS'
64837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64840
64841
64842 fi
64843
64844 fi
64845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64846 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64847
64848 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64849 for ac_func in _logl
64850 do :
64851 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64852 if test "x$ac_cv_func__logl" = x""yes; then :
64853 cat >>confdefs.h <<_ACEOF
64854 #define HAVE__LOGL 1
64855 _ACEOF
64856
64857 fi
64858 done
64859
64860 fi
64861 fi
64862
64863
64864
64865
64866
64867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64868 $as_echo_n "checking for log10l declaration... " >&6; }
64869 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64870 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64871 $as_echo_n "(cached) " >&6
64872 else
64873
64874
64875 ac_ext=cpp
64876 ac_cpp='$CXXCPP $CPPFLAGS'
64877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64880
64881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64882 /* end confdefs.h. */
64883 #include <math.h>
64884 #ifdef HAVE_IEEEFP_H
64885 #include <ieeefp.h>
64886 #endif
64887
64888 int
64889 main ()
64890 {
64891 log10l(0);
64892 ;
64893 return 0;
64894 }
64895 _ACEOF
64896 if ac_fn_cxx_try_compile "$LINENO"; then :
64897 glibcxx_cv_func_log10l_use=yes
64898 else
64899 glibcxx_cv_func_log10l_use=no
64900 fi
64901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64902 ac_ext=c
64903 ac_cpp='$CPP $CPPFLAGS'
64904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64907
64908
64909 fi
64910
64911 fi
64912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64913 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64914
64915 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64916 for ac_func in log10l
64917 do :
64918 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64919 if test "x$ac_cv_func_log10l" = x""yes; then :
64920 cat >>confdefs.h <<_ACEOF
64921 #define HAVE_LOG10L 1
64922 _ACEOF
64923
64924 fi
64925 done
64926
64927 else
64928
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64930 $as_echo_n "checking for _log10l declaration... " >&6; }
64931 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64932 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64933 $as_echo_n "(cached) " >&6
64934 else
64935
64936
64937 ac_ext=cpp
64938 ac_cpp='$CXXCPP $CPPFLAGS'
64939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64942
64943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64944 /* end confdefs.h. */
64945 #include <math.h>
64946 #ifdef HAVE_IEEEFP_H
64947 #include <ieeefp.h>
64948 #endif
64949
64950 int
64951 main ()
64952 {
64953 _log10l(0);
64954 ;
64955 return 0;
64956 }
64957 _ACEOF
64958 if ac_fn_cxx_try_compile "$LINENO"; then :
64959 glibcxx_cv_func__log10l_use=yes
64960 else
64961 glibcxx_cv_func__log10l_use=no
64962 fi
64963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64964 ac_ext=c
64965 ac_cpp='$CPP $CPPFLAGS'
64966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64969
64970
64971 fi
64972
64973 fi
64974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64975 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64976
64977 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64978 for ac_func in _log10l
64979 do :
64980 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64981 if test "x$ac_cv_func__log10l" = x""yes; then :
64982 cat >>confdefs.h <<_ACEOF
64983 #define HAVE__LOG10L 1
64984 _ACEOF
64985
64986 fi
64987 done
64988
64989 fi
64990 fi
64991
64992
64993
64994
64995
64996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64997 $as_echo_n "checking for modfl declaration... " >&6; }
64998 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64999 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65000 $as_echo_n "(cached) " >&6
65001 else
65002
65003
65004 ac_ext=cpp
65005 ac_cpp='$CXXCPP $CPPFLAGS'
65006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65009
65010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65011 /* end confdefs.h. */
65012 #include <math.h>
65013 int
65014 main ()
65015 {
65016 modfl(0, 0);
65017 ;
65018 return 0;
65019 }
65020 _ACEOF
65021 if ac_fn_cxx_try_compile "$LINENO"; then :
65022 glibcxx_cv_func_modfl_use=yes
65023 else
65024 glibcxx_cv_func_modfl_use=no
65025 fi
65026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65027 ac_ext=c
65028 ac_cpp='$CPP $CPPFLAGS'
65029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65032
65033
65034 fi
65035
65036 fi
65037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65038 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65039
65040 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65041 for ac_func in modfl
65042 do :
65043 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65044 if test "x$ac_cv_func_modfl" = x""yes; then :
65045 cat >>confdefs.h <<_ACEOF
65046 #define HAVE_MODFL 1
65047 _ACEOF
65048
65049 fi
65050 done
65051
65052 else
65053
65054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65055 $as_echo_n "checking for _modfl declaration... " >&6; }
65056 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65057 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65058 $as_echo_n "(cached) " >&6
65059 else
65060
65061
65062 ac_ext=cpp
65063 ac_cpp='$CXXCPP $CPPFLAGS'
65064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65067
65068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65069 /* end confdefs.h. */
65070 #include <math.h>
65071 int
65072 main ()
65073 {
65074 _modfl(0, 0);
65075 ;
65076 return 0;
65077 }
65078 _ACEOF
65079 if ac_fn_cxx_try_compile "$LINENO"; then :
65080 glibcxx_cv_func__modfl_use=yes
65081 else
65082 glibcxx_cv_func__modfl_use=no
65083 fi
65084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65085 ac_ext=c
65086 ac_cpp='$CPP $CPPFLAGS'
65087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65090
65091
65092 fi
65093
65094 fi
65095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65096 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65097
65098 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65099 for ac_func in _modfl
65100 do :
65101 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65102 if test "x$ac_cv_func__modfl" = x""yes; then :
65103 cat >>confdefs.h <<_ACEOF
65104 #define HAVE__MODFL 1
65105 _ACEOF
65106
65107 fi
65108 done
65109
65110 fi
65111 fi
65112
65113
65114
65115
65116
65117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65118 $as_echo_n "checking for powl declaration... " >&6; }
65119 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65120 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65121 $as_echo_n "(cached) " >&6
65122 else
65123
65124
65125 ac_ext=cpp
65126 ac_cpp='$CXXCPP $CPPFLAGS'
65127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65130
65131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65132 /* end confdefs.h. */
65133 #include <math.h>
65134 int
65135 main ()
65136 {
65137 powl(0, 0);
65138 ;
65139 return 0;
65140 }
65141 _ACEOF
65142 if ac_fn_cxx_try_compile "$LINENO"; then :
65143 glibcxx_cv_func_powl_use=yes
65144 else
65145 glibcxx_cv_func_powl_use=no
65146 fi
65147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65148 ac_ext=c
65149 ac_cpp='$CPP $CPPFLAGS'
65150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65153
65154
65155 fi
65156
65157 fi
65158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65159 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65160
65161 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65162 for ac_func in powl
65163 do :
65164 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65165 if test "x$ac_cv_func_powl" = x""yes; then :
65166 cat >>confdefs.h <<_ACEOF
65167 #define HAVE_POWL 1
65168 _ACEOF
65169
65170 fi
65171 done
65172
65173 else
65174
65175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65176 $as_echo_n "checking for _powl declaration... " >&6; }
65177 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65178 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65179 $as_echo_n "(cached) " >&6
65180 else
65181
65182
65183 ac_ext=cpp
65184 ac_cpp='$CXXCPP $CPPFLAGS'
65185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65188
65189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65190 /* end confdefs.h. */
65191 #include <math.h>
65192 int
65193 main ()
65194 {
65195 _powl(0, 0);
65196 ;
65197 return 0;
65198 }
65199 _ACEOF
65200 if ac_fn_cxx_try_compile "$LINENO"; then :
65201 glibcxx_cv_func__powl_use=yes
65202 else
65203 glibcxx_cv_func__powl_use=no
65204 fi
65205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65206 ac_ext=c
65207 ac_cpp='$CPP $CPPFLAGS'
65208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65211
65212
65213 fi
65214
65215 fi
65216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65217 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65218
65219 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65220 for ac_func in _powl
65221 do :
65222 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65223 if test "x$ac_cv_func__powl" = x""yes; then :
65224 cat >>confdefs.h <<_ACEOF
65225 #define HAVE__POWL 1
65226 _ACEOF
65227
65228 fi
65229 done
65230
65231 fi
65232 fi
65233
65234
65235
65236
65237
65238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65239 $as_echo_n "checking for sqrtl declaration... " >&6; }
65240 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65241 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65242 $as_echo_n "(cached) " >&6
65243 else
65244
65245
65246 ac_ext=cpp
65247 ac_cpp='$CXXCPP $CPPFLAGS'
65248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65251
65252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65253 /* end confdefs.h. */
65254 #include <math.h>
65255 #ifdef HAVE_IEEEFP_H
65256 #include <ieeefp.h>
65257 #endif
65258
65259 int
65260 main ()
65261 {
65262 sqrtl(0);
65263 ;
65264 return 0;
65265 }
65266 _ACEOF
65267 if ac_fn_cxx_try_compile "$LINENO"; then :
65268 glibcxx_cv_func_sqrtl_use=yes
65269 else
65270 glibcxx_cv_func_sqrtl_use=no
65271 fi
65272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65273 ac_ext=c
65274 ac_cpp='$CPP $CPPFLAGS'
65275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65278
65279
65280 fi
65281
65282 fi
65283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65284 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65285
65286 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65287 for ac_func in sqrtl
65288 do :
65289 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65290 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65291 cat >>confdefs.h <<_ACEOF
65292 #define HAVE_SQRTL 1
65293 _ACEOF
65294
65295 fi
65296 done
65297
65298 else
65299
65300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65301 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65302 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65303 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65304 $as_echo_n "(cached) " >&6
65305 else
65306
65307
65308 ac_ext=cpp
65309 ac_cpp='$CXXCPP $CPPFLAGS'
65310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65313
65314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65315 /* end confdefs.h. */
65316 #include <math.h>
65317 #ifdef HAVE_IEEEFP_H
65318 #include <ieeefp.h>
65319 #endif
65320
65321 int
65322 main ()
65323 {
65324 _sqrtl(0);
65325 ;
65326 return 0;
65327 }
65328 _ACEOF
65329 if ac_fn_cxx_try_compile "$LINENO"; then :
65330 glibcxx_cv_func__sqrtl_use=yes
65331 else
65332 glibcxx_cv_func__sqrtl_use=no
65333 fi
65334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65335 ac_ext=c
65336 ac_cpp='$CPP $CPPFLAGS'
65337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65340
65341
65342 fi
65343
65344 fi
65345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65346 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65347
65348 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65349 for ac_func in _sqrtl
65350 do :
65351 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65352 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65353 cat >>confdefs.h <<_ACEOF
65354 #define HAVE__SQRTL 1
65355 _ACEOF
65356
65357 fi
65358 done
65359
65360 fi
65361 fi
65362
65363
65364
65365
65366
65367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65368 $as_echo_n "checking for sincosl declaration... " >&6; }
65369 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65370 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65371 $as_echo_n "(cached) " >&6
65372 else
65373
65374
65375 ac_ext=cpp
65376 ac_cpp='$CXXCPP $CPPFLAGS'
65377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65380
65381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65382 /* end confdefs.h. */
65383 #include <math.h>
65384 int
65385 main ()
65386 {
65387 sincosl(0, 0, 0);
65388 ;
65389 return 0;
65390 }
65391 _ACEOF
65392 if ac_fn_cxx_try_compile "$LINENO"; then :
65393 glibcxx_cv_func_sincosl_use=yes
65394 else
65395 glibcxx_cv_func_sincosl_use=no
65396 fi
65397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65398 ac_ext=c
65399 ac_cpp='$CPP $CPPFLAGS'
65400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65403
65404
65405 fi
65406
65407 fi
65408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65409 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65410
65411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65412 for ac_func in sincosl
65413 do :
65414 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65415 if test "x$ac_cv_func_sincosl" = x""yes; then :
65416 cat >>confdefs.h <<_ACEOF
65417 #define HAVE_SINCOSL 1
65418 _ACEOF
65419
65420 fi
65421 done
65422
65423 else
65424
65425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65426 $as_echo_n "checking for _sincosl declaration... " >&6; }
65427 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65428 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65429 $as_echo_n "(cached) " >&6
65430 else
65431
65432
65433 ac_ext=cpp
65434 ac_cpp='$CXXCPP $CPPFLAGS'
65435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65438
65439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65440 /* end confdefs.h. */
65441 #include <math.h>
65442 int
65443 main ()
65444 {
65445 _sincosl(0, 0, 0);
65446 ;
65447 return 0;
65448 }
65449 _ACEOF
65450 if ac_fn_cxx_try_compile "$LINENO"; then :
65451 glibcxx_cv_func__sincosl_use=yes
65452 else
65453 glibcxx_cv_func__sincosl_use=no
65454 fi
65455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65456 ac_ext=c
65457 ac_cpp='$CPP $CPPFLAGS'
65458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65461
65462
65463 fi
65464
65465 fi
65466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65467 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65468
65469 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65470 for ac_func in _sincosl
65471 do :
65472 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65473 if test "x$ac_cv_func__sincosl" = x""yes; then :
65474 cat >>confdefs.h <<_ACEOF
65475 #define HAVE__SINCOSL 1
65476 _ACEOF
65477
65478 fi
65479 done
65480
65481 fi
65482 fi
65483
65484
65485
65486
65487
65488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65489 $as_echo_n "checking for finitel declaration... " >&6; }
65490 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65491 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65492 $as_echo_n "(cached) " >&6
65493 else
65494
65495
65496 ac_ext=cpp
65497 ac_cpp='$CXXCPP $CPPFLAGS'
65498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65501
65502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65503 /* end confdefs.h. */
65504 #include <math.h>
65505 #ifdef HAVE_IEEEFP_H
65506 #include <ieeefp.h>
65507 #endif
65508
65509 int
65510 main ()
65511 {
65512 finitel(0);
65513 ;
65514 return 0;
65515 }
65516 _ACEOF
65517 if ac_fn_cxx_try_compile "$LINENO"; then :
65518 glibcxx_cv_func_finitel_use=yes
65519 else
65520 glibcxx_cv_func_finitel_use=no
65521 fi
65522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65523 ac_ext=c
65524 ac_cpp='$CPP $CPPFLAGS'
65525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65528
65529
65530 fi
65531
65532 fi
65533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65534 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65535
65536 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65537 for ac_func in finitel
65538 do :
65539 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65540 if test "x$ac_cv_func_finitel" = x""yes; then :
65541 cat >>confdefs.h <<_ACEOF
65542 #define HAVE_FINITEL 1
65543 _ACEOF
65544
65545 fi
65546 done
65547
65548 else
65549
65550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65551 $as_echo_n "checking for _finitel declaration... " >&6; }
65552 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65553 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65554 $as_echo_n "(cached) " >&6
65555 else
65556
65557
65558 ac_ext=cpp
65559 ac_cpp='$CXXCPP $CPPFLAGS'
65560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65563
65564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65565 /* end confdefs.h. */
65566 #include <math.h>
65567 #ifdef HAVE_IEEEFP_H
65568 #include <ieeefp.h>
65569 #endif
65570
65571 int
65572 main ()
65573 {
65574 _finitel(0);
65575 ;
65576 return 0;
65577 }
65578 _ACEOF
65579 if ac_fn_cxx_try_compile "$LINENO"; then :
65580 glibcxx_cv_func__finitel_use=yes
65581 else
65582 glibcxx_cv_func__finitel_use=no
65583 fi
65584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65585 ac_ext=c
65586 ac_cpp='$CPP $CPPFLAGS'
65587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65590
65591
65592 fi
65593
65594 fi
65595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65596 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65597
65598 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65599 for ac_func in _finitel
65600 do :
65601 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65602 if test "x$ac_cv_func__finitel" = x""yes; then :
65603 cat >>confdefs.h <<_ACEOF
65604 #define HAVE__FINITEL 1
65605 _ACEOF
65606
65607 fi
65608 done
65609
65610 fi
65611 fi
65612
65613
65614
65615
65616 LIBS="$ac_save_LIBS"
65617 CXXFLAGS="$ac_save_CXXFLAGS"
65618
65619
65620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65621 ac_save_CXXFLAGS="$CXXFLAGS"
65622 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65623
65624
65625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65626 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65627 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65628 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65629 $as_echo_n "(cached) " >&6
65630 else
65631
65632
65633 ac_ext=cpp
65634 ac_cpp='$CXXCPP $CPPFLAGS'
65635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65638
65639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65640 /* end confdefs.h. */
65641 #include <stdlib.h>
65642 int
65643 main ()
65644 {
65645 at_quick_exit(0);
65646 ;
65647 return 0;
65648 }
65649 _ACEOF
65650 if ac_fn_cxx_try_compile "$LINENO"; then :
65651 glibcxx_cv_func_at_quick_exit_use=yes
65652 else
65653 glibcxx_cv_func_at_quick_exit_use=no
65654 fi
65655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65656 ac_ext=c
65657 ac_cpp='$CPP $CPPFLAGS'
65658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65661
65662
65663 fi
65664
65665 fi
65666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65667 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65668 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65669 for ac_func in at_quick_exit
65670 do :
65671 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65672 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65673 cat >>confdefs.h <<_ACEOF
65674 #define HAVE_AT_QUICK_EXIT 1
65675 _ACEOF
65676
65677 fi
65678 done
65679
65680 fi
65681
65682
65683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65684 $as_echo_n "checking for quick_exit declaration... " >&6; }
65685 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65686 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65687 $as_echo_n "(cached) " >&6
65688 else
65689
65690
65691 ac_ext=cpp
65692 ac_cpp='$CXXCPP $CPPFLAGS'
65693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65696
65697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65698 /* end confdefs.h. */
65699 #include <stdlib.h>
65700 int
65701 main ()
65702 {
65703 quick_exit(0);
65704 ;
65705 return 0;
65706 }
65707 _ACEOF
65708 if ac_fn_cxx_try_compile "$LINENO"; then :
65709 glibcxx_cv_func_quick_exit_use=yes
65710 else
65711 glibcxx_cv_func_quick_exit_use=no
65712 fi
65713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65714 ac_ext=c
65715 ac_cpp='$CPP $CPPFLAGS'
65716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65719
65720
65721 fi
65722
65723 fi
65724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65725 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65726 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65727 for ac_func in quick_exit
65728 do :
65729 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65730 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65731 cat >>confdefs.h <<_ACEOF
65732 #define HAVE_QUICK_EXIT 1
65733 _ACEOF
65734
65735 fi
65736 done
65737
65738 fi
65739
65740
65741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65742 $as_echo_n "checking for strtold declaration... " >&6; }
65743 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65744 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65745 $as_echo_n "(cached) " >&6
65746 else
65747
65748
65749 ac_ext=cpp
65750 ac_cpp='$CXXCPP $CPPFLAGS'
65751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65754
65755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65756 /* end confdefs.h. */
65757 #include <stdlib.h>
65758 int
65759 main ()
65760 {
65761 strtold(0, 0);
65762 ;
65763 return 0;
65764 }
65765 _ACEOF
65766 if ac_fn_cxx_try_compile "$LINENO"; then :
65767 glibcxx_cv_func_strtold_use=yes
65768 else
65769 glibcxx_cv_func_strtold_use=no
65770 fi
65771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65772 ac_ext=c
65773 ac_cpp='$CPP $CPPFLAGS'
65774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65777
65778
65779 fi
65780
65781 fi
65782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65783 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65784 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65785 for ac_func in strtold
65786 do :
65787 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65788 if test "x$ac_cv_func_strtold" = x""yes; then :
65789 cat >>confdefs.h <<_ACEOF
65790 #define HAVE_STRTOLD 1
65791 _ACEOF
65792
65793 fi
65794 done
65795
65796 fi
65797
65798
65799
65800
65801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65802 $as_echo_n "checking for strtof declaration... " >&6; }
65803 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65804 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65805 $as_echo_n "(cached) " >&6
65806 else
65807
65808
65809 ac_ext=cpp
65810 ac_cpp='$CXXCPP $CPPFLAGS'
65811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65814
65815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65816 /* end confdefs.h. */
65817 #include <stdlib.h>
65818 int
65819 main ()
65820 {
65821 strtof(0, 0);
65822 ;
65823 return 0;
65824 }
65825 _ACEOF
65826 if ac_fn_cxx_try_compile "$LINENO"; then :
65827 glibcxx_cv_func_strtof_use=yes
65828 else
65829 glibcxx_cv_func_strtof_use=no
65830 fi
65831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65832 ac_ext=c
65833 ac_cpp='$CPP $CPPFLAGS'
65834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65837
65838
65839 fi
65840
65841 fi
65842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65843 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65844 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65845 for ac_func in strtof
65846 do :
65847 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65848 if test "x$ac_cv_func_strtof" = x""yes; then :
65849 cat >>confdefs.h <<_ACEOF
65850 #define HAVE_STRTOF 1
65851 _ACEOF
65852
65853 fi
65854 done
65855
65856 fi
65857
65858
65859
65860
65861 CXXFLAGS="$ac_save_CXXFLAGS"
65862
65863 ;;
65864 *-netbsd*)
65865 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65866
65867
65868 # If we're not using GNU ld, then there's no point in even trying these
65869 # tests. Check for that first. We should have already tested for gld
65870 # by now (in libtool), but require it now just to be safe...
65871 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65872 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65873
65874
65875
65876 # The name set by libtool depends on the version of libtool. Shame on us
65877 # for depending on an impl detail, but c'est la vie. Older versions used
65878 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65879 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65880 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65881 # set (hence we're using an older libtool), then set it.
65882 if test x${with_gnu_ld+set} != xset; then
65883 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65884 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65885 with_gnu_ld=no
65886 else
65887 with_gnu_ld=$ac_cv_prog_gnu_ld
65888 fi
65889 fi
65890
65891 # Start by getting the version number. I think the libtool test already
65892 # does some of this, but throws away the result.
65893 glibcxx_ld_is_gold=no
65894 if test x"$with_gnu_ld" = x"yes"; then
65895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65896 $as_echo_n "checking for ld version... " >&6; }
65897
65898 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65899 glibcxx_ld_is_gold=yes
65900 fi
65901 ldver=`$LD --version 2>/dev/null |
65902 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'`
65903
65904 glibcxx_gnu_ld_version=`echo $ldver | \
65905 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65907 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65908 fi
65909
65910 # Set --gc-sections.
65911 glibcxx_have_gc_sections=no
65912 if test "$glibcxx_ld_is_gold" = "yes"; then
65913 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65914 glibcxx_have_gc_sections=yes
65915 fi
65916 else
65917 glibcxx_gcsections_min_ld=21602
65918 if test x"$with_gnu_ld" = x"yes" &&
65919 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65920 glibcxx_have_gc_sections=yes
65921 fi
65922 fi
65923 if test "$glibcxx_have_gc_sections" = "yes"; then
65924 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65925 # NB: This flag only works reliably after 2.16.1. Configure tests
65926 # for this are difficult, so hard wire a value that should work.
65927
65928 ac_test_CFLAGS="${CFLAGS+set}"
65929 ac_save_CFLAGS="$CFLAGS"
65930 CFLAGS='-Wl,--gc-sections'
65931
65932 # Check for -Wl,--gc-sections
65933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65934 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65935 if test x$gcc_no_link = xyes; then
65936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65937 fi
65938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65939 /* end confdefs.h. */
65940 int one(void) { return 1; }
65941 int two(void) { return 2; }
65942
65943 int
65944 main ()
65945 {
65946 two();
65947 ;
65948 return 0;
65949 }
65950 _ACEOF
65951 if ac_fn_c_try_link "$LINENO"; then :
65952 ac_gcsections=yes
65953 else
65954 ac_gcsections=no
65955 fi
65956 rm -f core conftest.err conftest.$ac_objext \
65957 conftest$ac_exeext conftest.$ac_ext
65958 if test "$ac_gcsections" = "yes"; then
65959 rm -f conftest.c
65960 touch conftest.c
65961 if $CC -c conftest.c; then
65962 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65963 grep "Warning: gc-sections option ignored" > /dev/null; then
65964 ac_gcsections=no
65965 fi
65966 fi
65967 rm -f conftest.c conftest.o conftest
65968 fi
65969 if test "$ac_gcsections" = "yes"; then
65970 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65971 fi
65972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65973 $as_echo "$ac_gcsections" >&6; }
65974
65975 if test "$ac_test_CFLAGS" = set; then
65976 CFLAGS="$ac_save_CFLAGS"
65977 else
65978 # this is the suspicious part
65979 CFLAGS=''
65980 fi
65981 fi
65982
65983 # Set -z,relro.
65984 # Note this is only for shared objects.
65985 ac_ld_relro=no
65986 if test x"$with_gnu_ld" = x"yes"; then
65987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65988 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65989 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65990 if test -n "$cxx_z_relo"; then
65991 OPT_LDFLAGS="-Wl,-z,relro"
65992 ac_ld_relro=yes
65993 fi
65994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65995 $as_echo "$ac_ld_relro" >&6; }
65996 fi
65997
65998 # Set linker optimization flags.
65999 if test x"$with_gnu_ld" = x"yes"; then
66000 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66001 fi
66002
66003
66004
66005
66006 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66007
66008 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66009
66010 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66011
66012 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66013
66014 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66015
66016 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66017
66018 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66019
66020 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66021
66022 if test x"long_double_math_on_this_cpu" = x"yes"; then
66023 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66024
66025 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66026
66027 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66028
66029 fi
66030 ;;
66031 *-qnx6.1* | *-qnx6.2*)
66032 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66033
66034
66035 # If we're not using GNU ld, then there's no point in even trying these
66036 # tests. Check for that first. We should have already tested for gld
66037 # by now (in libtool), but require it now just to be safe...
66038 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66039 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66040
66041
66042
66043 # The name set by libtool depends on the version of libtool. Shame on us
66044 # for depending on an impl detail, but c'est la vie. Older versions used
66045 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66046 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66047 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66048 # set (hence we're using an older libtool), then set it.
66049 if test x${with_gnu_ld+set} != xset; then
66050 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66051 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66052 with_gnu_ld=no
66053 else
66054 with_gnu_ld=$ac_cv_prog_gnu_ld
66055 fi
66056 fi
66057
66058 # Start by getting the version number. I think the libtool test already
66059 # does some of this, but throws away the result.
66060 glibcxx_ld_is_gold=no
66061 if test x"$with_gnu_ld" = x"yes"; then
66062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66063 $as_echo_n "checking for ld version... " >&6; }
66064
66065 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66066 glibcxx_ld_is_gold=yes
66067 fi
66068 ldver=`$LD --version 2>/dev/null |
66069 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'`
66070
66071 glibcxx_gnu_ld_version=`echo $ldver | \
66072 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66074 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66075 fi
66076
66077 # Set --gc-sections.
66078 glibcxx_have_gc_sections=no
66079 if test "$glibcxx_ld_is_gold" = "yes"; then
66080 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66081 glibcxx_have_gc_sections=yes
66082 fi
66083 else
66084 glibcxx_gcsections_min_ld=21602
66085 if test x"$with_gnu_ld" = x"yes" &&
66086 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66087 glibcxx_have_gc_sections=yes
66088 fi
66089 fi
66090 if test "$glibcxx_have_gc_sections" = "yes"; then
66091 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66092 # NB: This flag only works reliably after 2.16.1. Configure tests
66093 # for this are difficult, so hard wire a value that should work.
66094
66095 ac_test_CFLAGS="${CFLAGS+set}"
66096 ac_save_CFLAGS="$CFLAGS"
66097 CFLAGS='-Wl,--gc-sections'
66098
66099 # Check for -Wl,--gc-sections
66100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66101 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66102 if test x$gcc_no_link = xyes; then
66103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66104 fi
66105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66106 /* end confdefs.h. */
66107 int one(void) { return 1; }
66108 int two(void) { return 2; }
66109
66110 int
66111 main ()
66112 {
66113 two();
66114 ;
66115 return 0;
66116 }
66117 _ACEOF
66118 if ac_fn_c_try_link "$LINENO"; then :
66119 ac_gcsections=yes
66120 else
66121 ac_gcsections=no
66122 fi
66123 rm -f core conftest.err conftest.$ac_objext \
66124 conftest$ac_exeext conftest.$ac_ext
66125 if test "$ac_gcsections" = "yes"; then
66126 rm -f conftest.c
66127 touch conftest.c
66128 if $CC -c conftest.c; then
66129 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66130 grep "Warning: gc-sections option ignored" > /dev/null; then
66131 ac_gcsections=no
66132 fi
66133 fi
66134 rm -f conftest.c conftest.o conftest
66135 fi
66136 if test "$ac_gcsections" = "yes"; then
66137 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66138 fi
66139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66140 $as_echo "$ac_gcsections" >&6; }
66141
66142 if test "$ac_test_CFLAGS" = set; then
66143 CFLAGS="$ac_save_CFLAGS"
66144 else
66145 # this is the suspicious part
66146 CFLAGS=''
66147 fi
66148 fi
66149
66150 # Set -z,relro.
66151 # Note this is only for shared objects.
66152 ac_ld_relro=no
66153 if test x"$with_gnu_ld" = x"yes"; then
66154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66155 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66156 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66157 if test -n "$cxx_z_relo"; then
66158 OPT_LDFLAGS="-Wl,-z,relro"
66159 ac_ld_relro=yes
66160 fi
66161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66162 $as_echo "$ac_ld_relro" >&6; }
66163 fi
66164
66165 # Set linker optimization flags.
66166 if test x"$with_gnu_ld" = x"yes"; then
66167 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66168 fi
66169
66170
66171
66172
66173 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66174
66175 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66176
66177 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66178
66179 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66180
66181 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66182
66183 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66184
66185 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66186
66187 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66188
66189 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66190
66191 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66192
66193 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66194
66195 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66196
66197 ;;
66198 *-rtems*)
66199
66200 # All these tests are for C++; save the language and the compiler flags.
66201 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66202 # found in GLIBCXX_CONFIGURE.
66203
66204 ac_ext=cpp
66205 ac_cpp='$CXXCPP $CPPFLAGS'
66206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66209
66210 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66211 ac_save_CXXFLAGS="$CXXFLAGS"
66212
66213 # Check for maintainer-mode bits.
66214 if test x"$USE_MAINTAINER_MODE" = xno; then
66215 WERROR=''
66216 else
66217 WERROR='-Werror'
66218 fi
66219
66220 # Check for -ffunction-sections -fdata-sections
66221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66222 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66223 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66225 /* end confdefs.h. */
66226 int foo; void bar() { };
66227 int
66228 main ()
66229 {
66230
66231 ;
66232 return 0;
66233 }
66234 _ACEOF
66235 if ac_fn_cxx_try_compile "$LINENO"; then :
66236 ac_fdsections=yes
66237 else
66238 ac_fdsections=no
66239 fi
66240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66241 if test "$ac_test_CXXFLAGS" = set; then
66242 CXXFLAGS="$ac_save_CXXFLAGS"
66243 else
66244 # this is the suspicious part
66245 CXXFLAGS=''
66246 fi
66247 if test x"$ac_fdsections" = x"yes"; then
66248 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66249 fi
66250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66251 $as_echo "$ac_fdsections" >&6; }
66252
66253 ac_ext=c
66254 ac_cpp='$CPP $CPPFLAGS'
66255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66258
66259
66260
66261
66262
66263 # If we're not using GNU ld, then there's no point in even trying these
66264 # tests. Check for that first. We should have already tested for gld
66265 # by now (in libtool), but require it now just to be safe...
66266 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66267 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66268
66269
66270
66271 # The name set by libtool depends on the version of libtool. Shame on us
66272 # for depending on an impl detail, but c'est la vie. Older versions used
66273 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66274 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66275 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66276 # set (hence we're using an older libtool), then set it.
66277 if test x${with_gnu_ld+set} != xset; then
66278 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66279 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66280 with_gnu_ld=no
66281 else
66282 with_gnu_ld=$ac_cv_prog_gnu_ld
66283 fi
66284 fi
66285
66286 # Start by getting the version number. I think the libtool test already
66287 # does some of this, but throws away the result.
66288 glibcxx_ld_is_gold=no
66289 if test x"$with_gnu_ld" = x"yes"; then
66290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66291 $as_echo_n "checking for ld version... " >&6; }
66292
66293 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66294 glibcxx_ld_is_gold=yes
66295 fi
66296 ldver=`$LD --version 2>/dev/null |
66297 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'`
66298
66299 glibcxx_gnu_ld_version=`echo $ldver | \
66300 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66302 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66303 fi
66304
66305 # Set --gc-sections.
66306 glibcxx_have_gc_sections=no
66307 if test "$glibcxx_ld_is_gold" = "yes"; then
66308 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66309 glibcxx_have_gc_sections=yes
66310 fi
66311 else
66312 glibcxx_gcsections_min_ld=21602
66313 if test x"$with_gnu_ld" = x"yes" &&
66314 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66315 glibcxx_have_gc_sections=yes
66316 fi
66317 fi
66318 if test "$glibcxx_have_gc_sections" = "yes"; then
66319 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66320 # NB: This flag only works reliably after 2.16.1. Configure tests
66321 # for this are difficult, so hard wire a value that should work.
66322
66323 ac_test_CFLAGS="${CFLAGS+set}"
66324 ac_save_CFLAGS="$CFLAGS"
66325 CFLAGS='-Wl,--gc-sections'
66326
66327 # Check for -Wl,--gc-sections
66328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66329 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66330 if test x$gcc_no_link = xyes; then
66331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66332 fi
66333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66334 /* end confdefs.h. */
66335 int one(void) { return 1; }
66336 int two(void) { return 2; }
66337
66338 int
66339 main ()
66340 {
66341 two();
66342 ;
66343 return 0;
66344 }
66345 _ACEOF
66346 if ac_fn_c_try_link "$LINENO"; then :
66347 ac_gcsections=yes
66348 else
66349 ac_gcsections=no
66350 fi
66351 rm -f core conftest.err conftest.$ac_objext \
66352 conftest$ac_exeext conftest.$ac_ext
66353 if test "$ac_gcsections" = "yes"; then
66354 rm -f conftest.c
66355 touch conftest.c
66356 if $CC -c conftest.c; then
66357 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66358 grep "Warning: gc-sections option ignored" > /dev/null; then
66359 ac_gcsections=no
66360 fi
66361 fi
66362 rm -f conftest.c conftest.o conftest
66363 fi
66364 if test "$ac_gcsections" = "yes"; then
66365 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66366 fi
66367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66368 $as_echo "$ac_gcsections" >&6; }
66369
66370 if test "$ac_test_CFLAGS" = set; then
66371 CFLAGS="$ac_save_CFLAGS"
66372 else
66373 # this is the suspicious part
66374 CFLAGS=''
66375 fi
66376 fi
66377
66378 # Set -z,relro.
66379 # Note this is only for shared objects.
66380 ac_ld_relro=no
66381 if test x"$with_gnu_ld" = x"yes"; then
66382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66383 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66384 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66385 if test -n "$cxx_z_relo"; then
66386 OPT_LDFLAGS="-Wl,-z,relro"
66387 ac_ld_relro=yes
66388 fi
66389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66390 $as_echo "$ac_ld_relro" >&6; }
66391 fi
66392
66393 # Set linker optimization flags.
66394 if test x"$with_gnu_ld" = x"yes"; then
66395 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66396 fi
66397
66398
66399
66400
66401
66402 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66403 ac_save_CXXFLAGS="$CXXFLAGS"
66404 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66405
66406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66407 $as_echo_n "checking for sin in -lm... " >&6; }
66408 if test "${ac_cv_lib_m_sin+set}" = set; then :
66409 $as_echo_n "(cached) " >&6
66410 else
66411 ac_check_lib_save_LIBS=$LIBS
66412 LIBS="-lm $LIBS"
66413 if test x$gcc_no_link = xyes; then
66414 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66415 fi
66416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66417 /* end confdefs.h. */
66418
66419 /* Override any GCC internal prototype to avoid an error.
66420 Use char because int might match the return type of a GCC
66421 builtin and then its argument prototype would still apply. */
66422 #ifdef __cplusplus
66423 extern "C"
66424 #endif
66425 char sin ();
66426 int
66427 main ()
66428 {
66429 return sin ();
66430 ;
66431 return 0;
66432 }
66433 _ACEOF
66434 if ac_fn_c_try_link "$LINENO"; then :
66435 ac_cv_lib_m_sin=yes
66436 else
66437 ac_cv_lib_m_sin=no
66438 fi
66439 rm -f core conftest.err conftest.$ac_objext \
66440 conftest$ac_exeext conftest.$ac_ext
66441 LIBS=$ac_check_lib_save_LIBS
66442 fi
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66444 $as_echo "$ac_cv_lib_m_sin" >&6; }
66445 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66446 libm="-lm"
66447 fi
66448
66449 ac_save_LIBS="$LIBS"
66450 LIBS="$LIBS $libm"
66451
66452
66453
66454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66455 $as_echo_n "checking for isinf declaration... " >&6; }
66456 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66457 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66458 $as_echo_n "(cached) " >&6
66459 else
66460
66461
66462 ac_ext=cpp
66463 ac_cpp='$CXXCPP $CPPFLAGS'
66464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66467
66468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66469 /* end confdefs.h. */
66470 #include <math.h>
66471 #ifdef HAVE_IEEEFP_H
66472 #include <ieeefp.h>
66473 #endif
66474
66475 int
66476 main ()
66477 {
66478 isinf(0);
66479 ;
66480 return 0;
66481 }
66482 _ACEOF
66483 if ac_fn_cxx_try_compile "$LINENO"; then :
66484 glibcxx_cv_func_isinf_use=yes
66485 else
66486 glibcxx_cv_func_isinf_use=no
66487 fi
66488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66489 ac_ext=c
66490 ac_cpp='$CPP $CPPFLAGS'
66491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66494
66495
66496 fi
66497
66498 fi
66499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66500 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66501
66502 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66503 for ac_func in isinf
66504 do :
66505 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66506 if test "x$ac_cv_func_isinf" = x""yes; then :
66507 cat >>confdefs.h <<_ACEOF
66508 #define HAVE_ISINF 1
66509 _ACEOF
66510
66511 fi
66512 done
66513
66514 else
66515
66516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66517 $as_echo_n "checking for _isinf declaration... " >&6; }
66518 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66519 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66520 $as_echo_n "(cached) " >&6
66521 else
66522
66523
66524 ac_ext=cpp
66525 ac_cpp='$CXXCPP $CPPFLAGS'
66526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66529
66530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66531 /* end confdefs.h. */
66532 #include <math.h>
66533 #ifdef HAVE_IEEEFP_H
66534 #include <ieeefp.h>
66535 #endif
66536
66537 int
66538 main ()
66539 {
66540 _isinf(0);
66541 ;
66542 return 0;
66543 }
66544 _ACEOF
66545 if ac_fn_cxx_try_compile "$LINENO"; then :
66546 glibcxx_cv_func__isinf_use=yes
66547 else
66548 glibcxx_cv_func__isinf_use=no
66549 fi
66550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66551 ac_ext=c
66552 ac_cpp='$CPP $CPPFLAGS'
66553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66556
66557
66558 fi
66559
66560 fi
66561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66562 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66563
66564 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66565 for ac_func in _isinf
66566 do :
66567 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66568 if test "x$ac_cv_func__isinf" = x""yes; then :
66569 cat >>confdefs.h <<_ACEOF
66570 #define HAVE__ISINF 1
66571 _ACEOF
66572
66573 fi
66574 done
66575
66576 fi
66577 fi
66578
66579
66580
66581
66582
66583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66584 $as_echo_n "checking for isnan declaration... " >&6; }
66585 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66586 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66587 $as_echo_n "(cached) " >&6
66588 else
66589
66590
66591 ac_ext=cpp
66592 ac_cpp='$CXXCPP $CPPFLAGS'
66593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66596
66597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66598 /* end confdefs.h. */
66599 #include <math.h>
66600 #ifdef HAVE_IEEEFP_H
66601 #include <ieeefp.h>
66602 #endif
66603
66604 int
66605 main ()
66606 {
66607 isnan(0);
66608 ;
66609 return 0;
66610 }
66611 _ACEOF
66612 if ac_fn_cxx_try_compile "$LINENO"; then :
66613 glibcxx_cv_func_isnan_use=yes
66614 else
66615 glibcxx_cv_func_isnan_use=no
66616 fi
66617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66618 ac_ext=c
66619 ac_cpp='$CPP $CPPFLAGS'
66620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66623
66624
66625 fi
66626
66627 fi
66628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66629 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66630
66631 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66632 for ac_func in isnan
66633 do :
66634 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66635 if test "x$ac_cv_func_isnan" = x""yes; then :
66636 cat >>confdefs.h <<_ACEOF
66637 #define HAVE_ISNAN 1
66638 _ACEOF
66639
66640 fi
66641 done
66642
66643 else
66644
66645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66646 $as_echo_n "checking for _isnan declaration... " >&6; }
66647 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66648 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66649 $as_echo_n "(cached) " >&6
66650 else
66651
66652
66653 ac_ext=cpp
66654 ac_cpp='$CXXCPP $CPPFLAGS'
66655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66658
66659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66660 /* end confdefs.h. */
66661 #include <math.h>
66662 #ifdef HAVE_IEEEFP_H
66663 #include <ieeefp.h>
66664 #endif
66665
66666 int
66667 main ()
66668 {
66669 _isnan(0);
66670 ;
66671 return 0;
66672 }
66673 _ACEOF
66674 if ac_fn_cxx_try_compile "$LINENO"; then :
66675 glibcxx_cv_func__isnan_use=yes
66676 else
66677 glibcxx_cv_func__isnan_use=no
66678 fi
66679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66680 ac_ext=c
66681 ac_cpp='$CPP $CPPFLAGS'
66682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66685
66686
66687 fi
66688
66689 fi
66690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66691 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66692
66693 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66694 for ac_func in _isnan
66695 do :
66696 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66697 if test "x$ac_cv_func__isnan" = x""yes; then :
66698 cat >>confdefs.h <<_ACEOF
66699 #define HAVE__ISNAN 1
66700 _ACEOF
66701
66702 fi
66703 done
66704
66705 fi
66706 fi
66707
66708
66709
66710
66711
66712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66713 $as_echo_n "checking for finite declaration... " >&6; }
66714 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66715 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66716 $as_echo_n "(cached) " >&6
66717 else
66718
66719
66720 ac_ext=cpp
66721 ac_cpp='$CXXCPP $CPPFLAGS'
66722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66725
66726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66727 /* end confdefs.h. */
66728 #include <math.h>
66729 #ifdef HAVE_IEEEFP_H
66730 #include <ieeefp.h>
66731 #endif
66732
66733 int
66734 main ()
66735 {
66736 finite(0);
66737 ;
66738 return 0;
66739 }
66740 _ACEOF
66741 if ac_fn_cxx_try_compile "$LINENO"; then :
66742 glibcxx_cv_func_finite_use=yes
66743 else
66744 glibcxx_cv_func_finite_use=no
66745 fi
66746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66747 ac_ext=c
66748 ac_cpp='$CPP $CPPFLAGS'
66749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66752
66753
66754 fi
66755
66756 fi
66757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66758 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66759
66760 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66761 for ac_func in finite
66762 do :
66763 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66764 if test "x$ac_cv_func_finite" = x""yes; then :
66765 cat >>confdefs.h <<_ACEOF
66766 #define HAVE_FINITE 1
66767 _ACEOF
66768
66769 fi
66770 done
66771
66772 else
66773
66774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66775 $as_echo_n "checking for _finite declaration... " >&6; }
66776 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66777 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66778 $as_echo_n "(cached) " >&6
66779 else
66780
66781
66782 ac_ext=cpp
66783 ac_cpp='$CXXCPP $CPPFLAGS'
66784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66787
66788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66789 /* end confdefs.h. */
66790 #include <math.h>
66791 #ifdef HAVE_IEEEFP_H
66792 #include <ieeefp.h>
66793 #endif
66794
66795 int
66796 main ()
66797 {
66798 _finite(0);
66799 ;
66800 return 0;
66801 }
66802 _ACEOF
66803 if ac_fn_cxx_try_compile "$LINENO"; then :
66804 glibcxx_cv_func__finite_use=yes
66805 else
66806 glibcxx_cv_func__finite_use=no
66807 fi
66808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66809 ac_ext=c
66810 ac_cpp='$CPP $CPPFLAGS'
66811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66814
66815
66816 fi
66817
66818 fi
66819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66820 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66821
66822 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66823 for ac_func in _finite
66824 do :
66825 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66826 if test "x$ac_cv_func__finite" = x""yes; then :
66827 cat >>confdefs.h <<_ACEOF
66828 #define HAVE__FINITE 1
66829 _ACEOF
66830
66831 fi
66832 done
66833
66834 fi
66835 fi
66836
66837
66838
66839
66840
66841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66842 $as_echo_n "checking for sincos declaration... " >&6; }
66843 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66844 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66845 $as_echo_n "(cached) " >&6
66846 else
66847
66848
66849 ac_ext=cpp
66850 ac_cpp='$CXXCPP $CPPFLAGS'
66851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66854
66855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66856 /* end confdefs.h. */
66857 #include <math.h>
66858 int
66859 main ()
66860 {
66861 sincos(0, 0, 0);
66862 ;
66863 return 0;
66864 }
66865 _ACEOF
66866 if ac_fn_cxx_try_compile "$LINENO"; then :
66867 glibcxx_cv_func_sincos_use=yes
66868 else
66869 glibcxx_cv_func_sincos_use=no
66870 fi
66871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66872 ac_ext=c
66873 ac_cpp='$CPP $CPPFLAGS'
66874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66877
66878
66879 fi
66880
66881 fi
66882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66883 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66884
66885 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66886 for ac_func in sincos
66887 do :
66888 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66889 if test "x$ac_cv_func_sincos" = x""yes; then :
66890 cat >>confdefs.h <<_ACEOF
66891 #define HAVE_SINCOS 1
66892 _ACEOF
66893
66894 fi
66895 done
66896
66897 else
66898
66899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66900 $as_echo_n "checking for _sincos declaration... " >&6; }
66901 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66902 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66903 $as_echo_n "(cached) " >&6
66904 else
66905
66906
66907 ac_ext=cpp
66908 ac_cpp='$CXXCPP $CPPFLAGS'
66909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66912
66913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66914 /* end confdefs.h. */
66915 #include <math.h>
66916 int
66917 main ()
66918 {
66919 _sincos(0, 0, 0);
66920 ;
66921 return 0;
66922 }
66923 _ACEOF
66924 if ac_fn_cxx_try_compile "$LINENO"; then :
66925 glibcxx_cv_func__sincos_use=yes
66926 else
66927 glibcxx_cv_func__sincos_use=no
66928 fi
66929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66930 ac_ext=c
66931 ac_cpp='$CPP $CPPFLAGS'
66932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66935
66936
66937 fi
66938
66939 fi
66940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66941 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66942
66943 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66944 for ac_func in _sincos
66945 do :
66946 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66947 if test "x$ac_cv_func__sincos" = x""yes; then :
66948 cat >>confdefs.h <<_ACEOF
66949 #define HAVE__SINCOS 1
66950 _ACEOF
66951
66952 fi
66953 done
66954
66955 fi
66956 fi
66957
66958
66959
66960
66961
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66963 $as_echo_n "checking for fpclass declaration... " >&6; }
66964 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66965 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66966 $as_echo_n "(cached) " >&6
66967 else
66968
66969
66970 ac_ext=cpp
66971 ac_cpp='$CXXCPP $CPPFLAGS'
66972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66975
66976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66977 /* end confdefs.h. */
66978 #include <math.h>
66979 #ifdef HAVE_IEEEFP_H
66980 #include <ieeefp.h>
66981 #endif
66982
66983 int
66984 main ()
66985 {
66986 fpclass(0);
66987 ;
66988 return 0;
66989 }
66990 _ACEOF
66991 if ac_fn_cxx_try_compile "$LINENO"; then :
66992 glibcxx_cv_func_fpclass_use=yes
66993 else
66994 glibcxx_cv_func_fpclass_use=no
66995 fi
66996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66997 ac_ext=c
66998 ac_cpp='$CPP $CPPFLAGS'
66999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67002
67003
67004 fi
67005
67006 fi
67007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67008 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67009
67010 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67011 for ac_func in fpclass
67012 do :
67013 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67014 if test "x$ac_cv_func_fpclass" = x""yes; then :
67015 cat >>confdefs.h <<_ACEOF
67016 #define HAVE_FPCLASS 1
67017 _ACEOF
67018
67019 fi
67020 done
67021
67022 else
67023
67024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67025 $as_echo_n "checking for _fpclass declaration... " >&6; }
67026 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67027 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67028 $as_echo_n "(cached) " >&6
67029 else
67030
67031
67032 ac_ext=cpp
67033 ac_cpp='$CXXCPP $CPPFLAGS'
67034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67037
67038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67039 /* end confdefs.h. */
67040 #include <math.h>
67041 #ifdef HAVE_IEEEFP_H
67042 #include <ieeefp.h>
67043 #endif
67044
67045 int
67046 main ()
67047 {
67048 _fpclass(0);
67049 ;
67050 return 0;
67051 }
67052 _ACEOF
67053 if ac_fn_cxx_try_compile "$LINENO"; then :
67054 glibcxx_cv_func__fpclass_use=yes
67055 else
67056 glibcxx_cv_func__fpclass_use=no
67057 fi
67058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67059 ac_ext=c
67060 ac_cpp='$CPP $CPPFLAGS'
67061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67064
67065
67066 fi
67067
67068 fi
67069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67070 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67071
67072 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67073 for ac_func in _fpclass
67074 do :
67075 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67076 if test "x$ac_cv_func__fpclass" = x""yes; then :
67077 cat >>confdefs.h <<_ACEOF
67078 #define HAVE__FPCLASS 1
67079 _ACEOF
67080
67081 fi
67082 done
67083
67084 fi
67085 fi
67086
67087
67088
67089
67090
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67092 $as_echo_n "checking for qfpclass declaration... " >&6; }
67093 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67094 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67095 $as_echo_n "(cached) " >&6
67096 else
67097
67098
67099 ac_ext=cpp
67100 ac_cpp='$CXXCPP $CPPFLAGS'
67101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67104
67105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67106 /* end confdefs.h. */
67107 #include <math.h>
67108 #ifdef HAVE_IEEEFP_H
67109 #include <ieeefp.h>
67110 #endif
67111
67112 int
67113 main ()
67114 {
67115 qfpclass(0);
67116 ;
67117 return 0;
67118 }
67119 _ACEOF
67120 if ac_fn_cxx_try_compile "$LINENO"; then :
67121 glibcxx_cv_func_qfpclass_use=yes
67122 else
67123 glibcxx_cv_func_qfpclass_use=no
67124 fi
67125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67126 ac_ext=c
67127 ac_cpp='$CPP $CPPFLAGS'
67128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67131
67132
67133 fi
67134
67135 fi
67136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67137 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67138
67139 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67140 for ac_func in qfpclass
67141 do :
67142 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67143 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67144 cat >>confdefs.h <<_ACEOF
67145 #define HAVE_QFPCLASS 1
67146 _ACEOF
67147
67148 fi
67149 done
67150
67151 else
67152
67153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67154 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67155 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67156 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67157 $as_echo_n "(cached) " >&6
67158 else
67159
67160
67161 ac_ext=cpp
67162 ac_cpp='$CXXCPP $CPPFLAGS'
67163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67166
67167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67168 /* end confdefs.h. */
67169 #include <math.h>
67170 #ifdef HAVE_IEEEFP_H
67171 #include <ieeefp.h>
67172 #endif
67173
67174 int
67175 main ()
67176 {
67177 _qfpclass(0);
67178 ;
67179 return 0;
67180 }
67181 _ACEOF
67182 if ac_fn_cxx_try_compile "$LINENO"; then :
67183 glibcxx_cv_func__qfpclass_use=yes
67184 else
67185 glibcxx_cv_func__qfpclass_use=no
67186 fi
67187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67188 ac_ext=c
67189 ac_cpp='$CPP $CPPFLAGS'
67190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67193
67194
67195 fi
67196
67197 fi
67198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67199 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67200
67201 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67202 for ac_func in _qfpclass
67203 do :
67204 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67205 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67206 cat >>confdefs.h <<_ACEOF
67207 #define HAVE__QFPCLASS 1
67208 _ACEOF
67209
67210 fi
67211 done
67212
67213 fi
67214 fi
67215
67216
67217
67218
67219
67220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67221 $as_echo_n "checking for hypot declaration... " >&6; }
67222 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67223 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67224 $as_echo_n "(cached) " >&6
67225 else
67226
67227
67228 ac_ext=cpp
67229 ac_cpp='$CXXCPP $CPPFLAGS'
67230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67233
67234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67235 /* end confdefs.h. */
67236 #include <math.h>
67237 int
67238 main ()
67239 {
67240 hypot(0, 0);
67241 ;
67242 return 0;
67243 }
67244 _ACEOF
67245 if ac_fn_cxx_try_compile "$LINENO"; then :
67246 glibcxx_cv_func_hypot_use=yes
67247 else
67248 glibcxx_cv_func_hypot_use=no
67249 fi
67250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67251 ac_ext=c
67252 ac_cpp='$CPP $CPPFLAGS'
67253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67256
67257
67258 fi
67259
67260 fi
67261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67262 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67263
67264 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67265 for ac_func in hypot
67266 do :
67267 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67268 if test "x$ac_cv_func_hypot" = x""yes; then :
67269 cat >>confdefs.h <<_ACEOF
67270 #define HAVE_HYPOT 1
67271 _ACEOF
67272
67273 fi
67274 done
67275
67276 else
67277
67278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67279 $as_echo_n "checking for _hypot declaration... " >&6; }
67280 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67281 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67282 $as_echo_n "(cached) " >&6
67283 else
67284
67285
67286 ac_ext=cpp
67287 ac_cpp='$CXXCPP $CPPFLAGS'
67288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67291
67292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67293 /* end confdefs.h. */
67294 #include <math.h>
67295 int
67296 main ()
67297 {
67298 _hypot(0, 0);
67299 ;
67300 return 0;
67301 }
67302 _ACEOF
67303 if ac_fn_cxx_try_compile "$LINENO"; then :
67304 glibcxx_cv_func__hypot_use=yes
67305 else
67306 glibcxx_cv_func__hypot_use=no
67307 fi
67308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67309 ac_ext=c
67310 ac_cpp='$CPP $CPPFLAGS'
67311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67314
67315
67316 fi
67317
67318 fi
67319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67320 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67321
67322 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67323 for ac_func in _hypot
67324 do :
67325 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67326 if test "x$ac_cv_func__hypot" = x""yes; then :
67327 cat >>confdefs.h <<_ACEOF
67328 #define HAVE__HYPOT 1
67329 _ACEOF
67330
67331 fi
67332 done
67333
67334 fi
67335 fi
67336
67337
67338
67339
67340
67341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67342 $as_echo_n "checking for float trig functions... " >&6; }
67343 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67344 $as_echo_n "(cached) " >&6
67345 else
67346
67347
67348 ac_ext=cpp
67349 ac_cpp='$CXXCPP $CPPFLAGS'
67350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67353
67354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67355 /* end confdefs.h. */
67356 #include <math.h>
67357 int
67358 main ()
67359 {
67360 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67361 ;
67362 return 0;
67363 }
67364 _ACEOF
67365 if ac_fn_cxx_try_compile "$LINENO"; then :
67366 glibcxx_cv_func_float_trig_use=yes
67367 else
67368 glibcxx_cv_func_float_trig_use=no
67369 fi
67370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67371 ac_ext=c
67372 ac_cpp='$CPP $CPPFLAGS'
67373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67376
67377 fi
67378
67379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67380 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67381 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67382 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67383 do :
67384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67386 eval as_val=\$$as_ac_var
67387 if test "x$as_val" = x""yes; then :
67388 cat >>confdefs.h <<_ACEOF
67389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67390 _ACEOF
67391
67392 fi
67393 done
67394
67395 else
67396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67397 $as_echo_n "checking for _float trig functions... " >&6; }
67398 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67399 $as_echo_n "(cached) " >&6
67400 else
67401
67402
67403 ac_ext=cpp
67404 ac_cpp='$CXXCPP $CPPFLAGS'
67405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67408
67409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67410 /* end confdefs.h. */
67411 #include <math.h>
67412 int
67413 main ()
67414 {
67415 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67416 ;
67417 return 0;
67418 }
67419 _ACEOF
67420 if ac_fn_cxx_try_compile "$LINENO"; then :
67421 glibcxx_cv_func__float_trig_use=yes
67422 else
67423 glibcxx_cv_func__float_trig_use=no
67424 fi
67425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67426 ac_ext=c
67427 ac_cpp='$CPP $CPPFLAGS'
67428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67431
67432 fi
67433
67434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67435 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67436 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67437 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67438 do :
67439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67441 eval as_val=\$$as_ac_var
67442 if test "x$as_val" = x""yes; then :
67443 cat >>confdefs.h <<_ACEOF
67444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67445 _ACEOF
67446
67447 fi
67448 done
67449
67450 fi
67451 fi
67452
67453
67454
67455
67456
67457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67458 $as_echo_n "checking for float round functions... " >&6; }
67459 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67460 $as_echo_n "(cached) " >&6
67461 else
67462
67463
67464 ac_ext=cpp
67465 ac_cpp='$CXXCPP $CPPFLAGS'
67466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67469
67470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67471 /* end confdefs.h. */
67472 #include <math.h>
67473 int
67474 main ()
67475 {
67476 ceilf (0); floorf (0);
67477 ;
67478 return 0;
67479 }
67480 _ACEOF
67481 if ac_fn_cxx_try_compile "$LINENO"; then :
67482 glibcxx_cv_func_float_round_use=yes
67483 else
67484 glibcxx_cv_func_float_round_use=no
67485 fi
67486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67487 ac_ext=c
67488 ac_cpp='$CPP $CPPFLAGS'
67489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67492
67493 fi
67494
67495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67496 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67497 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67498 for ac_func in ceilf floorf
67499 do :
67500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67502 eval as_val=\$$as_ac_var
67503 if test "x$as_val" = x""yes; then :
67504 cat >>confdefs.h <<_ACEOF
67505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67506 _ACEOF
67507
67508 fi
67509 done
67510
67511 else
67512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67513 $as_echo_n "checking for _float round functions... " >&6; }
67514 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67515 $as_echo_n "(cached) " >&6
67516 else
67517
67518
67519 ac_ext=cpp
67520 ac_cpp='$CXXCPP $CPPFLAGS'
67521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67524
67525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67526 /* end confdefs.h. */
67527 #include <math.h>
67528 int
67529 main ()
67530 {
67531 _ceilf (0); _floorf (0);
67532 ;
67533 return 0;
67534 }
67535 _ACEOF
67536 if ac_fn_cxx_try_compile "$LINENO"; then :
67537 glibcxx_cv_func__float_round_use=yes
67538 else
67539 glibcxx_cv_func__float_round_use=no
67540 fi
67541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67542 ac_ext=c
67543 ac_cpp='$CPP $CPPFLAGS'
67544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67547
67548 fi
67549
67550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67551 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67552 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67553 for ac_func in _ceilf _floorf
67554 do :
67555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67557 eval as_val=\$$as_ac_var
67558 if test "x$as_val" = x""yes; then :
67559 cat >>confdefs.h <<_ACEOF
67560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67561 _ACEOF
67562
67563 fi
67564 done
67565
67566 fi
67567 fi
67568
67569
67570
67571
67572
67573
67574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67575 $as_echo_n "checking for expf declaration... " >&6; }
67576 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67577 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67578 $as_echo_n "(cached) " >&6
67579 else
67580
67581
67582 ac_ext=cpp
67583 ac_cpp='$CXXCPP $CPPFLAGS'
67584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67587
67588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67589 /* end confdefs.h. */
67590 #include <math.h>
67591 #ifdef HAVE_IEEEFP_H
67592 #include <ieeefp.h>
67593 #endif
67594
67595 int
67596 main ()
67597 {
67598 expf(0);
67599 ;
67600 return 0;
67601 }
67602 _ACEOF
67603 if ac_fn_cxx_try_compile "$LINENO"; then :
67604 glibcxx_cv_func_expf_use=yes
67605 else
67606 glibcxx_cv_func_expf_use=no
67607 fi
67608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67609 ac_ext=c
67610 ac_cpp='$CPP $CPPFLAGS'
67611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67614
67615
67616 fi
67617
67618 fi
67619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67620 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67621
67622 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67623 for ac_func in expf
67624 do :
67625 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67626 if test "x$ac_cv_func_expf" = x""yes; then :
67627 cat >>confdefs.h <<_ACEOF
67628 #define HAVE_EXPF 1
67629 _ACEOF
67630
67631 fi
67632 done
67633
67634 else
67635
67636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67637 $as_echo_n "checking for _expf declaration... " >&6; }
67638 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67639 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67640 $as_echo_n "(cached) " >&6
67641 else
67642
67643
67644 ac_ext=cpp
67645 ac_cpp='$CXXCPP $CPPFLAGS'
67646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67649
67650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67651 /* end confdefs.h. */
67652 #include <math.h>
67653 #ifdef HAVE_IEEEFP_H
67654 #include <ieeefp.h>
67655 #endif
67656
67657 int
67658 main ()
67659 {
67660 _expf(0);
67661 ;
67662 return 0;
67663 }
67664 _ACEOF
67665 if ac_fn_cxx_try_compile "$LINENO"; then :
67666 glibcxx_cv_func__expf_use=yes
67667 else
67668 glibcxx_cv_func__expf_use=no
67669 fi
67670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67671 ac_ext=c
67672 ac_cpp='$CPP $CPPFLAGS'
67673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67676
67677
67678 fi
67679
67680 fi
67681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67682 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67683
67684 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67685 for ac_func in _expf
67686 do :
67687 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67688 if test "x$ac_cv_func__expf" = x""yes; then :
67689 cat >>confdefs.h <<_ACEOF
67690 #define HAVE__EXPF 1
67691 _ACEOF
67692
67693 fi
67694 done
67695
67696 fi
67697 fi
67698
67699
67700
67701
67702
67703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67704 $as_echo_n "checking for isnanf declaration... " >&6; }
67705 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67706 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67707 $as_echo_n "(cached) " >&6
67708 else
67709
67710
67711 ac_ext=cpp
67712 ac_cpp='$CXXCPP $CPPFLAGS'
67713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67716
67717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67718 /* end confdefs.h. */
67719 #include <math.h>
67720 #ifdef HAVE_IEEEFP_H
67721 #include <ieeefp.h>
67722 #endif
67723
67724 int
67725 main ()
67726 {
67727 isnanf(0);
67728 ;
67729 return 0;
67730 }
67731 _ACEOF
67732 if ac_fn_cxx_try_compile "$LINENO"; then :
67733 glibcxx_cv_func_isnanf_use=yes
67734 else
67735 glibcxx_cv_func_isnanf_use=no
67736 fi
67737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67738 ac_ext=c
67739 ac_cpp='$CPP $CPPFLAGS'
67740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67743
67744
67745 fi
67746
67747 fi
67748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67749 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67750
67751 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67752 for ac_func in isnanf
67753 do :
67754 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67755 if test "x$ac_cv_func_isnanf" = x""yes; then :
67756 cat >>confdefs.h <<_ACEOF
67757 #define HAVE_ISNANF 1
67758 _ACEOF
67759
67760 fi
67761 done
67762
67763 else
67764
67765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67766 $as_echo_n "checking for _isnanf declaration... " >&6; }
67767 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67768 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67769 $as_echo_n "(cached) " >&6
67770 else
67771
67772
67773 ac_ext=cpp
67774 ac_cpp='$CXXCPP $CPPFLAGS'
67775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67778
67779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67780 /* end confdefs.h. */
67781 #include <math.h>
67782 #ifdef HAVE_IEEEFP_H
67783 #include <ieeefp.h>
67784 #endif
67785
67786 int
67787 main ()
67788 {
67789 _isnanf(0);
67790 ;
67791 return 0;
67792 }
67793 _ACEOF
67794 if ac_fn_cxx_try_compile "$LINENO"; then :
67795 glibcxx_cv_func__isnanf_use=yes
67796 else
67797 glibcxx_cv_func__isnanf_use=no
67798 fi
67799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67800 ac_ext=c
67801 ac_cpp='$CPP $CPPFLAGS'
67802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67805
67806
67807 fi
67808
67809 fi
67810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67811 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67812
67813 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67814 for ac_func in _isnanf
67815 do :
67816 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67817 if test "x$ac_cv_func__isnanf" = x""yes; then :
67818 cat >>confdefs.h <<_ACEOF
67819 #define HAVE__ISNANF 1
67820 _ACEOF
67821
67822 fi
67823 done
67824
67825 fi
67826 fi
67827
67828
67829
67830
67831
67832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67833 $as_echo_n "checking for isinff declaration... " >&6; }
67834 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67835 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67836 $as_echo_n "(cached) " >&6
67837 else
67838
67839
67840 ac_ext=cpp
67841 ac_cpp='$CXXCPP $CPPFLAGS'
67842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67845
67846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67847 /* end confdefs.h. */
67848 #include <math.h>
67849 #ifdef HAVE_IEEEFP_H
67850 #include <ieeefp.h>
67851 #endif
67852
67853 int
67854 main ()
67855 {
67856 isinff(0);
67857 ;
67858 return 0;
67859 }
67860 _ACEOF
67861 if ac_fn_cxx_try_compile "$LINENO"; then :
67862 glibcxx_cv_func_isinff_use=yes
67863 else
67864 glibcxx_cv_func_isinff_use=no
67865 fi
67866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67867 ac_ext=c
67868 ac_cpp='$CPP $CPPFLAGS'
67869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67872
67873
67874 fi
67875
67876 fi
67877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67878 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67879
67880 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67881 for ac_func in isinff
67882 do :
67883 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67884 if test "x$ac_cv_func_isinff" = x""yes; then :
67885 cat >>confdefs.h <<_ACEOF
67886 #define HAVE_ISINFF 1
67887 _ACEOF
67888
67889 fi
67890 done
67891
67892 else
67893
67894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67895 $as_echo_n "checking for _isinff declaration... " >&6; }
67896 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67897 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67898 $as_echo_n "(cached) " >&6
67899 else
67900
67901
67902 ac_ext=cpp
67903 ac_cpp='$CXXCPP $CPPFLAGS'
67904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67907
67908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67909 /* end confdefs.h. */
67910 #include <math.h>
67911 #ifdef HAVE_IEEEFP_H
67912 #include <ieeefp.h>
67913 #endif
67914
67915 int
67916 main ()
67917 {
67918 _isinff(0);
67919 ;
67920 return 0;
67921 }
67922 _ACEOF
67923 if ac_fn_cxx_try_compile "$LINENO"; then :
67924 glibcxx_cv_func__isinff_use=yes
67925 else
67926 glibcxx_cv_func__isinff_use=no
67927 fi
67928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67929 ac_ext=c
67930 ac_cpp='$CPP $CPPFLAGS'
67931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67934
67935
67936 fi
67937
67938 fi
67939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67940 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67941
67942 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67943 for ac_func in _isinff
67944 do :
67945 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67946 if test "x$ac_cv_func__isinff" = x""yes; then :
67947 cat >>confdefs.h <<_ACEOF
67948 #define HAVE__ISINFF 1
67949 _ACEOF
67950
67951 fi
67952 done
67953
67954 fi
67955 fi
67956
67957
67958
67959
67960
67961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67962 $as_echo_n "checking for atan2f declaration... " >&6; }
67963 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67964 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67965 $as_echo_n "(cached) " >&6
67966 else
67967
67968
67969 ac_ext=cpp
67970 ac_cpp='$CXXCPP $CPPFLAGS'
67971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67974
67975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67976 /* end confdefs.h. */
67977 #include <math.h>
67978 int
67979 main ()
67980 {
67981 atan2f(0, 0);
67982 ;
67983 return 0;
67984 }
67985 _ACEOF
67986 if ac_fn_cxx_try_compile "$LINENO"; then :
67987 glibcxx_cv_func_atan2f_use=yes
67988 else
67989 glibcxx_cv_func_atan2f_use=no
67990 fi
67991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67992 ac_ext=c
67993 ac_cpp='$CPP $CPPFLAGS'
67994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67997
67998
67999 fi
68000
68001 fi
68002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68003 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68004
68005 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68006 for ac_func in atan2f
68007 do :
68008 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68009 if test "x$ac_cv_func_atan2f" = x""yes; then :
68010 cat >>confdefs.h <<_ACEOF
68011 #define HAVE_ATAN2F 1
68012 _ACEOF
68013
68014 fi
68015 done
68016
68017 else
68018
68019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68020 $as_echo_n "checking for _atan2f declaration... " >&6; }
68021 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68022 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68023 $as_echo_n "(cached) " >&6
68024 else
68025
68026
68027 ac_ext=cpp
68028 ac_cpp='$CXXCPP $CPPFLAGS'
68029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68032
68033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68034 /* end confdefs.h. */
68035 #include <math.h>
68036 int
68037 main ()
68038 {
68039 _atan2f(0, 0);
68040 ;
68041 return 0;
68042 }
68043 _ACEOF
68044 if ac_fn_cxx_try_compile "$LINENO"; then :
68045 glibcxx_cv_func__atan2f_use=yes
68046 else
68047 glibcxx_cv_func__atan2f_use=no
68048 fi
68049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68050 ac_ext=c
68051 ac_cpp='$CPP $CPPFLAGS'
68052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68055
68056
68057 fi
68058
68059 fi
68060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68061 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68062
68063 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68064 for ac_func in _atan2f
68065 do :
68066 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68067 if test "x$ac_cv_func__atan2f" = x""yes; then :
68068 cat >>confdefs.h <<_ACEOF
68069 #define HAVE__ATAN2F 1
68070 _ACEOF
68071
68072 fi
68073 done
68074
68075 fi
68076 fi
68077
68078
68079
68080
68081
68082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68083 $as_echo_n "checking for fabsf declaration... " >&6; }
68084 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68085 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68086 $as_echo_n "(cached) " >&6
68087 else
68088
68089
68090 ac_ext=cpp
68091 ac_cpp='$CXXCPP $CPPFLAGS'
68092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68095
68096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68097 /* end confdefs.h. */
68098 #include <math.h>
68099 #ifdef HAVE_IEEEFP_H
68100 #include <ieeefp.h>
68101 #endif
68102
68103 int
68104 main ()
68105 {
68106 fabsf(0);
68107 ;
68108 return 0;
68109 }
68110 _ACEOF
68111 if ac_fn_cxx_try_compile "$LINENO"; then :
68112 glibcxx_cv_func_fabsf_use=yes
68113 else
68114 glibcxx_cv_func_fabsf_use=no
68115 fi
68116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68117 ac_ext=c
68118 ac_cpp='$CPP $CPPFLAGS'
68119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68122
68123
68124 fi
68125
68126 fi
68127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68128 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68129
68130 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68131 for ac_func in fabsf
68132 do :
68133 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68134 if test "x$ac_cv_func_fabsf" = x""yes; then :
68135 cat >>confdefs.h <<_ACEOF
68136 #define HAVE_FABSF 1
68137 _ACEOF
68138
68139 fi
68140 done
68141
68142 else
68143
68144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68145 $as_echo_n "checking for _fabsf declaration... " >&6; }
68146 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68147 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68148 $as_echo_n "(cached) " >&6
68149 else
68150
68151
68152 ac_ext=cpp
68153 ac_cpp='$CXXCPP $CPPFLAGS'
68154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68157
68158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68159 /* end confdefs.h. */
68160 #include <math.h>
68161 #ifdef HAVE_IEEEFP_H
68162 #include <ieeefp.h>
68163 #endif
68164
68165 int
68166 main ()
68167 {
68168 _fabsf(0);
68169 ;
68170 return 0;
68171 }
68172 _ACEOF
68173 if ac_fn_cxx_try_compile "$LINENO"; then :
68174 glibcxx_cv_func__fabsf_use=yes
68175 else
68176 glibcxx_cv_func__fabsf_use=no
68177 fi
68178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68179 ac_ext=c
68180 ac_cpp='$CPP $CPPFLAGS'
68181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68184
68185
68186 fi
68187
68188 fi
68189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68190 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68191
68192 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68193 for ac_func in _fabsf
68194 do :
68195 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68196 if test "x$ac_cv_func__fabsf" = x""yes; then :
68197 cat >>confdefs.h <<_ACEOF
68198 #define HAVE__FABSF 1
68199 _ACEOF
68200
68201 fi
68202 done
68203
68204 fi
68205 fi
68206
68207
68208
68209
68210
68211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68212 $as_echo_n "checking for fmodf declaration... " >&6; }
68213 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68214 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68215 $as_echo_n "(cached) " >&6
68216 else
68217
68218
68219 ac_ext=cpp
68220 ac_cpp='$CXXCPP $CPPFLAGS'
68221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68224
68225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68226 /* end confdefs.h. */
68227 #include <math.h>
68228 int
68229 main ()
68230 {
68231 fmodf(0, 0);
68232 ;
68233 return 0;
68234 }
68235 _ACEOF
68236 if ac_fn_cxx_try_compile "$LINENO"; then :
68237 glibcxx_cv_func_fmodf_use=yes
68238 else
68239 glibcxx_cv_func_fmodf_use=no
68240 fi
68241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68242 ac_ext=c
68243 ac_cpp='$CPP $CPPFLAGS'
68244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68247
68248
68249 fi
68250
68251 fi
68252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68253 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68254
68255 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68256 for ac_func in fmodf
68257 do :
68258 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68259 if test "x$ac_cv_func_fmodf" = x""yes; then :
68260 cat >>confdefs.h <<_ACEOF
68261 #define HAVE_FMODF 1
68262 _ACEOF
68263
68264 fi
68265 done
68266
68267 else
68268
68269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68270 $as_echo_n "checking for _fmodf declaration... " >&6; }
68271 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68272 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68273 $as_echo_n "(cached) " >&6
68274 else
68275
68276
68277 ac_ext=cpp
68278 ac_cpp='$CXXCPP $CPPFLAGS'
68279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68282
68283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68284 /* end confdefs.h. */
68285 #include <math.h>
68286 int
68287 main ()
68288 {
68289 _fmodf(0, 0);
68290 ;
68291 return 0;
68292 }
68293 _ACEOF
68294 if ac_fn_cxx_try_compile "$LINENO"; then :
68295 glibcxx_cv_func__fmodf_use=yes
68296 else
68297 glibcxx_cv_func__fmodf_use=no
68298 fi
68299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68300 ac_ext=c
68301 ac_cpp='$CPP $CPPFLAGS'
68302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68305
68306
68307 fi
68308
68309 fi
68310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68311 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68312
68313 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68314 for ac_func in _fmodf
68315 do :
68316 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68317 if test "x$ac_cv_func__fmodf" = x""yes; then :
68318 cat >>confdefs.h <<_ACEOF
68319 #define HAVE__FMODF 1
68320 _ACEOF
68321
68322 fi
68323 done
68324
68325 fi
68326 fi
68327
68328
68329
68330
68331
68332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68333 $as_echo_n "checking for frexpf declaration... " >&6; }
68334 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68335 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68336 $as_echo_n "(cached) " >&6
68337 else
68338
68339
68340 ac_ext=cpp
68341 ac_cpp='$CXXCPP $CPPFLAGS'
68342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68345
68346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68347 /* end confdefs.h. */
68348 #include <math.h>
68349 int
68350 main ()
68351 {
68352 frexpf(0, 0);
68353 ;
68354 return 0;
68355 }
68356 _ACEOF
68357 if ac_fn_cxx_try_compile "$LINENO"; then :
68358 glibcxx_cv_func_frexpf_use=yes
68359 else
68360 glibcxx_cv_func_frexpf_use=no
68361 fi
68362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68363 ac_ext=c
68364 ac_cpp='$CPP $CPPFLAGS'
68365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68368
68369
68370 fi
68371
68372 fi
68373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68374 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68375
68376 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68377 for ac_func in frexpf
68378 do :
68379 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68380 if test "x$ac_cv_func_frexpf" = x""yes; then :
68381 cat >>confdefs.h <<_ACEOF
68382 #define HAVE_FREXPF 1
68383 _ACEOF
68384
68385 fi
68386 done
68387
68388 else
68389
68390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68391 $as_echo_n "checking for _frexpf declaration... " >&6; }
68392 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68393 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68394 $as_echo_n "(cached) " >&6
68395 else
68396
68397
68398 ac_ext=cpp
68399 ac_cpp='$CXXCPP $CPPFLAGS'
68400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68403
68404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68405 /* end confdefs.h. */
68406 #include <math.h>
68407 int
68408 main ()
68409 {
68410 _frexpf(0, 0);
68411 ;
68412 return 0;
68413 }
68414 _ACEOF
68415 if ac_fn_cxx_try_compile "$LINENO"; then :
68416 glibcxx_cv_func__frexpf_use=yes
68417 else
68418 glibcxx_cv_func__frexpf_use=no
68419 fi
68420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68421 ac_ext=c
68422 ac_cpp='$CPP $CPPFLAGS'
68423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68426
68427
68428 fi
68429
68430 fi
68431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68432 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68433
68434 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68435 for ac_func in _frexpf
68436 do :
68437 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68438 if test "x$ac_cv_func__frexpf" = x""yes; then :
68439 cat >>confdefs.h <<_ACEOF
68440 #define HAVE__FREXPF 1
68441 _ACEOF
68442
68443 fi
68444 done
68445
68446 fi
68447 fi
68448
68449
68450
68451
68452
68453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68454 $as_echo_n "checking for hypotf declaration... " >&6; }
68455 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68456 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68457 $as_echo_n "(cached) " >&6
68458 else
68459
68460
68461 ac_ext=cpp
68462 ac_cpp='$CXXCPP $CPPFLAGS'
68463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68466
68467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68468 /* end confdefs.h. */
68469 #include <math.h>
68470 int
68471 main ()
68472 {
68473 hypotf(0, 0);
68474 ;
68475 return 0;
68476 }
68477 _ACEOF
68478 if ac_fn_cxx_try_compile "$LINENO"; then :
68479 glibcxx_cv_func_hypotf_use=yes
68480 else
68481 glibcxx_cv_func_hypotf_use=no
68482 fi
68483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68484 ac_ext=c
68485 ac_cpp='$CPP $CPPFLAGS'
68486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68489
68490
68491 fi
68492
68493 fi
68494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68495 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68496
68497 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68498 for ac_func in hypotf
68499 do :
68500 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68501 if test "x$ac_cv_func_hypotf" = x""yes; then :
68502 cat >>confdefs.h <<_ACEOF
68503 #define HAVE_HYPOTF 1
68504 _ACEOF
68505
68506 fi
68507 done
68508
68509 else
68510
68511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68512 $as_echo_n "checking for _hypotf declaration... " >&6; }
68513 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68514 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68515 $as_echo_n "(cached) " >&6
68516 else
68517
68518
68519 ac_ext=cpp
68520 ac_cpp='$CXXCPP $CPPFLAGS'
68521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68524
68525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68526 /* end confdefs.h. */
68527 #include <math.h>
68528 int
68529 main ()
68530 {
68531 _hypotf(0, 0);
68532 ;
68533 return 0;
68534 }
68535 _ACEOF
68536 if ac_fn_cxx_try_compile "$LINENO"; then :
68537 glibcxx_cv_func__hypotf_use=yes
68538 else
68539 glibcxx_cv_func__hypotf_use=no
68540 fi
68541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68542 ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68547
68548
68549 fi
68550
68551 fi
68552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68553 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68554
68555 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68556 for ac_func in _hypotf
68557 do :
68558 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68559 if test "x$ac_cv_func__hypotf" = x""yes; then :
68560 cat >>confdefs.h <<_ACEOF
68561 #define HAVE__HYPOTF 1
68562 _ACEOF
68563
68564 fi
68565 done
68566
68567 fi
68568 fi
68569
68570
68571
68572
68573
68574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68575 $as_echo_n "checking for ldexpf declaration... " >&6; }
68576 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68577 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68578 $as_echo_n "(cached) " >&6
68579 else
68580
68581
68582 ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68587
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68590 #include <math.h>
68591 int
68592 main ()
68593 {
68594 ldexpf(0, 0);
68595 ;
68596 return 0;
68597 }
68598 _ACEOF
68599 if ac_fn_cxx_try_compile "$LINENO"; then :
68600 glibcxx_cv_func_ldexpf_use=yes
68601 else
68602 glibcxx_cv_func_ldexpf_use=no
68603 fi
68604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68605 ac_ext=c
68606 ac_cpp='$CPP $CPPFLAGS'
68607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68610
68611
68612 fi
68613
68614 fi
68615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68616 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68617
68618 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68619 for ac_func in ldexpf
68620 do :
68621 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68622 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68623 cat >>confdefs.h <<_ACEOF
68624 #define HAVE_LDEXPF 1
68625 _ACEOF
68626
68627 fi
68628 done
68629
68630 else
68631
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68633 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68634 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68635 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68636 $as_echo_n "(cached) " >&6
68637 else
68638
68639
68640 ac_ext=cpp
68641 ac_cpp='$CXXCPP $CPPFLAGS'
68642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68645
68646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68647 /* end confdefs.h. */
68648 #include <math.h>
68649 int
68650 main ()
68651 {
68652 _ldexpf(0, 0);
68653 ;
68654 return 0;
68655 }
68656 _ACEOF
68657 if ac_fn_cxx_try_compile "$LINENO"; then :
68658 glibcxx_cv_func__ldexpf_use=yes
68659 else
68660 glibcxx_cv_func__ldexpf_use=no
68661 fi
68662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68663 ac_ext=c
68664 ac_cpp='$CPP $CPPFLAGS'
68665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68668
68669
68670 fi
68671
68672 fi
68673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68674 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68675
68676 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68677 for ac_func in _ldexpf
68678 do :
68679 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68680 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68681 cat >>confdefs.h <<_ACEOF
68682 #define HAVE__LDEXPF 1
68683 _ACEOF
68684
68685 fi
68686 done
68687
68688 fi
68689 fi
68690
68691
68692
68693
68694
68695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68696 $as_echo_n "checking for logf declaration... " >&6; }
68697 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68698 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68699 $as_echo_n "(cached) " >&6
68700 else
68701
68702
68703 ac_ext=cpp
68704 ac_cpp='$CXXCPP $CPPFLAGS'
68705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68708
68709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68710 /* end confdefs.h. */
68711 #include <math.h>
68712 #ifdef HAVE_IEEEFP_H
68713 #include <ieeefp.h>
68714 #endif
68715
68716 int
68717 main ()
68718 {
68719 logf(0);
68720 ;
68721 return 0;
68722 }
68723 _ACEOF
68724 if ac_fn_cxx_try_compile "$LINENO"; then :
68725 glibcxx_cv_func_logf_use=yes
68726 else
68727 glibcxx_cv_func_logf_use=no
68728 fi
68729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68730 ac_ext=c
68731 ac_cpp='$CPP $CPPFLAGS'
68732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68735
68736
68737 fi
68738
68739 fi
68740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68741 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68742
68743 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68744 for ac_func in logf
68745 do :
68746 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68747 if test "x$ac_cv_func_logf" = x""yes; then :
68748 cat >>confdefs.h <<_ACEOF
68749 #define HAVE_LOGF 1
68750 _ACEOF
68751
68752 fi
68753 done
68754
68755 else
68756
68757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68758 $as_echo_n "checking for _logf declaration... " >&6; }
68759 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68760 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68761 $as_echo_n "(cached) " >&6
68762 else
68763
68764
68765 ac_ext=cpp
68766 ac_cpp='$CXXCPP $CPPFLAGS'
68767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68770
68771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68772 /* end confdefs.h. */
68773 #include <math.h>
68774 #ifdef HAVE_IEEEFP_H
68775 #include <ieeefp.h>
68776 #endif
68777
68778 int
68779 main ()
68780 {
68781 _logf(0);
68782 ;
68783 return 0;
68784 }
68785 _ACEOF
68786 if ac_fn_cxx_try_compile "$LINENO"; then :
68787 glibcxx_cv_func__logf_use=yes
68788 else
68789 glibcxx_cv_func__logf_use=no
68790 fi
68791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68792 ac_ext=c
68793 ac_cpp='$CPP $CPPFLAGS'
68794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68797
68798
68799 fi
68800
68801 fi
68802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68803 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68804
68805 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68806 for ac_func in _logf
68807 do :
68808 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68809 if test "x$ac_cv_func__logf" = x""yes; then :
68810 cat >>confdefs.h <<_ACEOF
68811 #define HAVE__LOGF 1
68812 _ACEOF
68813
68814 fi
68815 done
68816
68817 fi
68818 fi
68819
68820
68821
68822
68823
68824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68825 $as_echo_n "checking for log10f declaration... " >&6; }
68826 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68827 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68828 $as_echo_n "(cached) " >&6
68829 else
68830
68831
68832 ac_ext=cpp
68833 ac_cpp='$CXXCPP $CPPFLAGS'
68834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68837
68838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68839 /* end confdefs.h. */
68840 #include <math.h>
68841 #ifdef HAVE_IEEEFP_H
68842 #include <ieeefp.h>
68843 #endif
68844
68845 int
68846 main ()
68847 {
68848 log10f(0);
68849 ;
68850 return 0;
68851 }
68852 _ACEOF
68853 if ac_fn_cxx_try_compile "$LINENO"; then :
68854 glibcxx_cv_func_log10f_use=yes
68855 else
68856 glibcxx_cv_func_log10f_use=no
68857 fi
68858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68859 ac_ext=c
68860 ac_cpp='$CPP $CPPFLAGS'
68861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68864
68865
68866 fi
68867
68868 fi
68869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68870 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68871
68872 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68873 for ac_func in log10f
68874 do :
68875 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68876 if test "x$ac_cv_func_log10f" = x""yes; then :
68877 cat >>confdefs.h <<_ACEOF
68878 #define HAVE_LOG10F 1
68879 _ACEOF
68880
68881 fi
68882 done
68883
68884 else
68885
68886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68887 $as_echo_n "checking for _log10f declaration... " >&6; }
68888 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68889 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68890 $as_echo_n "(cached) " >&6
68891 else
68892
68893
68894 ac_ext=cpp
68895 ac_cpp='$CXXCPP $CPPFLAGS'
68896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68899
68900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68901 /* end confdefs.h. */
68902 #include <math.h>
68903 #ifdef HAVE_IEEEFP_H
68904 #include <ieeefp.h>
68905 #endif
68906
68907 int
68908 main ()
68909 {
68910 _log10f(0);
68911 ;
68912 return 0;
68913 }
68914 _ACEOF
68915 if ac_fn_cxx_try_compile "$LINENO"; then :
68916 glibcxx_cv_func__log10f_use=yes
68917 else
68918 glibcxx_cv_func__log10f_use=no
68919 fi
68920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68921 ac_ext=c
68922 ac_cpp='$CPP $CPPFLAGS'
68923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68926
68927
68928 fi
68929
68930 fi
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68932 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68933
68934 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68935 for ac_func in _log10f
68936 do :
68937 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68938 if test "x$ac_cv_func__log10f" = x""yes; then :
68939 cat >>confdefs.h <<_ACEOF
68940 #define HAVE__LOG10F 1
68941 _ACEOF
68942
68943 fi
68944 done
68945
68946 fi
68947 fi
68948
68949
68950
68951
68952
68953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68954 $as_echo_n "checking for modff declaration... " >&6; }
68955 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68956 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68957 $as_echo_n "(cached) " >&6
68958 else
68959
68960
68961 ac_ext=cpp
68962 ac_cpp='$CXXCPP $CPPFLAGS'
68963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68966
68967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68968 /* end confdefs.h. */
68969 #include <math.h>
68970 int
68971 main ()
68972 {
68973 modff(0, 0);
68974 ;
68975 return 0;
68976 }
68977 _ACEOF
68978 if ac_fn_cxx_try_compile "$LINENO"; then :
68979 glibcxx_cv_func_modff_use=yes
68980 else
68981 glibcxx_cv_func_modff_use=no
68982 fi
68983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68984 ac_ext=c
68985 ac_cpp='$CPP $CPPFLAGS'
68986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68989
68990
68991 fi
68992
68993 fi
68994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68995 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68996
68997 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68998 for ac_func in modff
68999 do :
69000 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69001 if test "x$ac_cv_func_modff" = x""yes; then :
69002 cat >>confdefs.h <<_ACEOF
69003 #define HAVE_MODFF 1
69004 _ACEOF
69005
69006 fi
69007 done
69008
69009 else
69010
69011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69012 $as_echo_n "checking for _modff declaration... " >&6; }
69013 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69014 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69015 $as_echo_n "(cached) " >&6
69016 else
69017
69018
69019 ac_ext=cpp
69020 ac_cpp='$CXXCPP $CPPFLAGS'
69021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69024
69025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69026 /* end confdefs.h. */
69027 #include <math.h>
69028 int
69029 main ()
69030 {
69031 _modff(0, 0);
69032 ;
69033 return 0;
69034 }
69035 _ACEOF
69036 if ac_fn_cxx_try_compile "$LINENO"; then :
69037 glibcxx_cv_func__modff_use=yes
69038 else
69039 glibcxx_cv_func__modff_use=no
69040 fi
69041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69042 ac_ext=c
69043 ac_cpp='$CPP $CPPFLAGS'
69044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69047
69048
69049 fi
69050
69051 fi
69052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69053 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69054
69055 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69056 for ac_func in _modff
69057 do :
69058 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69059 if test "x$ac_cv_func__modff" = x""yes; then :
69060 cat >>confdefs.h <<_ACEOF
69061 #define HAVE__MODFF 1
69062 _ACEOF
69063
69064 fi
69065 done
69066
69067 fi
69068 fi
69069
69070
69071
69072
69073
69074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69075 $as_echo_n "checking for modf declaration... " >&6; }
69076 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69077 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69078 $as_echo_n "(cached) " >&6
69079 else
69080
69081
69082 ac_ext=cpp
69083 ac_cpp='$CXXCPP $CPPFLAGS'
69084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69087
69088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69089 /* end confdefs.h. */
69090 #include <math.h>
69091 int
69092 main ()
69093 {
69094 modf(0, 0);
69095 ;
69096 return 0;
69097 }
69098 _ACEOF
69099 if ac_fn_cxx_try_compile "$LINENO"; then :
69100 glibcxx_cv_func_modf_use=yes
69101 else
69102 glibcxx_cv_func_modf_use=no
69103 fi
69104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69105 ac_ext=c
69106 ac_cpp='$CPP $CPPFLAGS'
69107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69110
69111
69112 fi
69113
69114 fi
69115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69116 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69117
69118 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69119 for ac_func in modf
69120 do :
69121 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69122 if test "x$ac_cv_func_modf" = x""yes; then :
69123 cat >>confdefs.h <<_ACEOF
69124 #define HAVE_MODF 1
69125 _ACEOF
69126
69127 fi
69128 done
69129
69130 else
69131
69132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69133 $as_echo_n "checking for _modf declaration... " >&6; }
69134 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69135 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69136 $as_echo_n "(cached) " >&6
69137 else
69138
69139
69140 ac_ext=cpp
69141 ac_cpp='$CXXCPP $CPPFLAGS'
69142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69145
69146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69147 /* end confdefs.h. */
69148 #include <math.h>
69149 int
69150 main ()
69151 {
69152 _modf(0, 0);
69153 ;
69154 return 0;
69155 }
69156 _ACEOF
69157 if ac_fn_cxx_try_compile "$LINENO"; then :
69158 glibcxx_cv_func__modf_use=yes
69159 else
69160 glibcxx_cv_func__modf_use=no
69161 fi
69162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69163 ac_ext=c
69164 ac_cpp='$CPP $CPPFLAGS'
69165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69168
69169
69170 fi
69171
69172 fi
69173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69174 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69175
69176 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69177 for ac_func in _modf
69178 do :
69179 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69180 if test "x$ac_cv_func__modf" = x""yes; then :
69181 cat >>confdefs.h <<_ACEOF
69182 #define HAVE__MODF 1
69183 _ACEOF
69184
69185 fi
69186 done
69187
69188 fi
69189 fi
69190
69191
69192
69193
69194
69195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69196 $as_echo_n "checking for powf declaration... " >&6; }
69197 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69198 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69199 $as_echo_n "(cached) " >&6
69200 else
69201
69202
69203 ac_ext=cpp
69204 ac_cpp='$CXXCPP $CPPFLAGS'
69205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69208
69209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69210 /* end confdefs.h. */
69211 #include <math.h>
69212 int
69213 main ()
69214 {
69215 powf(0, 0);
69216 ;
69217 return 0;
69218 }
69219 _ACEOF
69220 if ac_fn_cxx_try_compile "$LINENO"; then :
69221 glibcxx_cv_func_powf_use=yes
69222 else
69223 glibcxx_cv_func_powf_use=no
69224 fi
69225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69226 ac_ext=c
69227 ac_cpp='$CPP $CPPFLAGS'
69228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69231
69232
69233 fi
69234
69235 fi
69236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69237 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69238
69239 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69240 for ac_func in powf
69241 do :
69242 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69243 if test "x$ac_cv_func_powf" = x""yes; then :
69244 cat >>confdefs.h <<_ACEOF
69245 #define HAVE_POWF 1
69246 _ACEOF
69247
69248 fi
69249 done
69250
69251 else
69252
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69254 $as_echo_n "checking for _powf declaration... " >&6; }
69255 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69256 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69257 $as_echo_n "(cached) " >&6
69258 else
69259
69260
69261 ac_ext=cpp
69262 ac_cpp='$CXXCPP $CPPFLAGS'
69263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69266
69267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69268 /* end confdefs.h. */
69269 #include <math.h>
69270 int
69271 main ()
69272 {
69273 _powf(0, 0);
69274 ;
69275 return 0;
69276 }
69277 _ACEOF
69278 if ac_fn_cxx_try_compile "$LINENO"; then :
69279 glibcxx_cv_func__powf_use=yes
69280 else
69281 glibcxx_cv_func__powf_use=no
69282 fi
69283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69284 ac_ext=c
69285 ac_cpp='$CPP $CPPFLAGS'
69286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69289
69290
69291 fi
69292
69293 fi
69294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69295 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69296
69297 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69298 for ac_func in _powf
69299 do :
69300 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69301 if test "x$ac_cv_func__powf" = x""yes; then :
69302 cat >>confdefs.h <<_ACEOF
69303 #define HAVE__POWF 1
69304 _ACEOF
69305
69306 fi
69307 done
69308
69309 fi
69310 fi
69311
69312
69313
69314
69315
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69317 $as_echo_n "checking for sqrtf declaration... " >&6; }
69318 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69319 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69320 $as_echo_n "(cached) " >&6
69321 else
69322
69323
69324 ac_ext=cpp
69325 ac_cpp='$CXXCPP $CPPFLAGS'
69326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69329
69330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69331 /* end confdefs.h. */
69332 #include <math.h>
69333 #ifdef HAVE_IEEEFP_H
69334 #include <ieeefp.h>
69335 #endif
69336
69337 int
69338 main ()
69339 {
69340 sqrtf(0);
69341 ;
69342 return 0;
69343 }
69344 _ACEOF
69345 if ac_fn_cxx_try_compile "$LINENO"; then :
69346 glibcxx_cv_func_sqrtf_use=yes
69347 else
69348 glibcxx_cv_func_sqrtf_use=no
69349 fi
69350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69351 ac_ext=c
69352 ac_cpp='$CPP $CPPFLAGS'
69353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69356
69357
69358 fi
69359
69360 fi
69361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69362 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69363
69364 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69365 for ac_func in sqrtf
69366 do :
69367 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69368 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69369 cat >>confdefs.h <<_ACEOF
69370 #define HAVE_SQRTF 1
69371 _ACEOF
69372
69373 fi
69374 done
69375
69376 else
69377
69378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69379 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69380 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69381 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69382 $as_echo_n "(cached) " >&6
69383 else
69384
69385
69386 ac_ext=cpp
69387 ac_cpp='$CXXCPP $CPPFLAGS'
69388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69391
69392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69393 /* end confdefs.h. */
69394 #include <math.h>
69395 #ifdef HAVE_IEEEFP_H
69396 #include <ieeefp.h>
69397 #endif
69398
69399 int
69400 main ()
69401 {
69402 _sqrtf(0);
69403 ;
69404 return 0;
69405 }
69406 _ACEOF
69407 if ac_fn_cxx_try_compile "$LINENO"; then :
69408 glibcxx_cv_func__sqrtf_use=yes
69409 else
69410 glibcxx_cv_func__sqrtf_use=no
69411 fi
69412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69413 ac_ext=c
69414 ac_cpp='$CPP $CPPFLAGS'
69415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69418
69419
69420 fi
69421
69422 fi
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69424 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69425
69426 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69427 for ac_func in _sqrtf
69428 do :
69429 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69430 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69431 cat >>confdefs.h <<_ACEOF
69432 #define HAVE__SQRTF 1
69433 _ACEOF
69434
69435 fi
69436 done
69437
69438 fi
69439 fi
69440
69441
69442
69443
69444
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69446 $as_echo_n "checking for sincosf declaration... " >&6; }
69447 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69448 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69449 $as_echo_n "(cached) " >&6
69450 else
69451
69452
69453 ac_ext=cpp
69454 ac_cpp='$CXXCPP $CPPFLAGS'
69455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69458
69459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69460 /* end confdefs.h. */
69461 #include <math.h>
69462 int
69463 main ()
69464 {
69465 sincosf(0, 0, 0);
69466 ;
69467 return 0;
69468 }
69469 _ACEOF
69470 if ac_fn_cxx_try_compile "$LINENO"; then :
69471 glibcxx_cv_func_sincosf_use=yes
69472 else
69473 glibcxx_cv_func_sincosf_use=no
69474 fi
69475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69476 ac_ext=c
69477 ac_cpp='$CPP $CPPFLAGS'
69478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69481
69482
69483 fi
69484
69485 fi
69486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69487 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69488
69489 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69490 for ac_func in sincosf
69491 do :
69492 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69493 if test "x$ac_cv_func_sincosf" = x""yes; then :
69494 cat >>confdefs.h <<_ACEOF
69495 #define HAVE_SINCOSF 1
69496 _ACEOF
69497
69498 fi
69499 done
69500
69501 else
69502
69503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69504 $as_echo_n "checking for _sincosf declaration... " >&6; }
69505 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69506 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69507 $as_echo_n "(cached) " >&6
69508 else
69509
69510
69511 ac_ext=cpp
69512 ac_cpp='$CXXCPP $CPPFLAGS'
69513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69516
69517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69518 /* end confdefs.h. */
69519 #include <math.h>
69520 int
69521 main ()
69522 {
69523 _sincosf(0, 0, 0);
69524 ;
69525 return 0;
69526 }
69527 _ACEOF
69528 if ac_fn_cxx_try_compile "$LINENO"; then :
69529 glibcxx_cv_func__sincosf_use=yes
69530 else
69531 glibcxx_cv_func__sincosf_use=no
69532 fi
69533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69534 ac_ext=c
69535 ac_cpp='$CPP $CPPFLAGS'
69536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69539
69540
69541 fi
69542
69543 fi
69544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69545 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69546
69547 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69548 for ac_func in _sincosf
69549 do :
69550 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69551 if test "x$ac_cv_func__sincosf" = x""yes; then :
69552 cat >>confdefs.h <<_ACEOF
69553 #define HAVE__SINCOSF 1
69554 _ACEOF
69555
69556 fi
69557 done
69558
69559 fi
69560 fi
69561
69562
69563
69564
69565
69566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69567 $as_echo_n "checking for finitef declaration... " >&6; }
69568 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69569 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69570 $as_echo_n "(cached) " >&6
69571 else
69572
69573
69574 ac_ext=cpp
69575 ac_cpp='$CXXCPP $CPPFLAGS'
69576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69579
69580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69581 /* end confdefs.h. */
69582 #include <math.h>
69583 #ifdef HAVE_IEEEFP_H
69584 #include <ieeefp.h>
69585 #endif
69586
69587 int
69588 main ()
69589 {
69590 finitef(0);
69591 ;
69592 return 0;
69593 }
69594 _ACEOF
69595 if ac_fn_cxx_try_compile "$LINENO"; then :
69596 glibcxx_cv_func_finitef_use=yes
69597 else
69598 glibcxx_cv_func_finitef_use=no
69599 fi
69600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69601 ac_ext=c
69602 ac_cpp='$CPP $CPPFLAGS'
69603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69606
69607
69608 fi
69609
69610 fi
69611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69612 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69613
69614 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69615 for ac_func in finitef
69616 do :
69617 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69618 if test "x$ac_cv_func_finitef" = x""yes; then :
69619 cat >>confdefs.h <<_ACEOF
69620 #define HAVE_FINITEF 1
69621 _ACEOF
69622
69623 fi
69624 done
69625
69626 else
69627
69628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69629 $as_echo_n "checking for _finitef declaration... " >&6; }
69630 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69631 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69632 $as_echo_n "(cached) " >&6
69633 else
69634
69635
69636 ac_ext=cpp
69637 ac_cpp='$CXXCPP $CPPFLAGS'
69638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69641
69642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69643 /* end confdefs.h. */
69644 #include <math.h>
69645 #ifdef HAVE_IEEEFP_H
69646 #include <ieeefp.h>
69647 #endif
69648
69649 int
69650 main ()
69651 {
69652 _finitef(0);
69653 ;
69654 return 0;
69655 }
69656 _ACEOF
69657 if ac_fn_cxx_try_compile "$LINENO"; then :
69658 glibcxx_cv_func__finitef_use=yes
69659 else
69660 glibcxx_cv_func__finitef_use=no
69661 fi
69662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69668
69669
69670 fi
69671
69672 fi
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69674 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69675
69676 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69677 for ac_func in _finitef
69678 do :
69679 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69680 if test "x$ac_cv_func__finitef" = x""yes; then :
69681 cat >>confdefs.h <<_ACEOF
69682 #define HAVE__FINITEF 1
69683 _ACEOF
69684
69685 fi
69686 done
69687
69688 fi
69689 fi
69690
69691
69692
69693
69694
69695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69696 $as_echo_n "checking for long double trig functions... " >&6; }
69697 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69698 $as_echo_n "(cached) " >&6
69699 else
69700
69701
69702 ac_ext=cpp
69703 ac_cpp='$CXXCPP $CPPFLAGS'
69704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69707
69708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69709 /* end confdefs.h. */
69710 #include <math.h>
69711 int
69712 main ()
69713 {
69714 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69715 ;
69716 return 0;
69717 }
69718 _ACEOF
69719 if ac_fn_cxx_try_compile "$LINENO"; then :
69720 glibcxx_cv_func_long_double_trig_use=yes
69721 else
69722 glibcxx_cv_func_long_double_trig_use=no
69723 fi
69724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69725 ac_ext=c
69726 ac_cpp='$CPP $CPPFLAGS'
69727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69730
69731 fi
69732
69733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69734 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69735 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69736 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69737 do :
69738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69740 eval as_val=\$$as_ac_var
69741 if test "x$as_val" = x""yes; then :
69742 cat >>confdefs.h <<_ACEOF
69743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69744 _ACEOF
69745
69746 fi
69747 done
69748
69749 else
69750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69751 $as_echo_n "checking for _long double trig functions... " >&6; }
69752 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69753 $as_echo_n "(cached) " >&6
69754 else
69755
69756
69757 ac_ext=cpp
69758 ac_cpp='$CXXCPP $CPPFLAGS'
69759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69762
69763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69764 /* end confdefs.h. */
69765 #include <math.h>
69766 int
69767 main ()
69768 {
69769 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69770 ;
69771 return 0;
69772 }
69773 _ACEOF
69774 if ac_fn_cxx_try_compile "$LINENO"; then :
69775 glibcxx_cv_func__long_double_trig_use=yes
69776 else
69777 glibcxx_cv_func__long_double_trig_use=no
69778 fi
69779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69780 ac_ext=c
69781 ac_cpp='$CPP $CPPFLAGS'
69782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69785
69786 fi
69787
69788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69789 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69790 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69791 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69792 do :
69793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69795 eval as_val=\$$as_ac_var
69796 if test "x$as_val" = x""yes; then :
69797 cat >>confdefs.h <<_ACEOF
69798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69799 _ACEOF
69800
69801 fi
69802 done
69803
69804 fi
69805 fi
69806
69807
69808
69809
69810
69811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69812 $as_echo_n "checking for long double round functions... " >&6; }
69813 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69814 $as_echo_n "(cached) " >&6
69815 else
69816
69817
69818 ac_ext=cpp
69819 ac_cpp='$CXXCPP $CPPFLAGS'
69820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69823
69824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69825 /* end confdefs.h. */
69826 #include <math.h>
69827 int
69828 main ()
69829 {
69830 ceill (0); floorl (0);
69831 ;
69832 return 0;
69833 }
69834 _ACEOF
69835 if ac_fn_cxx_try_compile "$LINENO"; then :
69836 glibcxx_cv_func_long_double_round_use=yes
69837 else
69838 glibcxx_cv_func_long_double_round_use=no
69839 fi
69840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69841 ac_ext=c
69842 ac_cpp='$CPP $CPPFLAGS'
69843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69846
69847 fi
69848
69849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69850 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69851 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69852 for ac_func in ceill floorl
69853 do :
69854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69856 eval as_val=\$$as_ac_var
69857 if test "x$as_val" = x""yes; then :
69858 cat >>confdefs.h <<_ACEOF
69859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69860 _ACEOF
69861
69862 fi
69863 done
69864
69865 else
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69867 $as_echo_n "checking for _long double round functions... " >&6; }
69868 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69869 $as_echo_n "(cached) " >&6
69870 else
69871
69872
69873 ac_ext=cpp
69874 ac_cpp='$CXXCPP $CPPFLAGS'
69875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69878
69879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69880 /* end confdefs.h. */
69881 #include <math.h>
69882 int
69883 main ()
69884 {
69885 _ceill (0); _floorl (0);
69886 ;
69887 return 0;
69888 }
69889 _ACEOF
69890 if ac_fn_cxx_try_compile "$LINENO"; then :
69891 glibcxx_cv_func__long_double_round_use=yes
69892 else
69893 glibcxx_cv_func__long_double_round_use=no
69894 fi
69895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69896 ac_ext=c
69897 ac_cpp='$CPP $CPPFLAGS'
69898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69901
69902 fi
69903
69904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69905 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69906 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69907 for ac_func in _ceill _floorl
69908 do :
69909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69911 eval as_val=\$$as_ac_var
69912 if test "x$as_val" = x""yes; then :
69913 cat >>confdefs.h <<_ACEOF
69914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69915 _ACEOF
69916
69917 fi
69918 done
69919
69920 fi
69921 fi
69922
69923
69924
69925
69926
69927
69928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69929 $as_echo_n "checking for isnanl declaration... " >&6; }
69930 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69931 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69932 $as_echo_n "(cached) " >&6
69933 else
69934
69935
69936 ac_ext=cpp
69937 ac_cpp='$CXXCPP $CPPFLAGS'
69938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69941
69942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69943 /* end confdefs.h. */
69944 #include <math.h>
69945 #ifdef HAVE_IEEEFP_H
69946 #include <ieeefp.h>
69947 #endif
69948
69949 int
69950 main ()
69951 {
69952 isnanl(0);
69953 ;
69954 return 0;
69955 }
69956 _ACEOF
69957 if ac_fn_cxx_try_compile "$LINENO"; then :
69958 glibcxx_cv_func_isnanl_use=yes
69959 else
69960 glibcxx_cv_func_isnanl_use=no
69961 fi
69962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69963 ac_ext=c
69964 ac_cpp='$CPP $CPPFLAGS'
69965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69968
69969
69970 fi
69971
69972 fi
69973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69974 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69975
69976 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69977 for ac_func in isnanl
69978 do :
69979 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69980 if test "x$ac_cv_func_isnanl" = x""yes; then :
69981 cat >>confdefs.h <<_ACEOF
69982 #define HAVE_ISNANL 1
69983 _ACEOF
69984
69985 fi
69986 done
69987
69988 else
69989
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69991 $as_echo_n "checking for _isnanl declaration... " >&6; }
69992 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69993 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69994 $as_echo_n "(cached) " >&6
69995 else
69996
69997
69998 ac_ext=cpp
69999 ac_cpp='$CXXCPP $CPPFLAGS'
70000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70003
70004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70005 /* end confdefs.h. */
70006 #include <math.h>
70007 #ifdef HAVE_IEEEFP_H
70008 #include <ieeefp.h>
70009 #endif
70010
70011 int
70012 main ()
70013 {
70014 _isnanl(0);
70015 ;
70016 return 0;
70017 }
70018 _ACEOF
70019 if ac_fn_cxx_try_compile "$LINENO"; then :
70020 glibcxx_cv_func__isnanl_use=yes
70021 else
70022 glibcxx_cv_func__isnanl_use=no
70023 fi
70024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70025 ac_ext=c
70026 ac_cpp='$CPP $CPPFLAGS'
70027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70030
70031
70032 fi
70033
70034 fi
70035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70036 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70037
70038 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70039 for ac_func in _isnanl
70040 do :
70041 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70042 if test "x$ac_cv_func__isnanl" = x""yes; then :
70043 cat >>confdefs.h <<_ACEOF
70044 #define HAVE__ISNANL 1
70045 _ACEOF
70046
70047 fi
70048 done
70049
70050 fi
70051 fi
70052
70053
70054
70055
70056
70057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70058 $as_echo_n "checking for isinfl declaration... " >&6; }
70059 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70060 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70061 $as_echo_n "(cached) " >&6
70062 else
70063
70064
70065 ac_ext=cpp
70066 ac_cpp='$CXXCPP $CPPFLAGS'
70067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70070
70071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70072 /* end confdefs.h. */
70073 #include <math.h>
70074 #ifdef HAVE_IEEEFP_H
70075 #include <ieeefp.h>
70076 #endif
70077
70078 int
70079 main ()
70080 {
70081 isinfl(0);
70082 ;
70083 return 0;
70084 }
70085 _ACEOF
70086 if ac_fn_cxx_try_compile "$LINENO"; then :
70087 glibcxx_cv_func_isinfl_use=yes
70088 else
70089 glibcxx_cv_func_isinfl_use=no
70090 fi
70091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70092 ac_ext=c
70093 ac_cpp='$CPP $CPPFLAGS'
70094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70097
70098
70099 fi
70100
70101 fi
70102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70103 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70104
70105 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70106 for ac_func in isinfl
70107 do :
70108 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70109 if test "x$ac_cv_func_isinfl" = x""yes; then :
70110 cat >>confdefs.h <<_ACEOF
70111 #define HAVE_ISINFL 1
70112 _ACEOF
70113
70114 fi
70115 done
70116
70117 else
70118
70119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70120 $as_echo_n "checking for _isinfl declaration... " >&6; }
70121 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70122 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70123 $as_echo_n "(cached) " >&6
70124 else
70125
70126
70127 ac_ext=cpp
70128 ac_cpp='$CXXCPP $CPPFLAGS'
70129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70132
70133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70134 /* end confdefs.h. */
70135 #include <math.h>
70136 #ifdef HAVE_IEEEFP_H
70137 #include <ieeefp.h>
70138 #endif
70139
70140 int
70141 main ()
70142 {
70143 _isinfl(0);
70144 ;
70145 return 0;
70146 }
70147 _ACEOF
70148 if ac_fn_cxx_try_compile "$LINENO"; then :
70149 glibcxx_cv_func__isinfl_use=yes
70150 else
70151 glibcxx_cv_func__isinfl_use=no
70152 fi
70153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70154 ac_ext=c
70155 ac_cpp='$CPP $CPPFLAGS'
70156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70159
70160
70161 fi
70162
70163 fi
70164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70165 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70166
70167 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70168 for ac_func in _isinfl
70169 do :
70170 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70171 if test "x$ac_cv_func__isinfl" = x""yes; then :
70172 cat >>confdefs.h <<_ACEOF
70173 #define HAVE__ISINFL 1
70174 _ACEOF
70175
70176 fi
70177 done
70178
70179 fi
70180 fi
70181
70182
70183
70184
70185
70186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70187 $as_echo_n "checking for atan2l declaration... " >&6; }
70188 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70189 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70190 $as_echo_n "(cached) " >&6
70191 else
70192
70193
70194 ac_ext=cpp
70195 ac_cpp='$CXXCPP $CPPFLAGS'
70196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70199
70200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70201 /* end confdefs.h. */
70202 #include <math.h>
70203 int
70204 main ()
70205 {
70206 atan2l(0, 0);
70207 ;
70208 return 0;
70209 }
70210 _ACEOF
70211 if ac_fn_cxx_try_compile "$LINENO"; then :
70212 glibcxx_cv_func_atan2l_use=yes
70213 else
70214 glibcxx_cv_func_atan2l_use=no
70215 fi
70216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70217 ac_ext=c
70218 ac_cpp='$CPP $CPPFLAGS'
70219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70222
70223
70224 fi
70225
70226 fi
70227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70228 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70229
70230 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70231 for ac_func in atan2l
70232 do :
70233 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70234 if test "x$ac_cv_func_atan2l" = x""yes; then :
70235 cat >>confdefs.h <<_ACEOF
70236 #define HAVE_ATAN2L 1
70237 _ACEOF
70238
70239 fi
70240 done
70241
70242 else
70243
70244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70245 $as_echo_n "checking for _atan2l declaration... " >&6; }
70246 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70247 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70248 $as_echo_n "(cached) " >&6
70249 else
70250
70251
70252 ac_ext=cpp
70253 ac_cpp='$CXXCPP $CPPFLAGS'
70254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70257
70258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70259 /* end confdefs.h. */
70260 #include <math.h>
70261 int
70262 main ()
70263 {
70264 _atan2l(0, 0);
70265 ;
70266 return 0;
70267 }
70268 _ACEOF
70269 if ac_fn_cxx_try_compile "$LINENO"; then :
70270 glibcxx_cv_func__atan2l_use=yes
70271 else
70272 glibcxx_cv_func__atan2l_use=no
70273 fi
70274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70275 ac_ext=c
70276 ac_cpp='$CPP $CPPFLAGS'
70277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70280
70281
70282 fi
70283
70284 fi
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70286 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70287
70288 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70289 for ac_func in _atan2l
70290 do :
70291 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70292 if test "x$ac_cv_func__atan2l" = x""yes; then :
70293 cat >>confdefs.h <<_ACEOF
70294 #define HAVE__ATAN2L 1
70295 _ACEOF
70296
70297 fi
70298 done
70299
70300 fi
70301 fi
70302
70303
70304
70305
70306
70307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70308 $as_echo_n "checking for expl declaration... " >&6; }
70309 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70310 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70311 $as_echo_n "(cached) " >&6
70312 else
70313
70314
70315 ac_ext=cpp
70316 ac_cpp='$CXXCPP $CPPFLAGS'
70317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70320
70321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70322 /* end confdefs.h. */
70323 #include <math.h>
70324 #ifdef HAVE_IEEEFP_H
70325 #include <ieeefp.h>
70326 #endif
70327
70328 int
70329 main ()
70330 {
70331 expl(0);
70332 ;
70333 return 0;
70334 }
70335 _ACEOF
70336 if ac_fn_cxx_try_compile "$LINENO"; then :
70337 glibcxx_cv_func_expl_use=yes
70338 else
70339 glibcxx_cv_func_expl_use=no
70340 fi
70341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70342 ac_ext=c
70343 ac_cpp='$CPP $CPPFLAGS'
70344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70347
70348
70349 fi
70350
70351 fi
70352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70353 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70354
70355 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70356 for ac_func in expl
70357 do :
70358 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70359 if test "x$ac_cv_func_expl" = x""yes; then :
70360 cat >>confdefs.h <<_ACEOF
70361 #define HAVE_EXPL 1
70362 _ACEOF
70363
70364 fi
70365 done
70366
70367 else
70368
70369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70370 $as_echo_n "checking for _expl declaration... " >&6; }
70371 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70372 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70373 $as_echo_n "(cached) " >&6
70374 else
70375
70376
70377 ac_ext=cpp
70378 ac_cpp='$CXXCPP $CPPFLAGS'
70379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70382
70383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70384 /* end confdefs.h. */
70385 #include <math.h>
70386 #ifdef HAVE_IEEEFP_H
70387 #include <ieeefp.h>
70388 #endif
70389
70390 int
70391 main ()
70392 {
70393 _expl(0);
70394 ;
70395 return 0;
70396 }
70397 _ACEOF
70398 if ac_fn_cxx_try_compile "$LINENO"; then :
70399 glibcxx_cv_func__expl_use=yes
70400 else
70401 glibcxx_cv_func__expl_use=no
70402 fi
70403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70404 ac_ext=c
70405 ac_cpp='$CPP $CPPFLAGS'
70406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70409
70410
70411 fi
70412
70413 fi
70414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70415 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70416
70417 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70418 for ac_func in _expl
70419 do :
70420 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70421 if test "x$ac_cv_func__expl" = x""yes; then :
70422 cat >>confdefs.h <<_ACEOF
70423 #define HAVE__EXPL 1
70424 _ACEOF
70425
70426 fi
70427 done
70428
70429 fi
70430 fi
70431
70432
70433
70434
70435
70436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70437 $as_echo_n "checking for fabsl declaration... " >&6; }
70438 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70439 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70440 $as_echo_n "(cached) " >&6
70441 else
70442
70443
70444 ac_ext=cpp
70445 ac_cpp='$CXXCPP $CPPFLAGS'
70446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70449
70450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70451 /* end confdefs.h. */
70452 #include <math.h>
70453 #ifdef HAVE_IEEEFP_H
70454 #include <ieeefp.h>
70455 #endif
70456
70457 int
70458 main ()
70459 {
70460 fabsl(0);
70461 ;
70462 return 0;
70463 }
70464 _ACEOF
70465 if ac_fn_cxx_try_compile "$LINENO"; then :
70466 glibcxx_cv_func_fabsl_use=yes
70467 else
70468 glibcxx_cv_func_fabsl_use=no
70469 fi
70470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70471 ac_ext=c
70472 ac_cpp='$CPP $CPPFLAGS'
70473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70476
70477
70478 fi
70479
70480 fi
70481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70482 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70483
70484 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70485 for ac_func in fabsl
70486 do :
70487 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70488 if test "x$ac_cv_func_fabsl" = x""yes; then :
70489 cat >>confdefs.h <<_ACEOF
70490 #define HAVE_FABSL 1
70491 _ACEOF
70492
70493 fi
70494 done
70495
70496 else
70497
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70499 $as_echo_n "checking for _fabsl declaration... " >&6; }
70500 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70501 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70502 $as_echo_n "(cached) " >&6
70503 else
70504
70505
70506 ac_ext=cpp
70507 ac_cpp='$CXXCPP $CPPFLAGS'
70508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70511
70512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70513 /* end confdefs.h. */
70514 #include <math.h>
70515 #ifdef HAVE_IEEEFP_H
70516 #include <ieeefp.h>
70517 #endif
70518
70519 int
70520 main ()
70521 {
70522 _fabsl(0);
70523 ;
70524 return 0;
70525 }
70526 _ACEOF
70527 if ac_fn_cxx_try_compile "$LINENO"; then :
70528 glibcxx_cv_func__fabsl_use=yes
70529 else
70530 glibcxx_cv_func__fabsl_use=no
70531 fi
70532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70533 ac_ext=c
70534 ac_cpp='$CPP $CPPFLAGS'
70535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70538
70539
70540 fi
70541
70542 fi
70543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70544 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70545
70546 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70547 for ac_func in _fabsl
70548 do :
70549 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70550 if test "x$ac_cv_func__fabsl" = x""yes; then :
70551 cat >>confdefs.h <<_ACEOF
70552 #define HAVE__FABSL 1
70553 _ACEOF
70554
70555 fi
70556 done
70557
70558 fi
70559 fi
70560
70561
70562
70563
70564
70565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70566 $as_echo_n "checking for fmodl declaration... " >&6; }
70567 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70568 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70569 $as_echo_n "(cached) " >&6
70570 else
70571
70572
70573 ac_ext=cpp
70574 ac_cpp='$CXXCPP $CPPFLAGS'
70575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70578
70579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70580 /* end confdefs.h. */
70581 #include <math.h>
70582 int
70583 main ()
70584 {
70585 fmodl(0, 0);
70586 ;
70587 return 0;
70588 }
70589 _ACEOF
70590 if ac_fn_cxx_try_compile "$LINENO"; then :
70591 glibcxx_cv_func_fmodl_use=yes
70592 else
70593 glibcxx_cv_func_fmodl_use=no
70594 fi
70595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70596 ac_ext=c
70597 ac_cpp='$CPP $CPPFLAGS'
70598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70601
70602
70603 fi
70604
70605 fi
70606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70607 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70608
70609 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70610 for ac_func in fmodl
70611 do :
70612 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70613 if test "x$ac_cv_func_fmodl" = x""yes; then :
70614 cat >>confdefs.h <<_ACEOF
70615 #define HAVE_FMODL 1
70616 _ACEOF
70617
70618 fi
70619 done
70620
70621 else
70622
70623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70624 $as_echo_n "checking for _fmodl declaration... " >&6; }
70625 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70626 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70627 $as_echo_n "(cached) " >&6
70628 else
70629
70630
70631 ac_ext=cpp
70632 ac_cpp='$CXXCPP $CPPFLAGS'
70633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70636
70637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70638 /* end confdefs.h. */
70639 #include <math.h>
70640 int
70641 main ()
70642 {
70643 _fmodl(0, 0);
70644 ;
70645 return 0;
70646 }
70647 _ACEOF
70648 if ac_fn_cxx_try_compile "$LINENO"; then :
70649 glibcxx_cv_func__fmodl_use=yes
70650 else
70651 glibcxx_cv_func__fmodl_use=no
70652 fi
70653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70654 ac_ext=c
70655 ac_cpp='$CPP $CPPFLAGS'
70656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70659
70660
70661 fi
70662
70663 fi
70664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70665 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70666
70667 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70668 for ac_func in _fmodl
70669 do :
70670 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70671 if test "x$ac_cv_func__fmodl" = x""yes; then :
70672 cat >>confdefs.h <<_ACEOF
70673 #define HAVE__FMODL 1
70674 _ACEOF
70675
70676 fi
70677 done
70678
70679 fi
70680 fi
70681
70682
70683
70684
70685
70686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70687 $as_echo_n "checking for frexpl declaration... " >&6; }
70688 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70689 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70690 $as_echo_n "(cached) " >&6
70691 else
70692
70693
70694 ac_ext=cpp
70695 ac_cpp='$CXXCPP $CPPFLAGS'
70696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70699
70700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70701 /* end confdefs.h. */
70702 #include <math.h>
70703 int
70704 main ()
70705 {
70706 frexpl(0, 0);
70707 ;
70708 return 0;
70709 }
70710 _ACEOF
70711 if ac_fn_cxx_try_compile "$LINENO"; then :
70712 glibcxx_cv_func_frexpl_use=yes
70713 else
70714 glibcxx_cv_func_frexpl_use=no
70715 fi
70716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70717 ac_ext=c
70718 ac_cpp='$CPP $CPPFLAGS'
70719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70722
70723
70724 fi
70725
70726 fi
70727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70728 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70729
70730 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70731 for ac_func in frexpl
70732 do :
70733 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70734 if test "x$ac_cv_func_frexpl" = x""yes; then :
70735 cat >>confdefs.h <<_ACEOF
70736 #define HAVE_FREXPL 1
70737 _ACEOF
70738
70739 fi
70740 done
70741
70742 else
70743
70744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70745 $as_echo_n "checking for _frexpl declaration... " >&6; }
70746 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70747 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70748 $as_echo_n "(cached) " >&6
70749 else
70750
70751
70752 ac_ext=cpp
70753 ac_cpp='$CXXCPP $CPPFLAGS'
70754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70757
70758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70759 /* end confdefs.h. */
70760 #include <math.h>
70761 int
70762 main ()
70763 {
70764 _frexpl(0, 0);
70765 ;
70766 return 0;
70767 }
70768 _ACEOF
70769 if ac_fn_cxx_try_compile "$LINENO"; then :
70770 glibcxx_cv_func__frexpl_use=yes
70771 else
70772 glibcxx_cv_func__frexpl_use=no
70773 fi
70774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70775 ac_ext=c
70776 ac_cpp='$CPP $CPPFLAGS'
70777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70780
70781
70782 fi
70783
70784 fi
70785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70786 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70787
70788 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70789 for ac_func in _frexpl
70790 do :
70791 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70792 if test "x$ac_cv_func__frexpl" = x""yes; then :
70793 cat >>confdefs.h <<_ACEOF
70794 #define HAVE__FREXPL 1
70795 _ACEOF
70796
70797 fi
70798 done
70799
70800 fi
70801 fi
70802
70803
70804
70805
70806
70807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70808 $as_echo_n "checking for hypotl declaration... " >&6; }
70809 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70810 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70811 $as_echo_n "(cached) " >&6
70812 else
70813
70814
70815 ac_ext=cpp
70816 ac_cpp='$CXXCPP $CPPFLAGS'
70817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70820
70821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70822 /* end confdefs.h. */
70823 #include <math.h>
70824 int
70825 main ()
70826 {
70827 hypotl(0, 0);
70828 ;
70829 return 0;
70830 }
70831 _ACEOF
70832 if ac_fn_cxx_try_compile "$LINENO"; then :
70833 glibcxx_cv_func_hypotl_use=yes
70834 else
70835 glibcxx_cv_func_hypotl_use=no
70836 fi
70837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70838 ac_ext=c
70839 ac_cpp='$CPP $CPPFLAGS'
70840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70843
70844
70845 fi
70846
70847 fi
70848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70849 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70850
70851 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70852 for ac_func in hypotl
70853 do :
70854 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70855 if test "x$ac_cv_func_hypotl" = x""yes; then :
70856 cat >>confdefs.h <<_ACEOF
70857 #define HAVE_HYPOTL 1
70858 _ACEOF
70859
70860 fi
70861 done
70862
70863 else
70864
70865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70866 $as_echo_n "checking for _hypotl declaration... " >&6; }
70867 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70868 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70869 $as_echo_n "(cached) " >&6
70870 else
70871
70872
70873 ac_ext=cpp
70874 ac_cpp='$CXXCPP $CPPFLAGS'
70875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70878
70879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70880 /* end confdefs.h. */
70881 #include <math.h>
70882 int
70883 main ()
70884 {
70885 _hypotl(0, 0);
70886 ;
70887 return 0;
70888 }
70889 _ACEOF
70890 if ac_fn_cxx_try_compile "$LINENO"; then :
70891 glibcxx_cv_func__hypotl_use=yes
70892 else
70893 glibcxx_cv_func__hypotl_use=no
70894 fi
70895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70896 ac_ext=c
70897 ac_cpp='$CPP $CPPFLAGS'
70898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70901
70902
70903 fi
70904
70905 fi
70906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70907 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70908
70909 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70910 for ac_func in _hypotl
70911 do :
70912 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70913 if test "x$ac_cv_func__hypotl" = x""yes; then :
70914 cat >>confdefs.h <<_ACEOF
70915 #define HAVE__HYPOTL 1
70916 _ACEOF
70917
70918 fi
70919 done
70920
70921 fi
70922 fi
70923
70924
70925
70926
70927
70928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70929 $as_echo_n "checking for ldexpl declaration... " >&6; }
70930 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70931 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70932 $as_echo_n "(cached) " >&6
70933 else
70934
70935
70936 ac_ext=cpp
70937 ac_cpp='$CXXCPP $CPPFLAGS'
70938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70941
70942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70943 /* end confdefs.h. */
70944 #include <math.h>
70945 int
70946 main ()
70947 {
70948 ldexpl(0, 0);
70949 ;
70950 return 0;
70951 }
70952 _ACEOF
70953 if ac_fn_cxx_try_compile "$LINENO"; then :
70954 glibcxx_cv_func_ldexpl_use=yes
70955 else
70956 glibcxx_cv_func_ldexpl_use=no
70957 fi
70958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70959 ac_ext=c
70960 ac_cpp='$CPP $CPPFLAGS'
70961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70964
70965
70966 fi
70967
70968 fi
70969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70970 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70971
70972 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70973 for ac_func in ldexpl
70974 do :
70975 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70976 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70977 cat >>confdefs.h <<_ACEOF
70978 #define HAVE_LDEXPL 1
70979 _ACEOF
70980
70981 fi
70982 done
70983
70984 else
70985
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70987 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70988 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70989 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70990 $as_echo_n "(cached) " >&6
70991 else
70992
70993
70994 ac_ext=cpp
70995 ac_cpp='$CXXCPP $CPPFLAGS'
70996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70999
71000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71001 /* end confdefs.h. */
71002 #include <math.h>
71003 int
71004 main ()
71005 {
71006 _ldexpl(0, 0);
71007 ;
71008 return 0;
71009 }
71010 _ACEOF
71011 if ac_fn_cxx_try_compile "$LINENO"; then :
71012 glibcxx_cv_func__ldexpl_use=yes
71013 else
71014 glibcxx_cv_func__ldexpl_use=no
71015 fi
71016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71017 ac_ext=c
71018 ac_cpp='$CPP $CPPFLAGS'
71019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71022
71023
71024 fi
71025
71026 fi
71027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71028 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71029
71030 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71031 for ac_func in _ldexpl
71032 do :
71033 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71034 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71035 cat >>confdefs.h <<_ACEOF
71036 #define HAVE__LDEXPL 1
71037 _ACEOF
71038
71039 fi
71040 done
71041
71042 fi
71043 fi
71044
71045
71046
71047
71048
71049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71050 $as_echo_n "checking for logl declaration... " >&6; }
71051 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71052 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71053 $as_echo_n "(cached) " >&6
71054 else
71055
71056
71057 ac_ext=cpp
71058 ac_cpp='$CXXCPP $CPPFLAGS'
71059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71062
71063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71064 /* end confdefs.h. */
71065 #include <math.h>
71066 #ifdef HAVE_IEEEFP_H
71067 #include <ieeefp.h>
71068 #endif
71069
71070 int
71071 main ()
71072 {
71073 logl(0);
71074 ;
71075 return 0;
71076 }
71077 _ACEOF
71078 if ac_fn_cxx_try_compile "$LINENO"; then :
71079 glibcxx_cv_func_logl_use=yes
71080 else
71081 glibcxx_cv_func_logl_use=no
71082 fi
71083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71084 ac_ext=c
71085 ac_cpp='$CPP $CPPFLAGS'
71086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71089
71090
71091 fi
71092
71093 fi
71094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71095 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71096
71097 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71098 for ac_func in logl
71099 do :
71100 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71101 if test "x$ac_cv_func_logl" = x""yes; then :
71102 cat >>confdefs.h <<_ACEOF
71103 #define HAVE_LOGL 1
71104 _ACEOF
71105
71106 fi
71107 done
71108
71109 else
71110
71111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71112 $as_echo_n "checking for _logl declaration... " >&6; }
71113 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71114 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71115 $as_echo_n "(cached) " >&6
71116 else
71117
71118
71119 ac_ext=cpp
71120 ac_cpp='$CXXCPP $CPPFLAGS'
71121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71124
71125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71126 /* end confdefs.h. */
71127 #include <math.h>
71128 #ifdef HAVE_IEEEFP_H
71129 #include <ieeefp.h>
71130 #endif
71131
71132 int
71133 main ()
71134 {
71135 _logl(0);
71136 ;
71137 return 0;
71138 }
71139 _ACEOF
71140 if ac_fn_cxx_try_compile "$LINENO"; then :
71141 glibcxx_cv_func__logl_use=yes
71142 else
71143 glibcxx_cv_func__logl_use=no
71144 fi
71145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71146 ac_ext=c
71147 ac_cpp='$CPP $CPPFLAGS'
71148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71151
71152
71153 fi
71154
71155 fi
71156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71157 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71158
71159 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71160 for ac_func in _logl
71161 do :
71162 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71163 if test "x$ac_cv_func__logl" = x""yes; then :
71164 cat >>confdefs.h <<_ACEOF
71165 #define HAVE__LOGL 1
71166 _ACEOF
71167
71168 fi
71169 done
71170
71171 fi
71172 fi
71173
71174
71175
71176
71177
71178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71179 $as_echo_n "checking for log10l declaration... " >&6; }
71180 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71181 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71182 $as_echo_n "(cached) " >&6
71183 else
71184
71185
71186 ac_ext=cpp
71187 ac_cpp='$CXXCPP $CPPFLAGS'
71188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71191
71192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71193 /* end confdefs.h. */
71194 #include <math.h>
71195 #ifdef HAVE_IEEEFP_H
71196 #include <ieeefp.h>
71197 #endif
71198
71199 int
71200 main ()
71201 {
71202 log10l(0);
71203 ;
71204 return 0;
71205 }
71206 _ACEOF
71207 if ac_fn_cxx_try_compile "$LINENO"; then :
71208 glibcxx_cv_func_log10l_use=yes
71209 else
71210 glibcxx_cv_func_log10l_use=no
71211 fi
71212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71213 ac_ext=c
71214 ac_cpp='$CPP $CPPFLAGS'
71215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71218
71219
71220 fi
71221
71222 fi
71223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71224 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71225
71226 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71227 for ac_func in log10l
71228 do :
71229 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71230 if test "x$ac_cv_func_log10l" = x""yes; then :
71231 cat >>confdefs.h <<_ACEOF
71232 #define HAVE_LOG10L 1
71233 _ACEOF
71234
71235 fi
71236 done
71237
71238 else
71239
71240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71241 $as_echo_n "checking for _log10l declaration... " >&6; }
71242 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71243 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71244 $as_echo_n "(cached) " >&6
71245 else
71246
71247
71248 ac_ext=cpp
71249 ac_cpp='$CXXCPP $CPPFLAGS'
71250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71253
71254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71255 /* end confdefs.h. */
71256 #include <math.h>
71257 #ifdef HAVE_IEEEFP_H
71258 #include <ieeefp.h>
71259 #endif
71260
71261 int
71262 main ()
71263 {
71264 _log10l(0);
71265 ;
71266 return 0;
71267 }
71268 _ACEOF
71269 if ac_fn_cxx_try_compile "$LINENO"; then :
71270 glibcxx_cv_func__log10l_use=yes
71271 else
71272 glibcxx_cv_func__log10l_use=no
71273 fi
71274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71275 ac_ext=c
71276 ac_cpp='$CPP $CPPFLAGS'
71277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71280
71281
71282 fi
71283
71284 fi
71285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71286 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71287
71288 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71289 for ac_func in _log10l
71290 do :
71291 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71292 if test "x$ac_cv_func__log10l" = x""yes; then :
71293 cat >>confdefs.h <<_ACEOF
71294 #define HAVE__LOG10L 1
71295 _ACEOF
71296
71297 fi
71298 done
71299
71300 fi
71301 fi
71302
71303
71304
71305
71306
71307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71308 $as_echo_n "checking for modfl declaration... " >&6; }
71309 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71310 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71311 $as_echo_n "(cached) " >&6
71312 else
71313
71314
71315 ac_ext=cpp
71316 ac_cpp='$CXXCPP $CPPFLAGS'
71317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71320
71321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71322 /* end confdefs.h. */
71323 #include <math.h>
71324 int
71325 main ()
71326 {
71327 modfl(0, 0);
71328 ;
71329 return 0;
71330 }
71331 _ACEOF
71332 if ac_fn_cxx_try_compile "$LINENO"; then :
71333 glibcxx_cv_func_modfl_use=yes
71334 else
71335 glibcxx_cv_func_modfl_use=no
71336 fi
71337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71338 ac_ext=c
71339 ac_cpp='$CPP $CPPFLAGS'
71340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71343
71344
71345 fi
71346
71347 fi
71348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71349 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71350
71351 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71352 for ac_func in modfl
71353 do :
71354 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71355 if test "x$ac_cv_func_modfl" = x""yes; then :
71356 cat >>confdefs.h <<_ACEOF
71357 #define HAVE_MODFL 1
71358 _ACEOF
71359
71360 fi
71361 done
71362
71363 else
71364
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71366 $as_echo_n "checking for _modfl declaration... " >&6; }
71367 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71368 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71369 $as_echo_n "(cached) " >&6
71370 else
71371
71372
71373 ac_ext=cpp
71374 ac_cpp='$CXXCPP $CPPFLAGS'
71375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71378
71379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71380 /* end confdefs.h. */
71381 #include <math.h>
71382 int
71383 main ()
71384 {
71385 _modfl(0, 0);
71386 ;
71387 return 0;
71388 }
71389 _ACEOF
71390 if ac_fn_cxx_try_compile "$LINENO"; then :
71391 glibcxx_cv_func__modfl_use=yes
71392 else
71393 glibcxx_cv_func__modfl_use=no
71394 fi
71395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71396 ac_ext=c
71397 ac_cpp='$CPP $CPPFLAGS'
71398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71401
71402
71403 fi
71404
71405 fi
71406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71407 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71408
71409 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71410 for ac_func in _modfl
71411 do :
71412 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71413 if test "x$ac_cv_func__modfl" = x""yes; then :
71414 cat >>confdefs.h <<_ACEOF
71415 #define HAVE__MODFL 1
71416 _ACEOF
71417
71418 fi
71419 done
71420
71421 fi
71422 fi
71423
71424
71425
71426
71427
71428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71429 $as_echo_n "checking for powl declaration... " >&6; }
71430 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71431 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71432 $as_echo_n "(cached) " >&6
71433 else
71434
71435
71436 ac_ext=cpp
71437 ac_cpp='$CXXCPP $CPPFLAGS'
71438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71441
71442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71443 /* end confdefs.h. */
71444 #include <math.h>
71445 int
71446 main ()
71447 {
71448 powl(0, 0);
71449 ;
71450 return 0;
71451 }
71452 _ACEOF
71453 if ac_fn_cxx_try_compile "$LINENO"; then :
71454 glibcxx_cv_func_powl_use=yes
71455 else
71456 glibcxx_cv_func_powl_use=no
71457 fi
71458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71459 ac_ext=c
71460 ac_cpp='$CPP $CPPFLAGS'
71461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71464
71465
71466 fi
71467
71468 fi
71469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71470 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71471
71472 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71473 for ac_func in powl
71474 do :
71475 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71476 if test "x$ac_cv_func_powl" = x""yes; then :
71477 cat >>confdefs.h <<_ACEOF
71478 #define HAVE_POWL 1
71479 _ACEOF
71480
71481 fi
71482 done
71483
71484 else
71485
71486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71487 $as_echo_n "checking for _powl declaration... " >&6; }
71488 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71489 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71490 $as_echo_n "(cached) " >&6
71491 else
71492
71493
71494 ac_ext=cpp
71495 ac_cpp='$CXXCPP $CPPFLAGS'
71496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71499
71500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71501 /* end confdefs.h. */
71502 #include <math.h>
71503 int
71504 main ()
71505 {
71506 _powl(0, 0);
71507 ;
71508 return 0;
71509 }
71510 _ACEOF
71511 if ac_fn_cxx_try_compile "$LINENO"; then :
71512 glibcxx_cv_func__powl_use=yes
71513 else
71514 glibcxx_cv_func__powl_use=no
71515 fi
71516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71517 ac_ext=c
71518 ac_cpp='$CPP $CPPFLAGS'
71519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71522
71523
71524 fi
71525
71526 fi
71527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71528 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71529
71530 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71531 for ac_func in _powl
71532 do :
71533 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71534 if test "x$ac_cv_func__powl" = x""yes; then :
71535 cat >>confdefs.h <<_ACEOF
71536 #define HAVE__POWL 1
71537 _ACEOF
71538
71539 fi
71540 done
71541
71542 fi
71543 fi
71544
71545
71546
71547
71548
71549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71550 $as_echo_n "checking for sqrtl declaration... " >&6; }
71551 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71552 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71553 $as_echo_n "(cached) " >&6
71554 else
71555
71556
71557 ac_ext=cpp
71558 ac_cpp='$CXXCPP $CPPFLAGS'
71559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71562
71563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71564 /* end confdefs.h. */
71565 #include <math.h>
71566 #ifdef HAVE_IEEEFP_H
71567 #include <ieeefp.h>
71568 #endif
71569
71570 int
71571 main ()
71572 {
71573 sqrtl(0);
71574 ;
71575 return 0;
71576 }
71577 _ACEOF
71578 if ac_fn_cxx_try_compile "$LINENO"; then :
71579 glibcxx_cv_func_sqrtl_use=yes
71580 else
71581 glibcxx_cv_func_sqrtl_use=no
71582 fi
71583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71584 ac_ext=c
71585 ac_cpp='$CPP $CPPFLAGS'
71586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71589
71590
71591 fi
71592
71593 fi
71594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71595 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71596
71597 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71598 for ac_func in sqrtl
71599 do :
71600 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71601 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71602 cat >>confdefs.h <<_ACEOF
71603 #define HAVE_SQRTL 1
71604 _ACEOF
71605
71606 fi
71607 done
71608
71609 else
71610
71611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71612 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71613 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71614 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71615 $as_echo_n "(cached) " >&6
71616 else
71617
71618
71619 ac_ext=cpp
71620 ac_cpp='$CXXCPP $CPPFLAGS'
71621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71624
71625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71626 /* end confdefs.h. */
71627 #include <math.h>
71628 #ifdef HAVE_IEEEFP_H
71629 #include <ieeefp.h>
71630 #endif
71631
71632 int
71633 main ()
71634 {
71635 _sqrtl(0);
71636 ;
71637 return 0;
71638 }
71639 _ACEOF
71640 if ac_fn_cxx_try_compile "$LINENO"; then :
71641 glibcxx_cv_func__sqrtl_use=yes
71642 else
71643 glibcxx_cv_func__sqrtl_use=no
71644 fi
71645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71646 ac_ext=c
71647 ac_cpp='$CPP $CPPFLAGS'
71648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71651
71652
71653 fi
71654
71655 fi
71656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71657 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71658
71659 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71660 for ac_func in _sqrtl
71661 do :
71662 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71663 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71664 cat >>confdefs.h <<_ACEOF
71665 #define HAVE__SQRTL 1
71666 _ACEOF
71667
71668 fi
71669 done
71670
71671 fi
71672 fi
71673
71674
71675
71676
71677
71678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71679 $as_echo_n "checking for sincosl declaration... " >&6; }
71680 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71681 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71682 $as_echo_n "(cached) " >&6
71683 else
71684
71685
71686 ac_ext=cpp
71687 ac_cpp='$CXXCPP $CPPFLAGS'
71688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71691
71692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71693 /* end confdefs.h. */
71694 #include <math.h>
71695 int
71696 main ()
71697 {
71698 sincosl(0, 0, 0);
71699 ;
71700 return 0;
71701 }
71702 _ACEOF
71703 if ac_fn_cxx_try_compile "$LINENO"; then :
71704 glibcxx_cv_func_sincosl_use=yes
71705 else
71706 glibcxx_cv_func_sincosl_use=no
71707 fi
71708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71709 ac_ext=c
71710 ac_cpp='$CPP $CPPFLAGS'
71711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71714
71715
71716 fi
71717
71718 fi
71719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71720 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71721
71722 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71723 for ac_func in sincosl
71724 do :
71725 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71726 if test "x$ac_cv_func_sincosl" = x""yes; then :
71727 cat >>confdefs.h <<_ACEOF
71728 #define HAVE_SINCOSL 1
71729 _ACEOF
71730
71731 fi
71732 done
71733
71734 else
71735
71736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71737 $as_echo_n "checking for _sincosl declaration... " >&6; }
71738 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71739 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71740 $as_echo_n "(cached) " >&6
71741 else
71742
71743
71744 ac_ext=cpp
71745 ac_cpp='$CXXCPP $CPPFLAGS'
71746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71749
71750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71751 /* end confdefs.h. */
71752 #include <math.h>
71753 int
71754 main ()
71755 {
71756 _sincosl(0, 0, 0);
71757 ;
71758 return 0;
71759 }
71760 _ACEOF
71761 if ac_fn_cxx_try_compile "$LINENO"; then :
71762 glibcxx_cv_func__sincosl_use=yes
71763 else
71764 glibcxx_cv_func__sincosl_use=no
71765 fi
71766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71767 ac_ext=c
71768 ac_cpp='$CPP $CPPFLAGS'
71769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71772
71773
71774 fi
71775
71776 fi
71777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71778 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71779
71780 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71781 for ac_func in _sincosl
71782 do :
71783 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71784 if test "x$ac_cv_func__sincosl" = x""yes; then :
71785 cat >>confdefs.h <<_ACEOF
71786 #define HAVE__SINCOSL 1
71787 _ACEOF
71788
71789 fi
71790 done
71791
71792 fi
71793 fi
71794
71795
71796
71797
71798
71799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71800 $as_echo_n "checking for finitel declaration... " >&6; }
71801 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71802 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71803 $as_echo_n "(cached) " >&6
71804 else
71805
71806
71807 ac_ext=cpp
71808 ac_cpp='$CXXCPP $CPPFLAGS'
71809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71812
71813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71814 /* end confdefs.h. */
71815 #include <math.h>
71816 #ifdef HAVE_IEEEFP_H
71817 #include <ieeefp.h>
71818 #endif
71819
71820 int
71821 main ()
71822 {
71823 finitel(0);
71824 ;
71825 return 0;
71826 }
71827 _ACEOF
71828 if ac_fn_cxx_try_compile "$LINENO"; then :
71829 glibcxx_cv_func_finitel_use=yes
71830 else
71831 glibcxx_cv_func_finitel_use=no
71832 fi
71833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71834 ac_ext=c
71835 ac_cpp='$CPP $CPPFLAGS'
71836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71839
71840
71841 fi
71842
71843 fi
71844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71845 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71846
71847 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71848 for ac_func in finitel
71849 do :
71850 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71851 if test "x$ac_cv_func_finitel" = x""yes; then :
71852 cat >>confdefs.h <<_ACEOF
71853 #define HAVE_FINITEL 1
71854 _ACEOF
71855
71856 fi
71857 done
71858
71859 else
71860
71861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71862 $as_echo_n "checking for _finitel declaration... " >&6; }
71863 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71864 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71865 $as_echo_n "(cached) " >&6
71866 else
71867
71868
71869 ac_ext=cpp
71870 ac_cpp='$CXXCPP $CPPFLAGS'
71871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71874
71875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71876 /* end confdefs.h. */
71877 #include <math.h>
71878 #ifdef HAVE_IEEEFP_H
71879 #include <ieeefp.h>
71880 #endif
71881
71882 int
71883 main ()
71884 {
71885 _finitel(0);
71886 ;
71887 return 0;
71888 }
71889 _ACEOF
71890 if ac_fn_cxx_try_compile "$LINENO"; then :
71891 glibcxx_cv_func__finitel_use=yes
71892 else
71893 glibcxx_cv_func__finitel_use=no
71894 fi
71895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71896 ac_ext=c
71897 ac_cpp='$CPP $CPPFLAGS'
71898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71901
71902
71903 fi
71904
71905 fi
71906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71907 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71908
71909 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71910 for ac_func in _finitel
71911 do :
71912 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71913 if test "x$ac_cv_func__finitel" = x""yes; then :
71914 cat >>confdefs.h <<_ACEOF
71915 #define HAVE__FINITEL 1
71916 _ACEOF
71917
71918 fi
71919 done
71920
71921 fi
71922 fi
71923
71924
71925
71926
71927 LIBS="$ac_save_LIBS"
71928 CXXFLAGS="$ac_save_CXXFLAGS"
71929
71930
71931 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71932 ac_save_CXXFLAGS="$CXXFLAGS"
71933 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71934
71935
71936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71937 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71938 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71939 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71940 $as_echo_n "(cached) " >&6
71941 else
71942
71943
71944 ac_ext=cpp
71945 ac_cpp='$CXXCPP $CPPFLAGS'
71946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71949
71950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71951 /* end confdefs.h. */
71952 #include <stdlib.h>
71953 int
71954 main ()
71955 {
71956 at_quick_exit(0);
71957 ;
71958 return 0;
71959 }
71960 _ACEOF
71961 if ac_fn_cxx_try_compile "$LINENO"; then :
71962 glibcxx_cv_func_at_quick_exit_use=yes
71963 else
71964 glibcxx_cv_func_at_quick_exit_use=no
71965 fi
71966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71967 ac_ext=c
71968 ac_cpp='$CPP $CPPFLAGS'
71969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71972
71973
71974 fi
71975
71976 fi
71977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71978 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71979 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71980 for ac_func in at_quick_exit
71981 do :
71982 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71983 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71984 cat >>confdefs.h <<_ACEOF
71985 #define HAVE_AT_QUICK_EXIT 1
71986 _ACEOF
71987
71988 fi
71989 done
71990
71991 fi
71992
71993
71994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71995 $as_echo_n "checking for quick_exit declaration... " >&6; }
71996 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71997 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71998 $as_echo_n "(cached) " >&6
71999 else
72000
72001
72002 ac_ext=cpp
72003 ac_cpp='$CXXCPP $CPPFLAGS'
72004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72007
72008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72009 /* end confdefs.h. */
72010 #include <stdlib.h>
72011 int
72012 main ()
72013 {
72014 quick_exit(0);
72015 ;
72016 return 0;
72017 }
72018 _ACEOF
72019 if ac_fn_cxx_try_compile "$LINENO"; then :
72020 glibcxx_cv_func_quick_exit_use=yes
72021 else
72022 glibcxx_cv_func_quick_exit_use=no
72023 fi
72024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72025 ac_ext=c
72026 ac_cpp='$CPP $CPPFLAGS'
72027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72030
72031
72032 fi
72033
72034 fi
72035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72036 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72037 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72038 for ac_func in quick_exit
72039 do :
72040 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72041 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72042 cat >>confdefs.h <<_ACEOF
72043 #define HAVE_QUICK_EXIT 1
72044 _ACEOF
72045
72046 fi
72047 done
72048
72049 fi
72050
72051
72052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72053 $as_echo_n "checking for strtold declaration... " >&6; }
72054 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72055 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72056 $as_echo_n "(cached) " >&6
72057 else
72058
72059
72060 ac_ext=cpp
72061 ac_cpp='$CXXCPP $CPPFLAGS'
72062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72065
72066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72067 /* end confdefs.h. */
72068 #include <stdlib.h>
72069 int
72070 main ()
72071 {
72072 strtold(0, 0);
72073 ;
72074 return 0;
72075 }
72076 _ACEOF
72077 if ac_fn_cxx_try_compile "$LINENO"; then :
72078 glibcxx_cv_func_strtold_use=yes
72079 else
72080 glibcxx_cv_func_strtold_use=no
72081 fi
72082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72083 ac_ext=c
72084 ac_cpp='$CPP $CPPFLAGS'
72085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72088
72089
72090 fi
72091
72092 fi
72093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72094 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72095 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72096 for ac_func in strtold
72097 do :
72098 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72099 if test "x$ac_cv_func_strtold" = x""yes; then :
72100 cat >>confdefs.h <<_ACEOF
72101 #define HAVE_STRTOLD 1
72102 _ACEOF
72103
72104 fi
72105 done
72106
72107 fi
72108
72109
72110
72111
72112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72113 $as_echo_n "checking for strtof declaration... " >&6; }
72114 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72115 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72116 $as_echo_n "(cached) " >&6
72117 else
72118
72119
72120 ac_ext=cpp
72121 ac_cpp='$CXXCPP $CPPFLAGS'
72122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72125
72126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72127 /* end confdefs.h. */
72128 #include <stdlib.h>
72129 int
72130 main ()
72131 {
72132 strtof(0, 0);
72133 ;
72134 return 0;
72135 }
72136 _ACEOF
72137 if ac_fn_cxx_try_compile "$LINENO"; then :
72138 glibcxx_cv_func_strtof_use=yes
72139 else
72140 glibcxx_cv_func_strtof_use=no
72141 fi
72142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72143 ac_ext=c
72144 ac_cpp='$CPP $CPPFLAGS'
72145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72148
72149
72150 fi
72151
72152 fi
72153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72154 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72155 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72156 for ac_func in strtof
72157 do :
72158 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72159 if test "x$ac_cv_func_strtof" = x""yes; then :
72160 cat >>confdefs.h <<_ACEOF
72161 #define HAVE_STRTOF 1
72162 _ACEOF
72163
72164 fi
72165 done
72166
72167 fi
72168
72169
72170
72171
72172 CXXFLAGS="$ac_save_CXXFLAGS"
72173
72174 ;;
72175 *-solaris*)
72176
72177 # If we're not using GNU ld, then there's no point in even trying these
72178 # tests. Check for that first. We should have already tested for gld
72179 # by now (in libtool), but require it now just to be safe...
72180 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72181 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72182
72183
72184
72185 # The name set by libtool depends on the version of libtool. Shame on us
72186 # for depending on an impl detail, but c'est la vie. Older versions used
72187 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72188 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72189 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72190 # set (hence we're using an older libtool), then set it.
72191 if test x${with_gnu_ld+set} != xset; then
72192 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72193 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72194 with_gnu_ld=no
72195 else
72196 with_gnu_ld=$ac_cv_prog_gnu_ld
72197 fi
72198 fi
72199
72200 # Start by getting the version number. I think the libtool test already
72201 # does some of this, but throws away the result.
72202 glibcxx_ld_is_gold=no
72203 if test x"$with_gnu_ld" = x"yes"; then
72204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72205 $as_echo_n "checking for ld version... " >&6; }
72206
72207 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72208 glibcxx_ld_is_gold=yes
72209 fi
72210 ldver=`$LD --version 2>/dev/null |
72211 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'`
72212
72213 glibcxx_gnu_ld_version=`echo $ldver | \
72214 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72216 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72217 fi
72218
72219 # Set --gc-sections.
72220 glibcxx_have_gc_sections=no
72221 if test "$glibcxx_ld_is_gold" = "yes"; then
72222 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72223 glibcxx_have_gc_sections=yes
72224 fi
72225 else
72226 glibcxx_gcsections_min_ld=21602
72227 if test x"$with_gnu_ld" = x"yes" &&
72228 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72229 glibcxx_have_gc_sections=yes
72230 fi
72231 fi
72232 if test "$glibcxx_have_gc_sections" = "yes"; then
72233 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72234 # NB: This flag only works reliably after 2.16.1. Configure tests
72235 # for this are difficult, so hard wire a value that should work.
72236
72237 ac_test_CFLAGS="${CFLAGS+set}"
72238 ac_save_CFLAGS="$CFLAGS"
72239 CFLAGS='-Wl,--gc-sections'
72240
72241 # Check for -Wl,--gc-sections
72242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72243 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72244 if test x$gcc_no_link = xyes; then
72245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72246 fi
72247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72248 /* end confdefs.h. */
72249 int one(void) { return 1; }
72250 int two(void) { return 2; }
72251
72252 int
72253 main ()
72254 {
72255 two();
72256 ;
72257 return 0;
72258 }
72259 _ACEOF
72260 if ac_fn_c_try_link "$LINENO"; then :
72261 ac_gcsections=yes
72262 else
72263 ac_gcsections=no
72264 fi
72265 rm -f core conftest.err conftest.$ac_objext \
72266 conftest$ac_exeext conftest.$ac_ext
72267 if test "$ac_gcsections" = "yes"; then
72268 rm -f conftest.c
72269 touch conftest.c
72270 if $CC -c conftest.c; then
72271 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72272 grep "Warning: gc-sections option ignored" > /dev/null; then
72273 ac_gcsections=no
72274 fi
72275 fi
72276 rm -f conftest.c conftest.o conftest
72277 fi
72278 if test "$ac_gcsections" = "yes"; then
72279 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72280 fi
72281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72282 $as_echo "$ac_gcsections" >&6; }
72283
72284 if test "$ac_test_CFLAGS" = set; then
72285 CFLAGS="$ac_save_CFLAGS"
72286 else
72287 # this is the suspicious part
72288 CFLAGS=''
72289 fi
72290 fi
72291
72292 # Set -z,relro.
72293 # Note this is only for shared objects.
72294 ac_ld_relro=no
72295 if test x"$with_gnu_ld" = x"yes"; then
72296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72297 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72298 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72299 if test -n "$cxx_z_relo"; then
72300 OPT_LDFLAGS="-Wl,-z,relro"
72301 ac_ld_relro=yes
72302 fi
72303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72304 $as_echo "$ac_ld_relro" >&6; }
72305 fi
72306
72307 # Set linker optimization flags.
72308 if test x"$with_gnu_ld" = x"yes"; then
72309 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72310 fi
72311
72312
72313
72314
72315 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72316
72317 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72318
72319 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72320
72321 # All of the dependencies for wide character support are here, so
72322 # turn it on.
72323 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72324
72325 # These two C99 functions are present only in Solaris >= 10
72326 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72327
72328 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72329
72330 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72331
72332 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72333
72334 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72335
72336 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72337
72338 ;;
72339 *-tpf)
72340 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72341 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72342
72343 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72344
72345 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72346
72347 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72348
72349 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72350
72351 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72352
72353 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72354
72355 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72356
72357 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72358
72359 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72360
72361 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72362
72363 if test x"long_double_math_on_this_cpu" = x"yes"; then
72364 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72365
72366 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72367
72368 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72369
72370 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72371
72372 fi
72373 ;;
72374 *-*vms*)
72375 # Check for available headers.
72376 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72377
72378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72379 ac_save_CXXFLAGS="$CXXFLAGS"
72380 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72381
72382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72383 $as_echo_n "checking for sin in -lm... " >&6; }
72384 if test "${ac_cv_lib_m_sin+set}" = set; then :
72385 $as_echo_n "(cached) " >&6
72386 else
72387 ac_check_lib_save_LIBS=$LIBS
72388 LIBS="-lm $LIBS"
72389 if test x$gcc_no_link = xyes; then
72390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72391 fi
72392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72393 /* end confdefs.h. */
72394
72395 /* Override any GCC internal prototype to avoid an error.
72396 Use char because int might match the return type of a GCC
72397 builtin and then its argument prototype would still apply. */
72398 #ifdef __cplusplus
72399 extern "C"
72400 #endif
72401 char sin ();
72402 int
72403 main ()
72404 {
72405 return sin ();
72406 ;
72407 return 0;
72408 }
72409 _ACEOF
72410 if ac_fn_c_try_link "$LINENO"; then :
72411 ac_cv_lib_m_sin=yes
72412 else
72413 ac_cv_lib_m_sin=no
72414 fi
72415 rm -f core conftest.err conftest.$ac_objext \
72416 conftest$ac_exeext conftest.$ac_ext
72417 LIBS=$ac_check_lib_save_LIBS
72418 fi
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72420 $as_echo "$ac_cv_lib_m_sin" >&6; }
72421 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72422 libm="-lm"
72423 fi
72424
72425 ac_save_LIBS="$LIBS"
72426 LIBS="$LIBS $libm"
72427
72428
72429
72430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72431 $as_echo_n "checking for isinf declaration... " >&6; }
72432 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72433 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72434 $as_echo_n "(cached) " >&6
72435 else
72436
72437
72438 ac_ext=cpp
72439 ac_cpp='$CXXCPP $CPPFLAGS'
72440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72443
72444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72445 /* end confdefs.h. */
72446 #include <math.h>
72447 #ifdef HAVE_IEEEFP_H
72448 #include <ieeefp.h>
72449 #endif
72450
72451 int
72452 main ()
72453 {
72454 isinf(0);
72455 ;
72456 return 0;
72457 }
72458 _ACEOF
72459 if ac_fn_cxx_try_compile "$LINENO"; then :
72460 glibcxx_cv_func_isinf_use=yes
72461 else
72462 glibcxx_cv_func_isinf_use=no
72463 fi
72464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72465 ac_ext=c
72466 ac_cpp='$CPP $CPPFLAGS'
72467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72470
72471
72472 fi
72473
72474 fi
72475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72476 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72477
72478 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72479 for ac_func in isinf
72480 do :
72481 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72482 if test "x$ac_cv_func_isinf" = x""yes; then :
72483 cat >>confdefs.h <<_ACEOF
72484 #define HAVE_ISINF 1
72485 _ACEOF
72486
72487 fi
72488 done
72489
72490 else
72491
72492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72493 $as_echo_n "checking for _isinf declaration... " >&6; }
72494 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72495 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72496 $as_echo_n "(cached) " >&6
72497 else
72498
72499
72500 ac_ext=cpp
72501 ac_cpp='$CXXCPP $CPPFLAGS'
72502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72505
72506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72507 /* end confdefs.h. */
72508 #include <math.h>
72509 #ifdef HAVE_IEEEFP_H
72510 #include <ieeefp.h>
72511 #endif
72512
72513 int
72514 main ()
72515 {
72516 _isinf(0);
72517 ;
72518 return 0;
72519 }
72520 _ACEOF
72521 if ac_fn_cxx_try_compile "$LINENO"; then :
72522 glibcxx_cv_func__isinf_use=yes
72523 else
72524 glibcxx_cv_func__isinf_use=no
72525 fi
72526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72527 ac_ext=c
72528 ac_cpp='$CPP $CPPFLAGS'
72529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72532
72533
72534 fi
72535
72536 fi
72537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72538 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72539
72540 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72541 for ac_func in _isinf
72542 do :
72543 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72544 if test "x$ac_cv_func__isinf" = x""yes; then :
72545 cat >>confdefs.h <<_ACEOF
72546 #define HAVE__ISINF 1
72547 _ACEOF
72548
72549 fi
72550 done
72551
72552 fi
72553 fi
72554
72555
72556
72557
72558
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72560 $as_echo_n "checking for isnan declaration... " >&6; }
72561 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72562 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72563 $as_echo_n "(cached) " >&6
72564 else
72565
72566
72567 ac_ext=cpp
72568 ac_cpp='$CXXCPP $CPPFLAGS'
72569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72572
72573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72574 /* end confdefs.h. */
72575 #include <math.h>
72576 #ifdef HAVE_IEEEFP_H
72577 #include <ieeefp.h>
72578 #endif
72579
72580 int
72581 main ()
72582 {
72583 isnan(0);
72584 ;
72585 return 0;
72586 }
72587 _ACEOF
72588 if ac_fn_cxx_try_compile "$LINENO"; then :
72589 glibcxx_cv_func_isnan_use=yes
72590 else
72591 glibcxx_cv_func_isnan_use=no
72592 fi
72593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72594 ac_ext=c
72595 ac_cpp='$CPP $CPPFLAGS'
72596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72599
72600
72601 fi
72602
72603 fi
72604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72605 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72606
72607 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72608 for ac_func in isnan
72609 do :
72610 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72611 if test "x$ac_cv_func_isnan" = x""yes; then :
72612 cat >>confdefs.h <<_ACEOF
72613 #define HAVE_ISNAN 1
72614 _ACEOF
72615
72616 fi
72617 done
72618
72619 else
72620
72621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72622 $as_echo_n "checking for _isnan declaration... " >&6; }
72623 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72624 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72625 $as_echo_n "(cached) " >&6
72626 else
72627
72628
72629 ac_ext=cpp
72630 ac_cpp='$CXXCPP $CPPFLAGS'
72631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72634
72635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72636 /* end confdefs.h. */
72637 #include <math.h>
72638 #ifdef HAVE_IEEEFP_H
72639 #include <ieeefp.h>
72640 #endif
72641
72642 int
72643 main ()
72644 {
72645 _isnan(0);
72646 ;
72647 return 0;
72648 }
72649 _ACEOF
72650 if ac_fn_cxx_try_compile "$LINENO"; then :
72651 glibcxx_cv_func__isnan_use=yes
72652 else
72653 glibcxx_cv_func__isnan_use=no
72654 fi
72655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72656 ac_ext=c
72657 ac_cpp='$CPP $CPPFLAGS'
72658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72661
72662
72663 fi
72664
72665 fi
72666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72667 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72668
72669 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72670 for ac_func in _isnan
72671 do :
72672 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72673 if test "x$ac_cv_func__isnan" = x""yes; then :
72674 cat >>confdefs.h <<_ACEOF
72675 #define HAVE__ISNAN 1
72676 _ACEOF
72677
72678 fi
72679 done
72680
72681 fi
72682 fi
72683
72684
72685
72686
72687
72688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72689 $as_echo_n "checking for finite declaration... " >&6; }
72690 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72691 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72692 $as_echo_n "(cached) " >&6
72693 else
72694
72695
72696 ac_ext=cpp
72697 ac_cpp='$CXXCPP $CPPFLAGS'
72698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72701
72702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72703 /* end confdefs.h. */
72704 #include <math.h>
72705 #ifdef HAVE_IEEEFP_H
72706 #include <ieeefp.h>
72707 #endif
72708
72709 int
72710 main ()
72711 {
72712 finite(0);
72713 ;
72714 return 0;
72715 }
72716 _ACEOF
72717 if ac_fn_cxx_try_compile "$LINENO"; then :
72718 glibcxx_cv_func_finite_use=yes
72719 else
72720 glibcxx_cv_func_finite_use=no
72721 fi
72722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72723 ac_ext=c
72724 ac_cpp='$CPP $CPPFLAGS'
72725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72728
72729
72730 fi
72731
72732 fi
72733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72734 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72735
72736 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72737 for ac_func in finite
72738 do :
72739 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72740 if test "x$ac_cv_func_finite" = x""yes; then :
72741 cat >>confdefs.h <<_ACEOF
72742 #define HAVE_FINITE 1
72743 _ACEOF
72744
72745 fi
72746 done
72747
72748 else
72749
72750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72751 $as_echo_n "checking for _finite declaration... " >&6; }
72752 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72753 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72754 $as_echo_n "(cached) " >&6
72755 else
72756
72757
72758 ac_ext=cpp
72759 ac_cpp='$CXXCPP $CPPFLAGS'
72760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72763
72764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72765 /* end confdefs.h. */
72766 #include <math.h>
72767 #ifdef HAVE_IEEEFP_H
72768 #include <ieeefp.h>
72769 #endif
72770
72771 int
72772 main ()
72773 {
72774 _finite(0);
72775 ;
72776 return 0;
72777 }
72778 _ACEOF
72779 if ac_fn_cxx_try_compile "$LINENO"; then :
72780 glibcxx_cv_func__finite_use=yes
72781 else
72782 glibcxx_cv_func__finite_use=no
72783 fi
72784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72785 ac_ext=c
72786 ac_cpp='$CPP $CPPFLAGS'
72787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72790
72791
72792 fi
72793
72794 fi
72795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72796 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72797
72798 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72799 for ac_func in _finite
72800 do :
72801 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72802 if test "x$ac_cv_func__finite" = x""yes; then :
72803 cat >>confdefs.h <<_ACEOF
72804 #define HAVE__FINITE 1
72805 _ACEOF
72806
72807 fi
72808 done
72809
72810 fi
72811 fi
72812
72813
72814
72815
72816
72817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72818 $as_echo_n "checking for sincos declaration... " >&6; }
72819 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72820 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72821 $as_echo_n "(cached) " >&6
72822 else
72823
72824
72825 ac_ext=cpp
72826 ac_cpp='$CXXCPP $CPPFLAGS'
72827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72830
72831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72832 /* end confdefs.h. */
72833 #include <math.h>
72834 int
72835 main ()
72836 {
72837 sincos(0, 0, 0);
72838 ;
72839 return 0;
72840 }
72841 _ACEOF
72842 if ac_fn_cxx_try_compile "$LINENO"; then :
72843 glibcxx_cv_func_sincos_use=yes
72844 else
72845 glibcxx_cv_func_sincos_use=no
72846 fi
72847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72848 ac_ext=c
72849 ac_cpp='$CPP $CPPFLAGS'
72850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72853
72854
72855 fi
72856
72857 fi
72858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72859 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72860
72861 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72862 for ac_func in sincos
72863 do :
72864 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72865 if test "x$ac_cv_func_sincos" = x""yes; then :
72866 cat >>confdefs.h <<_ACEOF
72867 #define HAVE_SINCOS 1
72868 _ACEOF
72869
72870 fi
72871 done
72872
72873 else
72874
72875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72876 $as_echo_n "checking for _sincos declaration... " >&6; }
72877 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72878 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72879 $as_echo_n "(cached) " >&6
72880 else
72881
72882
72883 ac_ext=cpp
72884 ac_cpp='$CXXCPP $CPPFLAGS'
72885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72888
72889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72890 /* end confdefs.h. */
72891 #include <math.h>
72892 int
72893 main ()
72894 {
72895 _sincos(0, 0, 0);
72896 ;
72897 return 0;
72898 }
72899 _ACEOF
72900 if ac_fn_cxx_try_compile "$LINENO"; then :
72901 glibcxx_cv_func__sincos_use=yes
72902 else
72903 glibcxx_cv_func__sincos_use=no
72904 fi
72905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72906 ac_ext=c
72907 ac_cpp='$CPP $CPPFLAGS'
72908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72911
72912
72913 fi
72914
72915 fi
72916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72917 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72918
72919 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72920 for ac_func in _sincos
72921 do :
72922 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72923 if test "x$ac_cv_func__sincos" = x""yes; then :
72924 cat >>confdefs.h <<_ACEOF
72925 #define HAVE__SINCOS 1
72926 _ACEOF
72927
72928 fi
72929 done
72930
72931 fi
72932 fi
72933
72934
72935
72936
72937
72938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72939 $as_echo_n "checking for fpclass declaration... " >&6; }
72940 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72941 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72942 $as_echo_n "(cached) " >&6
72943 else
72944
72945
72946 ac_ext=cpp
72947 ac_cpp='$CXXCPP $CPPFLAGS'
72948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72951
72952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72953 /* end confdefs.h. */
72954 #include <math.h>
72955 #ifdef HAVE_IEEEFP_H
72956 #include <ieeefp.h>
72957 #endif
72958
72959 int
72960 main ()
72961 {
72962 fpclass(0);
72963 ;
72964 return 0;
72965 }
72966 _ACEOF
72967 if ac_fn_cxx_try_compile "$LINENO"; then :
72968 glibcxx_cv_func_fpclass_use=yes
72969 else
72970 glibcxx_cv_func_fpclass_use=no
72971 fi
72972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72973 ac_ext=c
72974 ac_cpp='$CPP $CPPFLAGS'
72975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72978
72979
72980 fi
72981
72982 fi
72983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72984 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72985
72986 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72987 for ac_func in fpclass
72988 do :
72989 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72990 if test "x$ac_cv_func_fpclass" = x""yes; then :
72991 cat >>confdefs.h <<_ACEOF
72992 #define HAVE_FPCLASS 1
72993 _ACEOF
72994
72995 fi
72996 done
72997
72998 else
72999
73000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73001 $as_echo_n "checking for _fpclass declaration... " >&6; }
73002 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73003 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73004 $as_echo_n "(cached) " >&6
73005 else
73006
73007
73008 ac_ext=cpp
73009 ac_cpp='$CXXCPP $CPPFLAGS'
73010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73013
73014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73015 /* end confdefs.h. */
73016 #include <math.h>
73017 #ifdef HAVE_IEEEFP_H
73018 #include <ieeefp.h>
73019 #endif
73020
73021 int
73022 main ()
73023 {
73024 _fpclass(0);
73025 ;
73026 return 0;
73027 }
73028 _ACEOF
73029 if ac_fn_cxx_try_compile "$LINENO"; then :
73030 glibcxx_cv_func__fpclass_use=yes
73031 else
73032 glibcxx_cv_func__fpclass_use=no
73033 fi
73034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73035 ac_ext=c
73036 ac_cpp='$CPP $CPPFLAGS'
73037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73040
73041
73042 fi
73043
73044 fi
73045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73046 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73047
73048 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73049 for ac_func in _fpclass
73050 do :
73051 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73052 if test "x$ac_cv_func__fpclass" = x""yes; then :
73053 cat >>confdefs.h <<_ACEOF
73054 #define HAVE__FPCLASS 1
73055 _ACEOF
73056
73057 fi
73058 done
73059
73060 fi
73061 fi
73062
73063
73064
73065
73066
73067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73068 $as_echo_n "checking for qfpclass declaration... " >&6; }
73069 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73070 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73071 $as_echo_n "(cached) " >&6
73072 else
73073
73074
73075 ac_ext=cpp
73076 ac_cpp='$CXXCPP $CPPFLAGS'
73077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73080
73081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73082 /* end confdefs.h. */
73083 #include <math.h>
73084 #ifdef HAVE_IEEEFP_H
73085 #include <ieeefp.h>
73086 #endif
73087
73088 int
73089 main ()
73090 {
73091 qfpclass(0);
73092 ;
73093 return 0;
73094 }
73095 _ACEOF
73096 if ac_fn_cxx_try_compile "$LINENO"; then :
73097 glibcxx_cv_func_qfpclass_use=yes
73098 else
73099 glibcxx_cv_func_qfpclass_use=no
73100 fi
73101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73102 ac_ext=c
73103 ac_cpp='$CPP $CPPFLAGS'
73104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73107
73108
73109 fi
73110
73111 fi
73112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73113 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73114
73115 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73116 for ac_func in qfpclass
73117 do :
73118 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73119 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73120 cat >>confdefs.h <<_ACEOF
73121 #define HAVE_QFPCLASS 1
73122 _ACEOF
73123
73124 fi
73125 done
73126
73127 else
73128
73129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73130 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73131 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73132 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73133 $as_echo_n "(cached) " >&6
73134 else
73135
73136
73137 ac_ext=cpp
73138 ac_cpp='$CXXCPP $CPPFLAGS'
73139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73142
73143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73144 /* end confdefs.h. */
73145 #include <math.h>
73146 #ifdef HAVE_IEEEFP_H
73147 #include <ieeefp.h>
73148 #endif
73149
73150 int
73151 main ()
73152 {
73153 _qfpclass(0);
73154 ;
73155 return 0;
73156 }
73157 _ACEOF
73158 if ac_fn_cxx_try_compile "$LINENO"; then :
73159 glibcxx_cv_func__qfpclass_use=yes
73160 else
73161 glibcxx_cv_func__qfpclass_use=no
73162 fi
73163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73164 ac_ext=c
73165 ac_cpp='$CPP $CPPFLAGS'
73166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73169
73170
73171 fi
73172
73173 fi
73174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73175 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73176
73177 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73178 for ac_func in _qfpclass
73179 do :
73180 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73181 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73182 cat >>confdefs.h <<_ACEOF
73183 #define HAVE__QFPCLASS 1
73184 _ACEOF
73185
73186 fi
73187 done
73188
73189 fi
73190 fi
73191
73192
73193
73194
73195
73196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73197 $as_echo_n "checking for hypot declaration... " >&6; }
73198 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73199 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73200 $as_echo_n "(cached) " >&6
73201 else
73202
73203
73204 ac_ext=cpp
73205 ac_cpp='$CXXCPP $CPPFLAGS'
73206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73209
73210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73211 /* end confdefs.h. */
73212 #include <math.h>
73213 int
73214 main ()
73215 {
73216 hypot(0, 0);
73217 ;
73218 return 0;
73219 }
73220 _ACEOF
73221 if ac_fn_cxx_try_compile "$LINENO"; then :
73222 glibcxx_cv_func_hypot_use=yes
73223 else
73224 glibcxx_cv_func_hypot_use=no
73225 fi
73226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73227 ac_ext=c
73228 ac_cpp='$CPP $CPPFLAGS'
73229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73232
73233
73234 fi
73235
73236 fi
73237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73238 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73239
73240 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73241 for ac_func in hypot
73242 do :
73243 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73244 if test "x$ac_cv_func_hypot" = x""yes; then :
73245 cat >>confdefs.h <<_ACEOF
73246 #define HAVE_HYPOT 1
73247 _ACEOF
73248
73249 fi
73250 done
73251
73252 else
73253
73254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73255 $as_echo_n "checking for _hypot declaration... " >&6; }
73256 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73257 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73258 $as_echo_n "(cached) " >&6
73259 else
73260
73261
73262 ac_ext=cpp
73263 ac_cpp='$CXXCPP $CPPFLAGS'
73264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73267
73268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73269 /* end confdefs.h. */
73270 #include <math.h>
73271 int
73272 main ()
73273 {
73274 _hypot(0, 0);
73275 ;
73276 return 0;
73277 }
73278 _ACEOF
73279 if ac_fn_cxx_try_compile "$LINENO"; then :
73280 glibcxx_cv_func__hypot_use=yes
73281 else
73282 glibcxx_cv_func__hypot_use=no
73283 fi
73284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73285 ac_ext=c
73286 ac_cpp='$CPP $CPPFLAGS'
73287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73290
73291
73292 fi
73293
73294 fi
73295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73296 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73297
73298 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73299 for ac_func in _hypot
73300 do :
73301 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73302 if test "x$ac_cv_func__hypot" = x""yes; then :
73303 cat >>confdefs.h <<_ACEOF
73304 #define HAVE__HYPOT 1
73305 _ACEOF
73306
73307 fi
73308 done
73309
73310 fi
73311 fi
73312
73313
73314
73315
73316
73317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73318 $as_echo_n "checking for float trig functions... " >&6; }
73319 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73320 $as_echo_n "(cached) " >&6
73321 else
73322
73323
73324 ac_ext=cpp
73325 ac_cpp='$CXXCPP $CPPFLAGS'
73326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73329
73330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73331 /* end confdefs.h. */
73332 #include <math.h>
73333 int
73334 main ()
73335 {
73336 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73337 ;
73338 return 0;
73339 }
73340 _ACEOF
73341 if ac_fn_cxx_try_compile "$LINENO"; then :
73342 glibcxx_cv_func_float_trig_use=yes
73343 else
73344 glibcxx_cv_func_float_trig_use=no
73345 fi
73346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73347 ac_ext=c
73348 ac_cpp='$CPP $CPPFLAGS'
73349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73352
73353 fi
73354
73355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73356 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73357 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73358 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73359 do :
73360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73362 eval as_val=\$$as_ac_var
73363 if test "x$as_val" = x""yes; then :
73364 cat >>confdefs.h <<_ACEOF
73365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73366 _ACEOF
73367
73368 fi
73369 done
73370
73371 else
73372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73373 $as_echo_n "checking for _float trig functions... " >&6; }
73374 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73375 $as_echo_n "(cached) " >&6
73376 else
73377
73378
73379 ac_ext=cpp
73380 ac_cpp='$CXXCPP $CPPFLAGS'
73381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73384
73385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73386 /* end confdefs.h. */
73387 #include <math.h>
73388 int
73389 main ()
73390 {
73391 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73392 ;
73393 return 0;
73394 }
73395 _ACEOF
73396 if ac_fn_cxx_try_compile "$LINENO"; then :
73397 glibcxx_cv_func__float_trig_use=yes
73398 else
73399 glibcxx_cv_func__float_trig_use=no
73400 fi
73401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73402 ac_ext=c
73403 ac_cpp='$CPP $CPPFLAGS'
73404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73407
73408 fi
73409
73410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73411 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73412 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73413 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73414 do :
73415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73417 eval as_val=\$$as_ac_var
73418 if test "x$as_val" = x""yes; then :
73419 cat >>confdefs.h <<_ACEOF
73420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73421 _ACEOF
73422
73423 fi
73424 done
73425
73426 fi
73427 fi
73428
73429
73430
73431
73432
73433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73434 $as_echo_n "checking for float round functions... " >&6; }
73435 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73436 $as_echo_n "(cached) " >&6
73437 else
73438
73439
73440 ac_ext=cpp
73441 ac_cpp='$CXXCPP $CPPFLAGS'
73442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73445
73446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73447 /* end confdefs.h. */
73448 #include <math.h>
73449 int
73450 main ()
73451 {
73452 ceilf (0); floorf (0);
73453 ;
73454 return 0;
73455 }
73456 _ACEOF
73457 if ac_fn_cxx_try_compile "$LINENO"; then :
73458 glibcxx_cv_func_float_round_use=yes
73459 else
73460 glibcxx_cv_func_float_round_use=no
73461 fi
73462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73463 ac_ext=c
73464 ac_cpp='$CPP $CPPFLAGS'
73465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73468
73469 fi
73470
73471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73472 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73473 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73474 for ac_func in ceilf floorf
73475 do :
73476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73478 eval as_val=\$$as_ac_var
73479 if test "x$as_val" = x""yes; then :
73480 cat >>confdefs.h <<_ACEOF
73481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73482 _ACEOF
73483
73484 fi
73485 done
73486
73487 else
73488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73489 $as_echo_n "checking for _float round functions... " >&6; }
73490 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73491 $as_echo_n "(cached) " >&6
73492 else
73493
73494
73495 ac_ext=cpp
73496 ac_cpp='$CXXCPP $CPPFLAGS'
73497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73500
73501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73502 /* end confdefs.h. */
73503 #include <math.h>
73504 int
73505 main ()
73506 {
73507 _ceilf (0); _floorf (0);
73508 ;
73509 return 0;
73510 }
73511 _ACEOF
73512 if ac_fn_cxx_try_compile "$LINENO"; then :
73513 glibcxx_cv_func__float_round_use=yes
73514 else
73515 glibcxx_cv_func__float_round_use=no
73516 fi
73517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73518 ac_ext=c
73519 ac_cpp='$CPP $CPPFLAGS'
73520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73523
73524 fi
73525
73526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73527 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73528 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73529 for ac_func in _ceilf _floorf
73530 do :
73531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73533 eval as_val=\$$as_ac_var
73534 if test "x$as_val" = x""yes; then :
73535 cat >>confdefs.h <<_ACEOF
73536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73537 _ACEOF
73538
73539 fi
73540 done
73541
73542 fi
73543 fi
73544
73545
73546
73547
73548
73549
73550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73551 $as_echo_n "checking for expf declaration... " >&6; }
73552 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73553 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73554 $as_echo_n "(cached) " >&6
73555 else
73556
73557
73558 ac_ext=cpp
73559 ac_cpp='$CXXCPP $CPPFLAGS'
73560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73563
73564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73565 /* end confdefs.h. */
73566 #include <math.h>
73567 #ifdef HAVE_IEEEFP_H
73568 #include <ieeefp.h>
73569 #endif
73570
73571 int
73572 main ()
73573 {
73574 expf(0);
73575 ;
73576 return 0;
73577 }
73578 _ACEOF
73579 if ac_fn_cxx_try_compile "$LINENO"; then :
73580 glibcxx_cv_func_expf_use=yes
73581 else
73582 glibcxx_cv_func_expf_use=no
73583 fi
73584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73585 ac_ext=c
73586 ac_cpp='$CPP $CPPFLAGS'
73587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73590
73591
73592 fi
73593
73594 fi
73595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73596 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73597
73598 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73599 for ac_func in expf
73600 do :
73601 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73602 if test "x$ac_cv_func_expf" = x""yes; then :
73603 cat >>confdefs.h <<_ACEOF
73604 #define HAVE_EXPF 1
73605 _ACEOF
73606
73607 fi
73608 done
73609
73610 else
73611
73612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73613 $as_echo_n "checking for _expf declaration... " >&6; }
73614 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73615 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73616 $as_echo_n "(cached) " >&6
73617 else
73618
73619
73620 ac_ext=cpp
73621 ac_cpp='$CXXCPP $CPPFLAGS'
73622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73625
73626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73627 /* end confdefs.h. */
73628 #include <math.h>
73629 #ifdef HAVE_IEEEFP_H
73630 #include <ieeefp.h>
73631 #endif
73632
73633 int
73634 main ()
73635 {
73636 _expf(0);
73637 ;
73638 return 0;
73639 }
73640 _ACEOF
73641 if ac_fn_cxx_try_compile "$LINENO"; then :
73642 glibcxx_cv_func__expf_use=yes
73643 else
73644 glibcxx_cv_func__expf_use=no
73645 fi
73646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73647 ac_ext=c
73648 ac_cpp='$CPP $CPPFLAGS'
73649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73652
73653
73654 fi
73655
73656 fi
73657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73658 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73659
73660 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73661 for ac_func in _expf
73662 do :
73663 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73664 if test "x$ac_cv_func__expf" = x""yes; then :
73665 cat >>confdefs.h <<_ACEOF
73666 #define HAVE__EXPF 1
73667 _ACEOF
73668
73669 fi
73670 done
73671
73672 fi
73673 fi
73674
73675
73676
73677
73678
73679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73680 $as_echo_n "checking for isnanf declaration... " >&6; }
73681 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73682 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73683 $as_echo_n "(cached) " >&6
73684 else
73685
73686
73687 ac_ext=cpp
73688 ac_cpp='$CXXCPP $CPPFLAGS'
73689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73692
73693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73694 /* end confdefs.h. */
73695 #include <math.h>
73696 #ifdef HAVE_IEEEFP_H
73697 #include <ieeefp.h>
73698 #endif
73699
73700 int
73701 main ()
73702 {
73703 isnanf(0);
73704 ;
73705 return 0;
73706 }
73707 _ACEOF
73708 if ac_fn_cxx_try_compile "$LINENO"; then :
73709 glibcxx_cv_func_isnanf_use=yes
73710 else
73711 glibcxx_cv_func_isnanf_use=no
73712 fi
73713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73714 ac_ext=c
73715 ac_cpp='$CPP $CPPFLAGS'
73716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73719
73720
73721 fi
73722
73723 fi
73724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73725 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73726
73727 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73728 for ac_func in isnanf
73729 do :
73730 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73731 if test "x$ac_cv_func_isnanf" = x""yes; then :
73732 cat >>confdefs.h <<_ACEOF
73733 #define HAVE_ISNANF 1
73734 _ACEOF
73735
73736 fi
73737 done
73738
73739 else
73740
73741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73742 $as_echo_n "checking for _isnanf declaration... " >&6; }
73743 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73744 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73745 $as_echo_n "(cached) " >&6
73746 else
73747
73748
73749 ac_ext=cpp
73750 ac_cpp='$CXXCPP $CPPFLAGS'
73751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73754
73755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73756 /* end confdefs.h. */
73757 #include <math.h>
73758 #ifdef HAVE_IEEEFP_H
73759 #include <ieeefp.h>
73760 #endif
73761
73762 int
73763 main ()
73764 {
73765 _isnanf(0);
73766 ;
73767 return 0;
73768 }
73769 _ACEOF
73770 if ac_fn_cxx_try_compile "$LINENO"; then :
73771 glibcxx_cv_func__isnanf_use=yes
73772 else
73773 glibcxx_cv_func__isnanf_use=no
73774 fi
73775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73776 ac_ext=c
73777 ac_cpp='$CPP $CPPFLAGS'
73778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73781
73782
73783 fi
73784
73785 fi
73786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73787 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73788
73789 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73790 for ac_func in _isnanf
73791 do :
73792 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73793 if test "x$ac_cv_func__isnanf" = x""yes; then :
73794 cat >>confdefs.h <<_ACEOF
73795 #define HAVE__ISNANF 1
73796 _ACEOF
73797
73798 fi
73799 done
73800
73801 fi
73802 fi
73803
73804
73805
73806
73807
73808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73809 $as_echo_n "checking for isinff declaration... " >&6; }
73810 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73811 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73812 $as_echo_n "(cached) " >&6
73813 else
73814
73815
73816 ac_ext=cpp
73817 ac_cpp='$CXXCPP $CPPFLAGS'
73818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73821
73822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73823 /* end confdefs.h. */
73824 #include <math.h>
73825 #ifdef HAVE_IEEEFP_H
73826 #include <ieeefp.h>
73827 #endif
73828
73829 int
73830 main ()
73831 {
73832 isinff(0);
73833 ;
73834 return 0;
73835 }
73836 _ACEOF
73837 if ac_fn_cxx_try_compile "$LINENO"; then :
73838 glibcxx_cv_func_isinff_use=yes
73839 else
73840 glibcxx_cv_func_isinff_use=no
73841 fi
73842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73843 ac_ext=c
73844 ac_cpp='$CPP $CPPFLAGS'
73845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73848
73849
73850 fi
73851
73852 fi
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73854 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73855
73856 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73857 for ac_func in isinff
73858 do :
73859 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73860 if test "x$ac_cv_func_isinff" = x""yes; then :
73861 cat >>confdefs.h <<_ACEOF
73862 #define HAVE_ISINFF 1
73863 _ACEOF
73864
73865 fi
73866 done
73867
73868 else
73869
73870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73871 $as_echo_n "checking for _isinff declaration... " >&6; }
73872 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73873 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73874 $as_echo_n "(cached) " >&6
73875 else
73876
73877
73878 ac_ext=cpp
73879 ac_cpp='$CXXCPP $CPPFLAGS'
73880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73883
73884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73885 /* end confdefs.h. */
73886 #include <math.h>
73887 #ifdef HAVE_IEEEFP_H
73888 #include <ieeefp.h>
73889 #endif
73890
73891 int
73892 main ()
73893 {
73894 _isinff(0);
73895 ;
73896 return 0;
73897 }
73898 _ACEOF
73899 if ac_fn_cxx_try_compile "$LINENO"; then :
73900 glibcxx_cv_func__isinff_use=yes
73901 else
73902 glibcxx_cv_func__isinff_use=no
73903 fi
73904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73905 ac_ext=c
73906 ac_cpp='$CPP $CPPFLAGS'
73907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73910
73911
73912 fi
73913
73914 fi
73915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73916 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73917
73918 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73919 for ac_func in _isinff
73920 do :
73921 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73922 if test "x$ac_cv_func__isinff" = x""yes; then :
73923 cat >>confdefs.h <<_ACEOF
73924 #define HAVE__ISINFF 1
73925 _ACEOF
73926
73927 fi
73928 done
73929
73930 fi
73931 fi
73932
73933
73934
73935
73936
73937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73938 $as_echo_n "checking for atan2f declaration... " >&6; }
73939 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73940 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73941 $as_echo_n "(cached) " >&6
73942 else
73943
73944
73945 ac_ext=cpp
73946 ac_cpp='$CXXCPP $CPPFLAGS'
73947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73950
73951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73952 /* end confdefs.h. */
73953 #include <math.h>
73954 int
73955 main ()
73956 {
73957 atan2f(0, 0);
73958 ;
73959 return 0;
73960 }
73961 _ACEOF
73962 if ac_fn_cxx_try_compile "$LINENO"; then :
73963 glibcxx_cv_func_atan2f_use=yes
73964 else
73965 glibcxx_cv_func_atan2f_use=no
73966 fi
73967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73968 ac_ext=c
73969 ac_cpp='$CPP $CPPFLAGS'
73970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73973
73974
73975 fi
73976
73977 fi
73978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73979 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73980
73981 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73982 for ac_func in atan2f
73983 do :
73984 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73985 if test "x$ac_cv_func_atan2f" = x""yes; then :
73986 cat >>confdefs.h <<_ACEOF
73987 #define HAVE_ATAN2F 1
73988 _ACEOF
73989
73990 fi
73991 done
73992
73993 else
73994
73995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73996 $as_echo_n "checking for _atan2f declaration... " >&6; }
73997 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73998 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73999 $as_echo_n "(cached) " >&6
74000 else
74001
74002
74003 ac_ext=cpp
74004 ac_cpp='$CXXCPP $CPPFLAGS'
74005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74008
74009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74010 /* end confdefs.h. */
74011 #include <math.h>
74012 int
74013 main ()
74014 {
74015 _atan2f(0, 0);
74016 ;
74017 return 0;
74018 }
74019 _ACEOF
74020 if ac_fn_cxx_try_compile "$LINENO"; then :
74021 glibcxx_cv_func__atan2f_use=yes
74022 else
74023 glibcxx_cv_func__atan2f_use=no
74024 fi
74025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74026 ac_ext=c
74027 ac_cpp='$CPP $CPPFLAGS'
74028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74031
74032
74033 fi
74034
74035 fi
74036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74037 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74038
74039 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74040 for ac_func in _atan2f
74041 do :
74042 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74043 if test "x$ac_cv_func__atan2f" = x""yes; then :
74044 cat >>confdefs.h <<_ACEOF
74045 #define HAVE__ATAN2F 1
74046 _ACEOF
74047
74048 fi
74049 done
74050
74051 fi
74052 fi
74053
74054
74055
74056
74057
74058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74059 $as_echo_n "checking for fabsf declaration... " >&6; }
74060 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74061 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74062 $as_echo_n "(cached) " >&6
74063 else
74064
74065
74066 ac_ext=cpp
74067 ac_cpp='$CXXCPP $CPPFLAGS'
74068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74071
74072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74073 /* end confdefs.h. */
74074 #include <math.h>
74075 #ifdef HAVE_IEEEFP_H
74076 #include <ieeefp.h>
74077 #endif
74078
74079 int
74080 main ()
74081 {
74082 fabsf(0);
74083 ;
74084 return 0;
74085 }
74086 _ACEOF
74087 if ac_fn_cxx_try_compile "$LINENO"; then :
74088 glibcxx_cv_func_fabsf_use=yes
74089 else
74090 glibcxx_cv_func_fabsf_use=no
74091 fi
74092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74093 ac_ext=c
74094 ac_cpp='$CPP $CPPFLAGS'
74095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74098
74099
74100 fi
74101
74102 fi
74103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74104 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74105
74106 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74107 for ac_func in fabsf
74108 do :
74109 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74110 if test "x$ac_cv_func_fabsf" = x""yes; then :
74111 cat >>confdefs.h <<_ACEOF
74112 #define HAVE_FABSF 1
74113 _ACEOF
74114
74115 fi
74116 done
74117
74118 else
74119
74120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74121 $as_echo_n "checking for _fabsf declaration... " >&6; }
74122 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74123 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74124 $as_echo_n "(cached) " >&6
74125 else
74126
74127
74128 ac_ext=cpp
74129 ac_cpp='$CXXCPP $CPPFLAGS'
74130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74133
74134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74135 /* end confdefs.h. */
74136 #include <math.h>
74137 #ifdef HAVE_IEEEFP_H
74138 #include <ieeefp.h>
74139 #endif
74140
74141 int
74142 main ()
74143 {
74144 _fabsf(0);
74145 ;
74146 return 0;
74147 }
74148 _ACEOF
74149 if ac_fn_cxx_try_compile "$LINENO"; then :
74150 glibcxx_cv_func__fabsf_use=yes
74151 else
74152 glibcxx_cv_func__fabsf_use=no
74153 fi
74154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74155 ac_ext=c
74156 ac_cpp='$CPP $CPPFLAGS'
74157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74160
74161
74162 fi
74163
74164 fi
74165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74166 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74167
74168 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74169 for ac_func in _fabsf
74170 do :
74171 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74172 if test "x$ac_cv_func__fabsf" = x""yes; then :
74173 cat >>confdefs.h <<_ACEOF
74174 #define HAVE__FABSF 1
74175 _ACEOF
74176
74177 fi
74178 done
74179
74180 fi
74181 fi
74182
74183
74184
74185
74186
74187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74188 $as_echo_n "checking for fmodf declaration... " >&6; }
74189 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74190 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74191 $as_echo_n "(cached) " >&6
74192 else
74193
74194
74195 ac_ext=cpp
74196 ac_cpp='$CXXCPP $CPPFLAGS'
74197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74200
74201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74202 /* end confdefs.h. */
74203 #include <math.h>
74204 int
74205 main ()
74206 {
74207 fmodf(0, 0);
74208 ;
74209 return 0;
74210 }
74211 _ACEOF
74212 if ac_fn_cxx_try_compile "$LINENO"; then :
74213 glibcxx_cv_func_fmodf_use=yes
74214 else
74215 glibcxx_cv_func_fmodf_use=no
74216 fi
74217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74218 ac_ext=c
74219 ac_cpp='$CPP $CPPFLAGS'
74220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74223
74224
74225 fi
74226
74227 fi
74228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74229 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74230
74231 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74232 for ac_func in fmodf
74233 do :
74234 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74235 if test "x$ac_cv_func_fmodf" = x""yes; then :
74236 cat >>confdefs.h <<_ACEOF
74237 #define HAVE_FMODF 1
74238 _ACEOF
74239
74240 fi
74241 done
74242
74243 else
74244
74245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74246 $as_echo_n "checking for _fmodf declaration... " >&6; }
74247 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74248 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74249 $as_echo_n "(cached) " >&6
74250 else
74251
74252
74253 ac_ext=cpp
74254 ac_cpp='$CXXCPP $CPPFLAGS'
74255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74258
74259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74260 /* end confdefs.h. */
74261 #include <math.h>
74262 int
74263 main ()
74264 {
74265 _fmodf(0, 0);
74266 ;
74267 return 0;
74268 }
74269 _ACEOF
74270 if ac_fn_cxx_try_compile "$LINENO"; then :
74271 glibcxx_cv_func__fmodf_use=yes
74272 else
74273 glibcxx_cv_func__fmodf_use=no
74274 fi
74275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74276 ac_ext=c
74277 ac_cpp='$CPP $CPPFLAGS'
74278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74281
74282
74283 fi
74284
74285 fi
74286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74287 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74288
74289 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74290 for ac_func in _fmodf
74291 do :
74292 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74293 if test "x$ac_cv_func__fmodf" = x""yes; then :
74294 cat >>confdefs.h <<_ACEOF
74295 #define HAVE__FMODF 1
74296 _ACEOF
74297
74298 fi
74299 done
74300
74301 fi
74302 fi
74303
74304
74305
74306
74307
74308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74309 $as_echo_n "checking for frexpf declaration... " >&6; }
74310 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74311 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74312 $as_echo_n "(cached) " >&6
74313 else
74314
74315
74316 ac_ext=cpp
74317 ac_cpp='$CXXCPP $CPPFLAGS'
74318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74321
74322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74323 /* end confdefs.h. */
74324 #include <math.h>
74325 int
74326 main ()
74327 {
74328 frexpf(0, 0);
74329 ;
74330 return 0;
74331 }
74332 _ACEOF
74333 if ac_fn_cxx_try_compile "$LINENO"; then :
74334 glibcxx_cv_func_frexpf_use=yes
74335 else
74336 glibcxx_cv_func_frexpf_use=no
74337 fi
74338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74339 ac_ext=c
74340 ac_cpp='$CPP $CPPFLAGS'
74341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74344
74345
74346 fi
74347
74348 fi
74349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74350 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74351
74352 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74353 for ac_func in frexpf
74354 do :
74355 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74356 if test "x$ac_cv_func_frexpf" = x""yes; then :
74357 cat >>confdefs.h <<_ACEOF
74358 #define HAVE_FREXPF 1
74359 _ACEOF
74360
74361 fi
74362 done
74363
74364 else
74365
74366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74367 $as_echo_n "checking for _frexpf declaration... " >&6; }
74368 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74369 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74370 $as_echo_n "(cached) " >&6
74371 else
74372
74373
74374 ac_ext=cpp
74375 ac_cpp='$CXXCPP $CPPFLAGS'
74376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74379
74380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74381 /* end confdefs.h. */
74382 #include <math.h>
74383 int
74384 main ()
74385 {
74386 _frexpf(0, 0);
74387 ;
74388 return 0;
74389 }
74390 _ACEOF
74391 if ac_fn_cxx_try_compile "$LINENO"; then :
74392 glibcxx_cv_func__frexpf_use=yes
74393 else
74394 glibcxx_cv_func__frexpf_use=no
74395 fi
74396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74397 ac_ext=c
74398 ac_cpp='$CPP $CPPFLAGS'
74399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74402
74403
74404 fi
74405
74406 fi
74407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74408 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74409
74410 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74411 for ac_func in _frexpf
74412 do :
74413 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74414 if test "x$ac_cv_func__frexpf" = x""yes; then :
74415 cat >>confdefs.h <<_ACEOF
74416 #define HAVE__FREXPF 1
74417 _ACEOF
74418
74419 fi
74420 done
74421
74422 fi
74423 fi
74424
74425
74426
74427
74428
74429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74430 $as_echo_n "checking for hypotf declaration... " >&6; }
74431 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74432 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74433 $as_echo_n "(cached) " >&6
74434 else
74435
74436
74437 ac_ext=cpp
74438 ac_cpp='$CXXCPP $CPPFLAGS'
74439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74442
74443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74444 /* end confdefs.h. */
74445 #include <math.h>
74446 int
74447 main ()
74448 {
74449 hypotf(0, 0);
74450 ;
74451 return 0;
74452 }
74453 _ACEOF
74454 if ac_fn_cxx_try_compile "$LINENO"; then :
74455 glibcxx_cv_func_hypotf_use=yes
74456 else
74457 glibcxx_cv_func_hypotf_use=no
74458 fi
74459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74460 ac_ext=c
74461 ac_cpp='$CPP $CPPFLAGS'
74462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74465
74466
74467 fi
74468
74469 fi
74470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74471 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74472
74473 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74474 for ac_func in hypotf
74475 do :
74476 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74477 if test "x$ac_cv_func_hypotf" = x""yes; then :
74478 cat >>confdefs.h <<_ACEOF
74479 #define HAVE_HYPOTF 1
74480 _ACEOF
74481
74482 fi
74483 done
74484
74485 else
74486
74487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74488 $as_echo_n "checking for _hypotf declaration... " >&6; }
74489 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74490 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74491 $as_echo_n "(cached) " >&6
74492 else
74493
74494
74495 ac_ext=cpp
74496 ac_cpp='$CXXCPP $CPPFLAGS'
74497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74500
74501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74502 /* end confdefs.h. */
74503 #include <math.h>
74504 int
74505 main ()
74506 {
74507 _hypotf(0, 0);
74508 ;
74509 return 0;
74510 }
74511 _ACEOF
74512 if ac_fn_cxx_try_compile "$LINENO"; then :
74513 glibcxx_cv_func__hypotf_use=yes
74514 else
74515 glibcxx_cv_func__hypotf_use=no
74516 fi
74517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74518 ac_ext=c
74519 ac_cpp='$CPP $CPPFLAGS'
74520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74523
74524
74525 fi
74526
74527 fi
74528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74529 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74530
74531 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74532 for ac_func in _hypotf
74533 do :
74534 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74535 if test "x$ac_cv_func__hypotf" = x""yes; then :
74536 cat >>confdefs.h <<_ACEOF
74537 #define HAVE__HYPOTF 1
74538 _ACEOF
74539
74540 fi
74541 done
74542
74543 fi
74544 fi
74545
74546
74547
74548
74549
74550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74551 $as_echo_n "checking for ldexpf declaration... " >&6; }
74552 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74553 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74554 $as_echo_n "(cached) " >&6
74555 else
74556
74557
74558 ac_ext=cpp
74559 ac_cpp='$CXXCPP $CPPFLAGS'
74560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74563
74564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74565 /* end confdefs.h. */
74566 #include <math.h>
74567 int
74568 main ()
74569 {
74570 ldexpf(0, 0);
74571 ;
74572 return 0;
74573 }
74574 _ACEOF
74575 if ac_fn_cxx_try_compile "$LINENO"; then :
74576 glibcxx_cv_func_ldexpf_use=yes
74577 else
74578 glibcxx_cv_func_ldexpf_use=no
74579 fi
74580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74581 ac_ext=c
74582 ac_cpp='$CPP $CPPFLAGS'
74583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74586
74587
74588 fi
74589
74590 fi
74591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74592 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74593
74594 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74595 for ac_func in ldexpf
74596 do :
74597 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74598 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74599 cat >>confdefs.h <<_ACEOF
74600 #define HAVE_LDEXPF 1
74601 _ACEOF
74602
74603 fi
74604 done
74605
74606 else
74607
74608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74609 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74610 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74611 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74612 $as_echo_n "(cached) " >&6
74613 else
74614
74615
74616 ac_ext=cpp
74617 ac_cpp='$CXXCPP $CPPFLAGS'
74618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74621
74622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74623 /* end confdefs.h. */
74624 #include <math.h>
74625 int
74626 main ()
74627 {
74628 _ldexpf(0, 0);
74629 ;
74630 return 0;
74631 }
74632 _ACEOF
74633 if ac_fn_cxx_try_compile "$LINENO"; then :
74634 glibcxx_cv_func__ldexpf_use=yes
74635 else
74636 glibcxx_cv_func__ldexpf_use=no
74637 fi
74638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74639 ac_ext=c
74640 ac_cpp='$CPP $CPPFLAGS'
74641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74644
74645
74646 fi
74647
74648 fi
74649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74650 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74651
74652 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74653 for ac_func in _ldexpf
74654 do :
74655 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74656 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74657 cat >>confdefs.h <<_ACEOF
74658 #define HAVE__LDEXPF 1
74659 _ACEOF
74660
74661 fi
74662 done
74663
74664 fi
74665 fi
74666
74667
74668
74669
74670
74671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74672 $as_echo_n "checking for logf declaration... " >&6; }
74673 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74674 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74675 $as_echo_n "(cached) " >&6
74676 else
74677
74678
74679 ac_ext=cpp
74680 ac_cpp='$CXXCPP $CPPFLAGS'
74681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74684
74685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74686 /* end confdefs.h. */
74687 #include <math.h>
74688 #ifdef HAVE_IEEEFP_H
74689 #include <ieeefp.h>
74690 #endif
74691
74692 int
74693 main ()
74694 {
74695 logf(0);
74696 ;
74697 return 0;
74698 }
74699 _ACEOF
74700 if ac_fn_cxx_try_compile "$LINENO"; then :
74701 glibcxx_cv_func_logf_use=yes
74702 else
74703 glibcxx_cv_func_logf_use=no
74704 fi
74705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74706 ac_ext=c
74707 ac_cpp='$CPP $CPPFLAGS'
74708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74711
74712
74713 fi
74714
74715 fi
74716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74717 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74718
74719 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74720 for ac_func in logf
74721 do :
74722 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74723 if test "x$ac_cv_func_logf" = x""yes; then :
74724 cat >>confdefs.h <<_ACEOF
74725 #define HAVE_LOGF 1
74726 _ACEOF
74727
74728 fi
74729 done
74730
74731 else
74732
74733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74734 $as_echo_n "checking for _logf declaration... " >&6; }
74735 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74736 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74737 $as_echo_n "(cached) " >&6
74738 else
74739
74740
74741 ac_ext=cpp
74742 ac_cpp='$CXXCPP $CPPFLAGS'
74743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74746
74747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74748 /* end confdefs.h. */
74749 #include <math.h>
74750 #ifdef HAVE_IEEEFP_H
74751 #include <ieeefp.h>
74752 #endif
74753
74754 int
74755 main ()
74756 {
74757 _logf(0);
74758 ;
74759 return 0;
74760 }
74761 _ACEOF
74762 if ac_fn_cxx_try_compile "$LINENO"; then :
74763 glibcxx_cv_func__logf_use=yes
74764 else
74765 glibcxx_cv_func__logf_use=no
74766 fi
74767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74768 ac_ext=c
74769 ac_cpp='$CPP $CPPFLAGS'
74770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74773
74774
74775 fi
74776
74777 fi
74778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74779 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74780
74781 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74782 for ac_func in _logf
74783 do :
74784 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74785 if test "x$ac_cv_func__logf" = x""yes; then :
74786 cat >>confdefs.h <<_ACEOF
74787 #define HAVE__LOGF 1
74788 _ACEOF
74789
74790 fi
74791 done
74792
74793 fi
74794 fi
74795
74796
74797
74798
74799
74800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74801 $as_echo_n "checking for log10f declaration... " >&6; }
74802 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74803 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74804 $as_echo_n "(cached) " >&6
74805 else
74806
74807
74808 ac_ext=cpp
74809 ac_cpp='$CXXCPP $CPPFLAGS'
74810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74813
74814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74815 /* end confdefs.h. */
74816 #include <math.h>
74817 #ifdef HAVE_IEEEFP_H
74818 #include <ieeefp.h>
74819 #endif
74820
74821 int
74822 main ()
74823 {
74824 log10f(0);
74825 ;
74826 return 0;
74827 }
74828 _ACEOF
74829 if ac_fn_cxx_try_compile "$LINENO"; then :
74830 glibcxx_cv_func_log10f_use=yes
74831 else
74832 glibcxx_cv_func_log10f_use=no
74833 fi
74834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74835 ac_ext=c
74836 ac_cpp='$CPP $CPPFLAGS'
74837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74840
74841
74842 fi
74843
74844 fi
74845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74846 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74847
74848 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74849 for ac_func in log10f
74850 do :
74851 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74852 if test "x$ac_cv_func_log10f" = x""yes; then :
74853 cat >>confdefs.h <<_ACEOF
74854 #define HAVE_LOG10F 1
74855 _ACEOF
74856
74857 fi
74858 done
74859
74860 else
74861
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74863 $as_echo_n "checking for _log10f declaration... " >&6; }
74864 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74865 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74866 $as_echo_n "(cached) " >&6
74867 else
74868
74869
74870 ac_ext=cpp
74871 ac_cpp='$CXXCPP $CPPFLAGS'
74872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74875
74876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74877 /* end confdefs.h. */
74878 #include <math.h>
74879 #ifdef HAVE_IEEEFP_H
74880 #include <ieeefp.h>
74881 #endif
74882
74883 int
74884 main ()
74885 {
74886 _log10f(0);
74887 ;
74888 return 0;
74889 }
74890 _ACEOF
74891 if ac_fn_cxx_try_compile "$LINENO"; then :
74892 glibcxx_cv_func__log10f_use=yes
74893 else
74894 glibcxx_cv_func__log10f_use=no
74895 fi
74896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74897 ac_ext=c
74898 ac_cpp='$CPP $CPPFLAGS'
74899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74902
74903
74904 fi
74905
74906 fi
74907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74908 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74909
74910 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74911 for ac_func in _log10f
74912 do :
74913 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74914 if test "x$ac_cv_func__log10f" = x""yes; then :
74915 cat >>confdefs.h <<_ACEOF
74916 #define HAVE__LOG10F 1
74917 _ACEOF
74918
74919 fi
74920 done
74921
74922 fi
74923 fi
74924
74925
74926
74927
74928
74929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74930 $as_echo_n "checking for modff declaration... " >&6; }
74931 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74932 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74933 $as_echo_n "(cached) " >&6
74934 else
74935
74936
74937 ac_ext=cpp
74938 ac_cpp='$CXXCPP $CPPFLAGS'
74939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74942
74943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74944 /* end confdefs.h. */
74945 #include <math.h>
74946 int
74947 main ()
74948 {
74949 modff(0, 0);
74950 ;
74951 return 0;
74952 }
74953 _ACEOF
74954 if ac_fn_cxx_try_compile "$LINENO"; then :
74955 glibcxx_cv_func_modff_use=yes
74956 else
74957 glibcxx_cv_func_modff_use=no
74958 fi
74959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74960 ac_ext=c
74961 ac_cpp='$CPP $CPPFLAGS'
74962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74965
74966
74967 fi
74968
74969 fi
74970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74971 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74972
74973 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74974 for ac_func in modff
74975 do :
74976 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74977 if test "x$ac_cv_func_modff" = x""yes; then :
74978 cat >>confdefs.h <<_ACEOF
74979 #define HAVE_MODFF 1
74980 _ACEOF
74981
74982 fi
74983 done
74984
74985 else
74986
74987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74988 $as_echo_n "checking for _modff declaration... " >&6; }
74989 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74990 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74991 $as_echo_n "(cached) " >&6
74992 else
74993
74994
74995 ac_ext=cpp
74996 ac_cpp='$CXXCPP $CPPFLAGS'
74997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75000
75001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75002 /* end confdefs.h. */
75003 #include <math.h>
75004 int
75005 main ()
75006 {
75007 _modff(0, 0);
75008 ;
75009 return 0;
75010 }
75011 _ACEOF
75012 if ac_fn_cxx_try_compile "$LINENO"; then :
75013 glibcxx_cv_func__modff_use=yes
75014 else
75015 glibcxx_cv_func__modff_use=no
75016 fi
75017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75018 ac_ext=c
75019 ac_cpp='$CPP $CPPFLAGS'
75020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75023
75024
75025 fi
75026
75027 fi
75028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75029 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75030
75031 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75032 for ac_func in _modff
75033 do :
75034 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75035 if test "x$ac_cv_func__modff" = x""yes; then :
75036 cat >>confdefs.h <<_ACEOF
75037 #define HAVE__MODFF 1
75038 _ACEOF
75039
75040 fi
75041 done
75042
75043 fi
75044 fi
75045
75046
75047
75048
75049
75050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75051 $as_echo_n "checking for modf declaration... " >&6; }
75052 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75053 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75054 $as_echo_n "(cached) " >&6
75055 else
75056
75057
75058 ac_ext=cpp
75059 ac_cpp='$CXXCPP $CPPFLAGS'
75060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75063
75064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75065 /* end confdefs.h. */
75066 #include <math.h>
75067 int
75068 main ()
75069 {
75070 modf(0, 0);
75071 ;
75072 return 0;
75073 }
75074 _ACEOF
75075 if ac_fn_cxx_try_compile "$LINENO"; then :
75076 glibcxx_cv_func_modf_use=yes
75077 else
75078 glibcxx_cv_func_modf_use=no
75079 fi
75080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75081 ac_ext=c
75082 ac_cpp='$CPP $CPPFLAGS'
75083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75086
75087
75088 fi
75089
75090 fi
75091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75092 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75093
75094 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75095 for ac_func in modf
75096 do :
75097 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75098 if test "x$ac_cv_func_modf" = x""yes; then :
75099 cat >>confdefs.h <<_ACEOF
75100 #define HAVE_MODF 1
75101 _ACEOF
75102
75103 fi
75104 done
75105
75106 else
75107
75108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75109 $as_echo_n "checking for _modf declaration... " >&6; }
75110 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75111 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75112 $as_echo_n "(cached) " >&6
75113 else
75114
75115
75116 ac_ext=cpp
75117 ac_cpp='$CXXCPP $CPPFLAGS'
75118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75121
75122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75123 /* end confdefs.h. */
75124 #include <math.h>
75125 int
75126 main ()
75127 {
75128 _modf(0, 0);
75129 ;
75130 return 0;
75131 }
75132 _ACEOF
75133 if ac_fn_cxx_try_compile "$LINENO"; then :
75134 glibcxx_cv_func__modf_use=yes
75135 else
75136 glibcxx_cv_func__modf_use=no
75137 fi
75138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75139 ac_ext=c
75140 ac_cpp='$CPP $CPPFLAGS'
75141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75144
75145
75146 fi
75147
75148 fi
75149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75150 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75151
75152 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75153 for ac_func in _modf
75154 do :
75155 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75156 if test "x$ac_cv_func__modf" = x""yes; then :
75157 cat >>confdefs.h <<_ACEOF
75158 #define HAVE__MODF 1
75159 _ACEOF
75160
75161 fi
75162 done
75163
75164 fi
75165 fi
75166
75167
75168
75169
75170
75171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75172 $as_echo_n "checking for powf declaration... " >&6; }
75173 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75174 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75175 $as_echo_n "(cached) " >&6
75176 else
75177
75178
75179 ac_ext=cpp
75180 ac_cpp='$CXXCPP $CPPFLAGS'
75181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75184
75185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75186 /* end confdefs.h. */
75187 #include <math.h>
75188 int
75189 main ()
75190 {
75191 powf(0, 0);
75192 ;
75193 return 0;
75194 }
75195 _ACEOF
75196 if ac_fn_cxx_try_compile "$LINENO"; then :
75197 glibcxx_cv_func_powf_use=yes
75198 else
75199 glibcxx_cv_func_powf_use=no
75200 fi
75201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75202 ac_ext=c
75203 ac_cpp='$CPP $CPPFLAGS'
75204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75207
75208
75209 fi
75210
75211 fi
75212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75213 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75214
75215 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75216 for ac_func in powf
75217 do :
75218 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75219 if test "x$ac_cv_func_powf" = x""yes; then :
75220 cat >>confdefs.h <<_ACEOF
75221 #define HAVE_POWF 1
75222 _ACEOF
75223
75224 fi
75225 done
75226
75227 else
75228
75229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75230 $as_echo_n "checking for _powf declaration... " >&6; }
75231 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75232 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75233 $as_echo_n "(cached) " >&6
75234 else
75235
75236
75237 ac_ext=cpp
75238 ac_cpp='$CXXCPP $CPPFLAGS'
75239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75242
75243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75244 /* end confdefs.h. */
75245 #include <math.h>
75246 int
75247 main ()
75248 {
75249 _powf(0, 0);
75250 ;
75251 return 0;
75252 }
75253 _ACEOF
75254 if ac_fn_cxx_try_compile "$LINENO"; then :
75255 glibcxx_cv_func__powf_use=yes
75256 else
75257 glibcxx_cv_func__powf_use=no
75258 fi
75259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75260 ac_ext=c
75261 ac_cpp='$CPP $CPPFLAGS'
75262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75265
75266
75267 fi
75268
75269 fi
75270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75271 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75272
75273 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75274 for ac_func in _powf
75275 do :
75276 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75277 if test "x$ac_cv_func__powf" = x""yes; then :
75278 cat >>confdefs.h <<_ACEOF
75279 #define HAVE__POWF 1
75280 _ACEOF
75281
75282 fi
75283 done
75284
75285 fi
75286 fi
75287
75288
75289
75290
75291
75292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75293 $as_echo_n "checking for sqrtf declaration... " >&6; }
75294 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75295 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75296 $as_echo_n "(cached) " >&6
75297 else
75298
75299
75300 ac_ext=cpp
75301 ac_cpp='$CXXCPP $CPPFLAGS'
75302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75305
75306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75307 /* end confdefs.h. */
75308 #include <math.h>
75309 #ifdef HAVE_IEEEFP_H
75310 #include <ieeefp.h>
75311 #endif
75312
75313 int
75314 main ()
75315 {
75316 sqrtf(0);
75317 ;
75318 return 0;
75319 }
75320 _ACEOF
75321 if ac_fn_cxx_try_compile "$LINENO"; then :
75322 glibcxx_cv_func_sqrtf_use=yes
75323 else
75324 glibcxx_cv_func_sqrtf_use=no
75325 fi
75326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75327 ac_ext=c
75328 ac_cpp='$CPP $CPPFLAGS'
75329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75332
75333
75334 fi
75335
75336 fi
75337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75338 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75339
75340 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75341 for ac_func in sqrtf
75342 do :
75343 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75344 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75345 cat >>confdefs.h <<_ACEOF
75346 #define HAVE_SQRTF 1
75347 _ACEOF
75348
75349 fi
75350 done
75351
75352 else
75353
75354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75355 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75356 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75357 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75358 $as_echo_n "(cached) " >&6
75359 else
75360
75361
75362 ac_ext=cpp
75363 ac_cpp='$CXXCPP $CPPFLAGS'
75364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75367
75368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75369 /* end confdefs.h. */
75370 #include <math.h>
75371 #ifdef HAVE_IEEEFP_H
75372 #include <ieeefp.h>
75373 #endif
75374
75375 int
75376 main ()
75377 {
75378 _sqrtf(0);
75379 ;
75380 return 0;
75381 }
75382 _ACEOF
75383 if ac_fn_cxx_try_compile "$LINENO"; then :
75384 glibcxx_cv_func__sqrtf_use=yes
75385 else
75386 glibcxx_cv_func__sqrtf_use=no
75387 fi
75388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75389 ac_ext=c
75390 ac_cpp='$CPP $CPPFLAGS'
75391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75394
75395
75396 fi
75397
75398 fi
75399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75400 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75401
75402 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75403 for ac_func in _sqrtf
75404 do :
75405 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75406 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75407 cat >>confdefs.h <<_ACEOF
75408 #define HAVE__SQRTF 1
75409 _ACEOF
75410
75411 fi
75412 done
75413
75414 fi
75415 fi
75416
75417
75418
75419
75420
75421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75422 $as_echo_n "checking for sincosf declaration... " >&6; }
75423 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75424 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75425 $as_echo_n "(cached) " >&6
75426 else
75427
75428
75429 ac_ext=cpp
75430 ac_cpp='$CXXCPP $CPPFLAGS'
75431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75434
75435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75436 /* end confdefs.h. */
75437 #include <math.h>
75438 int
75439 main ()
75440 {
75441 sincosf(0, 0, 0);
75442 ;
75443 return 0;
75444 }
75445 _ACEOF
75446 if ac_fn_cxx_try_compile "$LINENO"; then :
75447 glibcxx_cv_func_sincosf_use=yes
75448 else
75449 glibcxx_cv_func_sincosf_use=no
75450 fi
75451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75452 ac_ext=c
75453 ac_cpp='$CPP $CPPFLAGS'
75454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75457
75458
75459 fi
75460
75461 fi
75462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75463 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75464
75465 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75466 for ac_func in sincosf
75467 do :
75468 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75469 if test "x$ac_cv_func_sincosf" = x""yes; then :
75470 cat >>confdefs.h <<_ACEOF
75471 #define HAVE_SINCOSF 1
75472 _ACEOF
75473
75474 fi
75475 done
75476
75477 else
75478
75479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75480 $as_echo_n "checking for _sincosf declaration... " >&6; }
75481 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75482 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75483 $as_echo_n "(cached) " >&6
75484 else
75485
75486
75487 ac_ext=cpp
75488 ac_cpp='$CXXCPP $CPPFLAGS'
75489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75492
75493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75494 /* end confdefs.h. */
75495 #include <math.h>
75496 int
75497 main ()
75498 {
75499 _sincosf(0, 0, 0);
75500 ;
75501 return 0;
75502 }
75503 _ACEOF
75504 if ac_fn_cxx_try_compile "$LINENO"; then :
75505 glibcxx_cv_func__sincosf_use=yes
75506 else
75507 glibcxx_cv_func__sincosf_use=no
75508 fi
75509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75510 ac_ext=c
75511 ac_cpp='$CPP $CPPFLAGS'
75512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75515
75516
75517 fi
75518
75519 fi
75520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75521 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75522
75523 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75524 for ac_func in _sincosf
75525 do :
75526 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75527 if test "x$ac_cv_func__sincosf" = x""yes; then :
75528 cat >>confdefs.h <<_ACEOF
75529 #define HAVE__SINCOSF 1
75530 _ACEOF
75531
75532 fi
75533 done
75534
75535 fi
75536 fi
75537
75538
75539
75540
75541
75542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75543 $as_echo_n "checking for finitef declaration... " >&6; }
75544 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75545 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75546 $as_echo_n "(cached) " >&6
75547 else
75548
75549
75550 ac_ext=cpp
75551 ac_cpp='$CXXCPP $CPPFLAGS'
75552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75555
75556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75557 /* end confdefs.h. */
75558 #include <math.h>
75559 #ifdef HAVE_IEEEFP_H
75560 #include <ieeefp.h>
75561 #endif
75562
75563 int
75564 main ()
75565 {
75566 finitef(0);
75567 ;
75568 return 0;
75569 }
75570 _ACEOF
75571 if ac_fn_cxx_try_compile "$LINENO"; then :
75572 glibcxx_cv_func_finitef_use=yes
75573 else
75574 glibcxx_cv_func_finitef_use=no
75575 fi
75576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75577 ac_ext=c
75578 ac_cpp='$CPP $CPPFLAGS'
75579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75582
75583
75584 fi
75585
75586 fi
75587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75588 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75589
75590 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75591 for ac_func in finitef
75592 do :
75593 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75594 if test "x$ac_cv_func_finitef" = x""yes; then :
75595 cat >>confdefs.h <<_ACEOF
75596 #define HAVE_FINITEF 1
75597 _ACEOF
75598
75599 fi
75600 done
75601
75602 else
75603
75604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75605 $as_echo_n "checking for _finitef declaration... " >&6; }
75606 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75607 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75608 $as_echo_n "(cached) " >&6
75609 else
75610
75611
75612 ac_ext=cpp
75613 ac_cpp='$CXXCPP $CPPFLAGS'
75614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75617
75618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75619 /* end confdefs.h. */
75620 #include <math.h>
75621 #ifdef HAVE_IEEEFP_H
75622 #include <ieeefp.h>
75623 #endif
75624
75625 int
75626 main ()
75627 {
75628 _finitef(0);
75629 ;
75630 return 0;
75631 }
75632 _ACEOF
75633 if ac_fn_cxx_try_compile "$LINENO"; then :
75634 glibcxx_cv_func__finitef_use=yes
75635 else
75636 glibcxx_cv_func__finitef_use=no
75637 fi
75638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75639 ac_ext=c
75640 ac_cpp='$CPP $CPPFLAGS'
75641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75644
75645
75646 fi
75647
75648 fi
75649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75650 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75651
75652 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75653 for ac_func in _finitef
75654 do :
75655 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75656 if test "x$ac_cv_func__finitef" = x""yes; then :
75657 cat >>confdefs.h <<_ACEOF
75658 #define HAVE__FINITEF 1
75659 _ACEOF
75660
75661 fi
75662 done
75663
75664 fi
75665 fi
75666
75667
75668
75669
75670
75671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75672 $as_echo_n "checking for long double trig functions... " >&6; }
75673 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75674 $as_echo_n "(cached) " >&6
75675 else
75676
75677
75678 ac_ext=cpp
75679 ac_cpp='$CXXCPP $CPPFLAGS'
75680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75683
75684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75685 /* end confdefs.h. */
75686 #include <math.h>
75687 int
75688 main ()
75689 {
75690 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75691 ;
75692 return 0;
75693 }
75694 _ACEOF
75695 if ac_fn_cxx_try_compile "$LINENO"; then :
75696 glibcxx_cv_func_long_double_trig_use=yes
75697 else
75698 glibcxx_cv_func_long_double_trig_use=no
75699 fi
75700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75701 ac_ext=c
75702 ac_cpp='$CPP $CPPFLAGS'
75703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75706
75707 fi
75708
75709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75710 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75711 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75712 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75713 do :
75714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75716 eval as_val=\$$as_ac_var
75717 if test "x$as_val" = x""yes; then :
75718 cat >>confdefs.h <<_ACEOF
75719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75720 _ACEOF
75721
75722 fi
75723 done
75724
75725 else
75726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75727 $as_echo_n "checking for _long double trig functions... " >&6; }
75728 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75729 $as_echo_n "(cached) " >&6
75730 else
75731
75732
75733 ac_ext=cpp
75734 ac_cpp='$CXXCPP $CPPFLAGS'
75735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75738
75739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75740 /* end confdefs.h. */
75741 #include <math.h>
75742 int
75743 main ()
75744 {
75745 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75746 ;
75747 return 0;
75748 }
75749 _ACEOF
75750 if ac_fn_cxx_try_compile "$LINENO"; then :
75751 glibcxx_cv_func__long_double_trig_use=yes
75752 else
75753 glibcxx_cv_func__long_double_trig_use=no
75754 fi
75755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75756 ac_ext=c
75757 ac_cpp='$CPP $CPPFLAGS'
75758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75761
75762 fi
75763
75764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75765 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75766 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75767 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75768 do :
75769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75771 eval as_val=\$$as_ac_var
75772 if test "x$as_val" = x""yes; then :
75773 cat >>confdefs.h <<_ACEOF
75774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75775 _ACEOF
75776
75777 fi
75778 done
75779
75780 fi
75781 fi
75782
75783
75784
75785
75786
75787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75788 $as_echo_n "checking for long double round functions... " >&6; }
75789 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75790 $as_echo_n "(cached) " >&6
75791 else
75792
75793
75794 ac_ext=cpp
75795 ac_cpp='$CXXCPP $CPPFLAGS'
75796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75799
75800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75801 /* end confdefs.h. */
75802 #include <math.h>
75803 int
75804 main ()
75805 {
75806 ceill (0); floorl (0);
75807 ;
75808 return 0;
75809 }
75810 _ACEOF
75811 if ac_fn_cxx_try_compile "$LINENO"; then :
75812 glibcxx_cv_func_long_double_round_use=yes
75813 else
75814 glibcxx_cv_func_long_double_round_use=no
75815 fi
75816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75817 ac_ext=c
75818 ac_cpp='$CPP $CPPFLAGS'
75819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75822
75823 fi
75824
75825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75826 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75827 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75828 for ac_func in ceill floorl
75829 do :
75830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75832 eval as_val=\$$as_ac_var
75833 if test "x$as_val" = x""yes; then :
75834 cat >>confdefs.h <<_ACEOF
75835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75836 _ACEOF
75837
75838 fi
75839 done
75840
75841 else
75842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75843 $as_echo_n "checking for _long double round functions... " >&6; }
75844 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75845 $as_echo_n "(cached) " >&6
75846 else
75847
75848
75849 ac_ext=cpp
75850 ac_cpp='$CXXCPP $CPPFLAGS'
75851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75854
75855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75856 /* end confdefs.h. */
75857 #include <math.h>
75858 int
75859 main ()
75860 {
75861 _ceill (0); _floorl (0);
75862 ;
75863 return 0;
75864 }
75865 _ACEOF
75866 if ac_fn_cxx_try_compile "$LINENO"; then :
75867 glibcxx_cv_func__long_double_round_use=yes
75868 else
75869 glibcxx_cv_func__long_double_round_use=no
75870 fi
75871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75872 ac_ext=c
75873 ac_cpp='$CPP $CPPFLAGS'
75874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75877
75878 fi
75879
75880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75881 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75882 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75883 for ac_func in _ceill _floorl
75884 do :
75885 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75886 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75887 eval as_val=\$$as_ac_var
75888 if test "x$as_val" = x""yes; then :
75889 cat >>confdefs.h <<_ACEOF
75890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75891 _ACEOF
75892
75893 fi
75894 done
75895
75896 fi
75897 fi
75898
75899
75900
75901
75902
75903
75904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75905 $as_echo_n "checking for isnanl declaration... " >&6; }
75906 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75907 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75908 $as_echo_n "(cached) " >&6
75909 else
75910
75911
75912 ac_ext=cpp
75913 ac_cpp='$CXXCPP $CPPFLAGS'
75914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75917
75918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75919 /* end confdefs.h. */
75920 #include <math.h>
75921 #ifdef HAVE_IEEEFP_H
75922 #include <ieeefp.h>
75923 #endif
75924
75925 int
75926 main ()
75927 {
75928 isnanl(0);
75929 ;
75930 return 0;
75931 }
75932 _ACEOF
75933 if ac_fn_cxx_try_compile "$LINENO"; then :
75934 glibcxx_cv_func_isnanl_use=yes
75935 else
75936 glibcxx_cv_func_isnanl_use=no
75937 fi
75938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75939 ac_ext=c
75940 ac_cpp='$CPP $CPPFLAGS'
75941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75944
75945
75946 fi
75947
75948 fi
75949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75950 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75951
75952 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75953 for ac_func in isnanl
75954 do :
75955 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75956 if test "x$ac_cv_func_isnanl" = x""yes; then :
75957 cat >>confdefs.h <<_ACEOF
75958 #define HAVE_ISNANL 1
75959 _ACEOF
75960
75961 fi
75962 done
75963
75964 else
75965
75966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75967 $as_echo_n "checking for _isnanl declaration... " >&6; }
75968 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75969 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75970 $as_echo_n "(cached) " >&6
75971 else
75972
75973
75974 ac_ext=cpp
75975 ac_cpp='$CXXCPP $CPPFLAGS'
75976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75979
75980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75981 /* end confdefs.h. */
75982 #include <math.h>
75983 #ifdef HAVE_IEEEFP_H
75984 #include <ieeefp.h>
75985 #endif
75986
75987 int
75988 main ()
75989 {
75990 _isnanl(0);
75991 ;
75992 return 0;
75993 }
75994 _ACEOF
75995 if ac_fn_cxx_try_compile "$LINENO"; then :
75996 glibcxx_cv_func__isnanl_use=yes
75997 else
75998 glibcxx_cv_func__isnanl_use=no
75999 fi
76000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76001 ac_ext=c
76002 ac_cpp='$CPP $CPPFLAGS'
76003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76006
76007
76008 fi
76009
76010 fi
76011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76012 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76013
76014 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76015 for ac_func in _isnanl
76016 do :
76017 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76018 if test "x$ac_cv_func__isnanl" = x""yes; then :
76019 cat >>confdefs.h <<_ACEOF
76020 #define HAVE__ISNANL 1
76021 _ACEOF
76022
76023 fi
76024 done
76025
76026 fi
76027 fi
76028
76029
76030
76031
76032
76033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76034 $as_echo_n "checking for isinfl declaration... " >&6; }
76035 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76036 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76037 $as_echo_n "(cached) " >&6
76038 else
76039
76040
76041 ac_ext=cpp
76042 ac_cpp='$CXXCPP $CPPFLAGS'
76043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76046
76047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76048 /* end confdefs.h. */
76049 #include <math.h>
76050 #ifdef HAVE_IEEEFP_H
76051 #include <ieeefp.h>
76052 #endif
76053
76054 int
76055 main ()
76056 {
76057 isinfl(0);
76058 ;
76059 return 0;
76060 }
76061 _ACEOF
76062 if ac_fn_cxx_try_compile "$LINENO"; then :
76063 glibcxx_cv_func_isinfl_use=yes
76064 else
76065 glibcxx_cv_func_isinfl_use=no
76066 fi
76067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76068 ac_ext=c
76069 ac_cpp='$CPP $CPPFLAGS'
76070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76073
76074
76075 fi
76076
76077 fi
76078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76079 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76080
76081 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76082 for ac_func in isinfl
76083 do :
76084 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76085 if test "x$ac_cv_func_isinfl" = x""yes; then :
76086 cat >>confdefs.h <<_ACEOF
76087 #define HAVE_ISINFL 1
76088 _ACEOF
76089
76090 fi
76091 done
76092
76093 else
76094
76095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76096 $as_echo_n "checking for _isinfl declaration... " >&6; }
76097 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76098 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76099 $as_echo_n "(cached) " >&6
76100 else
76101
76102
76103 ac_ext=cpp
76104 ac_cpp='$CXXCPP $CPPFLAGS'
76105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76108
76109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76110 /* end confdefs.h. */
76111 #include <math.h>
76112 #ifdef HAVE_IEEEFP_H
76113 #include <ieeefp.h>
76114 #endif
76115
76116 int
76117 main ()
76118 {
76119 _isinfl(0);
76120 ;
76121 return 0;
76122 }
76123 _ACEOF
76124 if ac_fn_cxx_try_compile "$LINENO"; then :
76125 glibcxx_cv_func__isinfl_use=yes
76126 else
76127 glibcxx_cv_func__isinfl_use=no
76128 fi
76129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76130 ac_ext=c
76131 ac_cpp='$CPP $CPPFLAGS'
76132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76135
76136
76137 fi
76138
76139 fi
76140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76141 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76142
76143 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76144 for ac_func in _isinfl
76145 do :
76146 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76147 if test "x$ac_cv_func__isinfl" = x""yes; then :
76148 cat >>confdefs.h <<_ACEOF
76149 #define HAVE__ISINFL 1
76150 _ACEOF
76151
76152 fi
76153 done
76154
76155 fi
76156 fi
76157
76158
76159
76160
76161
76162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76163 $as_echo_n "checking for atan2l declaration... " >&6; }
76164 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76165 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76166 $as_echo_n "(cached) " >&6
76167 else
76168
76169
76170 ac_ext=cpp
76171 ac_cpp='$CXXCPP $CPPFLAGS'
76172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76175
76176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76177 /* end confdefs.h. */
76178 #include <math.h>
76179 int
76180 main ()
76181 {
76182 atan2l(0, 0);
76183 ;
76184 return 0;
76185 }
76186 _ACEOF
76187 if ac_fn_cxx_try_compile "$LINENO"; then :
76188 glibcxx_cv_func_atan2l_use=yes
76189 else
76190 glibcxx_cv_func_atan2l_use=no
76191 fi
76192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76193 ac_ext=c
76194 ac_cpp='$CPP $CPPFLAGS'
76195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76198
76199
76200 fi
76201
76202 fi
76203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76204 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76205
76206 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76207 for ac_func in atan2l
76208 do :
76209 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76210 if test "x$ac_cv_func_atan2l" = x""yes; then :
76211 cat >>confdefs.h <<_ACEOF
76212 #define HAVE_ATAN2L 1
76213 _ACEOF
76214
76215 fi
76216 done
76217
76218 else
76219
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76221 $as_echo_n "checking for _atan2l declaration... " >&6; }
76222 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76223 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76224 $as_echo_n "(cached) " >&6
76225 else
76226
76227
76228 ac_ext=cpp
76229 ac_cpp='$CXXCPP $CPPFLAGS'
76230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76233
76234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76235 /* end confdefs.h. */
76236 #include <math.h>
76237 int
76238 main ()
76239 {
76240 _atan2l(0, 0);
76241 ;
76242 return 0;
76243 }
76244 _ACEOF
76245 if ac_fn_cxx_try_compile "$LINENO"; then :
76246 glibcxx_cv_func__atan2l_use=yes
76247 else
76248 glibcxx_cv_func__atan2l_use=no
76249 fi
76250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76251 ac_ext=c
76252 ac_cpp='$CPP $CPPFLAGS'
76253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76256
76257
76258 fi
76259
76260 fi
76261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76262 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76263
76264 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76265 for ac_func in _atan2l
76266 do :
76267 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76268 if test "x$ac_cv_func__atan2l" = x""yes; then :
76269 cat >>confdefs.h <<_ACEOF
76270 #define HAVE__ATAN2L 1
76271 _ACEOF
76272
76273 fi
76274 done
76275
76276 fi
76277 fi
76278
76279
76280
76281
76282
76283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76284 $as_echo_n "checking for expl declaration... " >&6; }
76285 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76286 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76287 $as_echo_n "(cached) " >&6
76288 else
76289
76290
76291 ac_ext=cpp
76292 ac_cpp='$CXXCPP $CPPFLAGS'
76293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76296
76297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76298 /* end confdefs.h. */
76299 #include <math.h>
76300 #ifdef HAVE_IEEEFP_H
76301 #include <ieeefp.h>
76302 #endif
76303
76304 int
76305 main ()
76306 {
76307 expl(0);
76308 ;
76309 return 0;
76310 }
76311 _ACEOF
76312 if ac_fn_cxx_try_compile "$LINENO"; then :
76313 glibcxx_cv_func_expl_use=yes
76314 else
76315 glibcxx_cv_func_expl_use=no
76316 fi
76317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76318 ac_ext=c
76319 ac_cpp='$CPP $CPPFLAGS'
76320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76323
76324
76325 fi
76326
76327 fi
76328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76329 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76330
76331 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76332 for ac_func in expl
76333 do :
76334 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76335 if test "x$ac_cv_func_expl" = x""yes; then :
76336 cat >>confdefs.h <<_ACEOF
76337 #define HAVE_EXPL 1
76338 _ACEOF
76339
76340 fi
76341 done
76342
76343 else
76344
76345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76346 $as_echo_n "checking for _expl declaration... " >&6; }
76347 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76348 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76349 $as_echo_n "(cached) " >&6
76350 else
76351
76352
76353 ac_ext=cpp
76354 ac_cpp='$CXXCPP $CPPFLAGS'
76355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76358
76359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76360 /* end confdefs.h. */
76361 #include <math.h>
76362 #ifdef HAVE_IEEEFP_H
76363 #include <ieeefp.h>
76364 #endif
76365
76366 int
76367 main ()
76368 {
76369 _expl(0);
76370 ;
76371 return 0;
76372 }
76373 _ACEOF
76374 if ac_fn_cxx_try_compile "$LINENO"; then :
76375 glibcxx_cv_func__expl_use=yes
76376 else
76377 glibcxx_cv_func__expl_use=no
76378 fi
76379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76380 ac_ext=c
76381 ac_cpp='$CPP $CPPFLAGS'
76382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76385
76386
76387 fi
76388
76389 fi
76390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76391 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76392
76393 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76394 for ac_func in _expl
76395 do :
76396 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76397 if test "x$ac_cv_func__expl" = x""yes; then :
76398 cat >>confdefs.h <<_ACEOF
76399 #define HAVE__EXPL 1
76400 _ACEOF
76401
76402 fi
76403 done
76404
76405 fi
76406 fi
76407
76408
76409
76410
76411
76412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76413 $as_echo_n "checking for fabsl declaration... " >&6; }
76414 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76415 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76416 $as_echo_n "(cached) " >&6
76417 else
76418
76419
76420 ac_ext=cpp
76421 ac_cpp='$CXXCPP $CPPFLAGS'
76422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76425
76426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76427 /* end confdefs.h. */
76428 #include <math.h>
76429 #ifdef HAVE_IEEEFP_H
76430 #include <ieeefp.h>
76431 #endif
76432
76433 int
76434 main ()
76435 {
76436 fabsl(0);
76437 ;
76438 return 0;
76439 }
76440 _ACEOF
76441 if ac_fn_cxx_try_compile "$LINENO"; then :
76442 glibcxx_cv_func_fabsl_use=yes
76443 else
76444 glibcxx_cv_func_fabsl_use=no
76445 fi
76446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76447 ac_ext=c
76448 ac_cpp='$CPP $CPPFLAGS'
76449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76452
76453
76454 fi
76455
76456 fi
76457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76458 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76459
76460 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76461 for ac_func in fabsl
76462 do :
76463 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76464 if test "x$ac_cv_func_fabsl" = x""yes; then :
76465 cat >>confdefs.h <<_ACEOF
76466 #define HAVE_FABSL 1
76467 _ACEOF
76468
76469 fi
76470 done
76471
76472 else
76473
76474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76475 $as_echo_n "checking for _fabsl declaration... " >&6; }
76476 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76477 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76478 $as_echo_n "(cached) " >&6
76479 else
76480
76481
76482 ac_ext=cpp
76483 ac_cpp='$CXXCPP $CPPFLAGS'
76484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76487
76488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76489 /* end confdefs.h. */
76490 #include <math.h>
76491 #ifdef HAVE_IEEEFP_H
76492 #include <ieeefp.h>
76493 #endif
76494
76495 int
76496 main ()
76497 {
76498 _fabsl(0);
76499 ;
76500 return 0;
76501 }
76502 _ACEOF
76503 if ac_fn_cxx_try_compile "$LINENO"; then :
76504 glibcxx_cv_func__fabsl_use=yes
76505 else
76506 glibcxx_cv_func__fabsl_use=no
76507 fi
76508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76509 ac_ext=c
76510 ac_cpp='$CPP $CPPFLAGS'
76511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76514
76515
76516 fi
76517
76518 fi
76519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76520 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76521
76522 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76523 for ac_func in _fabsl
76524 do :
76525 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76526 if test "x$ac_cv_func__fabsl" = x""yes; then :
76527 cat >>confdefs.h <<_ACEOF
76528 #define HAVE__FABSL 1
76529 _ACEOF
76530
76531 fi
76532 done
76533
76534 fi
76535 fi
76536
76537
76538
76539
76540
76541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76542 $as_echo_n "checking for fmodl declaration... " >&6; }
76543 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76544 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76545 $as_echo_n "(cached) " >&6
76546 else
76547
76548
76549 ac_ext=cpp
76550 ac_cpp='$CXXCPP $CPPFLAGS'
76551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76554
76555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76556 /* end confdefs.h. */
76557 #include <math.h>
76558 int
76559 main ()
76560 {
76561 fmodl(0, 0);
76562 ;
76563 return 0;
76564 }
76565 _ACEOF
76566 if ac_fn_cxx_try_compile "$LINENO"; then :
76567 glibcxx_cv_func_fmodl_use=yes
76568 else
76569 glibcxx_cv_func_fmodl_use=no
76570 fi
76571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76572 ac_ext=c
76573 ac_cpp='$CPP $CPPFLAGS'
76574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76577
76578
76579 fi
76580
76581 fi
76582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76583 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76584
76585 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76586 for ac_func in fmodl
76587 do :
76588 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76589 if test "x$ac_cv_func_fmodl" = x""yes; then :
76590 cat >>confdefs.h <<_ACEOF
76591 #define HAVE_FMODL 1
76592 _ACEOF
76593
76594 fi
76595 done
76596
76597 else
76598
76599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76600 $as_echo_n "checking for _fmodl declaration... " >&6; }
76601 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76602 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76603 $as_echo_n "(cached) " >&6
76604 else
76605
76606
76607 ac_ext=cpp
76608 ac_cpp='$CXXCPP $CPPFLAGS'
76609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76612
76613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76614 /* end confdefs.h. */
76615 #include <math.h>
76616 int
76617 main ()
76618 {
76619 _fmodl(0, 0);
76620 ;
76621 return 0;
76622 }
76623 _ACEOF
76624 if ac_fn_cxx_try_compile "$LINENO"; then :
76625 glibcxx_cv_func__fmodl_use=yes
76626 else
76627 glibcxx_cv_func__fmodl_use=no
76628 fi
76629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76630 ac_ext=c
76631 ac_cpp='$CPP $CPPFLAGS'
76632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76635
76636
76637 fi
76638
76639 fi
76640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76641 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76642
76643 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76644 for ac_func in _fmodl
76645 do :
76646 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76647 if test "x$ac_cv_func__fmodl" = x""yes; then :
76648 cat >>confdefs.h <<_ACEOF
76649 #define HAVE__FMODL 1
76650 _ACEOF
76651
76652 fi
76653 done
76654
76655 fi
76656 fi
76657
76658
76659
76660
76661
76662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76663 $as_echo_n "checking for frexpl declaration... " >&6; }
76664 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76665 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76666 $as_echo_n "(cached) " >&6
76667 else
76668
76669
76670 ac_ext=cpp
76671 ac_cpp='$CXXCPP $CPPFLAGS'
76672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76675
76676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76677 /* end confdefs.h. */
76678 #include <math.h>
76679 int
76680 main ()
76681 {
76682 frexpl(0, 0);
76683 ;
76684 return 0;
76685 }
76686 _ACEOF
76687 if ac_fn_cxx_try_compile "$LINENO"; then :
76688 glibcxx_cv_func_frexpl_use=yes
76689 else
76690 glibcxx_cv_func_frexpl_use=no
76691 fi
76692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76693 ac_ext=c
76694 ac_cpp='$CPP $CPPFLAGS'
76695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76698
76699
76700 fi
76701
76702 fi
76703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76704 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76705
76706 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76707 for ac_func in frexpl
76708 do :
76709 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76710 if test "x$ac_cv_func_frexpl" = x""yes; then :
76711 cat >>confdefs.h <<_ACEOF
76712 #define HAVE_FREXPL 1
76713 _ACEOF
76714
76715 fi
76716 done
76717
76718 else
76719
76720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76721 $as_echo_n "checking for _frexpl declaration... " >&6; }
76722 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76723 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76724 $as_echo_n "(cached) " >&6
76725 else
76726
76727
76728 ac_ext=cpp
76729 ac_cpp='$CXXCPP $CPPFLAGS'
76730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76733
76734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76735 /* end confdefs.h. */
76736 #include <math.h>
76737 int
76738 main ()
76739 {
76740 _frexpl(0, 0);
76741 ;
76742 return 0;
76743 }
76744 _ACEOF
76745 if ac_fn_cxx_try_compile "$LINENO"; then :
76746 glibcxx_cv_func__frexpl_use=yes
76747 else
76748 glibcxx_cv_func__frexpl_use=no
76749 fi
76750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76751 ac_ext=c
76752 ac_cpp='$CPP $CPPFLAGS'
76753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76756
76757
76758 fi
76759
76760 fi
76761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76762 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76763
76764 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76765 for ac_func in _frexpl
76766 do :
76767 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76768 if test "x$ac_cv_func__frexpl" = x""yes; then :
76769 cat >>confdefs.h <<_ACEOF
76770 #define HAVE__FREXPL 1
76771 _ACEOF
76772
76773 fi
76774 done
76775
76776 fi
76777 fi
76778
76779
76780
76781
76782
76783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76784 $as_echo_n "checking for hypotl declaration... " >&6; }
76785 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76786 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76787 $as_echo_n "(cached) " >&6
76788 else
76789
76790
76791 ac_ext=cpp
76792 ac_cpp='$CXXCPP $CPPFLAGS'
76793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76796
76797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76798 /* end confdefs.h. */
76799 #include <math.h>
76800 int
76801 main ()
76802 {
76803 hypotl(0, 0);
76804 ;
76805 return 0;
76806 }
76807 _ACEOF
76808 if ac_fn_cxx_try_compile "$LINENO"; then :
76809 glibcxx_cv_func_hypotl_use=yes
76810 else
76811 glibcxx_cv_func_hypotl_use=no
76812 fi
76813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76814 ac_ext=c
76815 ac_cpp='$CPP $CPPFLAGS'
76816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76819
76820
76821 fi
76822
76823 fi
76824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76825 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76826
76827 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76828 for ac_func in hypotl
76829 do :
76830 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76831 if test "x$ac_cv_func_hypotl" = x""yes; then :
76832 cat >>confdefs.h <<_ACEOF
76833 #define HAVE_HYPOTL 1
76834 _ACEOF
76835
76836 fi
76837 done
76838
76839 else
76840
76841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76842 $as_echo_n "checking for _hypotl declaration... " >&6; }
76843 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76844 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76845 $as_echo_n "(cached) " >&6
76846 else
76847
76848
76849 ac_ext=cpp
76850 ac_cpp='$CXXCPP $CPPFLAGS'
76851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76854
76855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76856 /* end confdefs.h. */
76857 #include <math.h>
76858 int
76859 main ()
76860 {
76861 _hypotl(0, 0);
76862 ;
76863 return 0;
76864 }
76865 _ACEOF
76866 if ac_fn_cxx_try_compile "$LINENO"; then :
76867 glibcxx_cv_func__hypotl_use=yes
76868 else
76869 glibcxx_cv_func__hypotl_use=no
76870 fi
76871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76872 ac_ext=c
76873 ac_cpp='$CPP $CPPFLAGS'
76874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76877
76878
76879 fi
76880
76881 fi
76882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76883 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76884
76885 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76886 for ac_func in _hypotl
76887 do :
76888 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76889 if test "x$ac_cv_func__hypotl" = x""yes; then :
76890 cat >>confdefs.h <<_ACEOF
76891 #define HAVE__HYPOTL 1
76892 _ACEOF
76893
76894 fi
76895 done
76896
76897 fi
76898 fi
76899
76900
76901
76902
76903
76904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76905 $as_echo_n "checking for ldexpl declaration... " >&6; }
76906 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76907 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76908 $as_echo_n "(cached) " >&6
76909 else
76910
76911
76912 ac_ext=cpp
76913 ac_cpp='$CXXCPP $CPPFLAGS'
76914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76917
76918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76919 /* end confdefs.h. */
76920 #include <math.h>
76921 int
76922 main ()
76923 {
76924 ldexpl(0, 0);
76925 ;
76926 return 0;
76927 }
76928 _ACEOF
76929 if ac_fn_cxx_try_compile "$LINENO"; then :
76930 glibcxx_cv_func_ldexpl_use=yes
76931 else
76932 glibcxx_cv_func_ldexpl_use=no
76933 fi
76934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76935 ac_ext=c
76936 ac_cpp='$CPP $CPPFLAGS'
76937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76940
76941
76942 fi
76943
76944 fi
76945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76946 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76947
76948 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76949 for ac_func in ldexpl
76950 do :
76951 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76952 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76953 cat >>confdefs.h <<_ACEOF
76954 #define HAVE_LDEXPL 1
76955 _ACEOF
76956
76957 fi
76958 done
76959
76960 else
76961
76962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76963 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76964 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76965 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76966 $as_echo_n "(cached) " >&6
76967 else
76968
76969
76970 ac_ext=cpp
76971 ac_cpp='$CXXCPP $CPPFLAGS'
76972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76975
76976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76977 /* end confdefs.h. */
76978 #include <math.h>
76979 int
76980 main ()
76981 {
76982 _ldexpl(0, 0);
76983 ;
76984 return 0;
76985 }
76986 _ACEOF
76987 if ac_fn_cxx_try_compile "$LINENO"; then :
76988 glibcxx_cv_func__ldexpl_use=yes
76989 else
76990 glibcxx_cv_func__ldexpl_use=no
76991 fi
76992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76993 ac_ext=c
76994 ac_cpp='$CPP $CPPFLAGS'
76995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76998
76999
77000 fi
77001
77002 fi
77003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77004 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77005
77006 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77007 for ac_func in _ldexpl
77008 do :
77009 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77010 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77011 cat >>confdefs.h <<_ACEOF
77012 #define HAVE__LDEXPL 1
77013 _ACEOF
77014
77015 fi
77016 done
77017
77018 fi
77019 fi
77020
77021
77022
77023
77024
77025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77026 $as_echo_n "checking for logl declaration... " >&6; }
77027 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77028 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77029 $as_echo_n "(cached) " >&6
77030 else
77031
77032
77033 ac_ext=cpp
77034 ac_cpp='$CXXCPP $CPPFLAGS'
77035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77038
77039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77040 /* end confdefs.h. */
77041 #include <math.h>
77042 #ifdef HAVE_IEEEFP_H
77043 #include <ieeefp.h>
77044 #endif
77045
77046 int
77047 main ()
77048 {
77049 logl(0);
77050 ;
77051 return 0;
77052 }
77053 _ACEOF
77054 if ac_fn_cxx_try_compile "$LINENO"; then :
77055 glibcxx_cv_func_logl_use=yes
77056 else
77057 glibcxx_cv_func_logl_use=no
77058 fi
77059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77060 ac_ext=c
77061 ac_cpp='$CPP $CPPFLAGS'
77062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77065
77066
77067 fi
77068
77069 fi
77070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77071 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77072
77073 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77074 for ac_func in logl
77075 do :
77076 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77077 if test "x$ac_cv_func_logl" = x""yes; then :
77078 cat >>confdefs.h <<_ACEOF
77079 #define HAVE_LOGL 1
77080 _ACEOF
77081
77082 fi
77083 done
77084
77085 else
77086
77087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77088 $as_echo_n "checking for _logl declaration... " >&6; }
77089 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77090 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77091 $as_echo_n "(cached) " >&6
77092 else
77093
77094
77095 ac_ext=cpp
77096 ac_cpp='$CXXCPP $CPPFLAGS'
77097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77100
77101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77102 /* end confdefs.h. */
77103 #include <math.h>
77104 #ifdef HAVE_IEEEFP_H
77105 #include <ieeefp.h>
77106 #endif
77107
77108 int
77109 main ()
77110 {
77111 _logl(0);
77112 ;
77113 return 0;
77114 }
77115 _ACEOF
77116 if ac_fn_cxx_try_compile "$LINENO"; then :
77117 glibcxx_cv_func__logl_use=yes
77118 else
77119 glibcxx_cv_func__logl_use=no
77120 fi
77121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77122 ac_ext=c
77123 ac_cpp='$CPP $CPPFLAGS'
77124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77127
77128
77129 fi
77130
77131 fi
77132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77133 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77134
77135 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77136 for ac_func in _logl
77137 do :
77138 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77139 if test "x$ac_cv_func__logl" = x""yes; then :
77140 cat >>confdefs.h <<_ACEOF
77141 #define HAVE__LOGL 1
77142 _ACEOF
77143
77144 fi
77145 done
77146
77147 fi
77148 fi
77149
77150
77151
77152
77153
77154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77155 $as_echo_n "checking for log10l declaration... " >&6; }
77156 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77157 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77158 $as_echo_n "(cached) " >&6
77159 else
77160
77161
77162 ac_ext=cpp
77163 ac_cpp='$CXXCPP $CPPFLAGS'
77164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77167
77168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77169 /* end confdefs.h. */
77170 #include <math.h>
77171 #ifdef HAVE_IEEEFP_H
77172 #include <ieeefp.h>
77173 #endif
77174
77175 int
77176 main ()
77177 {
77178 log10l(0);
77179 ;
77180 return 0;
77181 }
77182 _ACEOF
77183 if ac_fn_cxx_try_compile "$LINENO"; then :
77184 glibcxx_cv_func_log10l_use=yes
77185 else
77186 glibcxx_cv_func_log10l_use=no
77187 fi
77188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77189 ac_ext=c
77190 ac_cpp='$CPP $CPPFLAGS'
77191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77194
77195
77196 fi
77197
77198 fi
77199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77200 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77201
77202 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77203 for ac_func in log10l
77204 do :
77205 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77206 if test "x$ac_cv_func_log10l" = x""yes; then :
77207 cat >>confdefs.h <<_ACEOF
77208 #define HAVE_LOG10L 1
77209 _ACEOF
77210
77211 fi
77212 done
77213
77214 else
77215
77216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77217 $as_echo_n "checking for _log10l declaration... " >&6; }
77218 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77219 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77220 $as_echo_n "(cached) " >&6
77221 else
77222
77223
77224 ac_ext=cpp
77225 ac_cpp='$CXXCPP $CPPFLAGS'
77226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77229
77230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77231 /* end confdefs.h. */
77232 #include <math.h>
77233 #ifdef HAVE_IEEEFP_H
77234 #include <ieeefp.h>
77235 #endif
77236
77237 int
77238 main ()
77239 {
77240 _log10l(0);
77241 ;
77242 return 0;
77243 }
77244 _ACEOF
77245 if ac_fn_cxx_try_compile "$LINENO"; then :
77246 glibcxx_cv_func__log10l_use=yes
77247 else
77248 glibcxx_cv_func__log10l_use=no
77249 fi
77250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77251 ac_ext=c
77252 ac_cpp='$CPP $CPPFLAGS'
77253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77256
77257
77258 fi
77259
77260 fi
77261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77262 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77263
77264 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77265 for ac_func in _log10l
77266 do :
77267 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77268 if test "x$ac_cv_func__log10l" = x""yes; then :
77269 cat >>confdefs.h <<_ACEOF
77270 #define HAVE__LOG10L 1
77271 _ACEOF
77272
77273 fi
77274 done
77275
77276 fi
77277 fi
77278
77279
77280
77281
77282
77283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77284 $as_echo_n "checking for modfl declaration... " >&6; }
77285 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77286 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77287 $as_echo_n "(cached) " >&6
77288 else
77289
77290
77291 ac_ext=cpp
77292 ac_cpp='$CXXCPP $CPPFLAGS'
77293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77296
77297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77298 /* end confdefs.h. */
77299 #include <math.h>
77300 int
77301 main ()
77302 {
77303 modfl(0, 0);
77304 ;
77305 return 0;
77306 }
77307 _ACEOF
77308 if ac_fn_cxx_try_compile "$LINENO"; then :
77309 glibcxx_cv_func_modfl_use=yes
77310 else
77311 glibcxx_cv_func_modfl_use=no
77312 fi
77313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77314 ac_ext=c
77315 ac_cpp='$CPP $CPPFLAGS'
77316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77319
77320
77321 fi
77322
77323 fi
77324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77325 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77326
77327 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77328 for ac_func in modfl
77329 do :
77330 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77331 if test "x$ac_cv_func_modfl" = x""yes; then :
77332 cat >>confdefs.h <<_ACEOF
77333 #define HAVE_MODFL 1
77334 _ACEOF
77335
77336 fi
77337 done
77338
77339 else
77340
77341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77342 $as_echo_n "checking for _modfl declaration... " >&6; }
77343 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77344 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77345 $as_echo_n "(cached) " >&6
77346 else
77347
77348
77349 ac_ext=cpp
77350 ac_cpp='$CXXCPP $CPPFLAGS'
77351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77354
77355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77356 /* end confdefs.h. */
77357 #include <math.h>
77358 int
77359 main ()
77360 {
77361 _modfl(0, 0);
77362 ;
77363 return 0;
77364 }
77365 _ACEOF
77366 if ac_fn_cxx_try_compile "$LINENO"; then :
77367 glibcxx_cv_func__modfl_use=yes
77368 else
77369 glibcxx_cv_func__modfl_use=no
77370 fi
77371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77372 ac_ext=c
77373 ac_cpp='$CPP $CPPFLAGS'
77374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77377
77378
77379 fi
77380
77381 fi
77382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77383 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77384
77385 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77386 for ac_func in _modfl
77387 do :
77388 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77389 if test "x$ac_cv_func__modfl" = x""yes; then :
77390 cat >>confdefs.h <<_ACEOF
77391 #define HAVE__MODFL 1
77392 _ACEOF
77393
77394 fi
77395 done
77396
77397 fi
77398 fi
77399
77400
77401
77402
77403
77404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77405 $as_echo_n "checking for powl declaration... " >&6; }
77406 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77407 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77408 $as_echo_n "(cached) " >&6
77409 else
77410
77411
77412 ac_ext=cpp
77413 ac_cpp='$CXXCPP $CPPFLAGS'
77414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77417
77418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77419 /* end confdefs.h. */
77420 #include <math.h>
77421 int
77422 main ()
77423 {
77424 powl(0, 0);
77425 ;
77426 return 0;
77427 }
77428 _ACEOF
77429 if ac_fn_cxx_try_compile "$LINENO"; then :
77430 glibcxx_cv_func_powl_use=yes
77431 else
77432 glibcxx_cv_func_powl_use=no
77433 fi
77434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77435 ac_ext=c
77436 ac_cpp='$CPP $CPPFLAGS'
77437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77440
77441
77442 fi
77443
77444 fi
77445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77446 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77447
77448 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77449 for ac_func in powl
77450 do :
77451 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77452 if test "x$ac_cv_func_powl" = x""yes; then :
77453 cat >>confdefs.h <<_ACEOF
77454 #define HAVE_POWL 1
77455 _ACEOF
77456
77457 fi
77458 done
77459
77460 else
77461
77462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77463 $as_echo_n "checking for _powl declaration... " >&6; }
77464 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77465 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77466 $as_echo_n "(cached) " >&6
77467 else
77468
77469
77470 ac_ext=cpp
77471 ac_cpp='$CXXCPP $CPPFLAGS'
77472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77475
77476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77477 /* end confdefs.h. */
77478 #include <math.h>
77479 int
77480 main ()
77481 {
77482 _powl(0, 0);
77483 ;
77484 return 0;
77485 }
77486 _ACEOF
77487 if ac_fn_cxx_try_compile "$LINENO"; then :
77488 glibcxx_cv_func__powl_use=yes
77489 else
77490 glibcxx_cv_func__powl_use=no
77491 fi
77492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77493 ac_ext=c
77494 ac_cpp='$CPP $CPPFLAGS'
77495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77498
77499
77500 fi
77501
77502 fi
77503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77504 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77505
77506 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77507 for ac_func in _powl
77508 do :
77509 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77510 if test "x$ac_cv_func__powl" = x""yes; then :
77511 cat >>confdefs.h <<_ACEOF
77512 #define HAVE__POWL 1
77513 _ACEOF
77514
77515 fi
77516 done
77517
77518 fi
77519 fi
77520
77521
77522
77523
77524
77525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77526 $as_echo_n "checking for sqrtl declaration... " >&6; }
77527 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77528 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77529 $as_echo_n "(cached) " >&6
77530 else
77531
77532
77533 ac_ext=cpp
77534 ac_cpp='$CXXCPP $CPPFLAGS'
77535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77538
77539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77540 /* end confdefs.h. */
77541 #include <math.h>
77542 #ifdef HAVE_IEEEFP_H
77543 #include <ieeefp.h>
77544 #endif
77545
77546 int
77547 main ()
77548 {
77549 sqrtl(0);
77550 ;
77551 return 0;
77552 }
77553 _ACEOF
77554 if ac_fn_cxx_try_compile "$LINENO"; then :
77555 glibcxx_cv_func_sqrtl_use=yes
77556 else
77557 glibcxx_cv_func_sqrtl_use=no
77558 fi
77559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77560 ac_ext=c
77561 ac_cpp='$CPP $CPPFLAGS'
77562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77565
77566
77567 fi
77568
77569 fi
77570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77571 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77572
77573 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77574 for ac_func in sqrtl
77575 do :
77576 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77577 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77578 cat >>confdefs.h <<_ACEOF
77579 #define HAVE_SQRTL 1
77580 _ACEOF
77581
77582 fi
77583 done
77584
77585 else
77586
77587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77588 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77589 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77590 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77591 $as_echo_n "(cached) " >&6
77592 else
77593
77594
77595 ac_ext=cpp
77596 ac_cpp='$CXXCPP $CPPFLAGS'
77597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77600
77601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77602 /* end confdefs.h. */
77603 #include <math.h>
77604 #ifdef HAVE_IEEEFP_H
77605 #include <ieeefp.h>
77606 #endif
77607
77608 int
77609 main ()
77610 {
77611 _sqrtl(0);
77612 ;
77613 return 0;
77614 }
77615 _ACEOF
77616 if ac_fn_cxx_try_compile "$LINENO"; then :
77617 glibcxx_cv_func__sqrtl_use=yes
77618 else
77619 glibcxx_cv_func__sqrtl_use=no
77620 fi
77621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77622 ac_ext=c
77623 ac_cpp='$CPP $CPPFLAGS'
77624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77627
77628
77629 fi
77630
77631 fi
77632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77633 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77634
77635 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77636 for ac_func in _sqrtl
77637 do :
77638 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77639 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77640 cat >>confdefs.h <<_ACEOF
77641 #define HAVE__SQRTL 1
77642 _ACEOF
77643
77644 fi
77645 done
77646
77647 fi
77648 fi
77649
77650
77651
77652
77653
77654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77655 $as_echo_n "checking for sincosl declaration... " >&6; }
77656 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77657 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77658 $as_echo_n "(cached) " >&6
77659 else
77660
77661
77662 ac_ext=cpp
77663 ac_cpp='$CXXCPP $CPPFLAGS'
77664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77667
77668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77669 /* end confdefs.h. */
77670 #include <math.h>
77671 int
77672 main ()
77673 {
77674 sincosl(0, 0, 0);
77675 ;
77676 return 0;
77677 }
77678 _ACEOF
77679 if ac_fn_cxx_try_compile "$LINENO"; then :
77680 glibcxx_cv_func_sincosl_use=yes
77681 else
77682 glibcxx_cv_func_sincosl_use=no
77683 fi
77684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77685 ac_ext=c
77686 ac_cpp='$CPP $CPPFLAGS'
77687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77690
77691
77692 fi
77693
77694 fi
77695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77696 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77697
77698 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77699 for ac_func in sincosl
77700 do :
77701 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77702 if test "x$ac_cv_func_sincosl" = x""yes; then :
77703 cat >>confdefs.h <<_ACEOF
77704 #define HAVE_SINCOSL 1
77705 _ACEOF
77706
77707 fi
77708 done
77709
77710 else
77711
77712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77713 $as_echo_n "checking for _sincosl declaration... " >&6; }
77714 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77715 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77716 $as_echo_n "(cached) " >&6
77717 else
77718
77719
77720 ac_ext=cpp
77721 ac_cpp='$CXXCPP $CPPFLAGS'
77722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77725
77726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77727 /* end confdefs.h. */
77728 #include <math.h>
77729 int
77730 main ()
77731 {
77732 _sincosl(0, 0, 0);
77733 ;
77734 return 0;
77735 }
77736 _ACEOF
77737 if ac_fn_cxx_try_compile "$LINENO"; then :
77738 glibcxx_cv_func__sincosl_use=yes
77739 else
77740 glibcxx_cv_func__sincosl_use=no
77741 fi
77742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77743 ac_ext=c
77744 ac_cpp='$CPP $CPPFLAGS'
77745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77748
77749
77750 fi
77751
77752 fi
77753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77754 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77755
77756 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77757 for ac_func in _sincosl
77758 do :
77759 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77760 if test "x$ac_cv_func__sincosl" = x""yes; then :
77761 cat >>confdefs.h <<_ACEOF
77762 #define HAVE__SINCOSL 1
77763 _ACEOF
77764
77765 fi
77766 done
77767
77768 fi
77769 fi
77770
77771
77772
77773
77774
77775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77776 $as_echo_n "checking for finitel declaration... " >&6; }
77777 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77778 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77779 $as_echo_n "(cached) " >&6
77780 else
77781
77782
77783 ac_ext=cpp
77784 ac_cpp='$CXXCPP $CPPFLAGS'
77785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77788
77789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77790 /* end confdefs.h. */
77791 #include <math.h>
77792 #ifdef HAVE_IEEEFP_H
77793 #include <ieeefp.h>
77794 #endif
77795
77796 int
77797 main ()
77798 {
77799 finitel(0);
77800 ;
77801 return 0;
77802 }
77803 _ACEOF
77804 if ac_fn_cxx_try_compile "$LINENO"; then :
77805 glibcxx_cv_func_finitel_use=yes
77806 else
77807 glibcxx_cv_func_finitel_use=no
77808 fi
77809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77810 ac_ext=c
77811 ac_cpp='$CPP $CPPFLAGS'
77812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77815
77816
77817 fi
77818
77819 fi
77820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77821 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77822
77823 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77824 for ac_func in finitel
77825 do :
77826 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77827 if test "x$ac_cv_func_finitel" = x""yes; then :
77828 cat >>confdefs.h <<_ACEOF
77829 #define HAVE_FINITEL 1
77830 _ACEOF
77831
77832 fi
77833 done
77834
77835 else
77836
77837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77838 $as_echo_n "checking for _finitel declaration... " >&6; }
77839 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77840 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77841 $as_echo_n "(cached) " >&6
77842 else
77843
77844
77845 ac_ext=cpp
77846 ac_cpp='$CXXCPP $CPPFLAGS'
77847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77850
77851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77852 /* end confdefs.h. */
77853 #include <math.h>
77854 #ifdef HAVE_IEEEFP_H
77855 #include <ieeefp.h>
77856 #endif
77857
77858 int
77859 main ()
77860 {
77861 _finitel(0);
77862 ;
77863 return 0;
77864 }
77865 _ACEOF
77866 if ac_fn_cxx_try_compile "$LINENO"; then :
77867 glibcxx_cv_func__finitel_use=yes
77868 else
77869 glibcxx_cv_func__finitel_use=no
77870 fi
77871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77872 ac_ext=c
77873 ac_cpp='$CPP $CPPFLAGS'
77874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77877
77878
77879 fi
77880
77881 fi
77882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77883 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77884
77885 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77886 for ac_func in _finitel
77887 do :
77888 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77889 if test "x$ac_cv_func__finitel" = x""yes; then :
77890 cat >>confdefs.h <<_ACEOF
77891 #define HAVE__FINITEL 1
77892 _ACEOF
77893
77894 fi
77895 done
77896
77897 fi
77898 fi
77899
77900
77901
77902
77903 LIBS="$ac_save_LIBS"
77904 CXXFLAGS="$ac_save_CXXFLAGS"
77905
77906
77907 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77908 ac_save_CXXFLAGS="$CXXFLAGS"
77909 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77910
77911
77912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77913 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77914 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77915 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77916 $as_echo_n "(cached) " >&6
77917 else
77918
77919
77920 ac_ext=cpp
77921 ac_cpp='$CXXCPP $CPPFLAGS'
77922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77925
77926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77927 /* end confdefs.h. */
77928 #include <stdlib.h>
77929 int
77930 main ()
77931 {
77932 at_quick_exit(0);
77933 ;
77934 return 0;
77935 }
77936 _ACEOF
77937 if ac_fn_cxx_try_compile "$LINENO"; then :
77938 glibcxx_cv_func_at_quick_exit_use=yes
77939 else
77940 glibcxx_cv_func_at_quick_exit_use=no
77941 fi
77942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77943 ac_ext=c
77944 ac_cpp='$CPP $CPPFLAGS'
77945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77948
77949
77950 fi
77951
77952 fi
77953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77954 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77955 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77956 for ac_func in at_quick_exit
77957 do :
77958 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77959 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77960 cat >>confdefs.h <<_ACEOF
77961 #define HAVE_AT_QUICK_EXIT 1
77962 _ACEOF
77963
77964 fi
77965 done
77966
77967 fi
77968
77969
77970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77971 $as_echo_n "checking for quick_exit declaration... " >&6; }
77972 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77973 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77974 $as_echo_n "(cached) " >&6
77975 else
77976
77977
77978 ac_ext=cpp
77979 ac_cpp='$CXXCPP $CPPFLAGS'
77980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77983
77984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77985 /* end confdefs.h. */
77986 #include <stdlib.h>
77987 int
77988 main ()
77989 {
77990 quick_exit(0);
77991 ;
77992 return 0;
77993 }
77994 _ACEOF
77995 if ac_fn_cxx_try_compile "$LINENO"; then :
77996 glibcxx_cv_func_quick_exit_use=yes
77997 else
77998 glibcxx_cv_func_quick_exit_use=no
77999 fi
78000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78001 ac_ext=c
78002 ac_cpp='$CPP $CPPFLAGS'
78003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78006
78007
78008 fi
78009
78010 fi
78011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78012 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78013 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78014 for ac_func in quick_exit
78015 do :
78016 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78017 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78018 cat >>confdefs.h <<_ACEOF
78019 #define HAVE_QUICK_EXIT 1
78020 _ACEOF
78021
78022 fi
78023 done
78024
78025 fi
78026
78027
78028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78029 $as_echo_n "checking for strtold declaration... " >&6; }
78030 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78031 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78032 $as_echo_n "(cached) " >&6
78033 else
78034
78035
78036 ac_ext=cpp
78037 ac_cpp='$CXXCPP $CPPFLAGS'
78038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78041
78042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78043 /* end confdefs.h. */
78044 #include <stdlib.h>
78045 int
78046 main ()
78047 {
78048 strtold(0, 0);
78049 ;
78050 return 0;
78051 }
78052 _ACEOF
78053 if ac_fn_cxx_try_compile "$LINENO"; then :
78054 glibcxx_cv_func_strtold_use=yes
78055 else
78056 glibcxx_cv_func_strtold_use=no
78057 fi
78058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78059 ac_ext=c
78060 ac_cpp='$CPP $CPPFLAGS'
78061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78064
78065
78066 fi
78067
78068 fi
78069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78070 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78071 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78072 for ac_func in strtold
78073 do :
78074 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78075 if test "x$ac_cv_func_strtold" = x""yes; then :
78076 cat >>confdefs.h <<_ACEOF
78077 #define HAVE_STRTOLD 1
78078 _ACEOF
78079
78080 fi
78081 done
78082
78083 fi
78084
78085
78086
78087
78088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78089 $as_echo_n "checking for strtof declaration... " >&6; }
78090 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78091 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78092 $as_echo_n "(cached) " >&6
78093 else
78094
78095
78096 ac_ext=cpp
78097 ac_cpp='$CXXCPP $CPPFLAGS'
78098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78101
78102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78103 /* end confdefs.h. */
78104 #include <stdlib.h>
78105 int
78106 main ()
78107 {
78108 strtof(0, 0);
78109 ;
78110 return 0;
78111 }
78112 _ACEOF
78113 if ac_fn_cxx_try_compile "$LINENO"; then :
78114 glibcxx_cv_func_strtof_use=yes
78115 else
78116 glibcxx_cv_func_strtof_use=no
78117 fi
78118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78119 ac_ext=c
78120 ac_cpp='$CPP $CPPFLAGS'
78121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78124
78125
78126 fi
78127
78128 fi
78129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78130 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78131 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78132 for ac_func in strtof
78133 do :
78134 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78135 if test "x$ac_cv_func_strtof" = x""yes; then :
78136 cat >>confdefs.h <<_ACEOF
78137 #define HAVE_STRTOF 1
78138 _ACEOF
78139
78140 fi
78141 done
78142
78143 fi
78144
78145
78146
78147
78148 CXXFLAGS="$ac_save_CXXFLAGS"
78149
78150 ;;
78151 *-vxworks)
78152 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78153
78154 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78155
78156 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78157
78158 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78159
78160 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78161
78162 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78163
78164 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78165
78166 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78167
78168 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78169
78170 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78171
78172 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78173
78174 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78175
78176 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78177
78178 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78179
78180 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78181
78182 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78183
78184 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78185
78186 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78187
78188 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78189
78190 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78191
78192 ;;
78193 *)
78194 as_fn_error "No support for this host/target combination." "$LINENO" 5
78195 ;;
78196 esac
78197
78198 fi
78199
78200 # At some point, we should differentiate between architectures
78201 # like x86, which have long double versions, and alpha/powerpc/etc.,
78202 # which don't. For the time being, punt.
78203 if test x"long_double_math_on_this_cpu" = x"yes"; then
78204 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78205
78206 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78207
78208 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78209
78210 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78211
78212 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78213
78214 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78215
78216 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78217
78218 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78219
78220 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78221
78222 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78223
78224 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78225
78226 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78227
78228 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78229
78230 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78231
78232 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78233
78234 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78235
78236 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78237
78238 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78239
78240 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78241
78242 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78243
78244 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78245
78246 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78247
78248 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78249
78250 fi
78251 fi
78252
78253 # Check for _Unwind_GetIPInfo.
78254
78255
78256 # Check whether --with-system-libunwind was given.
78257 if test "${with_system_libunwind+set}" = set; then :
78258 withval=$with_system_libunwind;
78259 fi
78260
78261 # If system-libunwind was not specifically set, pick a default setting.
78262 if test x$with_system_libunwind = x; then
78263 case ${target} in
78264 ia64-*-hpux*) with_system_libunwind=yes ;;
78265 *) with_system_libunwind=no ;;
78266 esac
78267 fi
78268 # Based on system-libunwind and target, do we have ipinfo?
78269 if test x$with_system_libunwind = xyes; then
78270 case ${target} in
78271 ia64-*-*) have_unwind_getipinfo=no ;;
78272 *) have_unwind_getipinfo=yes ;;
78273 esac
78274 else
78275 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78276
78277 case ${target} in
78278 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78279 *) have_unwind_getipinfo=yes ;;
78280 esac
78281
78282 fi
78283
78284 if test x$have_unwind_getipinfo = xyes; then
78285
78286 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78287
78288 fi
78289
78290
78291 # Check whether --enable-linux-futex was given.
78292 if test "${enable_linux_futex+set}" = set; then :
78293 enableval=$enable_linux_futex;
78294 case "$enableval" in
78295 yes|no|default) ;;
78296 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78297 esac
78298
78299 else
78300 enable_linux_futex=default
78301 fi
78302
78303
78304 case "$target" in
78305 *-linux*)
78306 case "$enable_linux_futex" in
78307 default)
78308 # If headers don't have gettid/futex syscalls definition, then
78309 # default to no, otherwise there will be compile time failures.
78310 # Otherwise, default to yes. If we don't detect we are
78311 # compiled/linked against NPTL and not cross-compiling, check
78312 # if programs are run by default against NPTL and if not, issue
78313 # a warning.
78314 enable_linux_futex=no
78315 if test x$gcc_no_link = xyes; then
78316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78317 fi
78318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78319 /* end confdefs.h. */
78320 #include <sys/syscall.h>
78321 int lk;
78322 int
78323 main ()
78324 {
78325 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78326 ;
78327 return 0;
78328 }
78329 _ACEOF
78330 if ac_fn_c_try_link "$LINENO"; then :
78331 save_LIBS="$LIBS"
78332 LIBS="-lpthread $LIBS"
78333 if test x$gcc_no_link = xyes; then
78334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78335 fi
78336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78337 /* end confdefs.h. */
78338 #ifndef _GNU_SOURCE
78339 #define _GNU_SOURCE 1
78340 #endif
78341 #include <pthread.h>
78342 pthread_t th; void *status;
78343 int
78344 main ()
78345 {
78346 pthread_tryjoin_np (th, &status);
78347 ;
78348 return 0;
78349 }
78350 _ACEOF
78351 if ac_fn_c_try_link "$LINENO"; then :
78352 enable_linux_futex=yes
78353 else
78354 if test x$cross_compiling = xno; then
78355 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78356 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78358 If so, please configure with --disable-linux-futex" >&5
78359 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78360 If so, please configure with --disable-linux-futex" >&2;}
78361 fi
78362 fi
78363 enable_linux_futex=yes
78364 fi
78365 rm -f core conftest.err conftest.$ac_objext \
78366 conftest$ac_exeext conftest.$ac_ext
78367 LIBS="$save_LIBS"
78368 fi
78369 rm -f core conftest.err conftest.$ac_objext \
78370 conftest$ac_exeext conftest.$ac_ext
78371 ;;
78372 yes)
78373 if test x$gcc_no_link = xyes; then
78374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78375 fi
78376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78377 /* end confdefs.h. */
78378 #include <sys/syscall.h>
78379 int lk;
78380 int
78381 main ()
78382 {
78383 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78384 ;
78385 return 0;
78386 }
78387 _ACEOF
78388 if ac_fn_c_try_link "$LINENO"; then :
78389
78390 else
78391 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78392 fi
78393 rm -f core conftest.err conftest.$ac_objext \
78394 conftest$ac_exeext conftest.$ac_ext
78395 ;;
78396 esac
78397 ;;
78398 *)
78399 enable_linux_futex=no
78400 ;;
78401 esac
78402 if test x$enable_linux_futex = xyes; then
78403
78404 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78405
78406 fi
78407
78408
78409
78410
78411 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78412
78413 acx_cv_header_stdint=stddef.h
78414 acx_cv_header_stdint_kind="(already complete)"
78415 for i in stdint.h $inttype_headers; do
78416 unset ac_cv_type_uintptr_t
78417 unset ac_cv_type_uintmax_t
78418 unset ac_cv_type_int_least32_t
78419 unset ac_cv_type_int_fast32_t
78420 unset ac_cv_type_uint64_t
78421 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78422 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78423 #include <$i>
78424 "
78425 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78426 acx_cv_header_stdint=$i
78427 else
78428 continue
78429 fi
78430
78431 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78432 #include <$i>
78433 "
78434 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78435
78436 else
78437 acx_cv_header_stdint_kind="(mostly complete)"
78438 fi
78439
78440 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78441 #include <$i>
78442 "
78443 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78444
78445 else
78446 acx_cv_header_stdint_kind="(mostly complete)"
78447 fi
78448
78449 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78450 #include <$i>
78451 "
78452 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78453
78454 else
78455 acx_cv_header_stdint_kind="(mostly complete)"
78456 fi
78457
78458 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78459 #include <$i>
78460 "
78461 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78462
78463 else
78464 acx_cv_header_stdint_kind="(lacks uint64_t)"
78465 fi
78466
78467 break
78468 done
78469 if test "$acx_cv_header_stdint" = stddef.h; then
78470 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78471 for i in stdint.h $inttype_headers; do
78472 unset ac_cv_type_uintptr_t
78473 unset ac_cv_type_uint32_t
78474 unset ac_cv_type_uint64_t
78475 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78476 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78477 #include <$i>
78478 "
78479 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78480 acx_cv_header_stdint=$i
78481 else
78482 continue
78483 fi
78484
78485 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78486 #include <$i>
78487 "
78488 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78489
78490 fi
78491
78492 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78493 #include <$i>
78494 "
78495 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78496
78497 fi
78498
78499 break
78500 done
78501 fi
78502 if test "$acx_cv_header_stdint" = stddef.h; then
78503 acx_cv_header_stdint_kind="(u_intXX_t style)"
78504 for i in sys/types.h $inttype_headers; do
78505 unset ac_cv_type_u_int32_t
78506 unset ac_cv_type_u_int64_t
78507 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78508 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78509 #include <$i>
78510 "
78511 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78512 acx_cv_header_stdint=$i
78513 else
78514 continue
78515 fi
78516
78517 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78518 #include <$i>
78519 "
78520 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78521
78522 fi
78523
78524 break
78525 done
78526 fi
78527 if test "$acx_cv_header_stdint" = stddef.h; then
78528 acx_cv_header_stdint_kind="(using manual detection)"
78529 fi
78530
78531 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78532 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78533 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78534 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78535 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78536
78537 # ----------------- Summarize what we found so far
78538
78539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78540 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78541
78542 case `$as_basename -- include/gstdint.h ||
78543 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78544 Xinclude/gstdint.h : 'X\(//\)$' \| \
78545 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78546 $as_echo X/include/gstdint.h |
78547 sed '/^.*\/\([^/][^/]*\)\/*$/{
78548 s//\1/
78549 q
78550 }
78551 /^X\/\(\/\/\)$/{
78552 s//\1/
78553 q
78554 }
78555 /^X\/\(\/\).*/{
78556 s//\1/
78557 q
78558 }
78559 s/.*/./; q'` in
78560 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78561 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78562 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78563 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78564 *) ;;
78565 esac
78566
78567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78568 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78569
78570 # ----------------- done included file, check C basic types --------
78571
78572 # Lacking an uintptr_t? Test size of void *
78573 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78574 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78577 # This bug is HP SR number 8606223364.
78578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78579 $as_echo_n "checking size of void *... " >&6; }
78580 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78581 $as_echo_n "(cached) " >&6
78582 else
78583 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78584
78585 else
78586 if test "$ac_cv_type_void_p" = yes; then
78587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78589 { as_fn_set_status 77
78590 as_fn_error "cannot compute sizeof (void *)
78591 See \`config.log' for more details." "$LINENO" 5; }; }
78592 else
78593 ac_cv_sizeof_void_p=0
78594 fi
78595 fi
78596
78597 fi
78598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78599 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78600
78601
78602
78603 cat >>confdefs.h <<_ACEOF
78604 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78605 _ACEOF
78606
78607 ;;
78608 esac
78609
78610 # Lacking an uint64_t? Test size of long
78611 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78612 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78615 # This bug is HP SR number 8606223364.
78616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78617 $as_echo_n "checking size of long... " >&6; }
78618 if test "${ac_cv_sizeof_long+set}" = set; then :
78619 $as_echo_n "(cached) " >&6
78620 else
78621 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78622
78623 else
78624 if test "$ac_cv_type_long" = yes; then
78625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78627 { as_fn_set_status 77
78628 as_fn_error "cannot compute sizeof (long)
78629 See \`config.log' for more details." "$LINENO" 5; }; }
78630 else
78631 ac_cv_sizeof_long=0
78632 fi
78633 fi
78634
78635 fi
78636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78637 $as_echo "$ac_cv_sizeof_long" >&6; }
78638
78639
78640
78641 cat >>confdefs.h <<_ACEOF
78642 #define SIZEOF_LONG $ac_cv_sizeof_long
78643 _ACEOF
78644
78645 ;;
78646 esac
78647
78648 if test $acx_cv_header_stdint = stddef.h; then
78649 # Lacking a good header? Test size of everything and deduce all types.
78650 # The cast to long int works around a bug in the HP C Compiler
78651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78653 # This bug is HP SR number 8606223364.
78654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78655 $as_echo_n "checking size of int... " >&6; }
78656 if test "${ac_cv_sizeof_int+set}" = set; then :
78657 $as_echo_n "(cached) " >&6
78658 else
78659 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78660
78661 else
78662 if test "$ac_cv_type_int" = yes; then
78663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78665 { as_fn_set_status 77
78666 as_fn_error "cannot compute sizeof (int)
78667 See \`config.log' for more details." "$LINENO" 5; }; }
78668 else
78669 ac_cv_sizeof_int=0
78670 fi
78671 fi
78672
78673 fi
78674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78675 $as_echo "$ac_cv_sizeof_int" >&6; }
78676
78677
78678
78679 cat >>confdefs.h <<_ACEOF
78680 #define SIZEOF_INT $ac_cv_sizeof_int
78681 _ACEOF
78682
78683
78684 # The cast to long int works around a bug in the HP C Compiler
78685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78687 # This bug is HP SR number 8606223364.
78688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78689 $as_echo_n "checking size of short... " >&6; }
78690 if test "${ac_cv_sizeof_short+set}" = set; then :
78691 $as_echo_n "(cached) " >&6
78692 else
78693 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78694
78695 else
78696 if test "$ac_cv_type_short" = yes; then
78697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78699 { as_fn_set_status 77
78700 as_fn_error "cannot compute sizeof (short)
78701 See \`config.log' for more details." "$LINENO" 5; }; }
78702 else
78703 ac_cv_sizeof_short=0
78704 fi
78705 fi
78706
78707 fi
78708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78709 $as_echo "$ac_cv_sizeof_short" >&6; }
78710
78711
78712
78713 cat >>confdefs.h <<_ACEOF
78714 #define SIZEOF_SHORT $ac_cv_sizeof_short
78715 _ACEOF
78716
78717
78718 # The cast to long int works around a bug in the HP C Compiler
78719 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78720 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78721 # This bug is HP SR number 8606223364.
78722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78723 $as_echo_n "checking size of char... " >&6; }
78724 if test "${ac_cv_sizeof_char+set}" = set; then :
78725 $as_echo_n "(cached) " >&6
78726 else
78727 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78728
78729 else
78730 if test "$ac_cv_type_char" = yes; then
78731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78733 { as_fn_set_status 77
78734 as_fn_error "cannot compute sizeof (char)
78735 See \`config.log' for more details." "$LINENO" 5; }; }
78736 else
78737 ac_cv_sizeof_char=0
78738 fi
78739 fi
78740
78741 fi
78742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78743 $as_echo "$ac_cv_sizeof_char" >&6; }
78744
78745
78746
78747 cat >>confdefs.h <<_ACEOF
78748 #define SIZEOF_CHAR $ac_cv_sizeof_char
78749 _ACEOF
78750
78751
78752
78753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78754 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78755 case "$ac_cv_sizeof_char" in
78756 1) acx_cv_type_int8_t=char ;;
78757 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78758 esac
78759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78760 $as_echo "$acx_cv_type_int8_t" >&6; }
78761
78762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78763 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78764 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78765 2:*) acx_cv_type_int16_t=int ;;
78766 *:2) acx_cv_type_int16_t=short ;;
78767 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78768 esac
78769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78770 $as_echo "$acx_cv_type_int16_t" >&6; }
78771
78772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78773 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78774 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78775 4:*) acx_cv_type_int32_t=int ;;
78776 *:4) acx_cv_type_int32_t=long ;;
78777 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78778 esac
78779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78780 $as_echo "$acx_cv_type_int32_t" >&6; }
78781 fi
78782
78783 # These tests are here to make the output prettier
78784
78785 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78786 case "$ac_cv_sizeof_long" in
78787 8) acx_cv_type_int64_t=long ;;
78788 esac
78789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78790 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78792 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78793 fi
78794
78795 # Now we can use the above types
78796
78797 if test "$ac_cv_type_uintptr_t" != yes; then
78798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78799 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78800 case $ac_cv_sizeof_void_p in
78801 2) acx_cv_type_intptr_t=int16_t ;;
78802 4) acx_cv_type_intptr_t=int32_t ;;
78803 8) acx_cv_type_intptr_t=int64_t ;;
78804 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78805 esac
78806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78807 $as_echo "$acx_cv_type_intptr_t" >&6; }
78808 fi
78809
78810 # ----------------- done all checks, emit header -------------
78811 ac_config_commands="$ac_config_commands include/gstdint.h"
78812
78813
78814
78815
78816
78817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78818 $as_echo_n "checking for GNU c++filt... " >&6; }
78819 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78820 $as_echo_n "(cached) " >&6
78821 else
78822 if test -z "$CXXFILT"; then
78823 ac_path_CXXFILT_found=false
78824 # Loop through the user's path and test for each of PROGNAME-LIST
78825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78826 for as_dir in $PATH
78827 do
78828 IFS=$as_save_IFS
78829 test -z "$as_dir" && as_dir=.
78830 for ac_prog in c++filt gc++filt; do
78831 for ac_exec_ext in '' $ac_executable_extensions; do
78832 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78833 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78834 # Check for GNU $ac_path_CXXFILT
78835 case `"$ac_path_CXXFILT" --version 2>&1` in
78836 *GNU*)
78837 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78838 esac
78839
78840 $ac_path_CXXFILT_found && break 3
78841 done
78842 done
78843 done
78844 IFS=$as_save_IFS
78845 if test -z "$ac_cv_path_CXXFILT"; then
78846 :
78847 fi
78848 else
78849 ac_cv_path_CXXFILT=$CXXFILT
78850 fi
78851
78852 fi
78853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78854 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78855 CXXFILT=$ac_cv_path_CXXFILT
78856
78857
78858
78859 # Check whether --enable-symvers was given.
78860 if test "${enable_symvers+set}" = set; then :
78861 enableval=$enable_symvers;
78862 case "$enableval" in
78863 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78864 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78865 esac
78866
78867 else
78868 enable_symvers=yes
78869 fi
78870
78871
78872
78873 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78874 # don't know enough about $LD to do tricks...
78875
78876 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78877 # with extern "C++" in version scripts.
78878
78879
78880 # Turn a 'yes' into a suitable default.
78881 if test x$enable_symvers = xyes ; then
78882 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78883 enable_symvers=no
78884 else
78885 if test $with_gnu_ld = yes ; then
78886 case ${target_os} in
78887 hpux*)
78888 enable_symvers=no ;;
78889 *)
78890 enable_symvers=gnu ;;
78891 esac
78892 else
78893 case ${target_os} in
78894 darwin*)
78895 enable_symvers=darwin ;;
78896 # Sun symbol versioning exists since Solaris 2.5.
78897 solaris2.[5-9]* | solaris2.1[0-9]*)
78898 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78899 # version scripts, so disable symbol versioning if none can be
78900 # found.
78901 if test -z "$ac_cv_path_CXXFILT"; then
78902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78903 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78905 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78907 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78908 enable_symvers=no
78909 else
78910 enable_symvers=sun
78911 fi
78912 ;;
78913 *)
78914 enable_symvers=no ;;
78915 esac
78916 fi
78917 fi
78918 fi
78919
78920 # Check to see if 'darwin' or 'darwin-export' can win.
78921 if test x$enable_symvers = xdarwin-export ; then
78922 enable_symvers=darwin
78923 fi
78924
78925 # Check if 'sun' was requested on non-Solaris 2 platforms.
78926 if test x$enable_symvers = xsun ; then
78927 case ${target_os} in
78928 solaris2*)
78929 # All fine.
78930 ;;
78931 *)
78932 # Unlikely to work.
78933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78934 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78936 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78938 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78939 enable_symvers=no
78940 ;;
78941 esac
78942 fi
78943
78944 # Check to see if 'gnu' can win.
78945 if test $enable_symvers = gnu ||
78946 test $enable_symvers = gnu-versioned-namespace ||
78947 test $enable_symvers = sun; then
78948 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78950 $as_echo_n "checking for shared libgcc... " >&6; }
78951 ac_save_CFLAGS="$CFLAGS"
78952 CFLAGS=' -lgcc_s'
78953 if test x$gcc_no_link = xyes; then
78954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78955 fi
78956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78957 /* end confdefs.h. */
78958
78959 int
78960 main ()
78961 {
78962 return 0;
78963 ;
78964 return 0;
78965 }
78966 _ACEOF
78967 if ac_fn_c_try_link "$LINENO"; then :
78968 glibcxx_shared_libgcc=yes
78969 else
78970 glibcxx_shared_libgcc=no
78971 fi
78972 rm -f core conftest.err conftest.$ac_objext \
78973 conftest$ac_exeext conftest.$ac_ext
78974 CFLAGS="$ac_save_CFLAGS"
78975 if test $glibcxx_shared_libgcc = no; then
78976 cat > conftest.c <<EOF
78977 int main (void) { return 0; }
78978 EOF
78979 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78980 -shared -shared-libgcc -o conftest.so \
78981 conftest.c -v 2>&1 >/dev/null \
78982 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78983 rm -f conftest.c conftest.so
78984 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78985 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78986 if test x$gcc_no_link = xyes; then
78987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78988 fi
78989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78990 /* end confdefs.h. */
78991
78992 int
78993 main ()
78994 {
78995 return 0;
78996 ;
78997 return 0;
78998 }
78999 _ACEOF
79000 if ac_fn_c_try_link "$LINENO"; then :
79001 glibcxx_shared_libgcc=yes
79002 fi
79003 rm -f core conftest.err conftest.$ac_objext \
79004 conftest$ac_exeext conftest.$ac_ext
79005 CFLAGS="$ac_save_CFLAGS"
79006 fi
79007 fi
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79009 $as_echo "$glibcxx_shared_libgcc" >&6; }
79010
79011 # For GNU ld, we need at least this version. The format is described in
79012 # GLIBCXX_CHECK_LINKER_FEATURES above.
79013 glibcxx_min_gnu_ld_version=21400
79014
79015 # If no shared libgcc, can't win.
79016 if test $glibcxx_shared_libgcc != yes; then
79017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79018 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79020 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79022 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79023 enable_symvers=no
79024 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79025 : All interesting versions of Sun ld support sun style symbol versioning.
79026 elif test $with_gnu_ld != yes ; then
79027 # just fail for now
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79029 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79031 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79033 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79034 enable_symvers=no
79035 elif test $glibcxx_ld_is_gold = yes ; then
79036 : All versions of gold support symbol versioning.
79037 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79038 # The right tools, the right setup, but too old. Fallbacks?
79039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79040 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79042 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79044 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79046 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79048 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79049 enable_symvers=no
79050 fi
79051 fi
79052
79053 # For libtool versioning info, format is CURRENT:REVISION:AGE
79054 libtool_VERSION=6:23:0
79055
79056 # Everything parsed; figure out what files and settings to use.
79057 case $enable_symvers in
79058 no)
79059 SYMVER_FILE=config/abi/pre/none.ver
79060 ;;
79061 gnu)
79062 SYMVER_FILE=config/abi/pre/gnu.ver
79063
79064 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79065
79066 ;;
79067 gnu-versioned-namespace)
79068 libtool_VERSION=7:0:0
79069 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79070
79071 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79072
79073 ;;
79074 darwin)
79075 SYMVER_FILE=config/abi/pre/gnu.ver
79076
79077 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79078
79079 ;;
79080 sun)
79081 SYMVER_FILE=config/abi/pre/gnu.ver
79082
79083 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79084
79085 ;;
79086 esac
79087
79088 if test x$enable_symvers != xno ; then
79089
79090 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79091
79092 fi
79093
79094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79095 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79096 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79097 $as_echo_n "(cached) " >&6
79098 else
79099
79100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79101 /* end confdefs.h. */
79102 void foo (void); __asm (".symver foo, bar@SYMVER");
79103 int
79104 main ()
79105 {
79106
79107 ;
79108 return 0;
79109 }
79110 _ACEOF
79111 if ac_fn_c_try_compile "$LINENO"; then :
79112 glibcxx_cv_have_as_symver_directive=yes
79113 else
79114 glibcxx_cv_have_as_symver_directive=no
79115 fi
79116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79117 fi
79118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79119 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79120 if test $glibcxx_cv_have_as_symver_directive = yes; then
79121
79122 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79123
79124 fi
79125
79126
79127
79128
79129
79130
79131
79132
79133 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79134 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79135
79136 if test $enable_symvers != no ; then
79137 case ${target_os} in
79138 # The Solaris 2 runtime linker doesn't support the GNU extension of
79139 # binding the same symbol to different versions
79140 solaris2*)
79141 ;;
79142 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79143 *)
79144
79145 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79146
79147 ;;
79148 esac
79149 fi
79150
79151 # Now, set up compatibility support, if any.
79152 # In addition, need this to deal with std::size_t mangling in
79153 # src/compatibility.cc. In a perfect world, could use
79154 # typeid(std::size_t).name()[0] to do direct substitution.
79155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79156 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79157 ac_save_CFLAGS="$CFLAGS"
79158 CFLAGS="-Werror"
79159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79160 /* end confdefs.h. */
79161
79162 int
79163 main ()
79164 {
79165 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79166 ;
79167 return 0;
79168 }
79169 _ACEOF
79170 if ac_fn_c_try_compile "$LINENO"; then :
79171 glibcxx_size_t_is_i=yes
79172 else
79173 glibcxx_size_t_is_i=no
79174 fi
79175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79176 CFLAGS=$ac_save_CFLAGS
79177 if test "$glibcxx_size_t_is_i" = yes; then
79178
79179 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79180
79181 fi
79182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79183 $as_echo "$glibcxx_size_t_is_i" >&6; }
79184
79185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79186 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79187 ac_save_CFLAGS="$CFLAGS"
79188 CFLAGS="-Werror"
79189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79190 /* end confdefs.h. */
79191
79192 int
79193 main ()
79194 {
79195 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79196 ;
79197 return 0;
79198 }
79199 _ACEOF
79200 if ac_fn_c_try_compile "$LINENO"; then :
79201 glibcxx_ptrdiff_t_is_i=yes
79202 else
79203 glibcxx_ptrdiff_t_is_i=no
79204 fi
79205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79206 CFLAGS=$ac_save_CFLAGS
79207 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79208
79209 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79210
79211 fi
79212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79213 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79214
79215
79216
79217
79218 # Check whether --enable-libstdcxx-visibility was given.
79219 if test "${enable_libstdcxx_visibility+set}" = set; then :
79220 enableval=$enable_libstdcxx_visibility;
79221 case "$enableval" in
79222 yes|no) ;;
79223 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79224 esac
79225
79226 else
79227 enable_libstdcxx_visibility=yes
79228 fi
79229
79230
79231
79232 if test x$enable_libstdcxx_visibility = xyes ; then
79233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79234 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79235 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79236 $as_echo_n "(cached) " >&6
79237 else
79238
79239 save_CFLAGS="$CFLAGS"
79240 CFLAGS="$CFLAGS -Werror"
79241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79242 /* end confdefs.h. */
79243 void __attribute__((visibility("hidden"))) foo(void) { }
79244 int
79245 main ()
79246 {
79247
79248 ;
79249 return 0;
79250 }
79251 _ACEOF
79252 if ac_fn_c_try_compile "$LINENO"; then :
79253 glibcxx_cv_have_attribute_visibility=yes
79254 else
79255 glibcxx_cv_have_attribute_visibility=no
79256 fi
79257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79258 CFLAGS="$save_CFLAGS"
79259 fi
79260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79261 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79262 if test $glibcxx_cv_have_attribute_visibility = no; then
79263 enable_libstdcxx_visibility=no
79264 fi
79265 fi
79266
79267
79268 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79269 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79270
79271
79272
79273 # Check whether --enable-libstdcxx-dual-abi was given.
79274 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79275 enableval=$enable_libstdcxx_dual_abi;
79276 case "$enableval" in
79277 yes|no) ;;
79278 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79279 esac
79280
79281 else
79282 enable_libstdcxx_dual_abi=yes
79283 fi
79284
79285
79286 if test x$enable_symvers = xgnu-versioned-namespace; then
79287 # gnu-versioned-namespace is incompatible with the dual ABI.
79288 enable_libstdcxx_dual_abi="no"
79289 fi
79290 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79291 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79292 $as_echo "$as_me: dual ABI is disabled" >&6;}
79293 default_libstdcxx_abi="gcc4-compatible"
79294 fi
79295
79296
79297
79298 if test x$enable_libstdcxx_dual_abi = xyes; then
79299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79300 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79301
79302 # Check whether --with-default-libstdcxx-abi was given.
79303 if test "${with_default_libstdcxx_abi+set}" = set; then :
79304 withval=$with_default_libstdcxx_abi; case "$withval" in
79305 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79306 new|cxx11) default_libstdcxx_abi="new" ;;
79307 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79308 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79309 esac
79310
79311 else
79312 default_libstdcxx_abi="new"
79313 fi
79314
79315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79316 $as_echo "${default_libstdcxx_abi}" >&6; }
79317 fi
79318 if test $default_libstdcxx_abi = "new"; then
79319 glibcxx_cxx11_abi=1
79320 glibcxx_cxx98_abi=0
79321 else
79322 glibcxx_cxx11_abi=0
79323 glibcxx_cxx98_abi=1
79324 fi
79325
79326
79327
79328
79329 ac_ldbl_compat=no
79330 case "$target" in
79331 powerpc*-*-linux* | \
79332 sparc*-*-linux* | \
79333 s390*-*-linux* | \
79334 alpha*-*-linux*)
79335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79336 /* end confdefs.h. */
79337
79338 int
79339 main ()
79340 {
79341
79342 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79343 #error no need for long double compatibility
79344 #endif
79345
79346 ;
79347 return 0;
79348 }
79349 _ACEOF
79350 if ac_fn_c_try_compile "$LINENO"; then :
79351 ac_ldbl_compat=yes
79352 else
79353 ac_ldbl_compat=no
79354 fi
79355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79356 if test "$ac_ldbl_compat" = yes; then
79357
79358 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79359
79360 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79361 fi
79362 esac
79363
79364
79365 # Check if assembler supports disabling hardware capability support.
79366
79367 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79368
79369 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79370 # with a different meaning.
79371 case ${target_os} in
79372 solaris2*)
79373 ac_save_CFLAGS="$CFLAGS"
79374 CFLAGS="$CFLAGS -Wa,-nH"
79375
79376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79377 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79379 /* end confdefs.h. */
79380
79381 int
79382 main ()
79383 {
79384 return 0;
79385 ;
79386 return 0;
79387 }
79388 _ACEOF
79389 if ac_fn_c_try_compile "$LINENO"; then :
79390 ac_hwcap_flags=yes
79391 else
79392 ac_hwcap_flags=no
79393 fi
79394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79395 if test "$ac_hwcap_flags" = "yes"; then
79396 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79397 fi
79398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79399 $as_echo "$ac_hwcap_flags" >&6; }
79400
79401 CFLAGS="$ac_save_CFLAGS"
79402 ;;
79403 esac
79404
79405
79406
79407
79408 # Check if assembler supports rdrand opcode.
79409
79410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79411 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79412 if test "${ac_cv_x86_rdrand+set}" = set; then :
79413 $as_echo_n "(cached) " >&6
79414 else
79415
79416 ac_cv_x86_rdrand=no
79417 case "$target" in
79418 i?86-*-* | \
79419 x86_64-*-*)
79420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79421 /* end confdefs.h. */
79422
79423 int
79424 main ()
79425 {
79426 asm("rdrand %eax");
79427 ;
79428 return 0;
79429 }
79430 _ACEOF
79431 if ac_fn_c_try_compile "$LINENO"; then :
79432 ac_cv_x86_rdrand=yes
79433 else
79434 ac_cv_x86_rdrand=no
79435 fi
79436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79437 esac
79438
79439 fi
79440
79441 if test $ac_cv_x86_rdrand = yes; then
79442
79443 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79444
79445 fi
79446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79447 $as_echo "$ac_cv_x86_rdrand" >&6; }
79448
79449
79450 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79451
79452 if $GLIBCXX_IS_NATIVE ; then
79453 # Do checks for resource limit functions.
79454
79455 setrlimit_have_headers=yes
79456 for ac_header in unistd.h sys/time.h sys/resource.h
79457 do :
79458 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79459 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79460 eval as_val=\$$as_ac_Header
79461 if test "x$as_val" = x""yes; then :
79462 cat >>confdefs.h <<_ACEOF
79463 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79464 _ACEOF
79465
79466 else
79467 setrlimit_have_headers=no
79468 fi
79469
79470 done
79471
79472 # If don't have the headers, then we can't run the tests now, and we
79473 # won't be seeing any of these during testsuite compilation.
79474 if test $setrlimit_have_headers = yes; then
79475 # Can't do these in a loop, else the resulting syntax is wrong.
79476
79477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79478 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79480 /* end confdefs.h. */
79481 #include <unistd.h>
79482 #include <sys/time.h>
79483 #include <sys/resource.h>
79484
79485 int
79486 main ()
79487 {
79488 int f = RLIMIT_DATA ;
79489 ;
79490 return 0;
79491 }
79492 _ACEOF
79493 if ac_fn_c_try_compile "$LINENO"; then :
79494 glibcxx_mresult=1
79495 else
79496 glibcxx_mresult=0
79497 fi
79498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79499
79500 cat >>confdefs.h <<_ACEOF
79501 #define HAVE_LIMIT_DATA $glibcxx_mresult
79502 _ACEOF
79503
79504 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79506 $as_echo "$res" >&6; }
79507
79508
79509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79510 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79512 /* end confdefs.h. */
79513 #include <unistd.h>
79514 #include <sys/time.h>
79515 #include <sys/resource.h>
79516
79517 int
79518 main ()
79519 {
79520 int f = RLIMIT_RSS ;
79521 ;
79522 return 0;
79523 }
79524 _ACEOF
79525 if ac_fn_c_try_compile "$LINENO"; then :
79526 glibcxx_mresult=1
79527 else
79528 glibcxx_mresult=0
79529 fi
79530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79531
79532 cat >>confdefs.h <<_ACEOF
79533 #define HAVE_LIMIT_RSS $glibcxx_mresult
79534 _ACEOF
79535
79536 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79538 $as_echo "$res" >&6; }
79539
79540
79541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79542 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79544 /* end confdefs.h. */
79545 #include <unistd.h>
79546 #include <sys/time.h>
79547 #include <sys/resource.h>
79548
79549 int
79550 main ()
79551 {
79552 int f = RLIMIT_VMEM ;
79553 ;
79554 return 0;
79555 }
79556 _ACEOF
79557 if ac_fn_c_try_compile "$LINENO"; then :
79558 glibcxx_mresult=1
79559 else
79560 glibcxx_mresult=0
79561 fi
79562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79563
79564 cat >>confdefs.h <<_ACEOF
79565 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79566 _ACEOF
79567
79568 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79570 $as_echo "$res" >&6; }
79571
79572
79573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79574 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79576 /* end confdefs.h. */
79577 #include <unistd.h>
79578 #include <sys/time.h>
79579 #include <sys/resource.h>
79580
79581 int
79582 main ()
79583 {
79584 int f = RLIMIT_AS ;
79585 ;
79586 return 0;
79587 }
79588 _ACEOF
79589 if ac_fn_c_try_compile "$LINENO"; then :
79590 glibcxx_mresult=1
79591 else
79592 glibcxx_mresult=0
79593 fi
79594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79595
79596 cat >>confdefs.h <<_ACEOF
79597 #define HAVE_LIMIT_AS $glibcxx_mresult
79598 _ACEOF
79599
79600 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79602 $as_echo "$res" >&6; }
79603
79604
79605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79606 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79608 /* end confdefs.h. */
79609 #include <unistd.h>
79610 #include <sys/time.h>
79611 #include <sys/resource.h>
79612
79613 int
79614 main ()
79615 {
79616 int f = RLIMIT_FSIZE ;
79617 ;
79618 return 0;
79619 }
79620 _ACEOF
79621 if ac_fn_c_try_compile "$LINENO"; then :
79622 glibcxx_mresult=1
79623 else
79624 glibcxx_mresult=0
79625 fi
79626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79627
79628 cat >>confdefs.h <<_ACEOF
79629 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79630 _ACEOF
79631
79632 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79634 $as_echo "$res" >&6; }
79635
79636
79637 # Check for rlimit, setrlimit.
79638 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79639 $as_echo_n "(cached) " >&6
79640 else
79641
79642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79643 /* end confdefs.h. */
79644 #include <unistd.h>
79645 #include <sys/time.h>
79646 #include <sys/resource.h>
79647
79648 int
79649 main ()
79650 {
79651 struct rlimit r;
79652 setrlimit(0, &r);
79653 ;
79654 return 0;
79655 }
79656 _ACEOF
79657 if ac_fn_c_try_compile "$LINENO"; then :
79658 glibcxx_cv_setrlimit=yes
79659 else
79660 glibcxx_cv_setrlimit=no
79661 fi
79662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79663
79664 fi
79665
79666 fi
79667
79668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79669 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79670 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79671 ac_res_limits=yes
79672
79673 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79674
79675 else
79676 ac_res_limits=no
79677 fi
79678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79679 $as_echo "$ac_res_limits" >&6; }
79680
79681
79682 # Look for setenv, so that extended locale tests can be performed.
79683
79684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79685 $as_echo_n "checking for setenv declaration... " >&6; }
79686 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79687 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79688 $as_echo_n "(cached) " >&6
79689 else
79690
79691
79692 ac_ext=cpp
79693 ac_cpp='$CXXCPP $CPPFLAGS'
79694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79697
79698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79699 /* end confdefs.h. */
79700 #include <stdlib.h>
79701 int
79702 main ()
79703 {
79704 setenv(0, 0, 0);
79705 ;
79706 return 0;
79707 }
79708 _ACEOF
79709 if ac_fn_cxx_try_compile "$LINENO"; then :
79710 glibcxx_cv_func_setenv_use=yes
79711 else
79712 glibcxx_cv_func_setenv_use=no
79713 fi
79714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79715 ac_ext=c
79716 ac_cpp='$CPP $CPPFLAGS'
79717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79720
79721
79722 fi
79723
79724 fi
79725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79726 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79727 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79728 for ac_func in setenv
79729 do :
79730 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79731 if test "x$ac_cv_func_setenv" = x""yes; then :
79732 cat >>confdefs.h <<_ACEOF
79733 #define HAVE_SETENV 1
79734 _ACEOF
79735
79736 fi
79737 done
79738
79739 fi
79740
79741 fi
79742
79743 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79744 test $enable_symvers != no; then
79745 case "$host" in
79746 *-*-cygwin*)
79747 enable_abi_check=no ;;
79748 *)
79749 enable_abi_check=yes ;;
79750 esac
79751 else
79752 # Only build this as native, since automake does not understand
79753 # CXX_FOR_BUILD.
79754 enable_abi_check=no
79755 fi
79756
79757 # Export file names for ABI checking.
79758 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79759
79760 baseline_subdir_switch="$abi_baseline_subdir_switch"
79761
79762
79763
79764 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79765
79766 # Check whether --enable-libstdcxx-threads was given.
79767 if test "${enable_libstdcxx_threads+set}" = set; then :
79768 enableval=$enable_libstdcxx_threads;
79769 case "$enableval" in
79770 yes|no) ;;
79771 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79772 esac
79773
79774 else
79775 enable_libstdcxx_threads=auto
79776 fi
79777
79778
79779
79780 if test x$enable_libstdcxx_threads = xauto ||
79781 test x$enable_libstdcxx_threads = xyes; then
79782
79783
79784 ac_ext=cpp
79785 ac_cpp='$CXXCPP $CPPFLAGS'
79786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79789
79790
79791 ac_save_CXXFLAGS="$CXXFLAGS"
79792 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79793 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79794
79795 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79796 case $target_thread_file in
79797 posix)
79798 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79799 esac
79800
79801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79802 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79803
79804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79805 /* end confdefs.h. */
79806 #include <unistd.h>
79807 int
79808 main ()
79809 {
79810
79811 // In case of POSIX threads check _POSIX_TIMEOUTS.
79812 #if (defined(_PTHREADS) \
79813 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79814 #error
79815 #endif
79816
79817 ;
79818 return 0;
79819 }
79820 _ACEOF
79821 if ac_fn_cxx_try_compile "$LINENO"; then :
79822 ac_gthread_use_mutex_timedlock=1
79823 else
79824 ac_gthread_use_mutex_timedlock=0
79825 fi
79826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79827
79828
79829 cat >>confdefs.h <<_ACEOF
79830 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79831 _ACEOF
79832
79833
79834 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79835 else res_mutex_timedlock=no ; fi
79836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79837 $as_echo "$res_mutex_timedlock" >&6; }
79838
79839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79840 $as_echo_n "checking for gthreads library... " >&6; }
79841
79842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79843 /* end confdefs.h. */
79844 #include "gthr.h"
79845 int
79846 main ()
79847 {
79848
79849 #ifndef __GTHREADS_CXX0X
79850 #error
79851 #endif
79852
79853 ;
79854 return 0;
79855 }
79856 _ACEOF
79857 if ac_fn_cxx_try_compile "$LINENO"; then :
79858 ac_has_gthreads=yes
79859 else
79860 ac_has_gthreads=no
79861 fi
79862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79863 else
79864 ac_has_gthreads=no
79865 fi
79866
79867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79868 $as_echo "$ac_has_gthreads" >&6; }
79869
79870 if test x"$ac_has_gthreads" = x"yes"; then
79871
79872 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79873
79874
79875 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79876 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79877 "
79878 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79879
79880 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79881
79882 fi
79883
79884 fi
79885
79886 CXXFLAGS="$ac_save_CXXFLAGS"
79887 ac_ext=c
79888 ac_cpp='$CPP $CPPFLAGS'
79889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79892
79893
79894
79895 # For Filesystem TS.
79896 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79897 do :
79898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79899 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79900 eval as_val=\$$as_ac_Header
79901 if test "x$as_val" = x""yes; then :
79902 cat >>confdefs.h <<_ACEOF
79903 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79904 _ACEOF
79905
79906 fi
79907
79908 done
79909
79910
79911 # Check whether --enable-libstdcxx-filesystem-ts was given.
79912 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79913 enableval=$enable_libstdcxx_filesystem_ts;
79914 case "$enableval" in
79915 yes|no|auto) ;;
79916 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79917 esac
79918
79919 else
79920 enable_libstdcxx_filesystem_ts=auto
79921 fi
79922
79923
79924
79925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79926 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79927 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79928 enable_libstdcxx_filesystem_ts=no
79929 fi
79930 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79931 case "${target_os}" in
79932 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79933 enable_libstdcxx_filesystem_ts=yes
79934 ;;
79935 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79936 enable_libstdcxx_filesystem_ts=yes
79937 ;;
79938 solaris*)
79939 enable_libstdcxx_filesystem_ts=yes
79940 ;;
79941 *)
79942 enable_libstdcxx_filesystem_ts=no
79943 ;;
79944 esac
79945 fi
79946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79947 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79948
79949
79950
79951 ac_ext=cpp
79952 ac_cpp='$CXXCPP $CPPFLAGS'
79953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79956
79957 ac_save_CXXFLAGS="$CXXFLAGS"
79958 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79960 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79961 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79962 $as_echo_n "(cached) " >&6
79963 else
79964 if test x$gcc_no_link = xyes; then
79965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79966 /* end confdefs.h. */
79967 #include <dirent.h>
79968 int
79969 main ()
79970 {
79971
79972 struct dirent d;
79973 if (sizeof d.d_type) return 0;
79974
79975 ;
79976 return 0;
79977 }
79978 _ACEOF
79979 if ac_fn_cxx_try_compile "$LINENO"; then :
79980 glibcxx_cv_dirent_d_type=yes
79981 else
79982 glibcxx_cv_dirent_d_type=no
79983 fi
79984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79985 else
79986 if test x$gcc_no_link = xyes; then
79987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79988 fi
79989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79990 /* end confdefs.h. */
79991 #include <dirent.h>
79992 int
79993 main ()
79994 {
79995
79996 struct dirent d;
79997 if (sizeof d.d_type) return 0;
79998
79999 ;
80000 return 0;
80001 }
80002 _ACEOF
80003 if ac_fn_cxx_try_link "$LINENO"; then :
80004 glibcxx_cv_dirent_d_type=yes
80005 else
80006 glibcxx_cv_dirent_d_type=no
80007 fi
80008 rm -f core conftest.err conftest.$ac_objext \
80009 conftest$ac_exeext conftest.$ac_ext
80010 fi
80011
80012 fi
80013
80014 if test $glibcxx_cv_dirent_d_type = yes; then
80015
80016 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80017
80018 fi
80019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80020 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80022 $as_echo_n "checking for realpath... " >&6; }
80023 if test "${glibcxx_cv_realpath+set}" = set; then :
80024 $as_echo_n "(cached) " >&6
80025 else
80026 if test x$gcc_no_link = xyes; then
80027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80028 /* end confdefs.h. */
80029
80030 #include <stdlib.h>
80031 #include <unistd.h>
80032
80033 int
80034 main ()
80035 {
80036
80037 #if _XOPEN_VERSION < 500
80038 #error
80039 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80040 char *tmp = realpath((const char*)NULL, (char*)NULL);
80041 #else
80042 #error
80043 #endif
80044
80045 ;
80046 return 0;
80047 }
80048 _ACEOF
80049 if ac_fn_cxx_try_compile "$LINENO"; then :
80050 glibcxx_cv_realpath=yes
80051 else
80052 glibcxx_cv_realpath=no
80053 fi
80054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80055 else
80056 if test x$gcc_no_link = xyes; then
80057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80058 fi
80059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80060 /* end confdefs.h. */
80061
80062 #include <stdlib.h>
80063 #include <unistd.h>
80064
80065 int
80066 main ()
80067 {
80068
80069 #if _XOPEN_VERSION < 500
80070 #error
80071 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80072 char *tmp = realpath((const char*)NULL, (char*)NULL);
80073 #else
80074 #error
80075 #endif
80076
80077 ;
80078 return 0;
80079 }
80080 _ACEOF
80081 if ac_fn_cxx_try_link "$LINENO"; then :
80082 glibcxx_cv_realpath=yes
80083 else
80084 glibcxx_cv_realpath=no
80085 fi
80086 rm -f core conftest.err conftest.$ac_objext \
80087 conftest$ac_exeext conftest.$ac_ext
80088 fi
80089
80090 fi
80091
80092 if test $glibcxx_cv_realpath = yes; then
80093
80094 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80095
80096 fi
80097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80098 $as_echo "$glibcxx_cv_realpath" >&6; }
80099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80100 $as_echo_n "checking for utimensat... " >&6; }
80101 if test "${glibcxx_cv_utimensat+set}" = set; then :
80102 $as_echo_n "(cached) " >&6
80103 else
80104 if test x$gcc_no_link = xyes; then
80105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80106 /* end confdefs.h. */
80107
80108 #include <fcntl.h>
80109 #include <sys/stat.h>
80110
80111 int
80112 main ()
80113 {
80114
80115 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80116 int i = utimensat(AT_FDCWD, "path", ts, 0);
80117
80118 ;
80119 return 0;
80120 }
80121 _ACEOF
80122 if ac_fn_cxx_try_compile "$LINENO"; then :
80123 glibcxx_cv_utimensat=yes
80124 else
80125 glibcxx_cv_utimensat=no
80126 fi
80127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80128 else
80129 if test x$gcc_no_link = xyes; then
80130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80131 fi
80132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80133 /* end confdefs.h. */
80134
80135 #include <fcntl.h>
80136 #include <sys/stat.h>
80137
80138 int
80139 main ()
80140 {
80141
80142 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80143 int i = utimensat(AT_FDCWD, "path", ts, 0);
80144
80145 ;
80146 return 0;
80147 }
80148 _ACEOF
80149 if ac_fn_cxx_try_link "$LINENO"; then :
80150 glibcxx_cv_utimensat=yes
80151 else
80152 glibcxx_cv_utimensat=no
80153 fi
80154 rm -f core conftest.err conftest.$ac_objext \
80155 conftest$ac_exeext conftest.$ac_ext
80156 fi
80157
80158 fi
80159
80160 if test $glibcxx_cv_utimensat = yes; then
80161
80162 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80163
80164 fi
80165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80166 $as_echo "$glibcxx_cv_utimensat" >&6; }
80167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80168 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80169 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80170 $as_echo_n "(cached) " >&6
80171 else
80172 if test x$gcc_no_link = xyes; then
80173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80174 /* end confdefs.h. */
80175 #include <sys/stat.h>
80176 int
80177 main ()
80178 {
80179
80180 struct stat st;
80181 return st.st_mtim.tv_nsec;
80182
80183 ;
80184 return 0;
80185 }
80186 _ACEOF
80187 if ac_fn_cxx_try_compile "$LINENO"; then :
80188 glibcxx_cv_st_mtim=yes
80189 else
80190 glibcxx_cv_st_mtim=no
80191 fi
80192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80193 else
80194 if test x$gcc_no_link = xyes; then
80195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80196 fi
80197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80198 /* end confdefs.h. */
80199 #include <sys/stat.h>
80200 int
80201 main ()
80202 {
80203
80204 struct stat st;
80205 return st.st_mtim.tv_nsec;
80206
80207 ;
80208 return 0;
80209 }
80210 _ACEOF
80211 if ac_fn_cxx_try_link "$LINENO"; then :
80212 glibcxx_cv_st_mtim=yes
80213 else
80214 glibcxx_cv_st_mtim=no
80215 fi
80216 rm -f core conftest.err conftest.$ac_objext \
80217 conftest$ac_exeext conftest.$ac_ext
80218 fi
80219
80220 fi
80221
80222 if test $glibcxx_cv_st_mtim = yes; then
80223
80224 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80225
80226 fi
80227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80228 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80230 $as_echo_n "checking for fchmod... " >&6; }
80231 if test "${glibcxx_cv_fchmod+set}" = set; then :
80232 $as_echo_n "(cached) " >&6
80233 else
80234 if test x$gcc_no_link = xyes; then
80235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80236 /* end confdefs.h. */
80237 #include <sys/stat.h>
80238 int
80239 main ()
80240 {
80241 fchmod(1, S_IWUSR);
80242 ;
80243 return 0;
80244 }
80245 _ACEOF
80246 if ac_fn_cxx_try_compile "$LINENO"; then :
80247 glibcxx_cv_fchmod=yes
80248 else
80249 glibcxx_cv_fchmod=no
80250 fi
80251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80252 else
80253 if test x$gcc_no_link = xyes; then
80254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80255 fi
80256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80257 /* end confdefs.h. */
80258 #include <sys/stat.h>
80259 int
80260 main ()
80261 {
80262 fchmod(1, S_IWUSR);
80263 ;
80264 return 0;
80265 }
80266 _ACEOF
80267 if ac_fn_cxx_try_link "$LINENO"; then :
80268 glibcxx_cv_fchmod=yes
80269 else
80270 glibcxx_cv_fchmod=no
80271 fi
80272 rm -f core conftest.err conftest.$ac_objext \
80273 conftest$ac_exeext conftest.$ac_ext
80274 fi
80275
80276 fi
80277
80278 if test $glibcxx_cv_fchmod = yes; then
80279
80280 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80281
80282 fi
80283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80284 $as_echo "$glibcxx_cv_fchmod" >&6; }
80285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80286 $as_echo_n "checking for fchmodat... " >&6; }
80287 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80288 $as_echo_n "(cached) " >&6
80289 else
80290 if test x$gcc_no_link = xyes; then
80291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80292 /* end confdefs.h. */
80293
80294 #include <fcntl.h>
80295 #include <sys/stat.h>
80296
80297 int
80298 main ()
80299 {
80300 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80301 ;
80302 return 0;
80303 }
80304 _ACEOF
80305 if ac_fn_cxx_try_compile "$LINENO"; then :
80306 glibcxx_cv_fchmodat=yes
80307 else
80308 glibcxx_cv_fchmodat=no
80309 fi
80310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80311 else
80312 if test x$gcc_no_link = xyes; then
80313 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80314 fi
80315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80316 /* end confdefs.h. */
80317
80318 #include <fcntl.h>
80319 #include <sys/stat.h>
80320
80321 int
80322 main ()
80323 {
80324 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80325 ;
80326 return 0;
80327 }
80328 _ACEOF
80329 if ac_fn_cxx_try_link "$LINENO"; then :
80330 glibcxx_cv_fchmodat=yes
80331 else
80332 glibcxx_cv_fchmodat=no
80333 fi
80334 rm -f core conftest.err conftest.$ac_objext \
80335 conftest$ac_exeext conftest.$ac_ext
80336 fi
80337
80338 fi
80339
80340 if test $glibcxx_cv_fchmodat = yes; then
80341
80342 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80343
80344 fi
80345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80346 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80348 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80349 if test "${glibcxx_cv_sendfile+set}" = set; then :
80350 $as_echo_n "(cached) " >&6
80351 else
80352 case "${target_os}" in
80353 gnu* | linux* | solaris*)
80354 if test x$gcc_no_link = xyes; then
80355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80356 /* end confdefs.h. */
80357 #include <sys/sendfile.h>
80358 int
80359 main ()
80360 {
80361 sendfile(1, 2, (off_t*)0, sizeof 1);
80362 ;
80363 return 0;
80364 }
80365 _ACEOF
80366 if ac_fn_cxx_try_compile "$LINENO"; then :
80367 glibcxx_cv_sendfile=yes
80368 else
80369 glibcxx_cv_sendfile=no
80370 fi
80371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80372 else
80373 if test x$gcc_no_link = xyes; then
80374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80375 fi
80376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80377 /* end confdefs.h. */
80378 #include <sys/sendfile.h>
80379 int
80380 main ()
80381 {
80382 sendfile(1, 2, (off_t*)0, sizeof 1);
80383 ;
80384 return 0;
80385 }
80386 _ACEOF
80387 if ac_fn_cxx_try_link "$LINENO"; then :
80388 glibcxx_cv_sendfile=yes
80389 else
80390 glibcxx_cv_sendfile=no
80391 fi
80392 rm -f core conftest.err conftest.$ac_objext \
80393 conftest$ac_exeext conftest.$ac_ext
80394 fi
80395 ;;
80396 *)
80397 glibcxx_cv_sendfile=no
80398 ;;
80399 esac
80400
80401 fi
80402
80403 if test $glibcxx_cv_sendfile = yes; then
80404
80405 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80406
80407 fi
80408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80409 $as_echo "$glibcxx_cv_sendfile" >&6; }
80410 CXXFLAGS="$ac_save_CXXFLAGS"
80411 ac_ext=c
80412 ac_cpp='$CPP $CPPFLAGS'
80413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80416
80417
80418
80419 # For Transactional Memory TS
80420
80421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80422 $as_echo_n "checking how size_t is mangled... " >&6; }
80423 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80424 $as_echo_n "(cached) " >&6
80425 else
80426
80427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80428 /* end confdefs.h. */
80429
80430 int
80431 main ()
80432 {
80433 extern __SIZE_TYPE__ x; extern unsigned long x;
80434 ;
80435 return 0;
80436 }
80437 _ACEOF
80438 if ac_fn_c_try_compile "$LINENO"; then :
80439 glibcxx_cv_size_t_mangling=m
80440 else
80441
80442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80443 /* end confdefs.h. */
80444
80445 int
80446 main ()
80447 {
80448 extern __SIZE_TYPE__ x; extern unsigned int x;
80449 ;
80450 return 0;
80451 }
80452 _ACEOF
80453 if ac_fn_c_try_compile "$LINENO"; then :
80454 glibcxx_cv_size_t_mangling=j
80455 else
80456
80457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80458 /* end confdefs.h. */
80459
80460 int
80461 main ()
80462 {
80463 extern __SIZE_TYPE__ x; extern unsigned long long x;
80464 ;
80465 return 0;
80466 }
80467 _ACEOF
80468 if ac_fn_c_try_compile "$LINENO"; then :
80469 glibcxx_cv_size_t_mangling=y
80470 else
80471
80472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80473 /* end confdefs.h. */
80474
80475 int
80476 main ()
80477 {
80478 extern __SIZE_TYPE__ x; extern unsigned short x;
80479 ;
80480 return 0;
80481 }
80482 _ACEOF
80483 if ac_fn_c_try_compile "$LINENO"; then :
80484 glibcxx_cv_size_t_mangling=t
80485 else
80486 glibcxx_cv_size_t_mangling=x
80487 fi
80488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80489
80490 fi
80491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80492
80493 fi
80494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80495
80496 fi
80497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80498
80499 fi
80500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80501 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80502 if test $glibcxx_cv_size_t_mangling = x; then
80503 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80504 fi
80505
80506 cat >>confdefs.h <<_ACEOF
80507 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80508 _ACEOF
80509
80510
80511
80512 # Define documentation rules conditionally.
80513
80514 # See if makeinfo has been installed and is modern enough
80515 # that we can use it.
80516
80517 # Extract the first word of "makeinfo", so it can be a program name with args.
80518 set dummy makeinfo; ac_word=$2
80519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80520 $as_echo_n "checking for $ac_word... " >&6; }
80521 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80522 $as_echo_n "(cached) " >&6
80523 else
80524 if test -n "$MAKEINFO"; then
80525 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80526 else
80527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80528 for as_dir in $PATH
80529 do
80530 IFS=$as_save_IFS
80531 test -z "$as_dir" && as_dir=.
80532 for ac_exec_ext in '' $ac_executable_extensions; do
80533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80534 ac_cv_prog_MAKEINFO="makeinfo"
80535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80536 break 2
80537 fi
80538 done
80539 done
80540 IFS=$as_save_IFS
80541
80542 fi
80543 fi
80544 MAKEINFO=$ac_cv_prog_MAKEINFO
80545 if test -n "$MAKEINFO"; then
80546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80547 $as_echo "$MAKEINFO" >&6; }
80548 else
80549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80550 $as_echo "no" >&6; }
80551 fi
80552
80553
80554 if test -n "$MAKEINFO"; then
80555 # Found it, now check the version.
80556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80557 $as_echo_n "checking for modern makeinfo... " >&6; }
80558 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80559 $as_echo_n "(cached) " >&6
80560 else
80561 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80562 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80563
80564 case $ac_prog_version in
80565 '') gcc_cv_prog_makeinfo_modern=no;;
80566 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80567 *) gcc_cv_prog_makeinfo_modern=no;;
80568 esac
80569
80570 fi
80571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80572 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80573 else
80574 gcc_cv_prog_makeinfo_modern=no
80575 fi
80576 if test $gcc_cv_prog_makeinfo_modern = no; then
80577 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80578 fi
80579
80580 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80581 BUILD_INFO_TRUE=
80582 BUILD_INFO_FALSE='#'
80583 else
80584 BUILD_INFO_TRUE='#'
80585 BUILD_INFO_FALSE=
80586 fi
80587
80588
80589 # Check for doxygen
80590 # Extract the first word of "doxygen", so it can be a program name with args.
80591 set dummy doxygen; ac_word=$2
80592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80593 $as_echo_n "checking for $ac_word... " >&6; }
80594 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80595 $as_echo_n "(cached) " >&6
80596 else
80597 if test -n "$DOXYGEN"; then
80598 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80599 else
80600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80601 for as_dir in $PATH
80602 do
80603 IFS=$as_save_IFS
80604 test -z "$as_dir" && as_dir=.
80605 for ac_exec_ext in '' $ac_executable_extensions; do
80606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80607 ac_cv_prog_DOXYGEN="yes"
80608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80609 break 2
80610 fi
80611 done
80612 done
80613 IFS=$as_save_IFS
80614
80615 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80616 fi
80617 fi
80618 DOXYGEN=$ac_cv_prog_DOXYGEN
80619 if test -n "$DOXYGEN"; then
80620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80621 $as_echo "$DOXYGEN" >&6; }
80622 else
80623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80624 $as_echo "no" >&6; }
80625 fi
80626
80627
80628 # Extract the first word of "dot", so it can be a program name with args.
80629 set dummy dot; ac_word=$2
80630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80631 $as_echo_n "checking for $ac_word... " >&6; }
80632 if test "${ac_cv_prog_DOT+set}" = set; then :
80633 $as_echo_n "(cached) " >&6
80634 else
80635 if test -n "$DOT"; then
80636 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80637 else
80638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80639 for as_dir in $PATH
80640 do
80641 IFS=$as_save_IFS
80642 test -z "$as_dir" && as_dir=.
80643 for ac_exec_ext in '' $ac_executable_extensions; do
80644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80645 ac_cv_prog_DOT="yes"
80646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80647 break 2
80648 fi
80649 done
80650 done
80651 IFS=$as_save_IFS
80652
80653 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80654 fi
80655 fi
80656 DOT=$ac_cv_prog_DOT
80657 if test -n "$DOT"; then
80658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80659 $as_echo "$DOT" >&6; }
80660 else
80661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80662 $as_echo "no" >&6; }
80663 fi
80664
80665
80666
80667 # Check for docbook
80668 # Extract the first word of "xsltproc", so it can be a program name with args.
80669 set dummy xsltproc; ac_word=$2
80670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80671 $as_echo_n "checking for $ac_word... " >&6; }
80672 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80673 $as_echo_n "(cached) " >&6
80674 else
80675 if test -n "$XSLTPROC"; then
80676 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80677 else
80678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80679 for as_dir in $PATH
80680 do
80681 IFS=$as_save_IFS
80682 test -z "$as_dir" && as_dir=.
80683 for ac_exec_ext in '' $ac_executable_extensions; do
80684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80685 ac_cv_prog_XSLTPROC="yes"
80686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80687 break 2
80688 fi
80689 done
80690 done
80691 IFS=$as_save_IFS
80692
80693 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80694 fi
80695 fi
80696 XSLTPROC=$ac_cv_prog_XSLTPROC
80697 if test -n "$XSLTPROC"; then
80698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80699 $as_echo "$XSLTPROC" >&6; }
80700 else
80701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80702 $as_echo "no" >&6; }
80703 fi
80704
80705
80706 # Extract the first word of "xmllint", so it can be a program name with args.
80707 set dummy xmllint; ac_word=$2
80708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80709 $as_echo_n "checking for $ac_word... " >&6; }
80710 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80711 $as_echo_n "(cached) " >&6
80712 else
80713 if test -n "$XMLLINT"; then
80714 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80715 else
80716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80717 for as_dir in $PATH
80718 do
80719 IFS=$as_save_IFS
80720 test -z "$as_dir" && as_dir=.
80721 for ac_exec_ext in '' $ac_executable_extensions; do
80722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80723 ac_cv_prog_XMLLINT="yes"
80724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80725 break 2
80726 fi
80727 done
80728 done
80729 IFS=$as_save_IFS
80730
80731 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80732 fi
80733 fi
80734 XMLLINT=$ac_cv_prog_XMLLINT
80735 if test -n "$XMLLINT"; then
80736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80737 $as_echo "$XMLLINT" >&6; }
80738 else
80739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80740 $as_echo "no" >&6; }
80741 fi
80742
80743
80744
80745
80746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80747 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80748 glibcxx_stylesheets=no
80749 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
80750 glibcxx_stylesheets=yes
80751 fi
80752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80753 $as_echo "$glibcxx_stylesheets" >&6; }
80754
80755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80756 $as_echo_n "checking for local stylesheet directory... " >&6; }
80757 glibcxx_local_stylesheets=no
80758 if test x"$glibcxx_stylesheets" = x"yes"; then
80759 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80760 glibcxx_local_stylesheets=yes
80761 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80762 fi
80763 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80764 glibcxx_local_stylesheets=yes
80765 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80766 fi
80767 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80768 glibcxx_local_stylesheets=yes
80769 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80770 fi
80771 fi
80772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80773 $as_echo "$glibcxx_local_stylesheets" >&6; }
80774
80775 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80776
80777 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80778 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80779 else
80780 glibcxx_stylesheets=no
80781 fi
80782
80783 # Check for epub3 dependencies.
80784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80785 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80786 glibcxx_epub_stylesheets=no
80787 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80788 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80789 glibcxx_epub_stylesheets=yes
80790 fi
80791 fi
80792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80793 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80794 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80795 BUILD_EPUB_TRUE=
80796 BUILD_EPUB_FALSE='#'
80797 else
80798 BUILD_EPUB_TRUE='#'
80799 BUILD_EPUB_FALSE=
80800 fi
80801
80802
80803
80804
80805 # Check for xml/html dependencies.
80806 if test $ac_cv_prog_DOXYGEN = "yes" &&
80807 test $ac_cv_prog_DOT = "yes" &&
80808 test $ac_cv_prog_XSLTPROC = "yes" &&
80809 test $ac_cv_prog_XMLLINT = "yes" &&
80810 test $glibcxx_stylesheets = "yes"; then
80811 BUILD_XML_TRUE=
80812 BUILD_XML_FALSE='#'
80813 else
80814 BUILD_XML_TRUE='#'
80815 BUILD_XML_FALSE=
80816 fi
80817
80818
80819 if test $ac_cv_prog_DOXYGEN = "yes" &&
80820 test $ac_cv_prog_DOT = "yes" &&
80821 test $ac_cv_prog_XSLTPROC = "yes" &&
80822 test $ac_cv_prog_XMLLINT = "yes" &&
80823 test $glibcxx_stylesheets = "yes"; then
80824 BUILD_HTML_TRUE=
80825 BUILD_HTML_FALSE='#'
80826 else
80827 BUILD_HTML_TRUE='#'
80828 BUILD_HTML_FALSE=
80829 fi
80830
80831
80832 # Check for man dependencies.
80833 if test $ac_cv_prog_DOXYGEN = "yes" &&
80834 test $ac_cv_prog_DOT = "yes"; then
80835 BUILD_MAN_TRUE=
80836 BUILD_MAN_FALSE='#'
80837 else
80838 BUILD_MAN_TRUE='#'
80839 BUILD_MAN_FALSE=
80840 fi
80841
80842
80843 # Check for pdf dependencies.
80844 # Extract the first word of "dblatex", so it can be a program name with args.
80845 set dummy dblatex; ac_word=$2
80846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80847 $as_echo_n "checking for $ac_word... " >&6; }
80848 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80849 $as_echo_n "(cached) " >&6
80850 else
80851 if test -n "$DBLATEX"; then
80852 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80853 else
80854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80855 for as_dir in $PATH
80856 do
80857 IFS=$as_save_IFS
80858 test -z "$as_dir" && as_dir=.
80859 for ac_exec_ext in '' $ac_executable_extensions; do
80860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80861 ac_cv_prog_DBLATEX="yes"
80862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80863 break 2
80864 fi
80865 done
80866 done
80867 IFS=$as_save_IFS
80868
80869 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80870 fi
80871 fi
80872 DBLATEX=$ac_cv_prog_DBLATEX
80873 if test -n "$DBLATEX"; then
80874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80875 $as_echo "$DBLATEX" >&6; }
80876 else
80877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80878 $as_echo "no" >&6; }
80879 fi
80880
80881
80882 # Extract the first word of "pdflatex", so it can be a program name with args.
80883 set dummy pdflatex; ac_word=$2
80884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80885 $as_echo_n "checking for $ac_word... " >&6; }
80886 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80887 $as_echo_n "(cached) " >&6
80888 else
80889 if test -n "$PDFLATEX"; then
80890 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80891 else
80892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80893 for as_dir in $PATH
80894 do
80895 IFS=$as_save_IFS
80896 test -z "$as_dir" && as_dir=.
80897 for ac_exec_ext in '' $ac_executable_extensions; do
80898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80899 ac_cv_prog_PDFLATEX="yes"
80900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80901 break 2
80902 fi
80903 done
80904 done
80905 IFS=$as_save_IFS
80906
80907 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80908 fi
80909 fi
80910 PDFLATEX=$ac_cv_prog_PDFLATEX
80911 if test -n "$PDFLATEX"; then
80912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80913 $as_echo "$PDFLATEX" >&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 $ac_cv_prog_DBLATEX = "yes" &&
80921 test $ac_cv_prog_PDFLATEX = "yes"; then
80922 BUILD_PDF_TRUE=
80923 BUILD_PDF_FALSE='#'
80924 else
80925 BUILD_PDF_TRUE='#'
80926 BUILD_PDF_FALSE=
80927 fi
80928
80929
80930
80931 # Propagate the target-specific source directories through the build chain.
80932 ATOMICITY_SRCDIR=config/${atomicity_dir}
80933 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80934 ATOMIC_FLAGS=${atomic_flags}
80935 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80936 OS_INC_SRCDIR=config/${os_include_dir}
80937 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80938 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80939 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80940 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80941
80942
80943
80944
80945
80946
80947
80948
80949
80950
80951
80952 # Determine cross-compile flags and AM_CONDITIONALs.
80953 #AC_SUBST(GLIBCXX_IS_NATIVE)
80954 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80955 if test $is_hosted = yes; then
80956 GLIBCXX_HOSTED_TRUE=
80957 GLIBCXX_HOSTED_FALSE='#'
80958 else
80959 GLIBCXX_HOSTED_TRUE='#'
80960 GLIBCXX_HOSTED_FALSE=
80961 fi
80962
80963
80964 if test $enable_libstdcxx_pch = yes; then
80965 GLIBCXX_BUILD_PCH_TRUE=
80966 GLIBCXX_BUILD_PCH_FALSE='#'
80967 else
80968 GLIBCXX_BUILD_PCH_TRUE='#'
80969 GLIBCXX_BUILD_PCH_FALSE=
80970 fi
80971
80972
80973 if test $enable_libstdcxx_allocator_flag = new; then
80974 ENABLE_ALLOCATOR_NEW_TRUE=
80975 ENABLE_ALLOCATOR_NEW_FALSE='#'
80976 else
80977 ENABLE_ALLOCATOR_NEW_TRUE='#'
80978 ENABLE_ALLOCATOR_NEW_FALSE=
80979 fi
80980
80981
80982 if test $enable_cheaders = c; then
80983 GLIBCXX_C_HEADERS_C_TRUE=
80984 GLIBCXX_C_HEADERS_C_FALSE='#'
80985 else
80986 GLIBCXX_C_HEADERS_C_TRUE='#'
80987 GLIBCXX_C_HEADERS_C_FALSE=
80988 fi
80989
80990
80991 if test $enable_cheaders = c_std; then
80992 GLIBCXX_C_HEADERS_C_STD_TRUE=
80993 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
80994 else
80995 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
80996 GLIBCXX_C_HEADERS_C_STD_FALSE=
80997 fi
80998
80999
81000 if test $enable_cheaders = c_global; then
81001 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81002 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81003 else
81004 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81005 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81006 fi
81007
81008
81009 if test $c_compatibility = yes; then
81010 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81011 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81012 else
81013 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81014 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81015 fi
81016
81017
81018 if test $enable_libstdcxx_debug = yes; then
81019 GLIBCXX_BUILD_DEBUG_TRUE=
81020 GLIBCXX_BUILD_DEBUG_FALSE='#'
81021 else
81022 GLIBCXX_BUILD_DEBUG_TRUE='#'
81023 GLIBCXX_BUILD_DEBUG_FALSE=
81024 fi
81025
81026
81027 if test $enable_extern_template = yes; then
81028 ENABLE_EXTERN_TEMPLATE_TRUE=
81029 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81030 else
81031 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81032 ENABLE_EXTERN_TEMPLATE_FALSE=
81033 fi
81034
81035
81036 if test $python_mod_dir != no; then
81037 ENABLE_PYTHONDIR_TRUE=
81038 ENABLE_PYTHONDIR_FALSE='#'
81039 else
81040 ENABLE_PYTHONDIR_TRUE='#'
81041 ENABLE_PYTHONDIR_FALSE=
81042 fi
81043
81044
81045 if test $enable_werror = yes; then
81046 ENABLE_WERROR_TRUE=
81047 ENABLE_WERROR_FALSE='#'
81048 else
81049 ENABLE_WERROR_TRUE='#'
81050 ENABLE_WERROR_FALSE=
81051 fi
81052
81053
81054 if test $enable_vtable_verify = yes; then
81055 ENABLE_VTABLE_VERIFY_TRUE=
81056 ENABLE_VTABLE_VERIFY_FALSE='#'
81057 else
81058 ENABLE_VTABLE_VERIFY_TRUE='#'
81059 ENABLE_VTABLE_VERIFY_FALSE=
81060 fi
81061
81062
81063 if test $enable_symvers != no; then
81064 ENABLE_SYMVERS_TRUE=
81065 ENABLE_SYMVERS_FALSE='#'
81066 else
81067 ENABLE_SYMVERS_TRUE='#'
81068 ENABLE_SYMVERS_FALSE=
81069 fi
81070
81071
81072 if test $enable_symvers = gnu; then
81073 ENABLE_SYMVERS_GNU_TRUE=
81074 ENABLE_SYMVERS_GNU_FALSE='#'
81075 else
81076 ENABLE_SYMVERS_GNU_TRUE='#'
81077 ENABLE_SYMVERS_GNU_FALSE=
81078 fi
81079
81080
81081 if test $enable_symvers = gnu-versioned-namespace; then
81082 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81083 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81084 else
81085 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81086 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81087 fi
81088
81089
81090 if test $enable_symvers = darwin; then
81091 ENABLE_SYMVERS_DARWIN_TRUE=
81092 ENABLE_SYMVERS_DARWIN_FALSE='#'
81093 else
81094 ENABLE_SYMVERS_DARWIN_TRUE='#'
81095 ENABLE_SYMVERS_DARWIN_FALSE=
81096 fi
81097
81098
81099 if test $enable_symvers = sun; then
81100 ENABLE_SYMVERS_SUN_TRUE=
81101 ENABLE_SYMVERS_SUN_FALSE='#'
81102 else
81103 ENABLE_SYMVERS_SUN_TRUE='#'
81104 ENABLE_SYMVERS_SUN_FALSE=
81105 fi
81106
81107
81108 if test $enable_libstdcxx_visibility = yes; then
81109 ENABLE_VISIBILITY_TRUE=
81110 ENABLE_VISIBILITY_FALSE='#'
81111 else
81112 ENABLE_VISIBILITY_TRUE='#'
81113 ENABLE_VISIBILITY_FALSE=
81114 fi
81115
81116
81117 if test $enable_libstdcxx_dual_abi = yes; then
81118 ENABLE_DUAL_ABI_TRUE=
81119 ENABLE_DUAL_ABI_FALSE='#'
81120 else
81121 ENABLE_DUAL_ABI_TRUE='#'
81122 ENABLE_DUAL_ABI_FALSE=
81123 fi
81124
81125
81126 if test $glibcxx_cxx11_abi = 1; then
81127 ENABLE_CXX11_ABI_TRUE=
81128 ENABLE_CXX11_ABI_FALSE='#'
81129 else
81130 ENABLE_CXX11_ABI_TRUE='#'
81131 ENABLE_CXX11_ABI_FALSE=
81132 fi
81133
81134
81135 if test $ac_ldbl_compat = yes; then
81136 GLIBCXX_LDBL_COMPAT_TRUE=
81137 GLIBCXX_LDBL_COMPAT_FALSE='#'
81138 else
81139 GLIBCXX_LDBL_COMPAT_TRUE='#'
81140 GLIBCXX_LDBL_COMPAT_FALSE=
81141 fi
81142
81143
81144 if test $enable_libstdcxx_filesystem_ts = yes; then
81145 ENABLE_FILESYSTEM_TS_TRUE=
81146 ENABLE_FILESYSTEM_TS_FALSE='#'
81147 else
81148 ENABLE_FILESYSTEM_TS_TRUE='#'
81149 ENABLE_FILESYSTEM_TS_FALSE=
81150 fi
81151
81152
81153
81154
81155 cat >confcache <<\_ACEOF
81156 # This file is a shell script that caches the results of configure
81157 # tests run on this system so they can be shared between configure
81158 # scripts and configure runs, see configure's option --config-cache.
81159 # It is not useful on other systems. If it contains results you don't
81160 # want to keep, you may remove or edit it.
81161 #
81162 # config.status only pays attention to the cache file if you give it
81163 # the --recheck option to rerun configure.
81164 #
81165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81167 # following values.
81168
81169 _ACEOF
81170
81171 # The following way of writing the cache mishandles newlines in values,
81172 # but we know of no workaround that is simple, portable, and efficient.
81173 # So, we kill variables containing newlines.
81174 # Ultrix sh set writes to stderr and can't be redirected directly,
81175 # and sets the high bit in the cache file unless we assign to the vars.
81176 (
81177 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81178 eval ac_val=\$$ac_var
81179 case $ac_val in #(
81180 *${as_nl}*)
81181 case $ac_var in #(
81182 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81183 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81184 esac
81185 case $ac_var in #(
81186 _ | IFS | as_nl) ;; #(
81187 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81188 *) { eval $ac_var=; unset $ac_var;} ;;
81189 esac ;;
81190 esac
81191 done
81192
81193 (set) 2>&1 |
81194 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81195 *${as_nl}ac_space=\ *)
81196 # `set' does not quote correctly, so add quotes: double-quote
81197 # substitution turns \\\\ into \\, and sed turns \\ into \.
81198 sed -n \
81199 "s/'/'\\\\''/g;
81200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81201 ;; #(
81202 *)
81203 # `set' quotes correctly as required by POSIX, so do not add quotes.
81204 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81205 ;;
81206 esac |
81207 sort
81208 ) |
81209 sed '
81210 /^ac_cv_env_/b end
81211 t clear
81212 :clear
81213 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81214 t end
81215 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81216 :end' >>confcache
81217 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81218 if test -w "$cache_file"; then
81219 test "x$cache_file" != "x/dev/null" &&
81220 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81221 $as_echo "$as_me: updating cache $cache_file" >&6;}
81222 cat confcache >$cache_file
81223 else
81224 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81225 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81226 fi
81227 fi
81228 rm -f confcache
81229
81230 if test ${multilib} = yes; then
81231 multilib_arg="--enable-multilib"
81232 else
81233 multilib_arg=
81234 fi
81235
81236 # Export all the install information.
81237
81238 glibcxx_toolexecdir=no
81239 glibcxx_toolexeclibdir=no
81240 glibcxx_prefixdir=$prefix
81241
81242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81243 $as_echo_n "checking for gxx-include-dir... " >&6; }
81244
81245 # Check whether --with-gxx-include-dir was given.
81246 if test "${with_gxx_include_dir+set}" = set; then :
81247 withval=$with_gxx_include_dir; case "$withval" in
81248 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81249 no) gxx_include_dir=no ;;
81250 *) gxx_include_dir=$withval ;;
81251 esac
81252 else
81253 gxx_include_dir=no
81254 fi
81255
81256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81257 $as_echo "$gxx_include_dir" >&6; }
81258
81259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81260 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81261 # Check whether --enable-version-specific-runtime-libs was given.
81262 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81263 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81264 yes) version_specific_libs=yes ;;
81265 no) version_specific_libs=no ;;
81266 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81267 esac
81268 else
81269 version_specific_libs=no
81270 fi
81271
81272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81273 $as_echo "$version_specific_libs" >&6; }
81274
81275 # Default case for install directory for include files.
81276 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81277 gxx_include_dir='include/c++/${gcc_version}'
81278 if test -n "$with_cross_host" &&
81279 test x"$with_cross_host" != x"no"; then
81280 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81281 else
81282 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81283 fi
81284 fi
81285
81286 # Version-specific runtime libs processing.
81287 if test $version_specific_libs = yes; then
81288 # Need the gcc compiler version to know where to install libraries
81289 # and header files if --enable-version-specific-runtime-libs option
81290 # is selected. FIXME: these variables are misnamed, there are
81291 # no executables installed in _toolexecdir or _toolexeclibdir.
81292 if test x"$gxx_include_dir" = x"no"; then
81293 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81294 fi
81295 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81296 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81297 fi
81298
81299 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81300 # Install a library built with a cross compiler in tooldir, not libdir.
81301 if test x"$glibcxx_toolexecdir" = x"no"; then
81302 if test -n "$with_cross_host" &&
81303 test x"$with_cross_host" != x"no"; then
81304 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81305 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81306 else
81307 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81308 glibcxx_toolexeclibdir='${libdir}'
81309 fi
81310 multi_os_directory=`$CXX -print-multi-os-directory`
81311 case $multi_os_directory in
81312 .) ;; # Avoid trailing /.
81313 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81314 esac
81315 fi
81316
81317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81318 $as_echo_n "checking for install location... " >&6; }
81319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81320 $as_echo "$gxx_include_dir" >&6; }
81321
81322
81323
81324
81325
81326
81327
81328 # Export all the include and flag information to Makefiles.
81329
81330 # Used for every C++ compile we perform.
81331 GLIBCXX_INCLUDES="\
81332 -I$glibcxx_builddir/include/$host_alias \
81333 -I$glibcxx_builddir/include \
81334 -I$glibcxx_srcdir/libsupc++"
81335
81336 # For Canadian crosses, pick this up too.
81337 if test $CANADIAN = yes; then
81338 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81339 fi
81340
81341 # Stuff in the actual top level. Currently only used by libsupc++ to
81342 # get unwind* headers from the libgcc dir.
81343 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81344 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81345
81346 # Now, export this to all the little Makefiles....
81347
81348
81349
81350
81351 # Optimization flags that are probably a good idea for thrill-seekers. Just
81352 # uncomment the lines below and make, everything else is ready to go...
81353 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81354 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81355
81356
81357 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81358
81359
81360
81361 ac_config_files="$ac_config_files Makefile"
81362
81363 ac_config_files="$ac_config_files scripts/testsuite_flags"
81364
81365 ac_config_files="$ac_config_files scripts/extract_symvers"
81366
81367 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81368
81369
81370 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81371 # that multilib installs will end up installed in the correct place.
81372 # The testsuite needs it for multilib-aware ABI baseline files.
81373 # To work around this not being passed down from config-ml.in ->
81374 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81375 # append it here. Only modify Makefiles that have just been created.
81376 #
81377 # Also, get rid of this simulated-VPATH thing that automake does.
81378 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81379
81380
81381 ac_config_commands="$ac_config_commands generate-headers"
81382
81383
81384 cat >confcache <<\_ACEOF
81385 # This file is a shell script that caches the results of configure
81386 # tests run on this system so they can be shared between configure
81387 # scripts and configure runs, see configure's option --config-cache.
81388 # It is not useful on other systems. If it contains results you don't
81389 # want to keep, you may remove or edit it.
81390 #
81391 # config.status only pays attention to the cache file if you give it
81392 # the --recheck option to rerun configure.
81393 #
81394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81396 # following values.
81397
81398 _ACEOF
81399
81400 # The following way of writing the cache mishandles newlines in values,
81401 # but we know of no workaround that is simple, portable, and efficient.
81402 # So, we kill variables containing newlines.
81403 # Ultrix sh set writes to stderr and can't be redirected directly,
81404 # and sets the high bit in the cache file unless we assign to the vars.
81405 (
81406 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81407 eval ac_val=\$$ac_var
81408 case $ac_val in #(
81409 *${as_nl}*)
81410 case $ac_var in #(
81411 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81412 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81413 esac
81414 case $ac_var in #(
81415 _ | IFS | as_nl) ;; #(
81416 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81417 *) { eval $ac_var=; unset $ac_var;} ;;
81418 esac ;;
81419 esac
81420 done
81421
81422 (set) 2>&1 |
81423 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81424 *${as_nl}ac_space=\ *)
81425 # `set' does not quote correctly, so add quotes: double-quote
81426 # substitution turns \\\\ into \\, and sed turns \\ into \.
81427 sed -n \
81428 "s/'/'\\\\''/g;
81429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81430 ;; #(
81431 *)
81432 # `set' quotes correctly as required by POSIX, so do not add quotes.
81433 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81434 ;;
81435 esac |
81436 sort
81437 ) |
81438 sed '
81439 /^ac_cv_env_/b end
81440 t clear
81441 :clear
81442 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81443 t end
81444 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81445 :end' >>confcache
81446 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81447 if test -w "$cache_file"; then
81448 test "x$cache_file" != "x/dev/null" &&
81449 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81450 $as_echo "$as_me: updating cache $cache_file" >&6;}
81451 cat confcache >$cache_file
81452 else
81453 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81454 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81455 fi
81456 fi
81457 rm -f confcache
81458
81459 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81460 # Let make expand exec_prefix.
81461 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81462
81463 DEFS=-DHAVE_CONFIG_H
81464
81465 ac_libobjs=
81466 ac_ltlibobjs=
81467 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81468 # 1. Remove the extension, and $U if already installed.
81469 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81470 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81471 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81472 # will be set to the directory where LIBOBJS objects are built.
81473 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81474 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81475 done
81476 LIBOBJS=$ac_libobjs
81477
81478 LTLIBOBJS=$ac_ltlibobjs
81479
81480
81481 if test -n "$EXEEXT"; then
81482 am__EXEEXT_TRUE=
81483 am__EXEEXT_FALSE='#'
81484 else
81485 am__EXEEXT_TRUE='#'
81486 am__EXEEXT_FALSE=
81487 fi
81488
81489 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81490 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81492 fi
81493 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81494 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81496 fi
81497 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81498 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81500 fi
81501 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81502 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81504 fi
81505 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81506 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81508 fi
81509 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81510 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81512 fi
81513 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81514 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81516 fi
81517 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81518 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81520 fi
81521 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81522 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81524 fi
81525 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81526 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81528 fi
81529 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81530 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81532 fi
81533 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81534 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81536 fi
81537 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81538 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81540 fi
81541 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81542 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81544 fi
81545 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81546 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81548 fi
81549 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81550 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81552 fi
81553 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81554 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81556 fi
81557 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81558 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81560 fi
81561 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81562 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81564 fi
81565 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81566 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81568 fi
81569 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81570 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81572 fi
81573 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81574 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81576 fi
81577 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81578 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81580 fi
81581 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81582 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81584 fi
81585 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81586 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81588 fi
81589 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81590 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81592 fi
81593 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81594 as_fn_error "conditional \"BUILD_XML\" was never defined.
81595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81596 fi
81597 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81598 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81600 fi
81601 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81602 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81604 fi
81605 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81606 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81608 fi
81609
81610 : ${CONFIG_STATUS=./config.status}
81611 ac_write_fail=0
81612 ac_clean_files_save=$ac_clean_files
81613 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81615 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81616 as_write_fail=0
81617 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81618 #! $SHELL
81619 # Generated by $as_me.
81620 # Run this file to recreate the current configuration.
81621 # Compiler output produced by configure, useful for debugging
81622 # configure, is in config.log if it exists.
81623
81624 debug=false
81625 ac_cs_recheck=false
81626 ac_cs_silent=false
81627
81628 SHELL=\${CONFIG_SHELL-$SHELL}
81629 export SHELL
81630 _ASEOF
81631 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81632 ## -------------------- ##
81633 ## M4sh Initialization. ##
81634 ## -------------------- ##
81635
81636 # Be more Bourne compatible
81637 DUALCASE=1; export DUALCASE # for MKS sh
81638 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81639 emulate sh
81640 NULLCMD=:
81641 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81642 # is contrary to our usage. Disable this feature.
81643 alias -g '${1+"$@"}'='"$@"'
81644 setopt NO_GLOB_SUBST
81645 else
81646 case `(set -o) 2>/dev/null` in #(
81647 *posix*) :
81648 set -o posix ;; #(
81649 *) :
81650 ;;
81651 esac
81652 fi
81653
81654
81655 as_nl='
81656 '
81657 export as_nl
81658 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81659 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81661 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81662 # Prefer a ksh shell builtin over an external printf program on Solaris,
81663 # but without wasting forks for bash or zsh.
81664 if test -z "$BASH_VERSION$ZSH_VERSION" \
81665 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81666 as_echo='print -r --'
81667 as_echo_n='print -rn --'
81668 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81669 as_echo='printf %s\n'
81670 as_echo_n='printf %s'
81671 else
81672 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81673 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81674 as_echo_n='/usr/ucb/echo -n'
81675 else
81676 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81677 as_echo_n_body='eval
81678 arg=$1;
81679 case $arg in #(
81680 *"$as_nl"*)
81681 expr "X$arg" : "X\\(.*\\)$as_nl";
81682 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81683 esac;
81684 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81685 '
81686 export as_echo_n_body
81687 as_echo_n='sh -c $as_echo_n_body as_echo'
81688 fi
81689 export as_echo_body
81690 as_echo='sh -c $as_echo_body as_echo'
81691 fi
81692
81693 # The user is always right.
81694 if test "${PATH_SEPARATOR+set}" != set; then
81695 PATH_SEPARATOR=:
81696 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81697 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81698 PATH_SEPARATOR=';'
81699 }
81700 fi
81701
81702
81703 # IFS
81704 # We need space, tab and new line, in precisely that order. Quoting is
81705 # there to prevent editors from complaining about space-tab.
81706 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81707 # splitting by setting IFS to empty value.)
81708 IFS=" "" $as_nl"
81709
81710 # Find who we are. Look in the path if we contain no directory separator.
81711 case $0 in #((
81712 *[\\/]* ) as_myself=$0 ;;
81713 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81714 for as_dir in $PATH
81715 do
81716 IFS=$as_save_IFS
81717 test -z "$as_dir" && as_dir=.
81718 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81719 done
81720 IFS=$as_save_IFS
81721
81722 ;;
81723 esac
81724 # We did not find ourselves, most probably we were run as `sh COMMAND'
81725 # in which case we are not to be found in the path.
81726 if test "x$as_myself" = x; then
81727 as_myself=$0
81728 fi
81729 if test ! -f "$as_myself"; then
81730 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81731 exit 1
81732 fi
81733
81734 # Unset variables that we do not need and which cause bugs (e.g. in
81735 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81736 # suppresses any "Segmentation fault" message there. '((' could
81737 # trigger a bug in pdksh 5.2.14.
81738 for as_var in BASH_ENV ENV MAIL MAILPATH
81739 do eval test x\${$as_var+set} = xset \
81740 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81741 done
81742 PS1='$ '
81743 PS2='> '
81744 PS4='+ '
81745
81746 # NLS nuisances.
81747 LC_ALL=C
81748 export LC_ALL
81749 LANGUAGE=C
81750 export LANGUAGE
81751
81752 # CDPATH.
81753 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81754
81755
81756 # as_fn_error ERROR [LINENO LOG_FD]
81757 # ---------------------------------
81758 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81759 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81760 # script with status $?, using 1 if that was 0.
81761 as_fn_error ()
81762 {
81763 as_status=$?; test $as_status -eq 0 && as_status=1
81764 if test "$3"; then
81765 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81766 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81767 fi
81768 $as_echo "$as_me: error: $1" >&2
81769 as_fn_exit $as_status
81770 } # as_fn_error
81771
81772
81773 # as_fn_set_status STATUS
81774 # -----------------------
81775 # Set $? to STATUS, without forking.
81776 as_fn_set_status ()
81777 {
81778 return $1
81779 } # as_fn_set_status
81780
81781 # as_fn_exit STATUS
81782 # -----------------
81783 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81784 as_fn_exit ()
81785 {
81786 set +e
81787 as_fn_set_status $1
81788 exit $1
81789 } # as_fn_exit
81790
81791 # as_fn_unset VAR
81792 # ---------------
81793 # Portably unset VAR.
81794 as_fn_unset ()
81795 {
81796 { eval $1=; unset $1;}
81797 }
81798 as_unset=as_fn_unset
81799 # as_fn_append VAR VALUE
81800 # ----------------------
81801 # Append the text in VALUE to the end of the definition contained in VAR. Take
81802 # advantage of any shell optimizations that allow amortized linear growth over
81803 # repeated appends, instead of the typical quadratic growth present in naive
81804 # implementations.
81805 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81806 eval 'as_fn_append ()
81807 {
81808 eval $1+=\$2
81809 }'
81810 else
81811 as_fn_append ()
81812 {
81813 eval $1=\$$1\$2
81814 }
81815 fi # as_fn_append
81816
81817 # as_fn_arith ARG...
81818 # ------------------
81819 # Perform arithmetic evaluation on the ARGs, and store the result in the
81820 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81821 # must be portable across $(()) and expr.
81822 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81823 eval 'as_fn_arith ()
81824 {
81825 as_val=$(( $* ))
81826 }'
81827 else
81828 as_fn_arith ()
81829 {
81830 as_val=`expr "$@" || test $? -eq 1`
81831 }
81832 fi # as_fn_arith
81833
81834
81835 if expr a : '\(a\)' >/dev/null 2>&1 &&
81836 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81837 as_expr=expr
81838 else
81839 as_expr=false
81840 fi
81841
81842 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81843 as_basename=basename
81844 else
81845 as_basename=false
81846 fi
81847
81848 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81849 as_dirname=dirname
81850 else
81851 as_dirname=false
81852 fi
81853
81854 as_me=`$as_basename -- "$0" ||
81855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81856 X"$0" : 'X\(//\)$' \| \
81857 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81858 $as_echo X/"$0" |
81859 sed '/^.*\/\([^/][^/]*\)\/*$/{
81860 s//\1/
81861 q
81862 }
81863 /^X\/\(\/\/\)$/{
81864 s//\1/
81865 q
81866 }
81867 /^X\/\(\/\).*/{
81868 s//\1/
81869 q
81870 }
81871 s/.*/./; q'`
81872
81873 # Avoid depending upon Character Ranges.
81874 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81875 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81876 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81877 as_cr_digits='0123456789'
81878 as_cr_alnum=$as_cr_Letters$as_cr_digits
81879
81880 ECHO_C= ECHO_N= ECHO_T=
81881 case `echo -n x` in #(((((
81882 -n*)
81883 case `echo 'xy\c'` in
81884 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81885 xy) ECHO_C='\c';;
81886 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81887 ECHO_T=' ';;
81888 esac;;
81889 *)
81890 ECHO_N='-n';;
81891 esac
81892
81893 rm -f conf$$ conf$$.exe conf$$.file
81894 if test -d conf$$.dir; then
81895 rm -f conf$$.dir/conf$$.file
81896 else
81897 rm -f conf$$.dir
81898 mkdir conf$$.dir 2>/dev/null
81899 fi
81900 if (echo >conf$$.file) 2>/dev/null; then
81901 if ln -s conf$$.file conf$$ 2>/dev/null; then
81902 as_ln_s='ln -s'
81903 # ... but there are two gotchas:
81904 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81905 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81906 # In both cases, we have to default to `cp -p'.
81907 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81908 as_ln_s='cp -p'
81909 elif ln conf$$.file conf$$ 2>/dev/null; then
81910 as_ln_s=ln
81911 else
81912 as_ln_s='cp -p'
81913 fi
81914 else
81915 as_ln_s='cp -p'
81916 fi
81917 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81918 rmdir conf$$.dir 2>/dev/null
81919
81920
81921 # as_fn_mkdir_p
81922 # -------------
81923 # Create "$as_dir" as a directory, including parents if necessary.
81924 as_fn_mkdir_p ()
81925 {
81926
81927 case $as_dir in #(
81928 -*) as_dir=./$as_dir;;
81929 esac
81930 test -d "$as_dir" || eval $as_mkdir_p || {
81931 as_dirs=
81932 while :; do
81933 case $as_dir in #(
81934 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81935 *) as_qdir=$as_dir;;
81936 esac
81937 as_dirs="'$as_qdir' $as_dirs"
81938 as_dir=`$as_dirname -- "$as_dir" ||
81939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81940 X"$as_dir" : 'X\(//\)[^/]' \| \
81941 X"$as_dir" : 'X\(//\)$' \| \
81942 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81943 $as_echo X"$as_dir" |
81944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81945 s//\1/
81946 q
81947 }
81948 /^X\(\/\/\)[^/].*/{
81949 s//\1/
81950 q
81951 }
81952 /^X\(\/\/\)$/{
81953 s//\1/
81954 q
81955 }
81956 /^X\(\/\).*/{
81957 s//\1/
81958 q
81959 }
81960 s/.*/./; q'`
81961 test -d "$as_dir" && break
81962 done
81963 test -z "$as_dirs" || eval "mkdir $as_dirs"
81964 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81965
81966
81967 } # as_fn_mkdir_p
81968 if mkdir -p . 2>/dev/null; then
81969 as_mkdir_p='mkdir -p "$as_dir"'
81970 else
81971 test -d ./-p && rmdir ./-p
81972 as_mkdir_p=false
81973 fi
81974
81975 if test -x / >/dev/null 2>&1; then
81976 as_test_x='test -x'
81977 else
81978 if ls -dL / >/dev/null 2>&1; then
81979 as_ls_L_option=L
81980 else
81981 as_ls_L_option=
81982 fi
81983 as_test_x='
81984 eval sh -c '\''
81985 if test -d "$1"; then
81986 test -d "$1/.";
81987 else
81988 case $1 in #(
81989 -*)set "./$1";;
81990 esac;
81991 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
81992 ???[sx]*):;;*)false;;esac;fi
81993 '\'' sh
81994 '
81995 fi
81996 as_executable_p=$as_test_x
81997
81998 # Sed expression to map a string onto a valid CPP name.
81999 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82000
82001 # Sed expression to map a string onto a valid variable name.
82002 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82003
82004
82005 exec 6>&1
82006 ## ----------------------------------- ##
82007 ## Main body of $CONFIG_STATUS script. ##
82008 ## ----------------------------------- ##
82009 _ASEOF
82010 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82011
82012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82013 # Save the log message, to keep $0 and so on meaningful, and to
82014 # report actual input values of CONFIG_FILES etc. instead of their
82015 # values after options handling.
82016 ac_log="
82017 This file was extended by package-unused $as_me version-unused, which was
82018 generated by GNU Autoconf 2.64. Invocation command line was
82019
82020 CONFIG_FILES = $CONFIG_FILES
82021 CONFIG_HEADERS = $CONFIG_HEADERS
82022 CONFIG_LINKS = $CONFIG_LINKS
82023 CONFIG_COMMANDS = $CONFIG_COMMANDS
82024 $ $0 $@
82025
82026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82027 "
82028
82029 _ACEOF
82030
82031 case $ac_config_files in *"
82032 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82033 esac
82034
82035 case $ac_config_headers in *"
82036 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82037 esac
82038
82039
82040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82041 # Files that config.status was made for.
82042 config_files="$ac_config_files"
82043 config_headers="$ac_config_headers"
82044 config_commands="$ac_config_commands"
82045
82046 _ACEOF
82047
82048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82049 ac_cs_usage="\
82050 \`$as_me' instantiates files and other configuration actions
82051 from templates according to the current configuration. Unless the files
82052 and actions are specified as TAGs, all are instantiated by default.
82053
82054 Usage: $0 [OPTION]... [TAG]...
82055
82056 -h, --help print this help, then exit
82057 -V, --version print version number and configuration settings, then exit
82058 -q, --quiet, --silent
82059 do not print progress messages
82060 -d, --debug don't remove temporary files
82061 --recheck update $as_me by reconfiguring in the same conditions
82062 --file=FILE[:TEMPLATE]
82063 instantiate the configuration file FILE
82064 --header=FILE[:TEMPLATE]
82065 instantiate the configuration header FILE
82066
82067 Configuration files:
82068 $config_files
82069
82070 Configuration headers:
82071 $config_headers
82072
82073 Configuration commands:
82074 $config_commands
82075
82076 Report bugs to the package provider."
82077
82078 _ACEOF
82079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82080 ac_cs_version="\\
82081 package-unused config.status version-unused
82082 configured by $0, generated by GNU Autoconf 2.64,
82083 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82084
82085 Copyright (C) 2009 Free Software Foundation, Inc.
82086 This config.status script is free software; the Free Software Foundation
82087 gives unlimited permission to copy, distribute and modify it."
82088
82089 ac_pwd='$ac_pwd'
82090 srcdir='$srcdir'
82091 INSTALL='$INSTALL'
82092 MKDIR_P='$MKDIR_P'
82093 AWK='$AWK'
82094 test -n "\$AWK" || AWK=awk
82095 _ACEOF
82096
82097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82098 # The default lists apply if the user does not specify any file.
82099 ac_need_defaults=:
82100 while test $# != 0
82101 do
82102 case $1 in
82103 --*=*)
82104 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82105 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82106 ac_shift=:
82107 ;;
82108 *)
82109 ac_option=$1
82110 ac_optarg=$2
82111 ac_shift=shift
82112 ;;
82113 esac
82114
82115 case $ac_option in
82116 # Handling of the options.
82117 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82118 ac_cs_recheck=: ;;
82119 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82120 $as_echo "$ac_cs_version"; exit ;;
82121 --debug | --debu | --deb | --de | --d | -d )
82122 debug=: ;;
82123 --file | --fil | --fi | --f )
82124 $ac_shift
82125 case $ac_optarg in
82126 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82127 esac
82128 as_fn_append CONFIG_FILES " '$ac_optarg'"
82129 ac_need_defaults=false;;
82130 --header | --heade | --head | --hea )
82131 $ac_shift
82132 case $ac_optarg in
82133 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82134 esac
82135 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82136 ac_need_defaults=false;;
82137 --he | --h)
82138 # Conflict between --help and --header
82139 as_fn_error "ambiguous option: \`$1'
82140 Try \`$0 --help' for more information.";;
82141 --help | --hel | -h )
82142 $as_echo "$ac_cs_usage"; exit ;;
82143 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82144 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82145 ac_cs_silent=: ;;
82146
82147 # This is an error.
82148 -*) as_fn_error "unrecognized option: \`$1'
82149 Try \`$0 --help' for more information." ;;
82150
82151 *) as_fn_append ac_config_targets " $1"
82152 ac_need_defaults=false ;;
82153
82154 esac
82155 shift
82156 done
82157
82158 ac_configure_extra_args=
82159
82160 if $ac_cs_silent; then
82161 exec 6>/dev/null
82162 ac_configure_extra_args="$ac_configure_extra_args --silent"
82163 fi
82164
82165 _ACEOF
82166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82167 if \$ac_cs_recheck; then
82168 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82169 shift
82170 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82171 CONFIG_SHELL='$SHELL'
82172 export CONFIG_SHELL
82173 exec "\$@"
82174 fi
82175
82176 _ACEOF
82177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82178 exec 5>>config.log
82179 {
82180 echo
82181 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82182 ## Running $as_me. ##
82183 _ASBOX
82184 $as_echo "$ac_log"
82185 } >&5
82186
82187 _ACEOF
82188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82189 #
82190 # INIT-COMMANDS
82191 #
82192
82193 srcdir="$srcdir"
82194 host="$host"
82195 target="$target"
82196 with_multisubdir="$with_multisubdir"
82197 with_multisrctop="$with_multisrctop"
82198 with_target_subdir="$with_target_subdir"
82199 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82200 multi_basedir="$multi_basedir"
82201 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82202 CC="$CC"
82203 CXX="$CXX"
82204 GFORTRAN="$GFORTRAN"
82205 GCJ="$GCJ"
82206
82207
82208 # The HP-UX ksh and POSIX shell print the target directory to stdout
82209 # if CDPATH is set.
82210 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82211
82212 sed_quote_subst='$sed_quote_subst'
82213 double_quote_subst='$double_quote_subst'
82214 delay_variable_subst='$delay_variable_subst'
82215 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82216 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82217 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82218 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82219 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82220 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82221 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82222 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82223 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82224 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82225 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82226 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82227 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82228 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82229 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82230 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82231 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82232 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82233 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82234 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82235 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82236 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82237 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82238 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82239 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82240 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82241 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82242 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82243 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82244 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82245 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82246 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82247 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82248 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82249 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82250 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82251 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82252 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82253 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82254 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82255 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82256 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82257 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82258 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82259 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82260 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82261 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82262 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82263 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"`'
82264 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82265 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82266 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82267 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82268 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82269 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82270 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82271 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82272 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82273 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82274 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82275 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82276 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82277 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82278 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82279 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82280 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82281 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82282 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82283 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82284 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82285 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82286 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82287 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82288 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82289 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82290 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82291 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82292 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82293 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82294 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82295 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82296 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82297 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82298 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82299 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82300 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82301 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82302 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82303 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82304 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82305 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82306 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82307 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82308 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82309 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82310 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82311 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82312 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82313 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82314 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82315 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82316 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82317 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82318 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82319 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82320 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82321 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82322 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82323 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82324 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82325 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82326 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82327 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82328 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82329 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82330 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82331 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82332 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82333 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82334 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82335 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82336 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82337 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82338 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82339 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82340 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82341 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82342 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82343 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82344 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82345 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82346 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82347 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82348 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82349 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82350 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82351 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82352 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82353 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82354 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82355 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82356 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82357 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82358 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82359 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82360 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82361 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82362 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82363 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82364 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82365 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82366 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82367 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82368 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82369 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82370 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82371 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82372 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82373 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82374 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82375 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82376 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82377 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82378 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82379 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82380 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82381 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82382 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82383 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82384 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82385 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82386 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82387 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82388 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82389 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82390
82391 LTCC='$LTCC'
82392 LTCFLAGS='$LTCFLAGS'
82393 compiler='$compiler_DEFAULT'
82394
82395 # A function that is used when there is no print builtin or printf.
82396 func_fallback_echo ()
82397 {
82398 eval 'cat <<_LTECHO_EOF
82399 \$1
82400 _LTECHO_EOF'
82401 }
82402
82403 # Quote evaled strings.
82404 for var in SHELL \
82405 ECHO \
82406 SED \
82407 GREP \
82408 EGREP \
82409 FGREP \
82410 LD \
82411 NM \
82412 LN_S \
82413 lt_SP2NL \
82414 lt_NL2SP \
82415 reload_flag \
82416 OBJDUMP \
82417 deplibs_check_method \
82418 file_magic_cmd \
82419 AR \
82420 AR_FLAGS \
82421 STRIP \
82422 RANLIB \
82423 CC \
82424 CFLAGS \
82425 compiler \
82426 lt_cv_sys_global_symbol_pipe \
82427 lt_cv_sys_global_symbol_to_cdecl \
82428 lt_cv_sys_global_symbol_to_c_name_address \
82429 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82430 lt_prog_compiler_no_builtin_flag \
82431 lt_prog_compiler_wl \
82432 lt_prog_compiler_pic \
82433 lt_prog_compiler_static \
82434 lt_cv_prog_compiler_c_o \
82435 need_locks \
82436 DSYMUTIL \
82437 NMEDIT \
82438 LIPO \
82439 OTOOL \
82440 OTOOL64 \
82441 shrext_cmds \
82442 export_dynamic_flag_spec \
82443 whole_archive_flag_spec \
82444 compiler_needs_object \
82445 with_gnu_ld \
82446 allow_undefined_flag \
82447 no_undefined_flag \
82448 hardcode_libdir_flag_spec \
82449 hardcode_libdir_flag_spec_ld \
82450 hardcode_libdir_separator \
82451 fix_srcfile_path \
82452 exclude_expsyms \
82453 include_expsyms \
82454 file_list_spec \
82455 variables_saved_for_relink \
82456 libname_spec \
82457 library_names_spec \
82458 soname_spec \
82459 install_override_mode \
82460 finish_eval \
82461 old_striplib \
82462 striplib \
82463 compiler_lib_search_dirs \
82464 predep_objects \
82465 postdep_objects \
82466 predeps \
82467 postdeps \
82468 compiler_lib_search_path \
82469 LD_CXX \
82470 reload_flag_CXX \
82471 compiler_CXX \
82472 lt_prog_compiler_no_builtin_flag_CXX \
82473 lt_prog_compiler_wl_CXX \
82474 lt_prog_compiler_pic_CXX \
82475 lt_prog_compiler_static_CXX \
82476 lt_cv_prog_compiler_c_o_CXX \
82477 export_dynamic_flag_spec_CXX \
82478 whole_archive_flag_spec_CXX \
82479 compiler_needs_object_CXX \
82480 with_gnu_ld_CXX \
82481 allow_undefined_flag_CXX \
82482 no_undefined_flag_CXX \
82483 hardcode_libdir_flag_spec_CXX \
82484 hardcode_libdir_flag_spec_ld_CXX \
82485 hardcode_libdir_separator_CXX \
82486 fix_srcfile_path_CXX \
82487 exclude_expsyms_CXX \
82488 include_expsyms_CXX \
82489 file_list_spec_CXX \
82490 compiler_lib_search_dirs_CXX \
82491 predep_objects_CXX \
82492 postdep_objects_CXX \
82493 predeps_CXX \
82494 postdeps_CXX \
82495 compiler_lib_search_path_CXX; do
82496 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82497 *[\\\\\\\`\\"\\\$]*)
82498 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82499 ;;
82500 *)
82501 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82502 ;;
82503 esac
82504 done
82505
82506 # Double-quote double-evaled strings.
82507 for var in reload_cmds \
82508 old_postinstall_cmds \
82509 old_postuninstall_cmds \
82510 old_archive_cmds \
82511 extract_expsyms_cmds \
82512 old_archive_from_new_cmds \
82513 old_archive_from_expsyms_cmds \
82514 archive_cmds \
82515 archive_expsym_cmds \
82516 module_cmds \
82517 module_expsym_cmds \
82518 export_symbols_cmds \
82519 prelink_cmds \
82520 postinstall_cmds \
82521 postuninstall_cmds \
82522 finish_cmds \
82523 sys_lib_search_path_spec \
82524 sys_lib_dlsearch_path_spec \
82525 reload_cmds_CXX \
82526 old_archive_cmds_CXX \
82527 old_archive_from_new_cmds_CXX \
82528 old_archive_from_expsyms_cmds_CXX \
82529 archive_cmds_CXX \
82530 archive_expsym_cmds_CXX \
82531 module_cmds_CXX \
82532 module_expsym_cmds_CXX \
82533 export_symbols_cmds_CXX \
82534 prelink_cmds_CXX; do
82535 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82536 *[\\\\\\\`\\"\\\$]*)
82537 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82538 ;;
82539 *)
82540 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82541 ;;
82542 esac
82543 done
82544
82545 ac_aux_dir='$ac_aux_dir'
82546 xsi_shell='$xsi_shell'
82547 lt_shell_append='$lt_shell_append'
82548
82549 # See if we are running on zsh, and set the options which allow our
82550 # commands through without removal of \ escapes INIT.
82551 if test -n "\${ZSH_VERSION+set}" ; then
82552 setopt NO_GLOB_SUBST
82553 fi
82554
82555
82556 PACKAGE='$PACKAGE'
82557 VERSION='$VERSION'
82558 TIMESTAMP='$TIMESTAMP'
82559 RM='$RM'
82560 ofile='$ofile'
82561
82562
82563
82564
82565
82566
82567 GCC="$GCC"
82568 CC="$CC"
82569 acx_cv_header_stdint="$acx_cv_header_stdint"
82570 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82571 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82572 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82573 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82574 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82575 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82576 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82577 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82578 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82579 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82580 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82581 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82582 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82583
82584
82585 _ACEOF
82586
82587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82588
82589 # Handling of arguments.
82590 for ac_config_target in $ac_config_targets
82591 do
82592 case $ac_config_target in
82593 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82594 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82595 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82596 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82597 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82598 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82599 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82600 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82601 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82602 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82603 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82604 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82605 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82606 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82607 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82608 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82609 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82610 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82611 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82612
82613 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82614 esac
82615 done
82616
82617
82618 # If the user did not use the arguments to specify the items to instantiate,
82619 # then the envvar interface is used. Set only those that are not.
82620 # We use the long form for the default assignment because of an extremely
82621 # bizarre bug on SunOS 4.1.3.
82622 if $ac_need_defaults; then
82623 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82624 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82625 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82626 fi
82627
82628 # Have a temporary directory for convenience. Make it in the build tree
82629 # simply because there is no reason against having it here, and in addition,
82630 # creating and moving files from /tmp can sometimes cause problems.
82631 # Hook for its removal unless debugging.
82632 # Note that there is a small window in which the directory will not be cleaned:
82633 # after its creation but before its name has been assigned to `$tmp'.
82634 $debug ||
82635 {
82636 tmp=
82637 trap 'exit_status=$?
82638 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82639 ' 0
82640 trap 'as_fn_exit 1' 1 2 13 15
82641 }
82642 # Create a (secure) tmp directory for tmp files.
82643
82644 {
82645 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82646 test -n "$tmp" && test -d "$tmp"
82647 } ||
82648 {
82649 tmp=./conf$$-$RANDOM
82650 (umask 077 && mkdir "$tmp")
82651 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82652
82653 # Set up the scripts for CONFIG_FILES section.
82654 # No need to generate them if there are no CONFIG_FILES.
82655 # This happens for instance with `./config.status config.h'.
82656 if test -n "$CONFIG_FILES"; then
82657
82658
82659 ac_cr=`echo X | tr X '\015'`
82660 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82661 # But we know of no other shell where ac_cr would be empty at this
82662 # point, so we can use a bashism as a fallback.
82663 if test "x$ac_cr" = x; then
82664 eval ac_cr=\$\'\\r\'
82665 fi
82666 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82667 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82668 ac_cs_awk_cr='\r'
82669 else
82670 ac_cs_awk_cr=$ac_cr
82671 fi
82672
82673 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82674 _ACEOF
82675
82676
82677 {
82678 echo "cat >conf$$subs.awk <<_ACEOF" &&
82679 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82680 echo "_ACEOF"
82681 } >conf$$subs.sh ||
82682 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82683 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82684 ac_delim='%!_!# '
82685 for ac_last_try in false false false false false :; do
82686 . ./conf$$subs.sh ||
82687 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82688
82689 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82690 if test $ac_delim_n = $ac_delim_num; then
82691 break
82692 elif $ac_last_try; then
82693 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82694 else
82695 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82696 fi
82697 done
82698 rm -f conf$$subs.sh
82699
82700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82701 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82702 _ACEOF
82703 sed -n '
82704 h
82705 s/^/S["/; s/!.*/"]=/
82706 p
82707 g
82708 s/^[^!]*!//
82709 :repl
82710 t repl
82711 s/'"$ac_delim"'$//
82712 t delim
82713 :nl
82714 h
82715 s/\(.\{148\}\).*/\1/
82716 t more1
82717 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82718 p
82719 n
82720 b repl
82721 :more1
82722 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82723 p
82724 g
82725 s/.\{148\}//
82726 t nl
82727 :delim
82728 h
82729 s/\(.\{148\}\).*/\1/
82730 t more2
82731 s/["\\]/\\&/g; s/^/"/; s/$/"/
82732 p
82733 b
82734 :more2
82735 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82736 p
82737 g
82738 s/.\{148\}//
82739 t delim
82740 ' <conf$$subs.awk | sed '
82741 /^[^""]/{
82742 N
82743 s/\n//
82744 }
82745 ' >>$CONFIG_STATUS || ac_write_fail=1
82746 rm -f conf$$subs.awk
82747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82748 _ACAWK
82749 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82750 for (key in S) S_is_set[key] = 1
82751 FS = "\a"
82752
82753 }
82754 {
82755 line = $ 0
82756 nfields = split(line, field, "@")
82757 substed = 0
82758 len = length(field[1])
82759 for (i = 2; i < nfields; i++) {
82760 key = field[i]
82761 keylen = length(key)
82762 if (S_is_set[key]) {
82763 value = S[key]
82764 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82765 len += length(value) + length(field[++i])
82766 substed = 1
82767 } else
82768 len += 1 + keylen
82769 }
82770
82771 print line
82772 }
82773
82774 _ACAWK
82775 _ACEOF
82776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82777 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82778 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82779 else
82780 cat
82781 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82782 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82783 _ACEOF
82784
82785 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82786 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82787 # trailing colons and then remove the whole line if VPATH becomes empty
82788 # (actually we leave an empty line to preserve line numbers).
82789 if test "x$srcdir" = x.; then
82790 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82791 s/:*\$(srcdir):*/:/
82792 s/:*\${srcdir}:*/:/
82793 s/:*@srcdir@:*/:/
82794 s/^\([^=]*=[ ]*\):*/\1/
82795 s/:*$//
82796 s/^[^=]*=[ ]*$//
82797 }'
82798 fi
82799
82800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82801 fi # test -n "$CONFIG_FILES"
82802
82803 # Set up the scripts for CONFIG_HEADERS section.
82804 # No need to generate them if there are no CONFIG_HEADERS.
82805 # This happens for instance with `./config.status Makefile'.
82806 if test -n "$CONFIG_HEADERS"; then
82807 cat >"$tmp/defines.awk" <<\_ACAWK ||
82808 BEGIN {
82809 _ACEOF
82810
82811 # Transform confdefs.h into an awk script `defines.awk', embedded as
82812 # here-document in config.status, that substitutes the proper values into
82813 # config.h.in to produce config.h.
82814
82815 # Create a delimiter string that does not exist in confdefs.h, to ease
82816 # handling of long lines.
82817 ac_delim='%!_!# '
82818 for ac_last_try in false false :; do
82819 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82820 if test -z "$ac_t"; then
82821 break
82822 elif $ac_last_try; then
82823 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82824 else
82825 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82826 fi
82827 done
82828
82829 # For the awk script, D is an array of macro values keyed by name,
82830 # likewise P contains macro parameters if any. Preserve backslash
82831 # newline sequences.
82832
82833 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82834 sed -n '
82835 s/.\{148\}/&'"$ac_delim"'/g
82836 t rset
82837 :rset
82838 s/^[ ]*#[ ]*define[ ][ ]*/ /
82839 t def
82840 d
82841 :def
82842 s/\\$//
82843 t bsnl
82844 s/["\\]/\\&/g
82845 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82846 D["\1"]=" \3"/p
82847 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82848 d
82849 :bsnl
82850 s/["\\]/\\&/g
82851 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82852 D["\1"]=" \3\\\\\\n"\\/p
82853 t cont
82854 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82855 t cont
82856 d
82857 :cont
82858 n
82859 s/.\{148\}/&'"$ac_delim"'/g
82860 t clear
82861 :clear
82862 s/\\$//
82863 t bsnlc
82864 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82865 d
82866 :bsnlc
82867 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82868 b cont
82869 ' <confdefs.h | sed '
82870 s/'"$ac_delim"'/"\\\
82871 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82872
82873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82874 for (key in D) D_is_set[key] = 1
82875 FS = "\a"
82876 }
82877 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82878 line = \$ 0
82879 split(line, arg, " ")
82880 if (arg[1] == "#") {
82881 defundef = arg[2]
82882 mac1 = arg[3]
82883 } else {
82884 defundef = substr(arg[1], 2)
82885 mac1 = arg[2]
82886 }
82887 split(mac1, mac2, "(") #)
82888 macro = mac2[1]
82889 prefix = substr(line, 1, index(line, defundef) - 1)
82890 if (D_is_set[macro]) {
82891 # Preserve the white space surrounding the "#".
82892 print prefix "define", macro P[macro] D[macro]
82893 next
82894 } else {
82895 # Replace #undef with comments. This is necessary, for example,
82896 # in the case of _POSIX_SOURCE, which is predefined and required
82897 # on some systems where configure will not decide to define it.
82898 if (defundef == "undef") {
82899 print "/*", prefix defundef, macro, "*/"
82900 next
82901 }
82902 }
82903 }
82904 { print }
82905 _ACAWK
82906 _ACEOF
82907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82908 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82909 fi # test -n "$CONFIG_HEADERS"
82910
82911
82912 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82913 shift
82914 for ac_tag
82915 do
82916 case $ac_tag in
82917 :[FHLC]) ac_mode=$ac_tag; continue;;
82918 esac
82919 case $ac_mode$ac_tag in
82920 :[FHL]*:*);;
82921 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82922 :[FH]-) ac_tag=-:-;;
82923 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82924 esac
82925 ac_save_IFS=$IFS
82926 IFS=:
82927 set x $ac_tag
82928 IFS=$ac_save_IFS
82929 shift
82930 ac_file=$1
82931 shift
82932
82933 case $ac_mode in
82934 :L) ac_source=$1;;
82935 :[FH])
82936 ac_file_inputs=
82937 for ac_f
82938 do
82939 case $ac_f in
82940 -) ac_f="$tmp/stdin";;
82941 *) # Look for the file first in the build tree, then in the source tree
82942 # (if the path is not absolute). The absolute path cannot be DOS-style,
82943 # because $ac_f cannot contain `:'.
82944 test -f "$ac_f" ||
82945 case $ac_f in
82946 [\\/$]*) false;;
82947 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82948 esac ||
82949 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82950 esac
82951 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82952 as_fn_append ac_file_inputs " '$ac_f'"
82953 done
82954
82955 # Let's still pretend it is `configure' which instantiates (i.e., don't
82956 # use $as_me), people would be surprised to read:
82957 # /* config.h. Generated by config.status. */
82958 configure_input='Generated from '`
82959 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82960 `' by configure.'
82961 if test x"$ac_file" != x-; then
82962 configure_input="$ac_file. $configure_input"
82963 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82964 $as_echo "$as_me: creating $ac_file" >&6;}
82965 fi
82966 # Neutralize special characters interpreted by sed in replacement strings.
82967 case $configure_input in #(
82968 *\&* | *\|* | *\\* )
82969 ac_sed_conf_input=`$as_echo "$configure_input" |
82970 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82971 *) ac_sed_conf_input=$configure_input;;
82972 esac
82973
82974 case $ac_tag in
82975 *:-:* | *:-) cat >"$tmp/stdin" \
82976 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82977 esac
82978 ;;
82979 esac
82980
82981 ac_dir=`$as_dirname -- "$ac_file" ||
82982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82983 X"$ac_file" : 'X\(//\)[^/]' \| \
82984 X"$ac_file" : 'X\(//\)$' \| \
82985 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
82986 $as_echo X"$ac_file" |
82987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82988 s//\1/
82989 q
82990 }
82991 /^X\(\/\/\)[^/].*/{
82992 s//\1/
82993 q
82994 }
82995 /^X\(\/\/\)$/{
82996 s//\1/
82997 q
82998 }
82999 /^X\(\/\).*/{
83000 s//\1/
83001 q
83002 }
83003 s/.*/./; q'`
83004 as_dir="$ac_dir"; as_fn_mkdir_p
83005 ac_builddir=.
83006
83007 case "$ac_dir" in
83008 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83009 *)
83010 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83011 # A ".." for each directory in $ac_dir_suffix.
83012 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83013 case $ac_top_builddir_sub in
83014 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83015 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83016 esac ;;
83017 esac
83018 ac_abs_top_builddir=$ac_pwd
83019 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83020 # for backward compatibility:
83021 ac_top_builddir=$ac_top_build_prefix
83022
83023 case $srcdir in
83024 .) # We are building in place.
83025 ac_srcdir=.
83026 ac_top_srcdir=$ac_top_builddir_sub
83027 ac_abs_top_srcdir=$ac_pwd ;;
83028 [\\/]* | ?:[\\/]* ) # Absolute name.
83029 ac_srcdir=$srcdir$ac_dir_suffix;
83030 ac_top_srcdir=$srcdir
83031 ac_abs_top_srcdir=$srcdir ;;
83032 *) # Relative name.
83033 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83034 ac_top_srcdir=$ac_top_build_prefix$srcdir
83035 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83036 esac
83037 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83038
83039
83040 case $ac_mode in
83041 :F)
83042 #
83043 # CONFIG_FILE
83044 #
83045
83046 case $INSTALL in
83047 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83048 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83049 esac
83050 ac_MKDIR_P=$MKDIR_P
83051 case $MKDIR_P in
83052 [\\/$]* | ?:[\\/]* ) ;;
83053 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83054 esac
83055 _ACEOF
83056
83057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83058 # If the template does not know about datarootdir, expand it.
83059 # FIXME: This hack should be removed a few years after 2.60.
83060 ac_datarootdir_hack=; ac_datarootdir_seen=
83061 ac_sed_dataroot='
83062 /datarootdir/ {
83063 p
83064 q
83065 }
83066 /@datadir@/p
83067 /@docdir@/p
83068 /@infodir@/p
83069 /@localedir@/p
83070 /@mandir@/p'
83071 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83072 *datarootdir*) ac_datarootdir_seen=yes;;
83073 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83075 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83076 _ACEOF
83077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83078 ac_datarootdir_hack='
83079 s&@datadir@&$datadir&g
83080 s&@docdir@&$docdir&g
83081 s&@infodir@&$infodir&g
83082 s&@localedir@&$localedir&g
83083 s&@mandir@&$mandir&g
83084 s&\\\${datarootdir}&$datarootdir&g' ;;
83085 esac
83086 _ACEOF
83087
83088 # Neutralize VPATH when `$srcdir' = `.'.
83089 # Shell code in configure.ac might set extrasub.
83090 # FIXME: do we really want to maintain this feature?
83091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83092 ac_sed_extra="$ac_vpsub
83093 $extrasub
83094 _ACEOF
83095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83096 :t
83097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83098 s|@configure_input@|$ac_sed_conf_input|;t t
83099 s&@top_builddir@&$ac_top_builddir_sub&;t t
83100 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83101 s&@srcdir@&$ac_srcdir&;t t
83102 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83103 s&@top_srcdir@&$ac_top_srcdir&;t t
83104 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83105 s&@builddir@&$ac_builddir&;t t
83106 s&@abs_builddir@&$ac_abs_builddir&;t t
83107 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83108 s&@INSTALL@&$ac_INSTALL&;t t
83109 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83110 $ac_datarootdir_hack
83111 "
83112 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83113 || as_fn_error "could not create $ac_file" "$LINENO" 5
83114
83115 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83116 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83117 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83119 which seems to be undefined. Please make sure it is defined." >&5
83120 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83121 which seems to be undefined. Please make sure it is defined." >&2;}
83122
83123 rm -f "$tmp/stdin"
83124 case $ac_file in
83125 -) cat "$tmp/out" && rm -f "$tmp/out";;
83126 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83127 esac \
83128 || as_fn_error "could not create $ac_file" "$LINENO" 5
83129 ;;
83130 :H)
83131 #
83132 # CONFIG_HEADER
83133 #
83134 if test x"$ac_file" != x-; then
83135 {
83136 $as_echo "/* $configure_input */" \
83137 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83138 } >"$tmp/config.h" \
83139 || as_fn_error "could not create $ac_file" "$LINENO" 5
83140 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83141 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83142 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83143 else
83144 rm -f "$ac_file"
83145 mv "$tmp/config.h" "$ac_file" \
83146 || as_fn_error "could not create $ac_file" "$LINENO" 5
83147 fi
83148 else
83149 $as_echo "/* $configure_input */" \
83150 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83151 || as_fn_error "could not create -" "$LINENO" 5
83152 fi
83153 # Compute "$ac_file"'s index in $config_headers.
83154 _am_arg="$ac_file"
83155 _am_stamp_count=1
83156 for _am_header in $config_headers :; do
83157 case $_am_header in
83158 $_am_arg | $_am_arg:* )
83159 break ;;
83160 * )
83161 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83162 esac
83163 done
83164 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83165 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83166 X"$_am_arg" : 'X\(//\)[^/]' \| \
83167 X"$_am_arg" : 'X\(//\)$' \| \
83168 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83169 $as_echo X"$_am_arg" |
83170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83171 s//\1/
83172 q
83173 }
83174 /^X\(\/\/\)[^/].*/{
83175 s//\1/
83176 q
83177 }
83178 /^X\(\/\/\)$/{
83179 s//\1/
83180 q
83181 }
83182 /^X\(\/\).*/{
83183 s//\1/
83184 q
83185 }
83186 s/.*/./; q'`/stamp-h$_am_stamp_count
83187 ;;
83188
83189 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83190 $as_echo "$as_me: executing $ac_file commands" >&6;}
83191 ;;
83192 esac
83193
83194
83195 case $ac_file$ac_mode in
83196 "default-1":C)
83197 # Only add multilib support code if we just rebuilt the top-level
83198 # Makefile.
83199 case " $CONFIG_FILES " in
83200 *" Makefile "*)
83201 ac_file=Makefile . ${multi_basedir}/config-ml.in
83202 ;;
83203 esac ;;
83204 "libtool":C)
83205
83206 # See if we are running on zsh, and set the options which allow our
83207 # commands through without removal of \ escapes.
83208 if test -n "${ZSH_VERSION+set}" ; then
83209 setopt NO_GLOB_SUBST
83210 fi
83211
83212 cfgfile="${ofile}T"
83213 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83214 $RM "$cfgfile"
83215
83216 cat <<_LT_EOF >> "$cfgfile"
83217 #! $SHELL
83218
83219 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83220 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83221 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83222 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83223 #
83224 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83225 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83226 # Written by Gordon Matzigkeit, 1996
83227 #
83228 # This file is part of GNU Libtool.
83229 #
83230 # GNU Libtool is free software; you can redistribute it and/or
83231 # modify it under the terms of the GNU General Public License as
83232 # published by the Free Software Foundation; either version 2 of
83233 # the License, or (at your option) any later version.
83234 #
83235 # As a special exception to the GNU General Public License,
83236 # if you distribute this file as part of a program or library that
83237 # is built using GNU Libtool, you may include this file under the
83238 # same distribution terms that you use for the rest of that program.
83239 #
83240 # GNU Libtool is distributed in the hope that it will be useful,
83241 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83242 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83243 # GNU General Public License for more details.
83244 #
83245 # You should have received a copy of the GNU General Public License
83246 # along with GNU Libtool; see the file COPYING. If not, a copy
83247 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83248 # obtained by writing to the Free Software Foundation, Inc.,
83249 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83250
83251
83252 # The names of the tagged configurations supported by this script.
83253 available_tags="CXX "
83254
83255 # ### BEGIN LIBTOOL CONFIG
83256
83257 # Which release of libtool.m4 was used?
83258 macro_version=$macro_version
83259 macro_revision=$macro_revision
83260
83261 # Whether or not to build shared libraries.
83262 build_libtool_libs=$enable_shared
83263
83264 # Whether or not to build static libraries.
83265 build_old_libs=$enable_static
83266
83267 # What type of objects to build.
83268 pic_mode=$pic_mode
83269
83270 # Whether or not to optimize for fast installation.
83271 fast_install=$enable_fast_install
83272
83273 # Shell to use when invoking shell scripts.
83274 SHELL=$lt_SHELL
83275
83276 # An echo program that protects backslashes.
83277 ECHO=$lt_ECHO
83278
83279 # The host system.
83280 host_alias=$host_alias
83281 host=$host
83282 host_os=$host_os
83283
83284 # The build system.
83285 build_alias=$build_alias
83286 build=$build
83287 build_os=$build_os
83288
83289 # A sed program that does not truncate output.
83290 SED=$lt_SED
83291
83292 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83293 Xsed="\$SED -e 1s/^X//"
83294
83295 # A grep program that handles long lines.
83296 GREP=$lt_GREP
83297
83298 # An ERE matcher.
83299 EGREP=$lt_EGREP
83300
83301 # A literal string matcher.
83302 FGREP=$lt_FGREP
83303
83304 # A BSD- or MS-compatible name lister.
83305 NM=$lt_NM
83306
83307 # Whether we need soft or hard links.
83308 LN_S=$lt_LN_S
83309
83310 # What is the maximum length of a command?
83311 max_cmd_len=$max_cmd_len
83312
83313 # Object file suffix (normally "o").
83314 objext=$ac_objext
83315
83316 # Executable file suffix (normally "").
83317 exeext=$exeext
83318
83319 # whether the shell understands "unset".
83320 lt_unset=$lt_unset
83321
83322 # turn spaces into newlines.
83323 SP2NL=$lt_lt_SP2NL
83324
83325 # turn newlines into spaces.
83326 NL2SP=$lt_lt_NL2SP
83327
83328 # An object symbol dumper.
83329 OBJDUMP=$lt_OBJDUMP
83330
83331 # Method to check whether dependent libraries are shared objects.
83332 deplibs_check_method=$lt_deplibs_check_method
83333
83334 # Command to use when deplibs_check_method == "file_magic".
83335 file_magic_cmd=$lt_file_magic_cmd
83336
83337 # The archiver.
83338 AR=$lt_AR
83339 AR_FLAGS=$lt_AR_FLAGS
83340
83341 # A symbol stripping program.
83342 STRIP=$lt_STRIP
83343
83344 # Commands used to install an old-style archive.
83345 RANLIB=$lt_RANLIB
83346 old_postinstall_cmds=$lt_old_postinstall_cmds
83347 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83348
83349 # Whether to use a lock for old archive extraction.
83350 lock_old_archive_extraction=$lock_old_archive_extraction
83351
83352 # A C compiler.
83353 LTCC=$lt_CC
83354
83355 # LTCC compiler flags.
83356 LTCFLAGS=$lt_CFLAGS
83357
83358 # Take the output of nm and produce a listing of raw symbols and C names.
83359 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83360
83361 # Transform the output of nm in a proper C declaration.
83362 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83363
83364 # Transform the output of nm in a C name address pair.
83365 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83366
83367 # Transform the output of nm in a C name address pair when lib prefix is needed.
83368 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83369
83370 # The name of the directory that contains temporary libtool files.
83371 objdir=$objdir
83372
83373 # Used to examine libraries when file_magic_cmd begins with "file".
83374 MAGIC_CMD=$MAGIC_CMD
83375
83376 # Must we lock files when doing compilation?
83377 need_locks=$lt_need_locks
83378
83379 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83380 DSYMUTIL=$lt_DSYMUTIL
83381
83382 # Tool to change global to local symbols on Mac OS X.
83383 NMEDIT=$lt_NMEDIT
83384
83385 # Tool to manipulate fat objects and archives on Mac OS X.
83386 LIPO=$lt_LIPO
83387
83388 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83389 OTOOL=$lt_OTOOL
83390
83391 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83392 OTOOL64=$lt_OTOOL64
83393
83394 # Old archive suffix (normally "a").
83395 libext=$libext
83396
83397 # Shared library suffix (normally ".so").
83398 shrext_cmds=$lt_shrext_cmds
83399
83400 # The commands to extract the exported symbol list from a shared archive.
83401 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83402
83403 # Variables whose values should be saved in libtool wrapper scripts and
83404 # restored at link time.
83405 variables_saved_for_relink=$lt_variables_saved_for_relink
83406
83407 # Do we need the "lib" prefix for modules?
83408 need_lib_prefix=$need_lib_prefix
83409
83410 # Do we need a version for libraries?
83411 need_version=$need_version
83412
83413 # Library versioning type.
83414 version_type=$version_type
83415
83416 # Shared library runtime path variable.
83417 runpath_var=$runpath_var
83418
83419 # Shared library path variable.
83420 shlibpath_var=$shlibpath_var
83421
83422 # Is shlibpath searched before the hard-coded library search path?
83423 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83424
83425 # Format of library name prefix.
83426 libname_spec=$lt_libname_spec
83427
83428 # List of archive names. First name is the real one, the rest are links.
83429 # The last name is the one that the linker finds with -lNAME
83430 library_names_spec=$lt_library_names_spec
83431
83432 # The coded name of the library, if different from the real name.
83433 soname_spec=$lt_soname_spec
83434
83435 # Permission mode override for installation of shared libraries.
83436 install_override_mode=$lt_install_override_mode
83437
83438 # Command to use after installation of a shared archive.
83439 postinstall_cmds=$lt_postinstall_cmds
83440
83441 # Command to use after uninstallation of a shared archive.
83442 postuninstall_cmds=$lt_postuninstall_cmds
83443
83444 # Commands used to finish a libtool library installation in a directory.
83445 finish_cmds=$lt_finish_cmds
83446
83447 # As "finish_cmds", except a single script fragment to be evaled but
83448 # not shown.
83449 finish_eval=$lt_finish_eval
83450
83451 # Whether we should hardcode library paths into libraries.
83452 hardcode_into_libs=$hardcode_into_libs
83453
83454 # Compile-time system search path for libraries.
83455 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83456
83457 # Run-time system search path for libraries.
83458 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83459
83460 # Whether dlopen is supported.
83461 dlopen_support=$enable_dlopen
83462
83463 # Whether dlopen of programs is supported.
83464 dlopen_self=$enable_dlopen_self
83465
83466 # Whether dlopen of statically linked programs is supported.
83467 dlopen_self_static=$enable_dlopen_self_static
83468
83469 # Commands to strip libraries.
83470 old_striplib=$lt_old_striplib
83471 striplib=$lt_striplib
83472
83473
83474 # The linker used to build libraries.
83475 LD=$lt_LD
83476
83477 # How to create reloadable object files.
83478 reload_flag=$lt_reload_flag
83479 reload_cmds=$lt_reload_cmds
83480
83481 # Commands used to build an old-style archive.
83482 old_archive_cmds=$lt_old_archive_cmds
83483
83484 # A language specific compiler.
83485 CC=$lt_compiler
83486
83487 # Is the compiler the GNU compiler?
83488 with_gcc=$GCC
83489
83490 # Compiler flag to turn off builtin functions.
83491 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83492
83493 # How to pass a linker flag through the compiler.
83494 wl=$lt_lt_prog_compiler_wl
83495
83496 # Additional compiler flags for building library objects.
83497 pic_flag=$lt_lt_prog_compiler_pic
83498
83499 # Compiler flag to prevent dynamic linking.
83500 link_static_flag=$lt_lt_prog_compiler_static
83501
83502 # Does compiler simultaneously support -c and -o options?
83503 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83504
83505 # Whether or not to add -lc for building shared libraries.
83506 build_libtool_need_lc=$archive_cmds_need_lc
83507
83508 # Whether or not to disallow shared libs when runtime libs are static.
83509 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83510
83511 # Compiler flag to allow reflexive dlopens.
83512 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83513
83514 # Compiler flag to generate shared objects directly from archives.
83515 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83516
83517 # Whether the compiler copes with passing no objects directly.
83518 compiler_needs_object=$lt_compiler_needs_object
83519
83520 # Create an old-style archive from a shared archive.
83521 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83522
83523 # Create a temporary old-style archive to link instead of a shared archive.
83524 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83525
83526 # Commands used to build a shared archive.
83527 archive_cmds=$lt_archive_cmds
83528 archive_expsym_cmds=$lt_archive_expsym_cmds
83529
83530 # Commands used to build a loadable module if different from building
83531 # a shared archive.
83532 module_cmds=$lt_module_cmds
83533 module_expsym_cmds=$lt_module_expsym_cmds
83534
83535 # Whether we are building with GNU ld or not.
83536 with_gnu_ld=$lt_with_gnu_ld
83537
83538 # Flag that allows shared libraries with undefined symbols to be built.
83539 allow_undefined_flag=$lt_allow_undefined_flag
83540
83541 # Flag that enforces no undefined symbols.
83542 no_undefined_flag=$lt_no_undefined_flag
83543
83544 # Flag to hardcode \$libdir into a binary during linking.
83545 # This must work even if \$libdir does not exist
83546 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83547
83548 # If ld is used when linking, flag to hardcode \$libdir into a binary
83549 # during linking. This must work even if \$libdir does not exist.
83550 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83551
83552 # Whether we need a single "-rpath" flag with a separated argument.
83553 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83554
83555 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83556 # DIR into the resulting binary.
83557 hardcode_direct=$hardcode_direct
83558
83559 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83560 # DIR into the resulting binary and the resulting library dependency is
83561 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83562 # library is relocated.
83563 hardcode_direct_absolute=$hardcode_direct_absolute
83564
83565 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83566 # into the resulting binary.
83567 hardcode_minus_L=$hardcode_minus_L
83568
83569 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83570 # into the resulting binary.
83571 hardcode_shlibpath_var=$hardcode_shlibpath_var
83572
83573 # Set to "yes" if building a shared library automatically hardcodes DIR
83574 # into the library and all subsequent libraries and executables linked
83575 # against it.
83576 hardcode_automatic=$hardcode_automatic
83577
83578 # Set to yes if linker adds runtime paths of dependent libraries
83579 # to runtime path list.
83580 inherit_rpath=$inherit_rpath
83581
83582 # Whether libtool must link a program against all its dependency libraries.
83583 link_all_deplibs=$link_all_deplibs
83584
83585 # Fix the shell variable \$srcfile for the compiler.
83586 fix_srcfile_path=$lt_fix_srcfile_path
83587
83588 # Set to "yes" if exported symbols are required.
83589 always_export_symbols=$always_export_symbols
83590
83591 # The commands to list exported symbols.
83592 export_symbols_cmds=$lt_export_symbols_cmds
83593
83594 # Symbols that should not be listed in the preloaded symbols.
83595 exclude_expsyms=$lt_exclude_expsyms
83596
83597 # Symbols that must always be exported.
83598 include_expsyms=$lt_include_expsyms
83599
83600 # Commands necessary for linking programs (against libraries) with templates.
83601 prelink_cmds=$lt_prelink_cmds
83602
83603 # Specify filename containing input files.
83604 file_list_spec=$lt_file_list_spec
83605
83606 # How to hardcode a shared library path into an executable.
83607 hardcode_action=$hardcode_action
83608
83609 # The directories searched by this compiler when creating a shared library.
83610 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83611
83612 # Dependencies to place before and after the objects being linked to
83613 # create a shared library.
83614 predep_objects=$lt_predep_objects
83615 postdep_objects=$lt_postdep_objects
83616 predeps=$lt_predeps
83617 postdeps=$lt_postdeps
83618
83619 # The library search path used internally by the compiler when linking
83620 # a shared library.
83621 compiler_lib_search_path=$lt_compiler_lib_search_path
83622
83623 # ### END LIBTOOL CONFIG
83624
83625 _LT_EOF
83626
83627 case $host_os in
83628 aix3*)
83629 cat <<\_LT_EOF >> "$cfgfile"
83630 # AIX sometimes has problems with the GCC collect2 program. For some
83631 # reason, if we set the COLLECT_NAMES environment variable, the problems
83632 # vanish in a puff of smoke.
83633 if test "X${COLLECT_NAMES+set}" != Xset; then
83634 COLLECT_NAMES=
83635 export COLLECT_NAMES
83636 fi
83637 _LT_EOF
83638 ;;
83639 esac
83640
83641
83642 ltmain="$ac_aux_dir/ltmain.sh"
83643
83644
83645 # We use sed instead of cat because bash on DJGPP gets confused if
83646 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83647 # text mode, it properly converts lines to CR/LF. This bash problem
83648 # is reportedly fixed, but why not run on old versions too?
83649 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83650 || (rm -f "$cfgfile"; exit 1)
83651
83652 case $xsi_shell in
83653 yes)
83654 cat << \_LT_EOF >> "$cfgfile"
83655
83656 # func_dirname file append nondir_replacement
83657 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83658 # otherwise set result to NONDIR_REPLACEMENT.
83659 func_dirname ()
83660 {
83661 case ${1} in
83662 */*) func_dirname_result="${1%/*}${2}" ;;
83663 * ) func_dirname_result="${3}" ;;
83664 esac
83665 }
83666
83667 # func_basename file
83668 func_basename ()
83669 {
83670 func_basename_result="${1##*/}"
83671 }
83672
83673 # func_dirname_and_basename file append nondir_replacement
83674 # perform func_basename and func_dirname in a single function
83675 # call:
83676 # dirname: Compute the dirname of FILE. If nonempty,
83677 # add APPEND to the result, otherwise set result
83678 # to NONDIR_REPLACEMENT.
83679 # value returned in "$func_dirname_result"
83680 # basename: Compute filename of FILE.
83681 # value retuned in "$func_basename_result"
83682 # Implementation must be kept synchronized with func_dirname
83683 # and func_basename. For efficiency, we do not delegate to
83684 # those functions but instead duplicate the functionality here.
83685 func_dirname_and_basename ()
83686 {
83687 case ${1} in
83688 */*) func_dirname_result="${1%/*}${2}" ;;
83689 * ) func_dirname_result="${3}" ;;
83690 esac
83691 func_basename_result="${1##*/}"
83692 }
83693
83694 # func_stripname prefix suffix name
83695 # strip PREFIX and SUFFIX off of NAME.
83696 # PREFIX and SUFFIX must not contain globbing or regex special
83697 # characters, hashes, percent signs, but SUFFIX may contain a leading
83698 # dot (in which case that matches only a dot).
83699 func_stripname ()
83700 {
83701 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83702 # positional parameters, so assign one to ordinary parameter first.
83703 func_stripname_result=${3}
83704 func_stripname_result=${func_stripname_result#"${1}"}
83705 func_stripname_result=${func_stripname_result%"${2}"}
83706 }
83707
83708 # func_opt_split
83709 func_opt_split ()
83710 {
83711 func_opt_split_opt=${1%%=*}
83712 func_opt_split_arg=${1#*=}
83713 }
83714
83715 # func_lo2o object
83716 func_lo2o ()
83717 {
83718 case ${1} in
83719 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83720 *) func_lo2o_result=${1} ;;
83721 esac
83722 }
83723
83724 # func_xform libobj-or-source
83725 func_xform ()
83726 {
83727 func_xform_result=${1%.*}.lo
83728 }
83729
83730 # func_arith arithmetic-term...
83731 func_arith ()
83732 {
83733 func_arith_result=$(( $* ))
83734 }
83735
83736 # func_len string
83737 # STRING may not start with a hyphen.
83738 func_len ()
83739 {
83740 func_len_result=${#1}
83741 }
83742
83743 _LT_EOF
83744 ;;
83745 *) # Bourne compatible functions.
83746 cat << \_LT_EOF >> "$cfgfile"
83747
83748 # func_dirname file append nondir_replacement
83749 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83750 # otherwise set result to NONDIR_REPLACEMENT.
83751 func_dirname ()
83752 {
83753 # Extract subdirectory from the argument.
83754 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83755 if test "X$func_dirname_result" = "X${1}"; then
83756 func_dirname_result="${3}"
83757 else
83758 func_dirname_result="$func_dirname_result${2}"
83759 fi
83760 }
83761
83762 # func_basename file
83763 func_basename ()
83764 {
83765 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83766 }
83767
83768
83769 # func_stripname prefix suffix name
83770 # strip PREFIX and SUFFIX off of NAME.
83771 # PREFIX and SUFFIX must not contain globbing or regex special
83772 # characters, hashes, percent signs, but SUFFIX may contain a leading
83773 # dot (in which case that matches only a dot).
83774 # func_strip_suffix prefix name
83775 func_stripname ()
83776 {
83777 case ${2} in
83778 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83779 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83780 esac
83781 }
83782
83783 # sed scripts:
83784 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83785 my_sed_long_arg='1s/^-[^=]*=//'
83786
83787 # func_opt_split
83788 func_opt_split ()
83789 {
83790 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83791 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83792 }
83793
83794 # func_lo2o object
83795 func_lo2o ()
83796 {
83797 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83798 }
83799
83800 # func_xform libobj-or-source
83801 func_xform ()
83802 {
83803 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83804 }
83805
83806 # func_arith arithmetic-term...
83807 func_arith ()
83808 {
83809 func_arith_result=`expr "$@"`
83810 }
83811
83812 # func_len string
83813 # STRING may not start with a hyphen.
83814 func_len ()
83815 {
83816 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83817 }
83818
83819 _LT_EOF
83820 esac
83821
83822 case $lt_shell_append in
83823 yes)
83824 cat << \_LT_EOF >> "$cfgfile"
83825
83826 # func_append var value
83827 # Append VALUE to the end of shell variable VAR.
83828 func_append ()
83829 {
83830 eval "$1+=\$2"
83831 }
83832 _LT_EOF
83833 ;;
83834 *)
83835 cat << \_LT_EOF >> "$cfgfile"
83836
83837 # func_append var value
83838 # Append VALUE to the end of shell variable VAR.
83839 func_append ()
83840 {
83841 eval "$1=\$$1\$2"
83842 }
83843
83844 _LT_EOF
83845 ;;
83846 esac
83847
83848
83849 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83850 || (rm -f "$cfgfile"; exit 1)
83851
83852 mv -f "$cfgfile" "$ofile" ||
83853 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83854 chmod +x "$ofile"
83855
83856
83857 cat <<_LT_EOF >> "$ofile"
83858
83859 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83860
83861 # The linker used to build libraries.
83862 LD=$lt_LD_CXX
83863
83864 # How to create reloadable object files.
83865 reload_flag=$lt_reload_flag_CXX
83866 reload_cmds=$lt_reload_cmds_CXX
83867
83868 # Commands used to build an old-style archive.
83869 old_archive_cmds=$lt_old_archive_cmds_CXX
83870
83871 # A language specific compiler.
83872 CC=$lt_compiler_CXX
83873
83874 # Is the compiler the GNU compiler?
83875 with_gcc=$GCC_CXX
83876
83877 # Compiler flag to turn off builtin functions.
83878 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83879
83880 # How to pass a linker flag through the compiler.
83881 wl=$lt_lt_prog_compiler_wl_CXX
83882
83883 # Additional compiler flags for building library objects.
83884 pic_flag=$lt_lt_prog_compiler_pic_CXX
83885
83886 # Compiler flag to prevent dynamic linking.
83887 link_static_flag=$lt_lt_prog_compiler_static_CXX
83888
83889 # Does compiler simultaneously support -c and -o options?
83890 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83891
83892 # Whether or not to add -lc for building shared libraries.
83893 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83894
83895 # Whether or not to disallow shared libs when runtime libs are static.
83896 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83897
83898 # Compiler flag to allow reflexive dlopens.
83899 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83900
83901 # Compiler flag to generate shared objects directly from archives.
83902 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83903
83904 # Whether the compiler copes with passing no objects directly.
83905 compiler_needs_object=$lt_compiler_needs_object_CXX
83906
83907 # Create an old-style archive from a shared archive.
83908 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83909
83910 # Create a temporary old-style archive to link instead of a shared archive.
83911 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83912
83913 # Commands used to build a shared archive.
83914 archive_cmds=$lt_archive_cmds_CXX
83915 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83916
83917 # Commands used to build a loadable module if different from building
83918 # a shared archive.
83919 module_cmds=$lt_module_cmds_CXX
83920 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83921
83922 # Whether we are building with GNU ld or not.
83923 with_gnu_ld=$lt_with_gnu_ld_CXX
83924
83925 # Flag that allows shared libraries with undefined symbols to be built.
83926 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83927
83928 # Flag that enforces no undefined symbols.
83929 no_undefined_flag=$lt_no_undefined_flag_CXX
83930
83931 # Flag to hardcode \$libdir into a binary during linking.
83932 # This must work even if \$libdir does not exist
83933 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83934
83935 # If ld is used when linking, flag to hardcode \$libdir into a binary
83936 # during linking. This must work even if \$libdir does not exist.
83937 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83938
83939 # Whether we need a single "-rpath" flag with a separated argument.
83940 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83941
83942 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83943 # DIR into the resulting binary.
83944 hardcode_direct=$hardcode_direct_CXX
83945
83946 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83947 # DIR into the resulting binary and the resulting library dependency is
83948 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83949 # library is relocated.
83950 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83951
83952 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83953 # into the resulting binary.
83954 hardcode_minus_L=$hardcode_minus_L_CXX
83955
83956 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83957 # into the resulting binary.
83958 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83959
83960 # Set to "yes" if building a shared library automatically hardcodes DIR
83961 # into the library and all subsequent libraries and executables linked
83962 # against it.
83963 hardcode_automatic=$hardcode_automatic_CXX
83964
83965 # Set to yes if linker adds runtime paths of dependent libraries
83966 # to runtime path list.
83967 inherit_rpath=$inherit_rpath_CXX
83968
83969 # Whether libtool must link a program against all its dependency libraries.
83970 link_all_deplibs=$link_all_deplibs_CXX
83971
83972 # Fix the shell variable \$srcfile for the compiler.
83973 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83974
83975 # Set to "yes" if exported symbols are required.
83976 always_export_symbols=$always_export_symbols_CXX
83977
83978 # The commands to list exported symbols.
83979 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83980
83981 # Symbols that should not be listed in the preloaded symbols.
83982 exclude_expsyms=$lt_exclude_expsyms_CXX
83983
83984 # Symbols that must always be exported.
83985 include_expsyms=$lt_include_expsyms_CXX
83986
83987 # Commands necessary for linking programs (against libraries) with templates.
83988 prelink_cmds=$lt_prelink_cmds_CXX
83989
83990 # Specify filename containing input files.
83991 file_list_spec=$lt_file_list_spec_CXX
83992
83993 # How to hardcode a shared library path into an executable.
83994 hardcode_action=$hardcode_action_CXX
83995
83996 # The directories searched by this compiler when creating a shared library.
83997 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
83998
83999 # Dependencies to place before and after the objects being linked to
84000 # create a shared library.
84001 predep_objects=$lt_predep_objects_CXX
84002 postdep_objects=$lt_postdep_objects_CXX
84003 predeps=$lt_predeps_CXX
84004 postdeps=$lt_postdeps_CXX
84005
84006 # The library search path used internally by the compiler when linking
84007 # a shared library.
84008 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84009
84010 # ### END LIBTOOL TAG CONFIG: CXX
84011 _LT_EOF
84012
84013 ;;
84014 "include/gstdint.h":C)
84015 if test "$GCC" = yes; then
84016 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84017 else
84018 echo "/* generated for $CC */" > tmp-stdint.h
84019 fi
84020
84021 sed 's/^ *//' >> tmp-stdint.h <<EOF
84022
84023 #ifndef GCC_GENERATED_STDINT_H
84024 #define GCC_GENERATED_STDINT_H 1
84025
84026 #include <sys/types.h>
84027 EOF
84028
84029 if test "$acx_cv_header_stdint" != stdint.h; then
84030 echo "#include <stddef.h>" >> tmp-stdint.h
84031 fi
84032 if test "$acx_cv_header_stdint" != stddef.h; then
84033 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84034 fi
84035
84036 sed 's/^ *//' >> tmp-stdint.h <<EOF
84037 /* glibc uses these symbols as guards to prevent redefinitions. */
84038 #ifdef __int8_t_defined
84039 #define _INT8_T
84040 #define _INT16_T
84041 #define _INT32_T
84042 #endif
84043 #ifdef __uint32_t_defined
84044 #define _UINT32_T
84045 #endif
84046
84047 EOF
84048
84049 # ----------------- done header, emit basic int types -------------
84050 if test "$acx_cv_header_stdint" = stddef.h; then
84051 sed 's/^ *//' >> tmp-stdint.h <<EOF
84052
84053 #ifndef _UINT8_T
84054 #define _UINT8_T
84055 #ifndef __uint8_t_defined
84056 #define __uint8_t_defined
84057 #ifndef uint8_t
84058 typedef unsigned $acx_cv_type_int8_t uint8_t;
84059 #endif
84060 #endif
84061 #endif
84062
84063 #ifndef _UINT16_T
84064 #define _UINT16_T
84065 #ifndef __uint16_t_defined
84066 #define __uint16_t_defined
84067 #ifndef uint16_t
84068 typedef unsigned $acx_cv_type_int16_t uint16_t;
84069 #endif
84070 #endif
84071 #endif
84072
84073 #ifndef _UINT32_T
84074 #define _UINT32_T
84075 #ifndef __uint32_t_defined
84076 #define __uint32_t_defined
84077 #ifndef uint32_t
84078 typedef unsigned $acx_cv_type_int32_t uint32_t;
84079 #endif
84080 #endif
84081 #endif
84082
84083 #ifndef _INT8_T
84084 #define _INT8_T
84085 #ifndef __int8_t_defined
84086 #define __int8_t_defined
84087 #ifndef int8_t
84088 typedef $acx_cv_type_int8_t int8_t;
84089 #endif
84090 #endif
84091 #endif
84092
84093 #ifndef _INT16_T
84094 #define _INT16_T
84095 #ifndef __int16_t_defined
84096 #define __int16_t_defined
84097 #ifndef int16_t
84098 typedef $acx_cv_type_int16_t int16_t;
84099 #endif
84100 #endif
84101 #endif
84102
84103 #ifndef _INT32_T
84104 #define _INT32_T
84105 #ifndef __int32_t_defined
84106 #define __int32_t_defined
84107 #ifndef int32_t
84108 typedef $acx_cv_type_int32_t int32_t;
84109 #endif
84110 #endif
84111 #endif
84112 EOF
84113 elif test "$ac_cv_type_u_int32_t" = yes; then
84114 sed 's/^ *//' >> tmp-stdint.h <<EOF
84115
84116 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84117 #ifndef _INT8_T
84118 #define _INT8_T
84119 #endif
84120 #ifndef _INT16_T
84121 #define _INT16_T
84122 #endif
84123 #ifndef _INT32_T
84124 #define _INT32_T
84125 #endif
84126
84127 #ifndef _UINT8_T
84128 #define _UINT8_T
84129 #ifndef __uint8_t_defined
84130 #define __uint8_t_defined
84131 #ifndef uint8_t
84132 typedef u_int8_t uint8_t;
84133 #endif
84134 #endif
84135 #endif
84136
84137 #ifndef _UINT16_T
84138 #define _UINT16_T
84139 #ifndef __uint16_t_defined
84140 #define __uint16_t_defined
84141 #ifndef uint16_t
84142 typedef u_int16_t uint16_t;
84143 #endif
84144 #endif
84145 #endif
84146
84147 #ifndef _UINT32_T
84148 #define _UINT32_T
84149 #ifndef __uint32_t_defined
84150 #define __uint32_t_defined
84151 #ifndef uint32_t
84152 typedef u_int32_t uint32_t;
84153 #endif
84154 #endif
84155 #endif
84156 EOF
84157 else
84158 sed 's/^ *//' >> tmp-stdint.h <<EOF
84159
84160 /* Some systems have guard macros to prevent redefinitions, define them. */
84161 #ifndef _INT8_T
84162 #define _INT8_T
84163 #endif
84164 #ifndef _INT16_T
84165 #define _INT16_T
84166 #endif
84167 #ifndef _INT32_T
84168 #define _INT32_T
84169 #endif
84170 #ifndef _UINT8_T
84171 #define _UINT8_T
84172 #endif
84173 #ifndef _UINT16_T
84174 #define _UINT16_T
84175 #endif
84176 #ifndef _UINT32_T
84177 #define _UINT32_T
84178 #endif
84179 EOF
84180 fi
84181
84182 # ------------- done basic int types, emit int64_t types ------------
84183 if test "$ac_cv_type_uint64_t" = yes; then
84184 sed 's/^ *//' >> tmp-stdint.h <<EOF
84185
84186 /* system headers have good uint64_t and int64_t */
84187 #ifndef _INT64_T
84188 #define _INT64_T
84189 #endif
84190 #ifndef _UINT64_T
84191 #define _UINT64_T
84192 #endif
84193 EOF
84194 elif test "$ac_cv_type_u_int64_t" = yes; then
84195 sed 's/^ *//' >> tmp-stdint.h <<EOF
84196
84197 /* system headers have an u_int64_t (and int64_t) */
84198 #ifndef _INT64_T
84199 #define _INT64_T
84200 #endif
84201 #ifndef _UINT64_T
84202 #define _UINT64_T
84203 #ifndef __uint64_t_defined
84204 #define __uint64_t_defined
84205 #ifndef uint64_t
84206 typedef u_int64_t uint64_t;
84207 #endif
84208 #endif
84209 #endif
84210 EOF
84211 elif test -n "$acx_cv_type_int64_t"; then
84212 sed 's/^ *//' >> tmp-stdint.h <<EOF
84213
84214 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84215 #ifndef _INT64_T
84216 #define _INT64_T
84217 #ifndef int64_t
84218 typedef $acx_cv_type_int64_t int64_t;
84219 #endif
84220 #endif
84221 #ifndef _UINT64_T
84222 #define _UINT64_T
84223 #ifndef __uint64_t_defined
84224 #define __uint64_t_defined
84225 #ifndef uint64_t
84226 typedef unsigned $acx_cv_type_int64_t uint64_t;
84227 #endif
84228 #endif
84229 #endif
84230 EOF
84231 else
84232 sed 's/^ *//' >> tmp-stdint.h <<EOF
84233
84234 /* some common heuristics for int64_t, using compiler-specific tests */
84235 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84236 #ifndef _INT64_T
84237 #define _INT64_T
84238 #ifndef __int64_t_defined
84239 #ifndef int64_t
84240 typedef long long int64_t;
84241 #endif
84242 #endif
84243 #endif
84244 #ifndef _UINT64_T
84245 #define _UINT64_T
84246 #ifndef uint64_t
84247 typedef unsigned long long uint64_t;
84248 #endif
84249 #endif
84250
84251 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84252 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84253 does not implement __extension__. But that compiler doesn't define
84254 __GNUC_MINOR__. */
84255 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84256 # define __extension__
84257 # endif
84258
84259 # ifndef _INT64_T
84260 # define _INT64_T
84261 # ifndef int64_t
84262 __extension__ typedef long long int64_t;
84263 # endif
84264 # endif
84265 # ifndef _UINT64_T
84266 # define _UINT64_T
84267 # ifndef uint64_t
84268 __extension__ typedef unsigned long long uint64_t;
84269 # endif
84270 # endif
84271
84272 #elif !defined __STRICT_ANSI__
84273 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84274
84275 # ifndef _INT64_T
84276 # define _INT64_T
84277 # ifndef int64_t
84278 typedef __int64 int64_t;
84279 # endif
84280 # endif
84281 # ifndef _UINT64_T
84282 # define _UINT64_T
84283 # ifndef uint64_t
84284 typedef unsigned __int64 uint64_t;
84285 # endif
84286 # endif
84287 # endif /* compiler */
84288
84289 #endif /* ANSI version */
84290 EOF
84291 fi
84292
84293 # ------------- done int64_t types, emit intptr types ------------
84294 if test "$ac_cv_type_uintptr_t" != yes; then
84295 sed 's/^ *//' >> tmp-stdint.h <<EOF
84296
84297 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84298 #ifndef __uintptr_t_defined
84299 #ifndef uintptr_t
84300 typedef u$acx_cv_type_intptr_t uintptr_t;
84301 #endif
84302 #endif
84303 #ifndef __intptr_t_defined
84304 #ifndef intptr_t
84305 typedef $acx_cv_type_intptr_t intptr_t;
84306 #endif
84307 #endif
84308 EOF
84309 fi
84310
84311 # ------------- done intptr types, emit int_least types ------------
84312 if test "$ac_cv_type_int_least32_t" != yes; then
84313 sed 's/^ *//' >> tmp-stdint.h <<EOF
84314
84315 /* Define int_least types */
84316 typedef int8_t int_least8_t;
84317 typedef int16_t int_least16_t;
84318 typedef int32_t int_least32_t;
84319 #ifdef _INT64_T
84320 typedef int64_t int_least64_t;
84321 #endif
84322
84323 typedef uint8_t uint_least8_t;
84324 typedef uint16_t uint_least16_t;
84325 typedef uint32_t uint_least32_t;
84326 #ifdef _UINT64_T
84327 typedef uint64_t uint_least64_t;
84328 #endif
84329 EOF
84330 fi
84331
84332 # ------------- done intptr types, emit int_fast types ------------
84333 if test "$ac_cv_type_int_fast32_t" != yes; then
84334 sed 's/^ *//' >> tmp-stdint.h <<EOF
84335
84336 /* Define int_fast types. short is often slow */
84337 typedef int8_t int_fast8_t;
84338 typedef int int_fast16_t;
84339 typedef int32_t int_fast32_t;
84340 #ifdef _INT64_T
84341 typedef int64_t int_fast64_t;
84342 #endif
84343
84344 typedef uint8_t uint_fast8_t;
84345 typedef unsigned int uint_fast16_t;
84346 typedef uint32_t uint_fast32_t;
84347 #ifdef _UINT64_T
84348 typedef uint64_t uint_fast64_t;
84349 #endif
84350 EOF
84351 fi
84352
84353 if test "$ac_cv_type_uintmax_t" != yes; then
84354 sed 's/^ *//' >> tmp-stdint.h <<EOF
84355
84356 /* Define intmax based on what we found */
84357 #ifndef intmax_t
84358 #ifdef _INT64_T
84359 typedef int64_t intmax_t;
84360 #else
84361 typedef long intmax_t;
84362 #endif
84363 #endif
84364 #ifndef uintmax_t
84365 #ifdef _UINT64_T
84366 typedef uint64_t uintmax_t;
84367 #else
84368 typedef unsigned long uintmax_t;
84369 #endif
84370 #endif
84371 EOF
84372 fi
84373
84374 sed 's/^ *//' >> tmp-stdint.h <<EOF
84375
84376 #endif /* GCC_GENERATED_STDINT_H */
84377 EOF
84378
84379 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84380 rm -f tmp-stdint.h
84381 else
84382 mv -f tmp-stdint.h include/gstdint.h
84383 fi
84384
84385 ;;
84386 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84387 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84388 "include/Makefile":F) cat > vpsed$$ << \_EOF
84389 s!`test -f '$<' || echo '$(srcdir)/'`!!
84390 _EOF
84391 sed -f vpsed$$ $ac_file > tmp$$
84392 mv tmp$$ $ac_file
84393 rm vpsed$$
84394 echo 'MULTISUBDIR =' >> $ac_file
84395 ml_norecursion=yes
84396 . ${multi_basedir}/config-ml.in
84397 { ml_norecursion=; unset ml_norecursion;}
84398 ;;
84399 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84400 s!`test -f '$<' || echo '$(srcdir)/'`!!
84401 _EOF
84402 sed -f vpsed$$ $ac_file > tmp$$
84403 mv tmp$$ $ac_file
84404 rm vpsed$$
84405 echo 'MULTISUBDIR =' >> $ac_file
84406 ml_norecursion=yes
84407 . ${multi_basedir}/config-ml.in
84408 { ml_norecursion=; unset ml_norecursion;}
84409 ;;
84410 "src/Makefile":F) cat > vpsed$$ << \_EOF
84411 s!`test -f '$<' || echo '$(srcdir)/'`!!
84412 _EOF
84413 sed -f vpsed$$ $ac_file > tmp$$
84414 mv tmp$$ $ac_file
84415 rm vpsed$$
84416 echo 'MULTISUBDIR =' >> $ac_file
84417 ml_norecursion=yes
84418 . ${multi_basedir}/config-ml.in
84419 { ml_norecursion=; unset ml_norecursion;}
84420 ;;
84421 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84422 s!`test -f '$<' || echo '$(srcdir)/'`!!
84423 _EOF
84424 sed -f vpsed$$ $ac_file > tmp$$
84425 mv tmp$$ $ac_file
84426 rm vpsed$$
84427 echo 'MULTISUBDIR =' >> $ac_file
84428 ml_norecursion=yes
84429 . ${multi_basedir}/config-ml.in
84430 { ml_norecursion=; unset ml_norecursion;}
84431 ;;
84432 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84433 s!`test -f '$<' || echo '$(srcdir)/'`!!
84434 _EOF
84435 sed -f vpsed$$ $ac_file > tmp$$
84436 mv tmp$$ $ac_file
84437 rm vpsed$$
84438 echo 'MULTISUBDIR =' >> $ac_file
84439 ml_norecursion=yes
84440 . ${multi_basedir}/config-ml.in
84441 { ml_norecursion=; unset ml_norecursion;}
84442 ;;
84443 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84444 s!`test -f '$<' || echo '$(srcdir)/'`!!
84445 _EOF
84446 sed -f vpsed$$ $ac_file > tmp$$
84447 mv tmp$$ $ac_file
84448 rm vpsed$$
84449 echo 'MULTISUBDIR =' >> $ac_file
84450 ml_norecursion=yes
84451 . ${multi_basedir}/config-ml.in
84452 { ml_norecursion=; unset ml_norecursion;}
84453 ;;
84454 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84455 s!`test -f '$<' || echo '$(srcdir)/'`!!
84456 _EOF
84457 sed -f vpsed$$ $ac_file > tmp$$
84458 mv tmp$$ $ac_file
84459 rm vpsed$$
84460 echo 'MULTISUBDIR =' >> $ac_file
84461 ml_norecursion=yes
84462 . ${multi_basedir}/config-ml.in
84463 { ml_norecursion=; unset ml_norecursion;}
84464 ;;
84465 "po/Makefile":F) cat > vpsed$$ << \_EOF
84466 s!`test -f '$<' || echo '$(srcdir)/'`!!
84467 _EOF
84468 sed -f vpsed$$ $ac_file > tmp$$
84469 mv tmp$$ $ac_file
84470 rm vpsed$$
84471 echo 'MULTISUBDIR =' >> $ac_file
84472 ml_norecursion=yes
84473 . ${multi_basedir}/config-ml.in
84474 { ml_norecursion=; unset ml_norecursion;}
84475 ;;
84476 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84477 s!`test -f '$<' || echo '$(srcdir)/'`!!
84478 _EOF
84479 sed -f vpsed$$ $ac_file > tmp$$
84480 mv tmp$$ $ac_file
84481 rm vpsed$$
84482 echo 'MULTISUBDIR =' >> $ac_file
84483 ml_norecursion=yes
84484 . ${multi_basedir}/config-ml.in
84485 { ml_norecursion=; unset ml_norecursion;}
84486 ;;
84487 "python/Makefile":F) cat > vpsed$$ << \_EOF
84488 s!`test -f '$<' || echo '$(srcdir)/'`!!
84489 _EOF
84490 sed -f vpsed$$ $ac_file > tmp$$
84491 mv tmp$$ $ac_file
84492 rm vpsed$$
84493 echo 'MULTISUBDIR =' >> $ac_file
84494 ml_norecursion=yes
84495 . ${multi_basedir}/config-ml.in
84496 { ml_norecursion=; unset ml_norecursion;}
84497 ;;
84498 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84499
84500 esac
84501 done # for ac_tag
84502
84503
84504 as_fn_exit 0
84505 _ACEOF
84506 ac_clean_files=$ac_clean_files_save
84507
84508 test $ac_write_fail = 0 ||
84509 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84510
84511
84512 # configure is writing to config.log, and then calls config.status.
84513 # config.status does its own redirection, appending to config.log.
84514 # Unfortunately, on DOS this fails, as config.log is still kept open
84515 # by configure, so config.status won't be able to write to it; its
84516 # output is simply discarded. So we exec the FD to /dev/null,
84517 # effectively closing config.log, so it can be properly (re)opened and
84518 # appended to by config.status. When coming back to configure, we
84519 # need to make the FD available again.
84520 if test "$no_create" != yes; then
84521 ac_cs_success=:
84522 ac_config_status_args=
84523 test "$silent" = yes &&
84524 ac_config_status_args="$ac_config_status_args --quiet"
84525 exec 5>/dev/null
84526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84527 exec 5>>config.log
84528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84529 # would make configure fail if this is the last instruction.
84530 $ac_cs_success || as_fn_exit $?
84531 fi
84532 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84534 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
84535 fi
84536