]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
gthr.m4: New.
[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 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
730 NM
731 ac_ct_DUMPBIN
732 DUMPBIN
733 LD
734 FGREP
735 SED
736 LIBTOOL
737 EGREP
738 GREP
739 CPP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
744 AR
745 AS
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
753 CXX
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
760 CC
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
766 AWK
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
880 '
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
884 CC
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
889 CXX
890 CXXFLAGS
891 CCC
892 CPP
893 CXXCPP
894 CXXFILT'
895
896
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
918
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
944
945 ac_prev=
946 ac_dashdash=
947 for ac_option
948 do
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
954 fi
955
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
960
961 # Accept the important Cygnus configure options, so we can diagnose typos.
962
963 case $ac_dashdash$ac_option in
964 --)
965 ac_dashdash=yes ;;
966
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
971
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
976
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
983
984 --config-cache | -C)
985 cache_file=config.cache ;;
986
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
991
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
998
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1007 *"
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1014
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1019
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1024
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1033 *"
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1049
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1053
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1060
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1065
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1071
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1078
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1083
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1088
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1095
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1100
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1107
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1112
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1116
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1120
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1124
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1133
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1138
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1145
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1152
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1169
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1174
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1179
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1183
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1189
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1200
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1205
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1210
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1217
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1222
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1225
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1228
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1237 *"
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1244
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1253 *"
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1260
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1264
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1271
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1278
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1281 ;;
1282
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1292
1293 *)
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299 ;;
1300
1301 esac
1302 done
1303
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1307 fi
1308
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1315 fi
1316
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1322 do
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1337
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1344
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1353 fi
1354 fi
1355
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359 test "$silent" = yes && exec 6>/dev/null
1360
1361
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1368
1369
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1382 q
1383 }
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1386 q
1387 }
1388 /^X\(\/\/\)$/{
1389 s//\1/
1390 q
1391 }
1392 /^X\(\/\).*/{
1393 s//\1/
1394 q
1395 }
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1400 fi
1401 else
1402 ac_srcdir_defaulted=no
1403 fi
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1407 fi
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1415 fi
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1428
1429 #
1430 # Report the --help message.
1431 #
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1437
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1442
1443 Defaults for the options are specified in brackets.
1444
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1461
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1466
1467 For better control, use the options below.
1468
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1490
1491 cat <<\_ACEOF
1492
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1497
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1503 fi
1504
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1510
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=no]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1576
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1595
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1610
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1613
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1617 fi
1618
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1626
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *)
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1642
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1672 fi
1673
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1679
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1685 fi
1686
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1690
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1695 {
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1711 fi
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1721
1722 ac_retval=1
1723 fi
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1726
1727 } # ac_fn_c_try_compile
1728
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1733 {
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1749 fi
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1759
1760 ac_retval=1
1761 fi
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1764
1765 } # ac_fn_cxx_try_compile
1766
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1786 fi
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1796
1797 ac_retval=1
1798 fi
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1801
1802 } # ac_fn_c_try_cpp
1803
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1808 {
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1824 fi
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1837
1838 ac_retval=1
1839 fi
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1847
1848 } # ac_fn_c_try_link
1849
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1855 {
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1864 $4
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1871 fi
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 fi
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878
1879 } # ac_fn_c_check_header_compile
1880
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1886 {
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915 ac_retval=$ac_status
1916 fi
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1920
1921 } # ac_fn_c_try_run
1922
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1927 {
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1936 fi
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1942
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1947
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1953
1954 #undef $2
1955
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1969
1970 int
1971 main ()
1972 {
1973 return $2 ();
1974 ;
1975 return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1982 fi
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1985 fi
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
1991 } # ac_fn_c_check_func
1992
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1997 {
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2012 fi
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2022
2023 ac_retval=1
2024 fi
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2027
2028 } # ac_fn_cxx_try_cpp
2029
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2034 {
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2050 fi
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2063
2064 ac_retval=1
2065 fi
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2073
2074 } # ac_fn_cxx_try_link
2075
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2082 {
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2089 fi
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 $4
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2110
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2122 fi
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2126
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134 ;;
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146 ;;
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2154 fi
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 fi
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160
2161 } # ac_fn_c_check_header_mongrel
2162
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2169 {
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2176 fi
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 $4
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2193 fi
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2197
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2209 fi
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2213
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221 ;;
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 ;;
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2241 fi
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2245 fi
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_cxx_check_header_mongrel
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269 ;
2270 return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2296 fi
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311 ;
2312 return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327 ;
2328 return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2338 fi
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361 ;
2362 return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2392 {
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2397 }
2398 else
2399 {
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2404 }
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2408
2409 ;
2410 return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422 fi
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2433 {
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2443 $4
2444 int
2445 main ()
2446 {
2447 if (sizeof ($2))
2448 return 0;
2449 ;
2450 return 0;
2451 }
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2456 $4
2457 int
2458 main ()
2459 {
2460 if (sizeof (($2)))
2461 return 0;
2462 ;
2463 return 0;
2464 }
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467
2468 else
2469 eval "$3=yes"
2470 fi
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 fi
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 fi
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2484
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2487
2488 $ $0 $@
2489
2490 _ACEOF
2491 exec 5>>config.log
2492 {
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2497
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2503
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2506
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2514
2515 _ASUNAME
2516
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2525
2526 } >&5
2527
2528 cat >&5 <<_ACEOF
2529
2530
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2534
2535 _ACEOF
2536
2537
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2548 do
2549 for ac_arg
2550 do
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2561 2)
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2574 ;;
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2577 fi
2578 as_fn_append ac_configure_args " '$ac_arg'"
2579 ;;
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2585
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2593 {
2594 echo
2595
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2603 (
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2626 *)
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628 ;;
2629 esac |
2630 sort
2631 )
2632 echo
2633
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2641 do
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2649
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2658 do
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2666 fi
2667
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2677 fi
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2685 ' 0
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2690
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2693
2694 $as_echo "/* confdefs.h */" > confdefs.h
2695
2696 # Predefined preprocessor variables.
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2705
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2709
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2713
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2721
2722
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2735 fi
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2737 do
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2744 fi
2745 done
2746
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2757 fi
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2762 fi
2763
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2782 *)
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2795 fi
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2812 fi
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2820 fi
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2824
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830
2831
2832
2833
2834
2835
2836 ac_config_headers="$ac_config_headers config.h"
2837
2838
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2844
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2856 fi
2857
2858
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2862
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2868 fi
2869 else
2870 multi_basedir="$srcdir/.."
2871 fi
2872
2873
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2879 fi
2880
2881 ac_config_commands="$ac_config_commands default-1"
2882
2883
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2885 #
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2892 #
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2895 #
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2905 fi
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910 fi
2911
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2919
2920
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2937
2938 fi
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2957
2958
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2969 fi
2970
2971 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2990
2991
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3002 fi
3003
3004 fi
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3023
3024
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3031
3032 target_alias=${target_alias-$host_alias}
3033
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3036
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3051 fi
3052 ;;
3053
3054 *)
3055
3056 ;;
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3060 fi
3061
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3075
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3098 do
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3107 *)
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3117 :
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3121 :
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3134 fi
3135 fi
3136 fi
3137 done
3138 done
3139 ;;
3140 esac
3141
3142 done
3143 IFS=$as_save_IFS
3144
3145 rm -rf conftest.one conftest.two conftest.dir
3146
3147 fi
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3156 fi
3157 fi
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3160
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3164
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3166
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3168
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3177 '
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3186
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3197 fi
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3201
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3208 fi
3209
3210 test "$2" = conftest.file
3211 )
3212 then
3213 # Ok.
3214 :
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3218 fi
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3230
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3233
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3238 *)
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3241 fi
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3249 fi
3250
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3255 *)
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3258 fi
3259
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3286 fi
3287 done
3288 done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303 fi
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327 done
3328 done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3352 fi
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3355 fi
3356
3357 fi
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3359
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3368 do
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3385
3386 fi
3387
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3397 fi
3398 fi
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3401
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3407
3408 for ac_prog in gawk mawk nawk awk
3409 do
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3430 fi
3431 done
3432 done
3433 IFS=$as_save_IFS
3434
3435 fi
3436 fi
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3444 fi
3445
3446
3447 test -n "$AWK" && break
3448 done
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3466 *)
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3470 fi
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3479 fi
3480
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3487 fi
3488 rmdir .tst 2>/dev/null
3489
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3497 fi
3498 fi
3499
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3506 fi
3507 fi
3508
3509
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3513
3514
3515 # Some tools Automake needs.
3516
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3518
3519
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3521
3522
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3524
3525
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3527
3528
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3530
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3534
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3536
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3538
3539
3540
3541
3542
3543
3544
3545
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3548
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3577 fi
3578 done
3579 done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594 fi
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3617 fi
3618 done
3619 done
3620 IFS=$as_save_IFS
3621
3622 fi
3623 fi
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3631 fi
3632
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3643 fi
3644 else
3645 CC="$ac_cv_prog_CC"
3646 fi
3647
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3662 do
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3670 fi
3671 done
3672 done
3673 IFS=$as_save_IFS
3674
3675 fi
3676 fi
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3684 fi
3685
3686
3687 fi
3688 fi
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3711 fi
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3715 fi
3716 done
3717 done
3718 IFS=$as_save_IFS
3719
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730 fi
3731 fi
3732 fi
3733 fi
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743
3744 fi
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3748 do
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3769 fi
3770 done
3771 done
3772 IFS=$as_save_IFS
3773
3774 fi
3775 fi
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 fi
3784
3785
3786 test -n "$CC" && break
3787 done
3788 fi
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3792 do
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3805 do
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3813 fi
3814 done
3815 done
3816 IFS=$as_save_IFS
3817
3818 fi
3819 fi
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 fi
3828
3829
3830 test -n "$ac_ct_CC" && break
3831 done
3832
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3843 fi
3844 fi
3845
3846 fi
3847
3848
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3853
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3874 fi
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3878
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3881
3882 int
3883 main ()
3884 {
3885
3886 ;
3887 return 0;
3888 }
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3899 fi
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3909
3910 int
3911 main ()
3912 {
3913
3914 ;
3915 return 0;
3916 }
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3926
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3932 do
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3939
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3957 do
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961 ;;
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3970 fi
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3977 * )
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3982
3983 else
3984 ac_file=''
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3991
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3997 fi
3998 ac_exeext=$ac_cv_exeext
3999
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4027 fi
4028 fi
4029 fi
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4032
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4041
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
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_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4073 fi
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4077
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4089
4090 int
4091 main ()
4092 {
4093
4094 ;
4095 return 0;
4096 }
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4121
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4126 fi
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140
4141 int
4142 main ()
4143 {
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4147
4148 ;
4149 return 0;
4150 }
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4156 fi
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4167 fi
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4181
4182 int
4183 main ()
4184 {
4185
4186 ;
4187 return 0;
4188 }
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196
4197 int
4198 main ()
4199 {
4200
4201 ;
4202 return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212
4213 int
4214 main ()
4215 {
4216
4217 ;
4218 return 0;
4219 }
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4223 fi
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 fi
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4240 fi
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4246 fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4267 {
4268 return p[i];
4269 }
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4271 {
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4278 }
4279
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4300 int
4301 main ()
4302 {
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 ;
4305 return 0;
4306 }
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 do
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4314 fi
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4320
4321 fi
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4324 x)
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4330 *)
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336
4337 fi
4338
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356 do
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4377 fi
4378 done
4379 done
4380 IFS=$as_save_IFS
4381
4382 fi
4383 fi
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394 test -n "$CXX" && break
4395 done
4396 fi
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 do
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4413 do
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4421 fi
4422 done
4423 done
4424 IFS=$as_save_IFS
4425
4426 fi
4427 fi
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436
4437
4438 test -n "$ac_ct_CXX" && break
4439 done
4440
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4451 fi
4452 fi
4453
4454 fi
4455 fi
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4476 fi
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4488
4489 int
4490 main ()
4491 {
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4495
4496 ;
4497 return 0;
4498 }
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4504 fi
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4507
4508 fi
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4515 fi
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4529
4530 int
4531 main ()
4532 {
4533
4534 ;
4535 return 0;
4536 }
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4544
4545 int
4546 main ()
4547 {
4548
4549 ;
4550 return 0;
4551 }
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4560
4561 int
4562 main ()
4563 {
4564
4565 ;
4566 return 0;
4567 }
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 fi
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 fi
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 fi
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4588 fi
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4594 fi
4595 fi
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601
4602 CXXFLAGS="$save_CXXFLAGS"
4603
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4617 fi
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4624 do
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4627 do
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644
4645 else
4646 # Broken: fails on valid input.
4647 continue
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4664 fi
4665 rm -f conftest.err conftest.$ac_ext
4666
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4672 fi
4673
4674 done
4675 ac_cv_prog_CPP=$CPP
4676
4677 fi
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4686 do
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703
4704 else
4705 # Broken: fails on valid input.
4706 continue
4707 fi
4708 rm -f conftest.err conftest.$ac_ext
4709
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4730
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4736 fi
4737
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743
4744
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4755 do
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4767 *)
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4771 do
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4783 fi
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4789
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797 fi
4798 else
4799 ac_cv_path_GREP=$GREP
4800 fi
4801
4802 fi
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4806
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 do
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4833 *)
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4837 do
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4849 fi
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4855
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863 fi
4864 else
4865 ac_cv_path_EGREP=$EGREP
4866 fi
4867
4868 fi
4869 fi
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4873
4874
4875
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4879
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4881
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4892
4893
4894
4895
4896
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4899
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4903 fi
4904
4905
4906
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4910 fi
4911
4912
4913
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4917 fi
4918
4919
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4931 fi
4932
4933 #LN_S='cp -p'
4934
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4948 do
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4956 fi
4957 done
4958 done
4959 IFS=$as_save_IFS
4960
4961 fi
4962 fi
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 fi
4971
4972
4973 fi
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4996 fi
4997 done
4998 done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5022 fi
5023 else
5024 AS="$ac_cv_prog_AS"
5025 fi
5026
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5040 do
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5048 fi
5049 done
5050 done
5051 IFS=$as_save_IFS
5052
5053 fi
5054 fi
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5062 fi
5063
5064
5065 fi
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5088 fi
5089 done
5090 done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5114 fi
5115 else
5116 AR="$ac_cv_prog_AR"
5117 fi
5118
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5132 do
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5140 fi
5141 done
5142 done
5143 IFS=$as_save_IFS
5144
5145 fi
5146 fi
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 fi
5155
5156
5157 fi
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5180 fi
5181 done
5182 done
5183 IFS=$as_save_IFS
5184
5185 fi
5186 fi
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5206 fi
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5209 fi
5210
5211
5212
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5220 fi
5221
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5230 fi
5231
5232 MAINT=$MAINTAINER_MODE_TRUE
5233
5234
5235
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5240
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5250
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5257 fi
5258 rm -f conftest*
5259
5260
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5268
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5275 fi
5276 rm -f conftest*
5277
5278
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5281
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5287
5288
5289
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5293
5294
5295
5296 fi
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5302
5303
5304
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320 ltmain="$ac_aux_dir/ltmain.sh"
5321
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5325
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5328
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5332
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5335
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5338
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5342
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5354 {
5355 eval 'cat <<_LTECHO_EOF
5356 $1
5357 _LTECHO_EOF'
5358 }
5359 ECHO='func_fallback_echo'
5360 fi
5361
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5365 {
5366 $ECHO ""
5367 }
5368
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5407 do
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5419 *)
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5423 do
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5435 fi
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5441
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5449 fi
5450 else
5451 ac_cv_path_SED=$SED
5452 fi
5453
5454 fi
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5459
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486 do
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5498 *)
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5502 do
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5514 fi
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5520
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528 fi
5529 else
5530 ac_cv_path_FGREP=$FGREP
5531 fi
5532
5533 fi
5534 fi
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5538
5539
5540 test -z "$GREP" && GREP=grep
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5565 fi
5566
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5576 *)
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5589 ;;
5590 "")
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5593 ;;
5594 *)
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5597 ;;
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5605 fi
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5622 ;;
5623 *)
5624 test "$with_gnu_ld" != yes && break
5625 ;;
5626 esac
5627 fi
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5632 fi
5633 fi
5634
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5642 fi
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5653 ;;
5654 *)
5655 lt_cv_prog_gnu_ld=no
5656 ;;
5657 esac
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5683 fi
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5699 ;;
5700 *)
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5705 ;;
5706 *)
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5709 ;;
5710 esac
5711 ;;
5712 esac
5713 fi
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5718 fi
5719 fi
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5731 do
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5744 do
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5752 fi
5753 done
5754 done
5755 IFS=$as_save_IFS
5756
5757 fi
5758 fi
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5766 fi
5767
5768
5769 test -n "$DUMPBIN" && break
5770 done
5771 fi
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5775 do
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5788 do
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5796 fi
5797 done
5798 done
5799 IFS=$as_save_IFS
5800
5801 fi
5802 fi
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5810 fi
5811
5812
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5815
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5826 fi
5827 fi
5828
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5832 ;;
5833 *)
5834 DUMPBIN=:
5835 ;;
5836 esac
5837 fi
5838
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5841 fi
5842 fi
5843 test -z "$NM" && NM=nm
5844
5845
5846
5847
5848
5849
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5867 fi
5868 rm -f conftest*
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5872
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 i=0
5880 teststring="ABCD"
5881
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5889 ;;
5890
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5896 ;;
5897
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5907 ;;
5908
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5912 ;;
5913
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5918 ;;
5919
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5928 fi
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5932 ;;
5933
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5937 ;;
5938
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5945 #
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5950 fi
5951 ;;
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5954 ;;
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5961 fi
5962 ;;
5963 *)
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5981 do
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5992 fi
5993 ;;
5994 esac
5995
5996 fi
5997
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6004 fi
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6006
6007
6008
6009
6010
6011
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6015
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6028
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6038
6039
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6044 fi
6045
6046
6047
6048
6049
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6056 ;;
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6060 ;;
6061 esac
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6092 fi
6093 ;;
6094 esac
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6117 do
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6125 fi
6126 done
6127 done
6128 IFS=$as_save_IFS
6129
6130 fi
6131 fi
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6139 fi
6140
6141
6142 fi
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6165 fi
6166 done
6167 done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6191 fi
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 fi
6195
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6224
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6228 ;;
6229
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6232 ;;
6233
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6238 ;;
6239
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6244 ;;
6245
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6257 fi
6258 ;;
6259
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6264 ;;
6265
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6268 ;;
6269
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279 ;;
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6283 fi
6284 ;;
6285
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6288 ;;
6289
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6292 ;;
6293
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300 ;;
6301 hppa*64*)
6302 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]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6304 ;;
6305 *)
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308 ;;
6309 esac
6310 ;;
6311
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6315 ;;
6316
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6325 ;;
6326
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6330 ;;
6331
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6337 fi
6338 ;;
6339
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6344 ;;
6345
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355 fi
6356 ;;
6357
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6368 ;;
6369
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6372 ;;
6373
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 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]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379 ;;
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6382 ;;
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386 ;;
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6391 ;;
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6394 ;;
6395 pc)
6396 lt_cv_deplibs_check_method=pass_all
6397 ;;
6398 esac
6399 ;;
6400
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6403 ;;
6404 esac
6405
6406 fi
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6437 do
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6445 fi
6446 done
6447 done
6448 IFS=$as_save_IFS
6449
6450 fi
6451 fi
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6459 fi
6460
6461
6462 fi
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6477 do
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6485 fi
6486 done
6487 done
6488 IFS=$as_save_IFS
6489
6490 fi
6491 fi
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6499 fi
6500
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6511 fi
6512 else
6513 AR="$ac_cv_prog_AR"
6514 fi
6515
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6542 do
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6550 fi
6551 done
6552 done
6553 IFS=$as_save_IFS
6554
6555 fi
6556 fi
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6564 fi
6565
6566
6567 fi
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6590 fi
6591 done
6592 done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6616 fi
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6619 fi
6620
6621 test -z "$STRIP" && STRIP=:
6622
6623
6624
6625
6626
6627
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6649 fi
6650 done
6651 done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665
6666 fi
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6681 do
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6689 fi
6690 done
6691 done
6692 IFS=$as_save_IFS
6693
6694 fi
6695 fi
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6703 fi
6704
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6715 fi
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6718 fi
6719
6720 test -z "$RANLIB" && RANLIB=:
6721
6722
6723
6724
6725
6726
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6731
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6736 ;;
6737 *)
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6739 ;;
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6742 fi
6743
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6747 *)
6748 lock_old_archive_extraction=no ;;
6749 esac
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6791
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6797
6798
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6808
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6811
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6819 ;;
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6822 ;;
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6826 fi
6827 ;;
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6830 ;;
6831 osf*)
6832 symcode='[BCDEGQRST]'
6833 ;;
6834 solaris*)
6835 symcode='[BDRT]'
6836 ;;
6837 sco3.2v5*)
6838 symcode='[DT]'
6839 ;;
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6842 ;;
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6845 ;;
6846 sysv4)
6847 symcode='[DFNSTU]'
6848 ;;
6849 esac
6850
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6856
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 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'"
6865
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871 ;;
6872 esac
6873
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6876
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6879
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899 fi
6900
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6903
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6913 }
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6917
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6935 fi
6936
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6944
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948
6949 cat <<_LT_EOF >> conftest.$ac_ext
6950
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6955 }
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6957 {
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6963 };
6964
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6969 }
6970 #endif
6971
6972 #ifdef __cplusplus
6973 }
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6988 fi
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6993 fi
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6996 fi
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6999 fi
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7003 fi
7004 rm -rf conftest* conftst*
7005
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7011 fi
7012 done
7013
7014 fi
7015
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7018 fi
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7025 fi
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7051 fi
7052
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7054
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7069 ;;
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7072 ;;
7073 esac
7074 fi
7075 rm -rf conftest*
7076 ;;
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7089 ;;
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7092 ;;
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7095 ;;
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7101 ;;
7102 *N32*)
7103 LD="${LD-ld} -n32"
7104 ;;
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7107 ;;
7108 esac
7109 fi
7110 fi
7111 rm -rf conftest*
7112 ;;
7113
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7128 ;;
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7133 ;;
7134 *)
7135 LD="${LD-ld} -m elf_i386"
7136 ;;
7137 esac
7138 ;;
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7141 ;;
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7144 ;;
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7147 ;;
7148 esac
7149 ;;
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7154 ;;
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7157 ;;
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7160 ;;
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7163 ;;
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7166 ;;
7167 esac
7168 ;;
7169 esac
7170 fi
7171 rm -rf conftest*
7172 ;;
7173
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7191 fi
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194
7195 int
7196 main ()
7197 {
7198
7199 ;
7200 return 0;
7201 }
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7207 fi
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215
7216 fi
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7222 fi
7223 ;;
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7236 *)
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7239 fi
7240 ;;
7241 esac
7242 ;;
7243 esac
7244 fi
7245 rm -rf conftest*
7246 ;;
7247 esac
7248
7249 need_locks="$enable_libtool_lock"
7250
7251
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7267 do
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7275 fi
7276 done
7277 done
7278 IFS=$as_save_IFS
7279
7280 fi
7281 fi
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7289 fi
7290
7291
7292 fi
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7315 fi
7316 done
7317 done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7341 fi
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7344 fi
7345
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7367 fi
7368 done
7369 done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383
7384 fi
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7407 fi
7408 done
7409 done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7433 fi
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7436 fi
7437
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7451 do
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7459 fi
7460 done
7461 done
7462 IFS=$as_save_IFS
7463
7464 fi
7465 fi
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7473 fi
7474
7475
7476 fi
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7491 do
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7499 fi
7500 done
7501 done
7502 IFS=$as_save_IFS
7503
7504 fi
7505 fi
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7513 fi
7514
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7525 fi
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7528 fi
7529
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7543 do
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7551 fi
7552 done
7553 done
7554 IFS=$as_save_IFS
7555
7556 fi
7557 fi
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7565 fi
7566
7567
7568 fi
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7583 do
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7591 fi
7592 done
7593 done
7594 IFS=$as_save_IFS
7595
7596 fi
7597 fi
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7605 fi
7606
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7617 fi
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7620 fi
7621
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7635 do
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7643 fi
7644 done
7645 done
7646 IFS=$as_save_IFS
7647
7648 fi
7649 fi
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 fi
7658
7659
7660 fi
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7675 do
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7683 fi
7684 done
7685 done
7686 IFS=$as_save_IFS
7687
7688 fi
7689 fi
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7697 fi
7698
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7709 fi
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7712 fi
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7762 fi
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7765 fi
7766 fi
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7780 fi
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783
7784 int
7785 main ()
7786 {
7787
7788 ;
7789 return 0;
7790 }
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7796 fi
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7800
7801 fi
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7827 fi
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7830
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7851 ;;
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7855 fi
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860 fi
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7865 fi
7866 ;;
7867 esac
7868
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7880
7881 int
7882 main ()
7883 {
7884
7885 ;
7886 return 0;
7887 }
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7893 fi
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7901
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7905
7906 else
7907 ac_cv_header_stdc=no
7908 fi
7909 rm -f conftest*
7910
7911 fi
7912
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7918
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7922
7923 else
7924 ac_cv_header_stdc=no
7925 fi
7926 rm -f conftest*
7927
7928 fi
7929
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7933 :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7949
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951 int
7952 main ()
7953 {
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7960 }
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7963
7964 else
7965 ac_cv_header_stdc=no
7966 fi
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7969 fi
7970
7971 fi
7972 fi
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7976
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7978
7979 fi
7980
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7987 "
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7993
7994 fi
7995
7996 done
7997
7998
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002 "
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8007
8008 fi
8009
8010 done
8011
8012
8013
8014
8015
8016
8017 # Set options
8018
8019
8020
8021
8022 enable_win32_dll=no
8023
8024
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8031 *)
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8039 fi
8040 done
8041 IFS="$lt_save_ifs"
8042 ;;
8043 esac
8044 else
8045 enable_shared=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8062 *)
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8070 fi
8071 done
8072 IFS="$lt_save_ifs"
8073 ;;
8074 esac
8075 else
8076 enable_static=yes
8077 fi
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8093 fi
8094
8095
8096 test -z "$pic_mode" && pic_mode=default
8097
8098
8099
8100
8101
8102
8103
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8110 *)
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8118 fi
8119 done
8120 IFS="$lt_save_ifs"
8121 ;;
8122 esac
8123 else
8124 enable_fast_install=yes
8125 fi
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8139
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 test -z "$LN_S" && LN_S="ln -s"
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8185 fi
8186
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8199 fi
8200 rmdir .libs 2>/dev/null
8201 fi
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8205
8206
8207
8208
8209
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8213
8214
8215
8216
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8225 fi
8226 ;;
8227 esac
8228
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8232
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8236
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8238
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8241
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8248
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258
8259
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8273 ;;
8274 *)
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8290 :
8291 else
8292 cat <<_LT_EOF 1>&2
8293
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8302
8303 _LT_EOF
8304 fi ;;
8305 esac
8306 fi
8307 break
8308 fi
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8312 ;;
8313 esac
8314 fi
8315
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 fi
8324
8325
8326
8327
8328
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8339 ;;
8340 *)
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8356 :
8357 else
8358 cat <<_LT_EOF 1>&2
8359
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8368
8369 _LT_EOF
8370 fi ;;
8371 esac
8372 fi
8373 break
8374 fi
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8378 ;;
8379 esac
8380 fi
8381
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8389 fi
8390
8391
8392 else
8393 MAGIC_CMD=:
8394 fi
8395 fi
8396
8397 fi
8398 ;;
8399 esac
8400
8401 # Use C for the default configuration in the libtool script
8402
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411 # Source file extension for C test sources.
8412 ac_ext=c
8413
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8417
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8420
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8423
8424
8425
8426
8427
8428
8429
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8432
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8438
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8442
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8449
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8455
8456
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8462
8463 lt_prog_compiler_no_builtin_flag=
8464
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8469 *)
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8472
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8503 fi
8504 fi
8505 $RM conftest*
8506
8507 fi
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8510
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8514 :
8515 fi
8516
8517 fi
8518
8519
8520
8521
8522
8523
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8527
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8534
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8541 fi
8542 lt_prog_compiler_pic='-fPIC'
8543 ;;
8544
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8550 ;;
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8556 ;;
8557 esac
8558 ;;
8559
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8562 ;;
8563
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8570 ;;
8571
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8576 ;;
8577
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8582 ;;
8583
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8591 ;;
8592 *)
8593 lt_prog_compiler_pic='-fPIC'
8594 ;;
8595 esac
8596 ;;
8597
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8601 ;;
8602
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8608 ;;
8609
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8614 ;;
8615
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8619 fi
8620 ;;
8621
8622 *)
8623 lt_prog_compiler_pic='-fPIC'
8624 ;;
8625 esac
8626
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8631 ;;
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8643 fi
8644 ;;
8645
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8650 ;;
8651
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8659 ;;
8660 *)
8661 lt_prog_compiler_pic='+Z'
8662 ;;
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8666 ;;
8667
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8672 ;;
8673
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8681 ;;
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8688 ;;
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8694 ;;
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8701 ;;
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8706 ;;
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8712 ;;
8713 *)
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8720 ;;
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8726 ;;
8727 esac
8728 ;;
8729 esac
8730 ;;
8731
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8735 ;;
8736
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8741 ;;
8742
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8747 ;;
8748
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8751 ;;
8752
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8759 *)
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8762 ;;
8763
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8768 ;;
8769
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 ;;
8775
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8780 fi
8781 ;;
8782
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8787 ;;
8788
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8792 ;;
8793
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8797 ;;
8798
8799 *)
8800 lt_prog_compiler_can_build_shared=no
8801 ;;
8802 esac
8803 fi
8804
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8809 ;;
8810 *)
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8812 ;;
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8816
8817
8818
8819
8820
8821
8822 #
8823 # Check to make sure the PIC flag actually works.
8824 #
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8856 fi
8857 fi
8858 $RM conftest*
8859
8860 fi
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8872 fi
8873
8874 fi
8875
8876
8877
8878
8879
8880
8881 #
8882 # Check to make sure the static flag actually works.
8883 #
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8904 fi
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8907 fi
8908 fi
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8911
8912 fi
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8917 :
8918 else
8919 lt_prog_compiler_static=
8920 fi
8921
8922
8923
8924
8925
8926
8927
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8962 fi
8963 fi
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8973
8974 fi
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977
8978
8979
8980
8981
8982
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9017 fi
9018 fi
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9028
9029 fi
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9032
9033
9034
9035
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9053 fi
9054 else
9055 need_locks=no
9056 fi
9057
9058
9059
9060
9061
9062
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9065
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9106
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9114 fi
9115 ;;
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9119 ;;
9120 openbsd*)
9121 with_gnu_ld=no
9122 ;;
9123 esac
9124
9125 ld_shlibs=yes
9126
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141 *)
9142 lt_use_gnu_ld_interface=yes
9143 ;;
9144 esac
9145 ;;
9146 *)
9147 lt_use_gnu_ld_interface=yes
9148 ;;
9149 esac
9150 fi
9151
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9155
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9167 fi
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9177
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9185
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9192
9193 _LT_EOF
9194 fi
9195 ;;
9196
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9203 ;;
9204 m68k)
9205 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)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9208 ;;
9209 esac
9210 ;;
9211
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9220 fi
9221 ;;
9222
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9242 fi~
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9246 fi
9247 ;;
9248
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9252 ;;
9253
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 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'
9267 ;;
9268
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9275 fi
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 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'
9284 tmp_addflag=' $pic_flag'
9285 ;;
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 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'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 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'
9304 compiler_needs_object=yes
9305 ;;
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 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'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9322 fi
9323
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9336 fi
9337 ;;
9338 esac
9339 else
9340 ld_shlibs=no
9341 fi
9342 ;;
9343
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351 fi
9352 ;;
9353
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9358
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9365
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9372 fi
9373 ;;
9374
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9380
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9387
9388 _LT_EOF
9389 ;;
9390 *)
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9401 fi
9402 ;;
9403 esac
9404 ;;
9405
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9411 ;;
9412
9413 *)
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9419 fi
9420 ;;
9421 esac
9422
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9428 fi
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 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'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9443 fi
9444 ;;
9445
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 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'
9460 else
9461 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9462 fi
9463 aix_use_runtimelinking=no
9464
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9473 fi
9474 done
9475 ;;
9476 esac
9477
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9480 fi
9481
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9494
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9504 :
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9514 fi
9515 ;;
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9520 fi
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9532 fi
9533 fi
9534 fi
9535
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9548 fi
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551
9552 int
9553 main ()
9554 {
9555
9556 ;
9557 return 0;
9558 }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9566 p
9567 }
9568 }'
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573 fi
9574 fi
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9578
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 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"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 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"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9591 fi
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9594
9595 int
9596 main ()
9597 {
9598
9599 ;
9600 return 0;
9601 }
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9609 p
9610 }
9611 }'
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 fi
9617 fi
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9621
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9633 fi
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 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'
9637 fi
9638 fi
9639 ;;
9640
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9647 ;;
9648 m68k)
9649 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)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9652 ;;
9653 esac
9654 ;;
9655
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9658 ;;
9659
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9679 ;;
9680
9681 darwin* | rhapsody*)
9682
9683
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 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\"`'
9690 else
9691 whole_archive_flag_spec=''
9692 fi
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 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}"
9704 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}"
9705
9706 else
9707 ld_shlibs=no
9708 fi
9709
9710 ;;
9711
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9716 ;;
9717
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9727 ;;
9728
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9735 ;;
9736
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9743 ;;
9744
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 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'
9748 else
9749 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'
9750 fi
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9754
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9759 ;;
9760
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9766 fi
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9777 fi
9778 ;;
9779
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 ;;
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788 ;;
9789 *)
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791 ;;
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 ;;
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9800 ;;
9801 *)
9802
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9824 fi
9825 else
9826 lt_cv_prog_compiler__b=yes
9827 fi
9828 fi
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9831
9832 fi
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9835
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9840 fi
9841
9842 ;;
9843 esac
9844 fi
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9848
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9853 ;;
9854 *)
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9858
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9862 ;;
9863 esac
9864 fi
9865 ;;
9866
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 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'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9877 fi
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 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'
9884
9885 fi
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 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'
9891 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'
9892 fi
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9898 ;;
9899
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9905 fi
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9909 ;;
9910
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9917 ;;
9918
9919 *nto* | *qnx*)
9920 ;;
9921
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9937 ;;
9938 *)
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 ;;
9942 esac
9943 fi
9944 else
9945 ld_shlibs=no
9946 fi
9947 ;;
9948
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 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'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9955 ;;
9956
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 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'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 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'
9964 fi
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9968 ;;
9969
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 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'
9978 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~
9979 $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'
9980
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9983 fi
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9986 ;;
9987
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10002 ;;
10003 *)
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 ;;
10009 esac
10010 fi
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10015 *)
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10024 fi
10025 ;;
10026 esac
10027 link_all_deplibs=yes
10028 ;;
10029
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10037 fi
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10042 ;;
10043
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10049 ;;
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10056 ;;
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10060 ;;
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10064 ;;
10065
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10070 ;;
10071
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10079 fi
10080 ;;
10081
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10087
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 fi
10095 ;;
10096
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10113
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 fi
10121 ;;
10122
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10127 ;;
10128
10129 *)
10130 ld_shlibs=no
10131 ;;
10132 esac
10133
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10138 ;;
10139 esac
10140 fi
10141 fi
10142
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10146
10147 with_gnu_ld=$with_gnu_ld
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163 #
10164 # Do we need to explicitly link libc?
10165 #
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10170
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10175 ;;
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10187
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10215 fi
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10219 fi
10220 $RM conftest*
10221
10222 fi
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226 ;;
10227 esac
10228 fi
10229 ;;
10230 esac
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10408 ;;
10409 *)
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411 ;;
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10423 fi
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10438 }
10439 }
10440 }
10441 }
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444 }'`
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10454 fi
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10470
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10474
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10480
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10483 ;;
10484
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10505 :
10506 else
10507 can_build_shared=no
10508 fi
10509 ;;
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10524 fi
10525 shlibpath_var=LIBPATH
10526 fi
10527 ;;
10528
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535 ;;
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 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'
10540 ;;
10541 esac
10542 ;;
10543
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10548 ;;
10549
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10562 ;;
10563
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10569
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10582 fi'
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10587
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10594 ;;
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598 ;;
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602 ;;
10603 esac
10604 ;;
10605
10606 *)
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608 ;;
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10613 ;;
10614
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10625
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10628 ;;
10629
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10637 ;;
10638
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10649 fi
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10656 ;;
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10660 ;;
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10666 ;;
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10670 ;;
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10675 ;;
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10679 ;;
10680 esac
10681 ;;
10682
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10691 ;;
10692
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10704 ;;
10705
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725 fi
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727 ;;
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738 ;;
10739 *)
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 ;;
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10752 ;;
10753
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10764 ;;
10765
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10769 *)
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10783 ;;
10784 *)
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10794 ;;
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10801 ;;
10802
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10806 ;;
10807
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10818
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10830 fi
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10833
10834 int
10835 main ()
10836 {
10837
10838 ;
10839 return 0;
10840 }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10845 fi
10846 fi
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10851
10852 fi
10853
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10855
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10860
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 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' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10865 fi
10866
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10874 ;;
10875
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10888 fi
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10892 ;;
10893
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10899 ;;
10900
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10911 ;;
10912
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10929 ;;
10930 *)
10931 shlibpath_overrides_runpath=yes
10932 ;;
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10936 fi
10937 ;;
10938
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10946 ;;
10947
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10957 ;;
10958
10959 rdos*)
10960 dynamic_linker=no
10961 ;;
10962
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10974 ;;
10975
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10984 fi
10985 need_version=yes
10986 ;;
10987
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10998 ;;
10999 siemens)
11000 need_lib_prefix=no
11001 ;;
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11007 ;;
11008 esac
11009 ;;
11010
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 fi
11018 ;;
11019
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11036 ;;
11037 esac
11038 fi
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11040 ;;
11041
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11051 ;;
11052
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11058 ;;
11059
11060 *)
11061 dynamic_linker=no
11062 ;;
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11067
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11071 fi
11072
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11075 fi
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11078 fi
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11177
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11190 fi
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11195 fi
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11198
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11207 fi
11208
11209
11210
11211
11212
11213
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11221
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11227 ;;
11228
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11232 ;;
11233
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11237 ;;
11238
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11250 fi
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11253
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11261 int
11262 main ()
11263 {
11264 return dlopen ();
11265 ;
11266 return 0;
11267 }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11273 fi
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11283
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11287
11288 fi
11289
11290 ;;
11291
11292 *)
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11306 fi
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11309
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11317 int
11318 main ()
11319 {
11320 return shl_load ();
11321 ;
11322 return 0;
11323 }
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11329 fi
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11333 fi
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352 fi
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11355
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11363 int
11364 main ()
11365 {
11366 return dlopen ();
11367 ;
11368 return 0;
11369 }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11375 fi
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394 fi
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11405 int
11406 main ()
11407 {
11408 return dlopen ();
11409 ;
11410 return 0;
11411 }
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11417 fi
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11421 fi
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 fi
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11447 int
11448 main ()
11449 {
11450 return dld_link ();
11451 ;
11452 return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11468 fi
11469
11470
11471 fi
11472
11473
11474 fi
11475
11476
11477 fi
11478
11479
11480 fi
11481
11482
11483 fi
11484
11485 ;;
11486 esac
11487
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11492 fi
11493
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11504
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11518
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11522
11523 #include <stdio.h>
11524
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11534
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11556
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11562
11563 void fnord () { int i=42; }
11564 int main ()
11565 {
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11568
11569 if (self)
11570 {
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11573 {
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11576 }
11577 /* dlclose (self); */
11578 }
11579 else
11580 puts (dlerror ());
11581
11582 return status;
11583 }
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11600 fi
11601 fi
11602 rm -fr conftest*
11603
11604
11605 fi
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11608
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11624
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11628
11629 #include <stdio.h>
11630
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11640
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11662
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11668
11669 void fnord () { int i=42; }
11670 int main ()
11671 {
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11674
11675 if (self)
11676 {
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11679 {
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11682 }
11683 /* dlclose (self); */
11684 }
11685 else
11686 puts (dlerror ());
11687
11688 return status;
11689 }
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11706 fi
11707 fi
11708 rm -fr conftest*
11709
11710
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11714 fi
11715
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11719 ;;
11720 esac
11721
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11726
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11731 fi
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11770 fi
11771 ;;
11772 *)
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11775 ;;
11776 esac
11777 fi
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11795
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11799
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11808 fi
11809 ;;
11810
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11814 fi
11815 ;;
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11819
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11826
11827
11828
11829
11830 fi
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836
11837 CC="$lt_save_CC"
11838
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11855 do
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11858 do
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875
11876 else
11877 # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11895 fi
11896 rm -f conftest.err conftest.$ac_ext
11897
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11903 fi
11904
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11907
11908 fi
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11912 fi
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11917 do
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11934
11935 else
11936 # Broken: fails on valid input.
11937 continue
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11954 fi
11955 rm -f conftest.err conftest.$ac_ext
11956
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11961
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11967 fi
11968
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974
11975 else
11976 _lt_caught_CXX_error=yes
11977 fi
11978
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11984
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12009
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12012
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12016
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12024
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12027
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12029
12030
12031
12032
12033
12034
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12037
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12040
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12043
12044
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12051
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12057
12058
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12070 fi
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12075 fi
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12089
12090
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12098 fi
12099
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12102
12103
12104
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12110 fi
12111
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12121 *)
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12134 ;;
12135 "")
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12138 ;;
12139 *)
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12142 ;;
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12150 fi
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12167 ;;
12168 *)
12169 test "$with_gnu_ld" != yes && break
12170 ;;
12171 esac
12172 fi
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12177 fi
12178 fi
12179
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12187 fi
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12198 ;;
12199 *)
12200 lt_cv_prog_gnu_ld=no
12201 ;;
12202 esac
12203 fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12207
12208
12209
12210
12211
12212
12213
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12219
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12227
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12234 fi
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12238
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12245 fi
12246
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12251
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12256 fi
12257
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12266 ;;
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12276
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12286 ;;
12287 esac
12288 done
12289 ;;
12290 esac
12291
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12294 fi
12295
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12301
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12308
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12318 :
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12328 fi
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12333 fi
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12345 fi
12346 fi
12347 fi
12348
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362 fi
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365
12366 int
12367 main ()
12368 {
12369
12370 ;
12371 return 0;
12372 }
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12375
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12380 p
12381 }
12382 }'
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 fi
12388 fi
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394
12395 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"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 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"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12406 fi
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12409
12410 int
12411 main ()
12412 {
12413
12414 ;
12415 return 0;
12416 }
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12419
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12424 p
12425 }
12426 }'
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12431 fi
12432 fi
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12436
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12448 fi
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 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'
12453 fi
12454 fi
12455 ;;
12456
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12465 fi
12466 ;;
12467
12468 chorus*)
12469 case $cc_basename in
12470 *)
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12473 ;;
12474 esac
12475 ;;
12476
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12485
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 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'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12495 fi~
12496 $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'
12497 else
12498 ld_shlibs_CXX=no
12499 fi
12500 ;;
12501 darwin* | rhapsody*)
12502
12503
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 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\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12512 fi
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 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}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 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}"
12524 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}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 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}"
12527 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}"
12528 fi
12529
12530 else
12531 ld_shlibs_CXX=no
12532 fi
12533
12534 ;;
12535
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12541 ;;
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12546 ;;
12547 *)
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12550 ;;
12551 esac
12552 ;;
12553
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12558 ;;
12559
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12562 ;;
12563
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12568 ;;
12569
12570 gnu*)
12571 ;;
12572
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12576 ;;
12577
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12586
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12591 ;;
12592 aCC*)
12593 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'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12597 #
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 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"'
12603 ;;
12604 *)
12605 if test "$GXX" = yes; then
12606 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'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12610 fi
12611 ;;
12612 esac
12613 ;;
12614
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12619
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12622 ;;
12623 *)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12625 ;;
12626 esac
12627 fi
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12632 ;;
12633 *)
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12639 ;;
12640 esac
12641
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12646 ;;
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ;;
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654 ;;
12655 *)
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 ;;
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12662 #
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 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"'
12668 ;;
12669 *)
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675 ;;
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678 ;;
12679 *)
12680 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'
12681 ;;
12682 esac
12683 fi
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12687 fi
12688 ;;
12689 esac
12690 ;;
12691
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 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'
12704 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'
12705 ;;
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 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'
12711
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12717 ;;
12718 *)
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 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'
12722 else
12723 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'
12724 fi
12725 fi
12726 link_all_deplibs_CXX=yes
12727 ;;
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12732 ;;
12733
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12738
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 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'
12743 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'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12747 #
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 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"'
12753
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12760 ;;
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 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'
12771 ;;
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 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'
12779 ;;
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12785 ;;
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $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'
12807 ;;
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 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'
12811 ;;
12812 esac
12813
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 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'
12817 ;;
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 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'
12822
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12826
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 -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'
12836 ;;
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12847 fi
12848 ;;
12849 *)
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 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'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 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'
12858 compiler_needs_object_CXX=yes
12859
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12864
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12870 ;;
12871 esac
12872 ;;
12873 esac
12874 ;;
12875
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12879 ;;
12880
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12884 ;;
12885
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12891 ;;
12892 *)
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12895 ;;
12896 esac
12897 ;;
12898
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12906 fi
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12909 ;;
12910
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12913 ;;
12914
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12918 ;;
12919
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12931 fi
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12935 fi
12936 ;;
12937
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12942
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 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'
12947
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12950
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12957 ;;
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12962 ;;
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 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'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12969 ;;
12970 *)
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 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'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $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~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978 ;;
12979 esac
12980
12981 hardcode_libdir_separator_CXX=:
12982
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 #
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 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"'
12992 ;;
12993 *)
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 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'
12999 ;;
13000 *)
13001 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'
13002 ;;
13003 esac
13004
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13007
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13012
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13016 fi
13017 ;;
13018 esac
13019 ;;
13020
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13024 ;;
13025
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13032 ;;
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13037 ;;
13038 *)
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13041 ;;
13042 esac
13043 ;;
13044
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $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'
13054
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13059 *)
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13064 ;;
13065 esac
13066 link_all_deplibs_CXX=yes
13067
13068 output_verbose_link_cmd='func_echo_all'
13069
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13075 ;;
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13082 ;;
13083 *)
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13091
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107 fi
13108
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13112 *)
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13114 ;;
13115 esac
13116 fi
13117 ;;
13118 esac
13119 ;;
13120
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13126
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 ;;
13132 *)
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 ;;
13136 esac
13137 ;;
13138
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13155
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13164 ;;
13165 *)
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168 ;;
13169 esac
13170 ;;
13171
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13178 ;;
13179 *)
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13182 ;;
13183 esac
13184 ;;
13185
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13189 ;;
13190
13191 *)
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13194 ;;
13195 esac
13196
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13200
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13203
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13214
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13217 {
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13222 };
13223 _LT_EOF
13224
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13232
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13236
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13239
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13249 fi
13250
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13261 fi
13262 ;;
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13271 fi
13272 fi
13273 ;;
13274
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13281 fi
13282
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13288 fi
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13294 fi
13295 fi
13296 ;;
13297
13298 *) ;; # Ignore the rest.
13299
13300 esac
13301 done
13302
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13307 fi
13308
13309 $RM -f confest.$objext
13310
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13319 ;;
13320
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13325
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13333 ;;
13334 esac
13335
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13338 fi
13339 ;;
13340 esac
13341 ;;
13342
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13353 ;;
13354 esac
13355
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13361 fi
13362 ;;
13363 esac
13364 ;;
13365 esac
13366
13367
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13374 fi
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13409
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13412
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13417
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13424 fi
13425 lt_prog_compiler_pic_CXX='-fPIC'
13426 ;;
13427
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13433 ;;
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13439 ;;
13440 esac
13441 ;;
13442
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13445 ;;
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13452 ;;
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13457 ;;
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13461 ;;
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13466 ;;
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13470 ;;
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13474 fi
13475 ;;
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13482 ;;
13483 *)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13485 ;;
13486 esac
13487 ;;
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13492 ;;
13493 *)
13494 lt_prog_compiler_pic_CXX='-fPIC'
13495 ;;
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13506 fi
13507 ;;
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _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"
13513 ;;
13514 esac
13515 ;;
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13520 ;;
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13524 ;;
13525 *)
13526 ;;
13527 esac
13528 ;;
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13531 ;;
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13539 fi
13540 ;;
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13547 ;;
13548 *)
13549 lt_prog_compiler_pic_CXX='+Z'
13550 ;;
13551 esac
13552 ;;
13553 *)
13554 ;;
13555 esac
13556 ;;
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13560 ;;
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13567 ;;
13568 *)
13569 ;;
13570 esac
13571 ;;
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13578 ;;
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13584 ;;
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13591 ;;
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13597 ;;
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13604 ;;
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13610 ;;
13611 *)
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13618 ;;
13619 esac
13620 ;;
13621 esac
13622 ;;
13623 lynxos*)
13624 ;;
13625 m88k*)
13626 ;;
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13631 ;;
13632 *)
13633 ;;
13634 esac
13635 ;;
13636 netbsd*)
13637 ;;
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13642 ;;
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13647 ;;
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13651 ;;
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13659 ;;
13660 *)
13661 ;;
13662 esac
13663 ;;
13664 psos*)
13665 ;;
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13673 ;;
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13677 ;;
13678 *)
13679 ;;
13680 esac
13681 ;;
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13688 ;;
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13692 ;;
13693 *)
13694 ;;
13695 esac
13696 ;;
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13703 ;;
13704 esac
13705 ;;
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13711 ;;
13712 *)
13713 ;;
13714 esac
13715 ;;
13716 vxworks*)
13717 ;;
13718 *)
13719 lt_prog_compiler_can_build_shared_CXX=no
13720 ;;
13721 esac
13722 fi
13723
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13728 ;;
13729 *)
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13731 ;;
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13735
13736
13737
13738 #
13739 # Check to make sure the PIC flag actually works.
13740 #
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13772 fi
13773 fi
13774 $RM conftest*
13775
13776 fi
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13779
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13788 fi
13789
13790 fi
13791
13792
13793
13794 #
13795 # Check to make sure the static flag actually works.
13796 #
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13817 fi
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13820 fi
13821 fi
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13824
13825 fi
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13828
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13830 :
13831 else
13832 lt_prog_compiler_static_CXX=
13833 fi
13834
13835
13836
13837
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13849
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13872 fi
13873 fi
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13883
13884 fi
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13887
13888
13889
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13901
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13924 fi
13925 fi
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13935
13936 fi
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13939
13940
13941
13942
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13960 fi
13961 else
13962 need_locks=no
13963 fi
13964
13965
13966
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13969
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 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'
13979 else
13980 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13981 fi
13982 ;;
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13985 ;;
13986 cygwin* | mingw* | cegcc*)
13987 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'
13988 ;;
13989 *)
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991 ;;
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13994
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13998
13999 with_gnu_ld_CXX=$with_gnu_ld
14000
14001
14002
14003
14004
14005
14006 #
14007 # Do we need to explicitly link libc?
14008 #
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14013
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14018 ;;
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14030
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14058 fi
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14062 fi
14063 $RM conftest*
14064
14065 fi
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14069 ;;
14070 esac
14071 fi
14072 ;;
14073 esac
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14140
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14156
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14160
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14166
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14169 ;;
14170
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14191 :
14192 else
14193 can_build_shared=no
14194 fi
14195 ;;
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14210 fi
14211 shlibpath_var=LIBPATH
14212 fi
14213 ;;
14214
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221 ;;
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 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'
14226 ;;
14227 esac
14228 ;;
14229
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14234 ;;
14235
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14248 ;;
14249
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14255
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268 fi'
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14273
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14278
14279 ;;
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14283 ;;
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287 ;;
14288 esac
14289 ;;
14290
14291 *)
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14293 ;;
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14298 ;;
14299
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14310
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14312 ;;
14313
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14321 ;;
14322
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14333 fi
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14340 ;;
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14344 ;;
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14350 ;;
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14354 ;;
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14359 ;;
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14363 ;;
14364 esac
14365 ;;
14366
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14375 ;;
14376
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14388 ;;
14389
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14409 fi
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14411 ;;
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14422 ;;
14423 *)
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14430 ;;
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14436 ;;
14437
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14448 ;;
14449
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14453 *)
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14467 ;;
14468 *)
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14478 ;;
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14485 ;;
14486
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14490 ;;
14491
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14502
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14514 fi
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517
14518 int
14519 main ()
14520 {
14521
14522 ;
14523 return 0;
14524 }
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14529 fi
14530 fi
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14535
14536 fi
14537
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14539
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14544
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 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' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14549 fi
14550
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14558 ;;
14559
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14572 fi
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14576 ;;
14577
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14583 ;;
14584
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14595 ;;
14596
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14613 ;;
14614 *)
14615 shlibpath_overrides_runpath=yes
14616 ;;
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14620 fi
14621 ;;
14622
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14630 ;;
14631
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14641 ;;
14642
14643 rdos*)
14644 dynamic_linker=no
14645 ;;
14646
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14658 ;;
14659
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14668 fi
14669 need_version=yes
14670 ;;
14671
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14682 ;;
14683 siemens)
14684 need_lib_prefix=no
14685 ;;
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14691 ;;
14692 esac
14693 ;;
14694
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 fi
14702 ;;
14703
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14720 ;;
14721 esac
14722 fi
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14724 ;;
14725
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14735 ;;
14736
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 ;;
14743
14744 *)
14745 dynamic_linker=no
14746 ;;
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14751
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14755 fi
14756
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14759 fi
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14762 fi
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14807
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14820 fi
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14825 fi
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14828
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14837 fi
14838
14839
14840
14841
14842
14843
14844
14845 fi # test -n "$compiler"
14846
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14857
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876 ac_config_commands="$ac_config_commands libtool"
14877
14878
14879
14880
14881 # Only expand once:
14882
14883
14884
14885
14886
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14897 fi
14898 ;;
14899 *)
14900 lt_host_flags=
14901 ;;
14902 esac
14903
14904
14905
14906
14907
14908
14909 # libtool variables for C++ shared and position-independent compiles.
14910 #
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14914 #
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14917 #
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14925
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14930 fi
14931
14932
14933
14934
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14940
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14943
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14947
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14955 ;;
14956 *)
14957 enable_hosted_libstdcxx=yes
14958 ;;
14959 esac
14960 fi
14961
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14972 fi
14973
14974
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14978
14979
14980
14981 # Enable descriptive messages to standard output on termination.
14982
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14988 fi
14989
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14996 fi
14997
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15001
15002
15003
15004 # Enable compiler support that doesn't require linking.
15005
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15008
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15014
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15022
15023 else
15024 enable_sjlj_exceptions=auto
15025 fi
15026
15027
15028
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15033 #
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15040 {
15041 S s;
15042 bar();
15043 }
15044 EOF
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15058 fi
15059 fi
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15062 fi
15063
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15068
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15070
15071 ac_exception_model_name=sjlj
15072 ;;
15073 no)
15074 ac_exception_model_name="call frame"
15075 ;;
15076 *)
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15078 ;;
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15088
15089
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15097
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15100 fi
15101
15102
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15111
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15128 fi
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15136
15137
15138 fi
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15142 fi
15143
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15148
15149
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15154 fi
15155
15156
15157
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15163
15164 case $target_thread_file in
15165 aix) thread_header=config/rs6000/gthr-aix.h ;;
15166 dce) thread_header=config/pa/gthr-dce.h ;;
15167 lynx) thread_header=config/gthr-lynx.h ;;
15168 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15169 posix) thread_header=gthr-posix.h ;;
15170 rtems) thread_header=config/gthr-rtems.h ;;
15171 single) thread_header=gthr-single.h ;;
15172 tpf) thread_header=config/s390/gthr-tpf.h ;;
15173 vxworks) thread_header=config/gthr-vxworks.h ;;
15174 win32) thread_header=config/i386/gthr-win32.h ;;
15175 esac
15176
15177
15178
15179
15180
15181 ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15186
15187 old_CXXFLAGS="$CXXFLAGS"
15188
15189 # Do link tests if possible, instead asm tests, limited to some platforms
15190 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192 atomic_builtins_link_tests=no
15193 if test x$gcc_no_link != xyes; then
15194 # Can do link tests. Limit to some tested platforms
15195 case "$host" in
15196 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197 atomic_builtins_link_tests=yes
15198 ;;
15199 esac
15200 fi
15201
15202 if test x$atomic_builtins_link_tests = xyes; then
15203
15204 # Do link tests.
15205
15206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15207
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15213
15214 if test x$gcc_no_link = xyes; then
15215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216 fi
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219
15220 int
15221 main ()
15222 {
15223 typedef bool atomic_type;
15224 atomic_type c1;
15225 atomic_type c2;
15226 atomic_type c3(0);
15227 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229 __ATOMIC_RELAXED);
15230 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15232
15233 ;
15234 return 0;
15235 }
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238 glibcxx_cv_atomic_bool=yes
15239 else
15240 glibcxx_cv_atomic_bool=no
15241 fi
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15244
15245 fi
15246
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15249
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15255
15256 if test x$gcc_no_link = xyes; then
15257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15258 fi
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261
15262 int
15263 main ()
15264 {
15265 typedef short atomic_type;
15266 atomic_type c1;
15267 atomic_type c2;
15268 atomic_type c3(0);
15269 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271 __ATOMIC_RELAXED);
15272 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15274
15275 ;
15276 return 0;
15277 }
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280 glibcxx_cv_atomic_short=yes
15281 else
15282 glibcxx_cv_atomic_short=no
15283 fi
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286
15287 fi
15288
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15291
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297
15298 if test x$gcc_no_link = xyes; then
15299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15300 fi
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15303
15304 int
15305 main ()
15306 {
15307 typedef int atomic_type;
15308 atomic_type c1;
15309 atomic_type c2;
15310 atomic_type c3(0);
15311 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313 __ATOMIC_RELAXED);
15314 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15316
15317 ;
15318 return 0;
15319 }
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322 glibcxx_cv_atomic_int=yes
15323 else
15324 glibcxx_cv_atomic_int=no
15325 fi
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328
15329 fi
15330
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15333
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339
15340 if test x$gcc_no_link = xyes; then
15341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15342 fi
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345
15346 int
15347 main ()
15348 {
15349 typedef long long atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 atomic_type c3(0);
15353 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355 __ATOMIC_RELAXED);
15356 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15358
15359 ;
15360 return 0;
15361 }
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364 glibcxx_cv_atomic_long_long=yes
15365 else
15366 glibcxx_cv_atomic_long_long=no
15367 fi
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15370
15371 fi
15372
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15375
15376 else
15377
15378 # Do asm tests.
15379
15380 # Compile unoptimized.
15381 CXXFLAGS='-O0 -S'
15382
15383 # Fake what AC_TRY_COMPILE does.
15384
15385 cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15388 {
15389 typedef bool atomic_type;
15390 atomic_type c1;
15391 atomic_type c2;
15392 atomic_type c3(0);
15393 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395 __ATOMIC_RELAXED);
15396 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15398
15399 return 0;
15400 }
15401 EOF
15402
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15407 ac_status=$?
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_bool=no
15412 else
15413 glibcxx_cv_atomic_bool=yes
15414 fi
15415 fi
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418 rm -f conftest*
15419
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15423 {
15424 typedef short atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 atomic_type c3(0);
15428 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430 __ATOMIC_RELAXED);
15431 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15433
15434 return 0;
15435 }
15436 EOF
15437
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441 (eval $ac_compile) 2>&5
15442 ac_status=$?
15443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444 test $ac_status = 0; }; then
15445 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446 glibcxx_cv_atomic_short=no
15447 else
15448 glibcxx_cv_atomic_short=yes
15449 fi
15450 fi
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453 rm -f conftest*
15454
15455 cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15458 {
15459 // NB: _Atomic_word not necessarily int.
15460 typedef int atomic_type;
15461 atomic_type c1;
15462 atomic_type c2;
15463 atomic_type c3(0);
15464 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466 __ATOMIC_RELAXED);
15467 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15469
15470 return 0;
15471 }
15472 EOF
15473
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477 (eval $ac_compile) 2>&5
15478 ac_status=$?
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482 glibcxx_cv_atomic_int=no
15483 else
15484 glibcxx_cv_atomic_int=yes
15485 fi
15486 fi
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489 rm -f conftest*
15490
15491 cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15494 {
15495 typedef long long atomic_type;
15496 atomic_type c1;
15497 atomic_type c2;
15498 atomic_type c3(0);
15499 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501 __ATOMIC_RELAXED);
15502 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15504
15505 return 0;
15506 }
15507 EOF
15508
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; }; then
15516 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517 glibcxx_cv_atomic_long_long=no
15518 else
15519 glibcxx_cv_atomic_long_long=yes
15520 fi
15521 fi
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524 rm -f conftest*
15525
15526 fi
15527
15528 CXXFLAGS="$old_CXXFLAGS"
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534
15535
15536 # Set atomicity_dir to builtins if all but the long long test above passes.
15537 if test $glibcxx_cv_atomic_bool = yes \
15538 && test $glibcxx_cv_atomic_short = yes \
15539 && test $glibcxx_cv_atomic_int = yes; then
15540
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15542
15543 atomicity_dir=cpu/generic/atomicity_builtins
15544 fi
15545
15546 # If still generic, set to mutex.
15547 if test $atomicity_dir = "cpu/generic" ; then
15548 atomicity_dir=cpu/generic/atomicity_mutex
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551 if test "x$target_thread_file" = xsingle; then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15561 fi
15562 fi
15563
15564
15565
15566
15567 # Fake what AC_TRY_COMPILE does, without linking as this is
15568 # unnecessary for this test.
15569
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15573 {
15574 _Decimal32 d1;
15575 _Decimal64 d2;
15576 _Decimal128 d3;
15577 return 0;
15578 }
15579 EOF
15580
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584 (eval $ac_compile) 2>&5
15585 ac_status=$?
15586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587 test $ac_status = 0; }; then
15588
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15590
15591 enable_dfp=yes
15592 else
15593 enable_dfp=no
15594 fi
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597 rm -f conftest*
15598
15599
15600
15601
15602 ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15607
15608
15609 # Fake what AC_TRY_COMPILE does, without linking as this is
15610 # unnecessary for this test.
15611
15612 cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615 struct same
15616 { typedef T2 type; };
15617
15618 template<typename T>
15619 struct same<T, T>;
15620
15621 int main()
15622 {
15623 typename same<long, __int128>::type i1;
15624 typename same<long long, __int128>::type i2;
15625 }
15626 EOF
15627
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631 (eval $ac_compile) 2>&5
15632 ac_status=$?
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; then
15635
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15637
15638 enable_int128=yes
15639 else
15640 enable_int128=no
15641 fi
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644 rm -f conftest*
15645
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15651
15652 template<typename T>
15653 struct same<T, T>;
15654
15655 int main()
15656 {
15657 typename same<double, __float128>::type f1;
15658 typename same<long double, __float128>::type f2;
15659 }
15660 EOF
15661
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15669
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15671
15672 enable_float128=yes
15673 else
15674 enable_float128=no
15675 fi
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678 rm -f conftest*
15679
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686
15687
15688 # Checks for compiler support that doesn't require linking.
15689
15690 # All these tests are for C++; save the language and the compiler flags.
15691 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692 # found in GLIBCXX_CONFIGURE.
15693
15694 ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15699
15700 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701 ac_save_CXXFLAGS="$CXXFLAGS"
15702
15703 # Check for maintainer-mode bits.
15704 if test x"$USE_MAINTAINER_MODE" = xno; then
15705 WERROR=''
15706 else
15707 WERROR='-Werror'
15708 fi
15709
15710 # Check for -ffunction-sections -fdata-sections
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 int foo; void bar() { };
15717 int
15718 main ()
15719 {
15720
15721 ;
15722 return 0;
15723 }
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726 ac_fdsections=yes
15727 else
15728 ac_fdsections=no
15729 fi
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731 if test "$ac_test_CXXFLAGS" = set; then
15732 CXXFLAGS="$ac_save_CXXFLAGS"
15733 else
15734 # this is the suspicious part
15735 CXXFLAGS=''
15736 fi
15737 if test x"$ac_fdsections" = x"yes"; then
15738 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15739 fi
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15742
15743 ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15748
15749
15750
15751
15752
15753 # Enable all the variable C++ runtime options that don't require linking.
15754
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757 # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759 enableval=$enable_cstdio;
15760 case "$enableval" in
15761 stdio) ;;
15762 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763 esac
15764
15765 else
15766 enable_cstdio=stdio
15767 fi
15768
15769
15770
15771 # Now that libio has been removed, you can have any color you want as long
15772 # as it's black. This is one big no-op until other packages are added, but
15773 # showing the framework never hurts.
15774 case ${enable_cstdio} in
15775 stdio)
15776 CSTDIO_H=config/io/c_io_stdio.h
15777 BASIC_FILE_H=config/io/basic_file_stdio.h
15778 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15781 ;;
15782 esac
15783
15784
15785
15786
15787
15788
15789 # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791 enableval=$enable_clocale;
15792 case "$enableval" in
15793 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795 esac
15796
15797 else
15798 enable_clocale=auto
15799 fi
15800
15801
15802
15803 # Deal with gettext issues. Default to not using it (=no) until we detect
15804 # support for it later. Let the user turn it off via --e/d, but let that
15805 # default to on for easier handling.
15806 USE_NLS=no
15807 # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809 enableval=$enable_nls;
15810 else
15811 enable_nls=yes
15812 fi
15813
15814
15815 # Either a known package, or "auto"
15816 if test $enable_clocale = no || test $enable_clocale = yes; then
15817 enable_clocale=auto
15818 fi
15819 enable_clocale_flag=$enable_clocale
15820
15821 # Probe for locale model to use if none specified.
15822 # Default to "generic".
15823 if test $enable_clocale_flag = auto; then
15824 case ${target_os} in
15825 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826 enable_clocale_flag=gnu
15827 ;;
15828 darwin* | freebsd*)
15829 enable_clocale_flag=darwin
15830 ;;
15831 openbsd*)
15832 enable_clocale_flag=newlib
15833 ;;
15834 *)
15835 if test x"$with_newlib" = x"yes"; then
15836 enable_clocale_flag=newlib
15837 else
15838 enable_clocale_flag=generic
15839 fi
15840 ;;
15841 esac
15842 fi
15843
15844 # Sanity check model, and test for special functionality.
15845 if test $enable_clocale_flag = gnu; then
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15848
15849 #include <features.h>
15850 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851 _GLIBCXX_ok
15852 #endif
15853
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857 enable_clocale_flag=gnu
15858 else
15859 enable_clocale_flag=generic
15860 fi
15861 rm -f conftest*
15862
15863
15864 # Set it to scream when it hurts.
15865 ac_save_CFLAGS="$CFLAGS"
15866 CFLAGS="-Wimplicit-function-declaration -Werror"
15867
15868 # Use strxfrm_l if available.
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE 1
15872 #include <string.h>
15873 #include <locale.h>
15874 int
15875 main ()
15876 {
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15878 ;
15879 return 0;
15880 }
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15883
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15885
15886 fi
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15888
15889 # Use strerror_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15895 int
15896 main ()
15897 {
15898 __locale_t loc; strerror_l(5, loc);
15899 ;
15900 return 0;
15901 }
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15904
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15906
15907 fi
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909
15910 CFLAGS="$ac_save_CFLAGS"
15911 fi
15912
15913 # Perhaps use strerror_r if available, and strerror_l isn't.
15914 ac_save_CFLAGS="$CFLAGS"
15915 CFLAGS="-Wimplicit-function-declaration -Werror"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 #define _GNU_SOURCE 1
15919 #include <string.h>
15920 #include <locale.h>
15921 int
15922 main ()
15923 {
15924 char s[128]; strerror_r(5, s, 128);
15925 ;
15926 return 0;
15927 }
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15930
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15932
15933 fi
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 CFLAGS="$ac_save_CFLAGS"
15936
15937 # Set configure bits for specified locale package
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940 case ${enable_clocale_flag} in
15941 generic)
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15944
15945 CLOCALE_H=config/locale/generic/c_locale.h
15946 CLOCALE_CC=config/locale/generic/c_locale.cc
15947 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/generic/collate_members.cc
15949 CCTYPE_CC=config/locale/generic/ctype_members.cc
15950 CMESSAGES_H=config/locale/generic/messages_members.h
15951 CMESSAGES_CC=config/locale/generic/messages_members.cc
15952 CMONEY_CC=config/locale/generic/monetary_members.cc
15953 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954 CTIME_H=config/locale/generic/time_members.h
15955 CTIME_CC=config/locale/generic/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15957 ;;
15958 darwin)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15961
15962 CLOCALE_H=config/locale/generic/c_locale.h
15963 CLOCALE_CC=config/locale/generic/c_locale.cc
15964 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965 CCOLLATE_CC=config/locale/generic/collate_members.cc
15966 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967 CMESSAGES_H=config/locale/generic/messages_members.h
15968 CMESSAGES_CC=config/locale/generic/messages_members.cc
15969 CMONEY_CC=config/locale/generic/monetary_members.cc
15970 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971 CTIME_H=config/locale/generic/time_members.h
15972 CTIME_CC=config/locale/generic/time_members.cc
15973 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15974 ;;
15975
15976 gnu)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15979
15980 # Declare intention to use gettext, and add support for specific
15981 # languages.
15982 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983 ALL_LINGUAS="de fr"
15984
15985 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986 # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 if test -n "$check_msgfmt"; then
15994 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15998 do
15999 IFS=$as_save_IFS
16000 test -z "$as_dir" && as_dir=.
16001 for ac_exec_ext in '' $ac_executable_extensions; do
16002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003 ac_cv_prog_check_msgfmt="yes"
16004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 break 2
16006 fi
16007 done
16008 done
16009 IFS=$as_save_IFS
16010
16011 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16012 fi
16013 fi
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16021 fi
16022
16023
16024 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025 USE_NLS=yes
16026 fi
16027 # Export the build objects.
16028 for ling in $ALL_LINGUAS; do \
16029 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031 done
16032
16033
16034
16035 CLOCALE_H=config/locale/gnu/c_locale.h
16036 CLOCALE_CC=config/locale/gnu/c_locale.cc
16037 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040 CMESSAGES_H=config/locale/gnu/messages_members.h
16041 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042 CMONEY_CC=config/locale/gnu/monetary_members.cc
16043 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044 CTIME_H=config/locale/gnu/time_members.h
16045 CTIME_CC=config/locale/gnu/time_members.cc
16046 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16047 ;;
16048 ieee_1003.1-2001)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16051
16052 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055 CCOLLATE_CC=config/locale/generic/collate_members.cc
16056 CCTYPE_CC=config/locale/generic/ctype_members.cc
16057 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059 CMONEY_CC=config/locale/generic/monetary_members.cc
16060 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061 CTIME_H=config/locale/generic/time_members.h
16062 CTIME_CC=config/locale/generic/time_members.cc
16063 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16064 ;;
16065 newlib)
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16068
16069 CLOCALE_H=config/locale/generic/c_locale.h
16070 CLOCALE_CC=config/locale/generic/c_locale.cc
16071 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072 CCOLLATE_CC=config/locale/generic/collate_members.cc
16073 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074 CMESSAGES_H=config/locale/generic/messages_members.h
16075 CMESSAGES_CC=config/locale/generic/messages_members.cc
16076 CMONEY_CC=config/locale/generic/monetary_members.cc
16077 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078 CTIME_H=config/locale/generic/time_members.h
16079 CTIME_CC=config/locale/generic/time_members.cc
16080 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16081 ;;
16082 esac
16083
16084 # This is where the testsuite looks for locale catalogs, using the
16085 # -DLOCALEDIR define during testsuite compilation.
16086 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16087
16088
16089 # A standalone libintl (e.g., GNU libintl) may be in use.
16090 if test $USE_NLS = yes; then
16091 for ac_header in libintl.h
16092 do :
16093 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16098
16099 else
16100 USE_NLS=no
16101 fi
16102
16103 done
16104
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16113
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16121 int
16122 main ()
16123 {
16124 return gettext ();
16125 ;
16126 return 0;
16127 }
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16135 fi
16136 if test x$gcc_no_link = xyes; then
16137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16138 fi
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 ac_cv_search_gettext=$ac_res
16141 fi
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext
16144 if test "${ac_cv_search_gettext+set}" = set; then :
16145 break
16146 fi
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16149
16150 else
16151 ac_cv_search_gettext=no
16152 fi
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16155 fi
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16161
16162 else
16163 USE_NLS=no
16164 fi
16165
16166 fi
16167 if test $USE_NLS = yes; then
16168
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16170
16171 fi
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190 # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192 enableval=$enable_libstdcxx_allocator;
16193 case "$enableval" in
16194 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196 esac
16197
16198 else
16199 enable_libstdcxx_allocator=auto
16200 fi
16201
16202
16203
16204 # If they didn't use this option switch, or if they specified --enable
16205 # with no specific model, we'll have to look for one. If they
16206 # specified --disable (???), do likewise.
16207 if test $enable_libstdcxx_allocator = no ||
16208 test $enable_libstdcxx_allocator = yes;
16209 then
16210 enable_libstdcxx_allocator=auto
16211 fi
16212
16213 # Either a known package, or "auto". Auto implies the default choice
16214 # for a particular platform.
16215 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16216
16217 # Probe for host-specific support if no specific model is specified.
16218 # Default to "new".
16219 if test $enable_libstdcxx_allocator_flag = auto; then
16220 case ${target_os} in
16221 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222 enable_libstdcxx_allocator_flag=new
16223 ;;
16224 *)
16225 enable_libstdcxx_allocator_flag=new
16226 ;;
16227 esac
16228 fi
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16231
16232
16233 # Set configure bits for specified locale package
16234 case ${enable_libstdcxx_allocator_flag} in
16235 bitmap)
16236 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16238 ;;
16239 malloc)
16240 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16242 ;;
16243 mt)
16244 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16246 ;;
16247 new)
16248 ALLOCATOR_H=config/allocator/new_allocator_base.h
16249 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16250 ;;
16251 pool)
16252 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16254 ;;
16255 esac
16256
16257
16258
16259
16260
16261 # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263 enableval=$enable_cheaders;
16264 case "$enableval" in
16265 c|c_std|c_global) ;;
16266 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267 esac
16268
16269 else
16270 enable_cheaders=$c_model
16271 fi
16272
16273
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16276
16277 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16278
16279 # Allow overrides to configure.host here.
16280 if test $enable_cheaders = c_global; then
16281 c_compatibility=yes
16282 fi
16283
16284
16285
16286
16287
16288
16289
16290 # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292 enableval=$enable_long_long;
16293 case "$enableval" in
16294 yes|no) ;;
16295 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296 esac
16297
16298 else
16299 enable_long_long=yes
16300 fi
16301
16302
16303 if test $enable_long_long = yes; then
16304
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16306
16307 fi
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16312
16313
16314 # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316 enableval=$enable_wchar_t;
16317 case "$enableval" in
16318 yes|no) ;;
16319 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320 esac
16321
16322 else
16323 enable_wchar_t=yes
16324 fi
16325
16326
16327
16328 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329 for ac_header in wchar.h
16330 do :
16331 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336 ac_has_wchar_h=yes
16337 else
16338 ac_has_wchar_h=no
16339 fi
16340
16341 done
16342
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <wchar.h>
16348 int
16349 main ()
16350 {
16351 mbstate_t teststate;
16352 ;
16353 return 0;
16354 }
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357 have_mbstate_t=yes
16358 else
16359 have_mbstate_t=no
16360 fi
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364 if test x"$have_mbstate_t" = xyes; then
16365
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16367
16368 fi
16369
16370 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371 # ac_has_wchar_h.
16372 for ac_header in wctype.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379 ac_has_wctype_h=yes
16380 else
16381 ac_has_wctype_h=no
16382 fi
16383
16384 done
16385
16386
16387 if test x"$enable_wchar_t" = x"yes"; then
16388
16389
16390 ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395
16396
16397 if test x"$ac_has_wchar_h" = xyes &&
16398 test x"$ac_has_wctype_h" = xyes; then
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 #include <wchar.h>
16402 #include <stddef.h>
16403 wint_t i;
16404 long l = WEOF;
16405 long j = WCHAR_MIN;
16406 long k = WCHAR_MAX;
16407 namespace test
16408 {
16409 using ::btowc;
16410 using ::fgetwc;
16411 using ::fgetws;
16412 using ::fputwc;
16413 using ::fputws;
16414 using ::fwide;
16415 using ::fwprintf;
16416 using ::fwscanf;
16417 using ::getwc;
16418 using ::getwchar;
16419 using ::mbrlen;
16420 using ::mbrtowc;
16421 using ::mbsinit;
16422 using ::mbsrtowcs;
16423 using ::putwc;
16424 using ::putwchar;
16425 using ::swprintf;
16426 using ::swscanf;
16427 using ::ungetwc;
16428 using ::vfwprintf;
16429 using ::vswprintf;
16430 using ::vwprintf;
16431 using ::wcrtomb;
16432 using ::wcscat;
16433 using ::wcschr;
16434 using ::wcscmp;
16435 using ::wcscoll;
16436 using ::wcscpy;
16437 using ::wcscspn;
16438 using ::wcsftime;
16439 using ::wcslen;
16440 using ::wcsncat;
16441 using ::wcsncmp;
16442 using ::wcsncpy;
16443 using ::wcspbrk;
16444 using ::wcsrchr;
16445 using ::wcsrtombs;
16446 using ::wcsspn;
16447 using ::wcsstr;
16448 using ::wcstod;
16449 using ::wcstok;
16450 using ::wcstol;
16451 using ::wcstoul;
16452 using ::wcsxfrm;
16453 using ::wctob;
16454 using ::wmemchr;
16455 using ::wmemcmp;
16456 using ::wmemcpy;
16457 using ::wmemmove;
16458 using ::wmemset;
16459 using ::wprintf;
16460 using ::wscanf;
16461 }
16462
16463 int
16464 main ()
16465 {
16466
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16472
16473 else
16474 enable_wchar_t=no
16475 fi
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16479 fi
16480
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487 fi
16488
16489 if test x"$enable_wchar_t" = x"yes"; then
16490
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16492
16493 fi
16494
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16499
16500
16501
16502 # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504 enableval=$enable_c99;
16505 case "$enableval" in
16506 yes|no) ;;
16507 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508 esac
16509
16510 else
16511 enable_c99=yes
16512 fi
16513
16514
16515
16516 if test x"$enable_c99" = x"yes"; then
16517
16518
16519 ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16524
16525
16526 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528 # spuriously enabled.
16529 # Long term, -std=c++0x could be even better, could manage to explicitely
16530 # request C99 facilities to the underlying C headers.
16531 ac_save_CXXFLAGS="$CXXFLAGS"
16532 CXXFLAGS="$CXXFLAGS -std=c++98"
16533 ac_save_LIBS="$LIBS"
16534 ac_save_gcc_no_link="$gcc_no_link"
16535
16536 if test x$gcc_no_link != xyes; then
16537 # Use -fno-exceptions to that the C driver can link these tests without
16538 # hitting undefined references to personality routines.
16539 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16549 fi
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16552
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16560 int
16561 main ()
16562 {
16563 return sin ();
16564 ;
16565 return 0;
16566 }
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569 ac_cv_lib_m_sin=yes
16570 else
16571 ac_cv_lib_m_sin=no
16572 fi
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16576 fi
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16580
16581 LIBS="$LIBS -lm"
16582
16583 else
16584
16585 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586 gcc_no_link=yes
16587
16588 fi
16589
16590 fi
16591
16592 # Check for the existence of <math.h> functions used if C99 is enabled.
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595 if test "${glibcxx_cv_c99_math+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598
16599 if test x$gcc_no_link = xyes; then
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <math.h>
16603 volatile double d1, d2;
16604 volatile int i;
16605 int
16606 main ()
16607 {
16608 i = fpclassify(d1);
16609 i = isfinite(d1);
16610 i = isinf(d1);
16611 i = isnan(d1);
16612 i = isnormal(d1);
16613 i = signbit(d1);
16614 i = isgreater(d1, d2);
16615 i = isgreaterequal(d1, d2);
16616 i = isless(d1, d2);
16617 i = islessequal(d1, d2);
16618 i = islessgreater(d1, d2);
16619 i = islessgreater(d1, d2);
16620 i = isunordered(d1, d2);
16621
16622 ;
16623 return 0;
16624 }
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627 glibcxx_cv_c99_math=yes
16628 else
16629 glibcxx_cv_c99_math=no
16630 fi
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633 if test x$gcc_no_link = xyes; then
16634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16635 fi
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16641 int
16642 main ()
16643 {
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16657
16658 ;
16659 return 0;
16660 }
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663 glibcxx_cv_c99_math=yes
16664 else
16665 glibcxx_cv_c99_math=no
16666 fi
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16669 fi
16670
16671 fi
16672
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16676
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16678
16679 fi
16680
16681 # Check for the existence of <complex.h> complex math functions.
16682 # This is necessary even though libstdc++ uses the builtin versions
16683 # of these functions, because if the builtin cannot be used, a reference
16684 # to the library function is emitted.
16685 for ac_header in tgmath.h
16686 do :
16687 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692 ac_has_tgmath_h=yes
16693 else
16694 ac_has_tgmath_h=no
16695 fi
16696
16697 done
16698
16699 for ac_header in complex.h
16700 do :
16701 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706 ac_has_complex_h=yes
16707 else
16708 ac_has_complex_h=no
16709 fi
16710
16711 done
16712
16713 glibcxx_cv_c99_complex=no;
16714 if test x"$ac_has_complex_h" = x"yes"; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717 if test x$gcc_no_link = xyes; then
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <complex.h>
16721 typedef __complex__ float float_type;
16722 typedef __complex__ double double_type;
16723 typedef __complex__ long double ld_type;
16724 volatile float_type tmpf;
16725 volatile double_type tmpd;
16726 volatile ld_type tmpld;
16727 volatile float f;
16728 volatile double d;
16729 volatile long double ld;
16730 int
16731 main ()
16732 {
16733 f = cabsf(tmpf);
16734 f = cargf(tmpf);
16735 tmpf = ccosf(tmpf);
16736 tmpf = ccoshf(tmpf);
16737 tmpf = cexpf(tmpf);
16738 tmpf = clogf(tmpf);
16739 tmpf = csinf(tmpf);
16740 tmpf = csinhf(tmpf);
16741 tmpf = csqrtf(tmpf);
16742 tmpf = ctanf(tmpf);
16743 tmpf = ctanhf(tmpf);
16744 tmpf = cpowf(tmpf, tmpf);
16745 tmpf = cprojf(tmpf);
16746 d = cabs(tmpd);
16747 d = carg(tmpd);
16748 tmpd = ccos(tmpd);
16749 tmpd = ccosh(tmpd);
16750 tmpd = cexp(tmpd);
16751 tmpd = clog(tmpd);
16752 tmpd = csin(tmpd);
16753 tmpd = csinh(tmpd);
16754 tmpd = csqrt(tmpd);
16755 tmpd = ctan(tmpd);
16756 tmpd = ctanh(tmpd);
16757 tmpd = cpow(tmpd, tmpd);
16758 tmpd = cproj(tmpd);
16759 ld = cabsl(tmpld);
16760 ld = cargl(tmpld);
16761 tmpld = ccosl(tmpld);
16762 tmpld = ccoshl(tmpld);
16763 tmpld = cexpl(tmpld);
16764 tmpld = clogl(tmpld);
16765 tmpld = csinl(tmpld);
16766 tmpld = csinhl(tmpld);
16767 tmpld = csqrtl(tmpld);
16768 tmpld = ctanl(tmpld);
16769 tmpld = ctanhl(tmpld);
16770 tmpld = cpowl(tmpld, tmpld);
16771 tmpld = cprojl(tmpld);
16772
16773 ;
16774 return 0;
16775 }
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778 glibcxx_cv_c99_complex=yes
16779 else
16780 glibcxx_cv_c99_complex=no
16781 fi
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784 if test x$gcc_no_link = xyes; then
16785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16786 fi
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 #include <complex.h>
16790 typedef __complex__ float float_type;
16791 typedef __complex__ double double_type;
16792 typedef __complex__ long double ld_type;
16793 volatile float_type tmpf;
16794 volatile double_type tmpd;
16795 volatile ld_type tmpld;
16796 volatile float f;
16797 volatile double d;
16798 volatile long double ld;
16799 int
16800 main ()
16801 {
16802 f = cabsf(tmpf);
16803 f = cargf(tmpf);
16804 tmpf = ccosf(tmpf);
16805 tmpf = ccoshf(tmpf);
16806 tmpf = cexpf(tmpf);
16807 tmpf = clogf(tmpf);
16808 tmpf = csinf(tmpf);
16809 tmpf = csinhf(tmpf);
16810 tmpf = csqrtf(tmpf);
16811 tmpf = ctanf(tmpf);
16812 tmpf = ctanhf(tmpf);
16813 tmpf = cpowf(tmpf, tmpf);
16814 tmpf = cprojf(tmpf);
16815 d = cabs(tmpd);
16816 d = carg(tmpd);
16817 tmpd = ccos(tmpd);
16818 tmpd = ccosh(tmpd);
16819 tmpd = cexp(tmpd);
16820 tmpd = clog(tmpd);
16821 tmpd = csin(tmpd);
16822 tmpd = csinh(tmpd);
16823 tmpd = csqrt(tmpd);
16824 tmpd = ctan(tmpd);
16825 tmpd = ctanh(tmpd);
16826 tmpd = cpow(tmpd, tmpd);
16827 tmpd = cproj(tmpd);
16828 ld = cabsl(tmpld);
16829 ld = cargl(tmpld);
16830 tmpld = ccosl(tmpld);
16831 tmpld = ccoshl(tmpld);
16832 tmpld = cexpl(tmpld);
16833 tmpld = clogl(tmpld);
16834 tmpld = csinl(tmpld);
16835 tmpld = csinhl(tmpld);
16836 tmpld = csqrtl(tmpld);
16837 tmpld = ctanl(tmpld);
16838 tmpld = ctanhl(tmpld);
16839 tmpld = cpowl(tmpld, tmpld);
16840 tmpld = cprojl(tmpld);
16841
16842 ;
16843 return 0;
16844 }
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847 glibcxx_cv_c99_complex=yes
16848 else
16849 glibcxx_cv_c99_complex=no
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16853 fi
16854 fi
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16858
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16860
16861 fi
16862
16863 # Check for the existence in <stdio.h> of vscanf, et. al.
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869
16870 if test x$gcc_no_link = xyes; then
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #include <stdio.h>
16874 #include <stdarg.h>
16875 void foo(char* fmt, ...)
16876 {
16877 va_list args; va_start(args, fmt);
16878 vfscanf(stderr, "%i", args);
16879 vscanf("%i", args);
16880 vsnprintf(fmt, 0, "%i", args);
16881 vsscanf(fmt, "%i", args);
16882 }
16883 int
16884 main ()
16885 {
16886 snprintf("12", 0, "%i");
16887 ;
16888 return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892 glibcxx_cv_c99_stdio=yes
16893 else
16894 glibcxx_cv_c99_stdio=no
16895 fi
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898 if test x$gcc_no_link = xyes; then
16899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16900 fi
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <stdio.h>
16904 #include <stdarg.h>
16905 void foo(char* fmt, ...)
16906 {
16907 va_list args; va_start(args, fmt);
16908 vfscanf(stderr, "%i", args);
16909 vscanf("%i", args);
16910 vsnprintf(fmt, 0, "%i", args);
16911 vsscanf(fmt, "%i", args);
16912 }
16913 int
16914 main ()
16915 {
16916 snprintf("12", 0, "%i");
16917 ;
16918 return 0;
16919 }
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922 glibcxx_cv_c99_stdio=yes
16923 else
16924 glibcxx_cv_c99_stdio=no
16925 fi
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16928 fi
16929
16930 fi
16931
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16934
16935 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16941
16942 if test x$gcc_no_link = xyes; then
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <stdlib.h>
16946 volatile float f;
16947 volatile long double ld;
16948 volatile unsigned long long ll;
16949 lldiv_t mydivt;
16950 int
16951 main ()
16952 {
16953 char* tmp;
16954 f = strtof("gnu", &tmp);
16955 ld = strtold("gnu", &tmp);
16956 ll = strtoll("gnu", &tmp, 10);
16957 ll = strtoull("gnu", &tmp, 10);
16958 ll = llabs(10);
16959 mydivt = lldiv(10,1);
16960 ll = mydivt.quot;
16961 ll = mydivt.rem;
16962 ll = atoll("10");
16963 _Exit(0);
16964
16965 ;
16966 return 0;
16967 }
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970 glibcxx_cv_c99_stdlib=yes
16971 else
16972 glibcxx_cv_c99_stdlib=no
16973 fi
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976 if test x$gcc_no_link = xyes; then
16977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16978 fi
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <stdlib.h>
16982 volatile float f;
16983 volatile long double ld;
16984 volatile unsigned long long ll;
16985 lldiv_t mydivt;
16986 int
16987 main ()
16988 {
16989 char* tmp;
16990 f = strtof("gnu", &tmp);
16991 ld = strtold("gnu", &tmp);
16992 ll = strtoll("gnu", &tmp, 10);
16993 ll = strtoull("gnu", &tmp, 10);
16994 ll = llabs(10);
16995 mydivt = lldiv(10,1);
16996 ll = mydivt.quot;
16997 ll = mydivt.rem;
16998 ll = atoll("10");
16999 _Exit(0);
17000
17001 ;
17002 return 0;
17003 }
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006 glibcxx_cv_c99_stdlib=yes
17007 else
17008 glibcxx_cv_c99_stdlib=no
17009 fi
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17012 fi
17013
17014 fi
17015
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17018
17019 # Check for the existence in <wchar.h> of wcstold, etc.
17020 glibcxx_cv_c99_wchar=no;
17021 if test x"$ac_has_wchar_h" = xyes &&
17022 test x"$ac_has_wctype_h" = xyes; then
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <wchar.h>
17028 namespace test
17029 {
17030 using ::wcstold;
17031 using ::wcstoll;
17032 using ::wcstoull;
17033 }
17034
17035 int
17036 main ()
17037 {
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 glibcxx_cv_c99_wchar=yes
17045 else
17046 glibcxx_cv_c99_wchar=no
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049
17050 # Checks for wide character functions that may not be present.
17051 # Injection of these is wrapped with guard macros.
17052 # NB: only put functions here, instead of immediately above, if
17053 # absolutely necessary.
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vfwscanf; }
17058 int
17059 main ()
17060 {
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17069
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vswscanf; }
17077 int
17078 main ()
17079 {
17080
17081 ;
17082 return 0;
17083 }
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17086
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17088
17089 fi
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::vwscanf; }
17096 int
17097 main ()
17098 {
17099
17100 ;
17101 return 0;
17102 }
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17105
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17107
17108 fi
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wchar.h>
17114 namespace test { using ::wcstof; }
17115 int
17116 main ()
17117 {
17118
17119 ;
17120 return 0;
17121 }
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17124
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17126
17127 fi
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wctype.h>
17133 int
17134 main ()
17135 {
17136 wint_t t; int i = iswblank(t);
17137 ;
17138 return 0;
17139 }
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17142
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17144
17145 fi
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17147
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17150 fi
17151
17152 # Option parsed, now set things appropriately.
17153 if test x"$glibcxx_cv_c99_math" = x"no" ||
17154 test x"$glibcxx_cv_c99_complex" = x"no" ||
17155 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158 enable_c99=no;
17159 else
17160
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17162
17163 fi
17164
17165 gcc_no_link="$ac_save_gcc_no_link"
17166 LIBS="$ac_save_LIBS"
17167 CXXFLAGS="$ac_save_CXXFLAGS"
17168 ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
17174 fi
17175
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17180
17181
17182 # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184 enableval=$enable_concept_checks;
17185 case "$enableval" in
17186 yes|no) ;;
17187 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188 esac
17189
17190 else
17191 enable_concept_checks=no
17192 fi
17193
17194
17195 if test $enable_concept_checks = yes; then
17196
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17198
17199 fi
17200
17201
17202 # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205 xno | x) enable_libstdcxx_debug_flags= ;;
17206 x-*) ;;
17207 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208 esac
17209 else
17210 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17211 fi
17212
17213
17214
17215 # Option parsed, now set things appropriately
17216 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17217
17218
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17221
17222
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225 # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227 enableval=$enable_libstdcxx_debug;
17228 case "$enableval" in
17229 yes|no) ;;
17230 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231 esac
17232
17233 else
17234 enable_libstdcxx_debug=no
17235 fi
17236
17237
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17240
17241
17242
17243
17244 enable_parallel=no;
17245
17246 # See if configured libgomp/omp.h exists. (libgomp may be in
17247 # noconfigdirs but not explicitly disabled.)
17248 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249 enable_parallel=yes;
17250 else
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17253 fi
17254
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17259
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262 # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265 xno | x) enable_cxx_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_cxx_flags=
17271 fi
17272
17273
17274
17275 # Run through flags (either default or command-line) and set anything
17276 # extra (e.g., #defines) that must accompany particular g++ options.
17277 if test -n "$enable_cxx_flags"; then
17278 for f in $enable_cxx_flags; do
17279 case "$f" in
17280 -fhonor-std) ;;
17281 -*) ;;
17282 *) # and we're trying to pass /what/ exactly?
17283 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284 esac
17285 done
17286 fi
17287
17288 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17291
17292
17293
17294 # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296 enableval=$enable_fully_dynamic_string;
17297 case "$enableval" in
17298 yes|no) ;;
17299 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300 esac
17301
17302 else
17303 enable_fully_dynamic_string=no
17304 fi
17305
17306
17307 if test $enable_fully_dynamic_string = yes; then
17308 enable_fully_dynamic_string_def=1
17309 else
17310 enable_fully_dynamic_string_def=0
17311 fi
17312
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17316
17317
17318
17319
17320 # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322 enableval=$enable_extern_template;
17323 case "$enableval" in
17324 yes|no) ;;
17325 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326 esac
17327
17328 else
17329 enable_extern_template=yes
17330 fi
17331
17332
17333
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17338
17339
17340
17341
17342
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17345
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348 withval=$with_python_dir; with_python_dir=$withval
17349 else
17350 with_python_dir="no"
17351 fi
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17355
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17358
17359
17360
17361
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364 # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366 enableval=$enable_werror;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370 esac
17371
17372 else
17373 enable_werror=yes
17374 fi
17375
17376
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17379
17380
17381
17382 # Checks for operating systems support that doesn't require linking.
17383
17384
17385
17386 ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17391
17392
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395 if test "${glibcxx_cv_gets+set}" = set; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17398
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <stdio.h>
17402 namespace test
17403 {
17404 using ::gets;
17405 }
17406
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409 glibcxx_cv_gets=yes
17410 else
17411 glibcxx_cv_gets=no
17412
17413 fi
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 fi
17416
17417
17418 if test $glibcxx_cv_gets = yes; then
17419
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17421
17422 fi
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17425
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431
17432
17433
17434
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17440
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <errno.h>
17444 int
17445 main ()
17446 {
17447 int i = EOWNERDEAD;
17448 ;
17449 return 0;
17450 }
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error1=yes
17454 else
17455 glibcxx_cv_system_error1=no
17456 fi
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458
17459 fi
17460
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17464
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17466
17467 fi
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <errno.h>
17477 int
17478 main ()
17479 {
17480 int i = ENOTRECOVERABLE;
17481 ;
17482 return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error2=yes
17487 else
17488 glibcxx_cv_system_error2=no
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 fi
17493
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17497
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17499
17500 fi
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <errno.h>
17510 int
17511 main ()
17512 {
17513 int i = ENOLINK;
17514 ;
17515 return 0;
17516 }
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error3=yes
17520 else
17521 glibcxx_cv_system_error3=no
17522 fi
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525 fi
17526
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17530
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <errno.h>
17543 int
17544 main ()
17545 {
17546 int i = EPROTO;
17547 ;
17548 return 0;
17549 }
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error4=yes
17553 else
17554 glibcxx_cv_system_error4=no
17555 fi
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557
17558 fi
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17563
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17565
17566 fi
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <errno.h>
17576 int
17577 main ()
17578 {
17579 int i = ENODATA;
17580 ;
17581 return 0;
17582 }
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 glibcxx_cv_system_error5=yes
17586 else
17587 glibcxx_cv_system_error5=no
17588 fi
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
17591 fi
17592
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17596
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17598
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <errno.h>
17609 int
17610 main ()
17611 {
17612 int i = ENOSR;
17613 ;
17614 return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 glibcxx_cv_system_error6=yes
17619 else
17620 glibcxx_cv_system_error6=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624 fi
17625
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17629
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17631
17632 fi
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17638
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <errno.h>
17642 int
17643 main ()
17644 {
17645 int i = ENOSTR;
17646 ;
17647 return 0;
17648 }
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 glibcxx_cv_system_error7=yes
17652 else
17653 glibcxx_cv_system_error7=no
17654 fi
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657 fi
17658
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17662
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17664
17665 fi
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #include <errno.h>
17675 int
17676 main ()
17677 {
17678 int i = ETIME;
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 glibcxx_cv_system_error8=yes
17685 else
17686 glibcxx_cv_system_error8=no
17687 fi
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689
17690 fi
17691
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17695
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17697
17698 fi
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17704
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <errno.h>
17708 int
17709 main ()
17710 {
17711 int i = EBADMSG;
17712 ;
17713 return 0;
17714 }
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717 glibcxx_cv_system_error9=yes
17718 else
17719 glibcxx_cv_system_error9=no
17720 fi
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723 fi
17724
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17728
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17730
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <errno.h>
17741 int
17742 main ()
17743 {
17744 int i = ECANCELED;
17745 ;
17746 return 0;
17747 }
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 glibcxx_cv_system_error10=yes
17751 else
17752 glibcxx_cv_system_error10=no
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756 fi
17757
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17761
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17763
17764 fi
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <errno.h>
17774 int
17775 main ()
17776 {
17777 int i = EOVERFLOW;
17778 ;
17779 return 0;
17780 }
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783 glibcxx_cv_system_error11=yes
17784 else
17785 glibcxx_cv_system_error11=no
17786 fi
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788
17789 fi
17790
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17794
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17796
17797 fi
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17803
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <errno.h>
17807 int
17808 main ()
17809 {
17810 int i = ENOTSUP;
17811 ;
17812 return 0;
17813 }
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816 glibcxx_cv_system_error12=yes
17817 else
17818 glibcxx_cv_system_error12=no
17819 fi
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822 fi
17823
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17827
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17829
17830 fi
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17836
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #include <errno.h>
17840 int
17841 main ()
17842 {
17843 int i = EIDRM;
17844 ;
17845 return 0;
17846 }
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849 glibcxx_cv_system_error13=yes
17850 else
17851 glibcxx_cv_system_error13=no
17852 fi
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854
17855 fi
17856
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17860
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17862
17863 fi
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17869
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872 #include <errno.h>
17873 int
17874 main ()
17875 {
17876 int i = ETXTBSY;
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882 glibcxx_cv_system_error14=yes
17883 else
17884 glibcxx_cv_system_error14=no
17885 fi
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887
17888 fi
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17893
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17895
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17902
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17905 #include <errno.h>
17906 int
17907 main ()
17908 {
17909 int i = ECHILD;
17910 ;
17911 return 0;
17912 }
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915 glibcxx_cv_system_error15=yes
17916 else
17917 glibcxx_cv_system_error15=no
17918 fi
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920
17921 fi
17922
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17926
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17928
17929 fi
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17935
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <errno.h>
17939 int
17940 main ()
17941 {
17942 int i = ENOSPC;
17943 ;
17944 return 0;
17945 }
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948 glibcxx_cv_system_error16=yes
17949 else
17950 glibcxx_cv_system_error16=no
17951 fi
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17953
17954 fi
17955
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17959
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17961
17962 fi
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17968
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #include <errno.h>
17972 int
17973 main ()
17974 {
17975 int i = EPERM;
17976 ;
17977 return 0;
17978 }
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981 glibcxx_cv_system_error17=yes
17982 else
17983 glibcxx_cv_system_error17=no
17984 fi
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986
17987 fi
17988
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17992
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17994
17995 fi
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18001
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <errno.h>
18005 int
18006 main ()
18007 {
18008 int i = ETIMEDOUT;
18009 ;
18010 return 0;
18011 }
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014 glibcxx_cv_system_error18=yes
18015 else
18016 glibcxx_cv_system_error18=no
18017 fi
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019
18020 fi
18021
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18025
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18027
18028 fi
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18034
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <errno.h>
18038 int
18039 main ()
18040 {
18041 int i = EWOULDBLOCK;
18042 ;
18043 return 0;
18044 }
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047 glibcxx_cv_system_error19=yes
18048 else
18049 glibcxx_cv_system_error19=no
18050 fi
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052
18053 fi
18054
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18058
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18060
18061 fi
18062
18063
18064
18065 # For the streamoff typedef.
18066
18067
18068
18069 ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18074
18075
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18085 int
18086 main ()
18087 {
18088 int64_t var;
18089 ;
18090 return 0;
18091 }
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094 glibcxx_cv_INT64_T=yes
18095 else
18096 glibcxx_cv_INT64_T=no
18097 fi
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099
18100 fi
18101
18102
18103 if test $glibcxx_cv_INT64_T = yes; then
18104
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18106
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18109
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18115
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <stdint.h>
18119 template<typename, typename> struct same { enum { value = -1 }; };
18120 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121 int array[same<int64_t, long>::value];
18122 int
18123 main ()
18124 {
18125
18126 ;
18127 return 0;
18128 }
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131 glibcxx_cv_int64_t_long=yes
18132 else
18133 glibcxx_cv_int64_t_long=no
18134 fi
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136
18137 fi
18138
18139
18140 if test $glibcxx_cv_int64_t_long = yes; then
18141
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18143
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18146 fi
18147
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18153
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <stdint.h>
18157 template<typename, typename> struct same { enum { value = -1 }; };
18158 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159 int array[same<int64_t, long long>::value];
18160 int
18161 main ()
18162 {
18163
18164 ;
18165 return 0;
18166 }
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169 glibcxx_cv_int64_t_long_long=yes
18170 else
18171 glibcxx_cv_int64_t_long_long=no
18172 fi
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174
18175 fi
18176
18177
18178 if test $glibcxx_cv_int64_t_long_long = yes; then
18179
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18181
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18184 fi
18185 fi
18186
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192
18193
18194
18195 # For LFS support.
18196
18197
18198 ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203
18204 ac_save_CXXFLAGS="$CXXFLAGS"
18205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208 if test "${glibcxx_cv_LFS+set}" = set; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18211
18212 if test x$gcc_no_link = xyes; then
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <unistd.h>
18216 #include <stdio.h>
18217 #include <sys/stat.h>
18218
18219 int
18220 main ()
18221 {
18222 FILE* fp;
18223 fopen64("t", "w");
18224 fseeko64(fp, 0, SEEK_CUR);
18225 ftello64(fp);
18226 lseek64(1, 0, SEEK_CUR);
18227 struct stat64 buf;
18228 fstat64(1, &buf);
18229 ;
18230 return 0;
18231 }
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234 glibcxx_cv_LFS=yes
18235 else
18236 glibcxx_cv_LFS=no
18237 fi
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240 if test x$gcc_no_link = xyes; then
18241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18242 fi
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <unistd.h>
18246 #include <stdio.h>
18247 #include <sys/stat.h>
18248
18249 int
18250 main ()
18251 {
18252 FILE* fp;
18253 fopen64("t", "w");
18254 fseeko64(fp, 0, SEEK_CUR);
18255 ftello64(fp);
18256 lseek64(1, 0, SEEK_CUR);
18257 struct stat64 buf;
18258 fstat64(1, &buf);
18259 ;
18260 return 0;
18261 }
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264 glibcxx_cv_LFS=yes
18265 else
18266 glibcxx_cv_LFS=no
18267 fi
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18270 fi
18271
18272 fi
18273
18274 if test $glibcxx_cv_LFS = yes; then
18275
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18277
18278 fi
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281 CXXFLAGS="$ac_save_CXXFLAGS"
18282 ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18287
18288
18289
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296 if test "x$as_val" = x""yes; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18300
18301 fi
18302
18303 done
18304
18305
18306
18307
18308 ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18313
18314 ac_save_CXXFLAGS="$CXXFLAGS"
18315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18316
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319 if test "${glibcxx_cv_POLL+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322
18323 if test x$gcc_no_link = xyes; then
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <poll.h>
18327 int
18328 main ()
18329 {
18330 struct pollfd pfd[1];
18331 pfd[0].events = POLLIN;
18332 poll(pfd, 1, 0);
18333 ;
18334 return 0;
18335 }
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_POLL=yes
18339 else
18340 glibcxx_cv_POLL=no
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344 if test x$gcc_no_link = xyes; then
18345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18346 fi
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <poll.h>
18350 int
18351 main ()
18352 {
18353 struct pollfd pfd[1];
18354 pfd[0].events = POLLIN;
18355 poll(pfd, 1, 0);
18356 ;
18357 return 0;
18358 }
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_POLL=yes
18362 else
18363 glibcxx_cv_POLL=no
18364 fi
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18367 fi
18368
18369 fi
18370
18371 if test $glibcxx_cv_POLL = yes; then
18372
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18374
18375 fi
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18378
18379 CXXFLAGS="$ac_save_CXXFLAGS"
18380 ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18385
18386
18387
18388
18389
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18395
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18398
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18404
18405 if test x$gcc_no_link = xyes; then
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <sys/stat.h>
18409 int
18410 main ()
18411 {
18412 struct stat buffer;
18413 fstat(0, &buffer);
18414 S_ISREG(buffer.st_mode);
18415 ;
18416 return 0;
18417 }
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420 glibcxx_cv_S_ISREG=yes
18421 else
18422 glibcxx_cv_S_ISREG=no
18423 fi
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18428 fi
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <sys/stat.h>
18432 int
18433 main ()
18434 {
18435 struct stat buffer;
18436 fstat(0, &buffer);
18437 S_ISREG(buffer.st_mode);
18438 ;
18439 return 0;
18440 }
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_S_ISREG=yes
18444 else
18445 glibcxx_cv_S_ISREG=no
18446 fi
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18449 fi
18450
18451 fi
18452
18453 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18456
18457 if test x$gcc_no_link = xyes; then
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460 #include <sys/stat.h>
18461 int
18462 main ()
18463 {
18464 struct stat buffer;
18465 fstat(0, &buffer);
18466 S_IFREG & buffer.st_mode;
18467 ;
18468 return 0;
18469 }
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472 glibcxx_cv_S_IFREG=yes
18473 else
18474 glibcxx_cv_S_IFREG=no
18475 fi
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 fi
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #include <sys/stat.h>
18484 int
18485 main ()
18486 {
18487 struct stat buffer;
18488 fstat(0, &buffer);
18489 S_IFREG & buffer.st_mode;
18490 ;
18491 return 0;
18492 }
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495 glibcxx_cv_S_IFREG=yes
18496 else
18497 glibcxx_cv_S_IFREG=no
18498 fi
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18501 fi
18502
18503 fi
18504
18505 res=no
18506 if test $glibcxx_cv_S_ISREG = yes; then
18507
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18509
18510 res=S_ISREG
18511 elif test $glibcxx_cv_S_IFREG = yes; then
18512
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18514
18515 res=S_IFREG
18516 fi
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18519
18520 CXXFLAGS="$ac_save_CXXFLAGS"
18521 ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18526
18527
18528
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18537
18538 fi
18539
18540 done
18541
18542
18543
18544
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551 ac_save_CXXFLAGS="$CXXFLAGS"
18552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18553
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18559
18560 if test x$gcc_no_link = xyes; then
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/uio.h>
18564 int
18565 main ()
18566 {
18567 struct iovec iov[2];
18568 writev(0, iov, 0);
18569 ;
18570 return 0;
18571 }
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574 glibcxx_cv_WRITEV=yes
18575 else
18576 glibcxx_cv_WRITEV=no
18577 fi
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580 if test x$gcc_no_link = xyes; then
18581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 fi
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #include <sys/uio.h>
18586 int
18587 main ()
18588 {
18589 struct iovec iov[2];
18590 writev(0, iov, 0);
18591 ;
18592 return 0;
18593 }
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596 glibcxx_cv_WRITEV=yes
18597 else
18598 glibcxx_cv_WRITEV=no
18599 fi
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18602 fi
18603
18604 fi
18605
18606 if test $glibcxx_cv_WRITEV = yes; then
18607
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18609
18610 fi
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18613
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620
18621
18622
18623 # For C99 support to TR1.
18624
18625
18626
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633
18634 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635 # undefined and fake C99 facilities may be spuriously enabled.
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -std=c++98"
18638
18639 # Check for the existence of <complex.h> complex math functions used
18640 # by tr1/complex.
18641 for ac_header in complex.h
18642 do :
18643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648 ac_has_complex_h=yes
18649 else
18650 ac_has_complex_h=no
18651 fi
18652
18653 done
18654
18655 ac_c99_complex_tr1=no;
18656 if test x"$ac_has_complex_h" = x"yes"; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #include <complex.h>
18662 int
18663 main ()
18664 {
18665 typedef __complex__ float float_type; float_type tmpf;
18666 cacosf(tmpf);
18667 casinf(tmpf);
18668 catanf(tmpf);
18669 cacoshf(tmpf);
18670 casinhf(tmpf);
18671 catanhf(tmpf);
18672 typedef __complex__ double double_type; double_type tmpd;
18673 cacos(tmpd);
18674 casin(tmpd);
18675 catan(tmpd);
18676 cacosh(tmpd);
18677 casinh(tmpd);
18678 catanh(tmpd);
18679 typedef __complex__ long double ld_type; ld_type tmpld;
18680 cacosl(tmpld);
18681 casinl(tmpld);
18682 catanl(tmpld);
18683 cacoshl(tmpld);
18684 casinhl(tmpld);
18685 catanhl(tmpld);
18686
18687 ;
18688 return 0;
18689 }
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692 ac_c99_complex_tr1=yes
18693 else
18694 ac_c99_complex_tr1=no
18695 fi
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 fi
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700 if test x"$ac_c99_complex_tr1" = x"yes"; then
18701
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18703
18704 fi
18705
18706 # Check for the existence of <ctype.h> functions.
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710 $as_echo_n "(cached) " >&6
18711 else
18712
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <ctype.h>
18716 int
18717 main ()
18718 {
18719 int ch;
18720 int ret;
18721 ret = isblank(ch);
18722
18723 ;
18724 return 0;
18725 }
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728 glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730 glibcxx_cv_c99_ctype_tr1=no
18731 fi
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733
18734 fi
18735
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18739
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18741
18742 fi
18743
18744 # Check for the existence of <fenv.h> functions.
18745 for ac_header in fenv.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752 ac_has_fenv_h=yes
18753 else
18754 ac_has_fenv_h=no
18755 fi
18756
18757 done
18758
18759 ac_c99_fenv_tr1=no;
18760 if test x"$ac_has_fenv_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <fenv.h>
18766 int
18767 main ()
18768 {
18769 int except, mode;
18770 fexcept_t* pflag;
18771 fenv_t* penv;
18772 int ret;
18773 ret = feclearexcept(except);
18774 ret = fegetexceptflag(pflag, except);
18775 ret = feraiseexcept(except);
18776 ret = fesetexceptflag(pflag, except);
18777 ret = fetestexcept(except);
18778 ret = fegetround();
18779 ret = fesetround(mode);
18780 ret = fegetenv(penv);
18781 ret = feholdexcept(penv);
18782 ret = fesetenv(penv);
18783 ret = feupdateenv(penv);
18784
18785 ;
18786 return 0;
18787 }
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790 ac_c99_fenv_tr1=yes
18791 else
18792 ac_c99_fenv_tr1=no
18793 fi
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 fi
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18799
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18801
18802 fi
18803
18804 # Check for the existence of <stdint.h> types.
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18810
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #define __STDC_LIMIT_MACROS
18814 #define __STDC_CONSTANT_MACROS
18815 #include <stdint.h>
18816 int
18817 main ()
18818 {
18819 typedef int8_t my_int8_t;
18820 my_int8_t i8 = INT8_MIN;
18821 i8 = INT8_MAX;
18822 typedef int16_t my_int16_t;
18823 my_int16_t i16 = INT16_MIN;
18824 i16 = INT16_MAX;
18825 typedef int32_t my_int32_t;
18826 my_int32_t i32 = INT32_MIN;
18827 i32 = INT32_MAX;
18828 typedef int64_t my_int64_t;
18829 my_int64_t i64 = INT64_MIN;
18830 i64 = INT64_MAX;
18831 typedef int_fast8_t my_int_fast8_t;
18832 my_int_fast8_t if8 = INT_FAST8_MIN;
18833 if8 = INT_FAST8_MAX;
18834 typedef int_fast16_t my_int_fast16_t;
18835 my_int_fast16_t if16 = INT_FAST16_MIN;
18836 if16 = INT_FAST16_MAX;
18837 typedef int_fast32_t my_int_fast32_t;
18838 my_int_fast32_t if32 = INT_FAST32_MIN;
18839 if32 = INT_FAST32_MAX;
18840 typedef int_fast64_t my_int_fast64_t;
18841 my_int_fast64_t if64 = INT_FAST64_MIN;
18842 if64 = INT_FAST64_MAX;
18843 typedef int_least8_t my_int_least8_t;
18844 my_int_least8_t il8 = INT_LEAST8_MIN;
18845 il8 = INT_LEAST8_MAX;
18846 typedef int_least16_t my_int_least16_t;
18847 my_int_least16_t il16 = INT_LEAST16_MIN;
18848 il16 = INT_LEAST16_MAX;
18849 typedef int_least32_t my_int_least32_t;
18850 my_int_least32_t il32 = INT_LEAST32_MIN;
18851 il32 = INT_LEAST32_MAX;
18852 typedef int_least64_t my_int_least64_t;
18853 my_int_least64_t il64 = INT_LEAST64_MIN;
18854 il64 = INT_LEAST64_MAX;
18855 typedef intmax_t my_intmax_t;
18856 my_intmax_t im = INTMAX_MAX;
18857 im = INTMAX_MIN;
18858 typedef intptr_t my_intptr_t;
18859 my_intptr_t ip = INTPTR_MAX;
18860 ip = INTPTR_MIN;
18861 typedef uint8_t my_uint8_t;
18862 my_uint8_t ui8 = UINT8_MAX;
18863 ui8 = UINT8_MAX;
18864 typedef uint16_t my_uint16_t;
18865 my_uint16_t ui16 = UINT16_MAX;
18866 ui16 = UINT16_MAX;
18867 typedef uint32_t my_uint32_t;
18868 my_uint32_t ui32 = UINT32_MAX;
18869 ui32 = UINT32_MAX;
18870 typedef uint64_t my_uint64_t;
18871 my_uint64_t ui64 = UINT64_MAX;
18872 ui64 = UINT64_MAX;
18873 typedef uint_fast8_t my_uint_fast8_t;
18874 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18875 uif8 = UINT_FAST8_MAX;
18876 typedef uint_fast16_t my_uint_fast16_t;
18877 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18878 uif16 = UINT_FAST16_MAX;
18879 typedef uint_fast32_t my_uint_fast32_t;
18880 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18881 uif32 = UINT_FAST32_MAX;
18882 typedef uint_fast64_t my_uint_fast64_t;
18883 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18884 uif64 = UINT_FAST64_MAX;
18885 typedef uint_least8_t my_uint_least8_t;
18886 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18887 uil8 = UINT_LEAST8_MAX;
18888 typedef uint_least16_t my_uint_least16_t;
18889 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18890 uil16 = UINT_LEAST16_MAX;
18891 typedef uint_least32_t my_uint_least32_t;
18892 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18893 uil32 = UINT_LEAST32_MAX;
18894 typedef uint_least64_t my_uint_least64_t;
18895 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18896 uil64 = UINT_LEAST64_MAX;
18897 typedef uintmax_t my_uintmax_t;
18898 my_uintmax_t uim = UINTMAX_MAX;
18899 uim = UINTMAX_MAX;
18900 typedef uintptr_t my_uintptr_t;
18901 my_uintptr_t uip = UINTPTR_MAX;
18902 uip = UINTPTR_MAX;
18903
18904 ;
18905 return 0;
18906 }
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911 glibcxx_cv_c99_stdint_tr1=no
18912 fi
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914
18915 fi
18916
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18920
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18922
18923 fi
18924
18925 # Check for the existence of <math.h> functions.
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929 $as_echo_n "(cached) " >&6
18930 else
18931
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 #include <math.h>
18935 int
18936 main ()
18937 {
18938 typedef double_t my_double_t;
18939 typedef float_t my_float_t;
18940 acosh(0.0);
18941 acoshf(0.0f);
18942 acoshl(0.0l);
18943 asinh(0.0);
18944 asinhf(0.0f);
18945 asinhl(0.0l);
18946 atanh(0.0);
18947 atanhf(0.0f);
18948 atanhl(0.0l);
18949 cbrt(0.0);
18950 cbrtf(0.0f);
18951 cbrtl(0.0l);
18952 copysign(0.0, 0.0);
18953 copysignf(0.0f, 0.0f);
18954 copysignl(0.0l, 0.0l);
18955 erf(0.0);
18956 erff(0.0f);
18957 erfl(0.0l);
18958 erfc(0.0);
18959 erfcf(0.0f);
18960 erfcl(0.0l);
18961 exp2(0.0);
18962 exp2f(0.0f);
18963 exp2l(0.0l);
18964 expm1(0.0);
18965 expm1f(0.0f);
18966 expm1l(0.0l);
18967 fdim(0.0, 0.0);
18968 fdimf(0.0f, 0.0f);
18969 fdiml(0.0l, 0.0l);
18970 fma(0.0, 0.0, 0.0);
18971 fmaf(0.0f, 0.0f, 0.0f);
18972 fmal(0.0l, 0.0l, 0.0l);
18973 fmax(0.0, 0.0);
18974 fmaxf(0.0f, 0.0f);
18975 fmaxl(0.0l, 0.0l);
18976 fmin(0.0, 0.0);
18977 fminf(0.0f, 0.0f);
18978 fminl(0.0l, 0.0l);
18979 hypot(0.0, 0.0);
18980 hypotf(0.0f, 0.0f);
18981 hypotl(0.0l, 0.0l);
18982 ilogb(0.0);
18983 ilogbf(0.0f);
18984 ilogbl(0.0l);
18985 lgamma(0.0);
18986 lgammaf(0.0f);
18987 lgammal(0.0l);
18988 llrint(0.0);
18989 llrintf(0.0f);
18990 llrintl(0.0l);
18991 llround(0.0);
18992 llroundf(0.0f);
18993 llroundl(0.0l);
18994 log1p(0.0);
18995 log1pf(0.0f);
18996 log1pl(0.0l);
18997 log2(0.0);
18998 log2f(0.0f);
18999 log2l(0.0l);
19000 logb(0.0);
19001 logbf(0.0f);
19002 logbl(0.0l);
19003 lrint(0.0);
19004 lrintf(0.0f);
19005 lrintl(0.0l);
19006 lround(0.0);
19007 lroundf(0.0f);
19008 lroundl(0.0l);
19009 nan(0);
19010 nanf(0);
19011 nanl(0);
19012 nearbyint(0.0);
19013 nearbyintf(0.0f);
19014 nearbyintl(0.0l);
19015 nextafter(0.0, 0.0);
19016 nextafterf(0.0f, 0.0f);
19017 nextafterl(0.0l, 0.0l);
19018 nexttoward(0.0, 0.0);
19019 nexttowardf(0.0f, 0.0f);
19020 nexttowardl(0.0l, 0.0l);
19021 remainder(0.0, 0.0);
19022 remainderf(0.0f, 0.0f);
19023 remainderl(0.0l, 0.0l);
19024 remquo(0.0, 0.0, 0);
19025 remquof(0.0f, 0.0f, 0);
19026 remquol(0.0l, 0.0l, 0);
19027 rint(0.0);
19028 rintf(0.0f);
19029 rintl(0.0l);
19030 round(0.0);
19031 roundf(0.0f);
19032 roundl(0.0l);
19033 scalbln(0.0, 0l);
19034 scalblnf(0.0f, 0l);
19035 scalblnl(0.0l, 0l);
19036 scalbn(0.0, 0);
19037 scalbnf(0.0f, 0);
19038 scalbnl(0.0l, 0);
19039 tgamma(0.0);
19040 tgammaf(0.0f);
19041 tgammal(0.0l);
19042 trunc(0.0);
19043 truncf(0.0f);
19044 truncl(0.0l);
19045
19046 ;
19047 return 0;
19048 }
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051 glibcxx_cv_c99_math_tr1=yes
19052 else
19053 glibcxx_cv_c99_math_tr1=no
19054 fi
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056
19057 fi
19058
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19062
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19064
19065 fi
19066
19067 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069 ac_c99_inttypes_tr1=no;
19070 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <inttypes.h>
19076 int
19077 main ()
19078 {
19079 intmax_t i, numer, denom, base;
19080 const char* s;
19081 char** endptr;
19082 intmax_t ret = imaxabs(i);
19083 imaxdiv_t dret = imaxdiv(numer, denom);
19084 ret = strtoimax(s, endptr, base);
19085 uintmax_t uret = strtoumax(s, endptr, base);
19086
19087 ;
19088 return 0;
19089 }
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092 ac_c99_inttypes_tr1=yes
19093 else
19094 ac_c99_inttypes_tr1=no
19095 fi
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 fi
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19101
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19103
19104 fi
19105
19106 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108 ac_c99_inttypes_wchar_t_tr1=no;
19109 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 #include <inttypes.h>
19115 int
19116 main ()
19117 {
19118 intmax_t base;
19119 const wchar_t* s;
19120 wchar_t** endptr;
19121 intmax_t ret = wcstoimax(s, endptr, base);
19122 uintmax_t uret = wcstoumax(s, endptr, base);
19123
19124 ;
19125 return 0;
19126 }
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129 ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131 ac_c99_inttypes_wchar_t_tr1=no
19132 fi
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134 fi
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19138
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19140
19141 fi
19142
19143 # Check for the existence of the <stdbool.h> header.
19144 for ac_header in stdbool.h
19145 do :
19146 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19151
19152 fi
19153
19154 done
19155
19156
19157 # Check for the existence of the <stdalign.h> header.
19158 for ac_header in stdalign.h
19159 do :
19160 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19165
19166 fi
19167
19168 done
19169
19170
19171 CXXFLAGS="$ac_save_CXXFLAGS"
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19177
19178
19179
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19181
19182
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186 $as_echo_n "(cached) " >&6
19187 else
19188
19189 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19190
19191 else
19192 as_fn_error "computing EOF failed" "$LINENO" 5
19193 fi
19194
19195
19196 fi
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19199
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19203
19204
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208 $as_echo_n "(cached) " >&6
19209 else
19210
19211 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19212
19213 else
19214 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19215 fi
19216
19217
19218 fi
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19221
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19225
19226
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19232
19233 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19234
19235 else
19236 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19237 fi
19238
19239
19240 fi
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19243
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19247
19248
19249
19250 # For gettimeofday support.
19251
19252
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19255
19256
19257 ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19262
19263 ac_save_CXXFLAGS="$CXXFLAGS"
19264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19265
19266 ac_has_gettimeofday=no;
19267 for ac_header in sys/time.h
19268 do :
19269 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274 ac_has_sys_time_h=yes
19275 else
19276 ac_has_sys_time_h=no
19277 fi
19278
19279 done
19280
19281 if test x"$ac_has_sys_time_h" = x"yes"; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284 if test x$gcc_no_link = xyes; then
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 #include <sys/time.h>
19288 int
19289 main ()
19290 {
19291 timeval tv; gettimeofday(&tv, 0);
19292 ;
19293 return 0;
19294 }
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297 ac_has_gettimeofday=yes
19298 else
19299 ac_has_gettimeofday=no
19300 fi
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303 if test x$gcc_no_link = xyes; then
19304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19305 fi
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <sys/time.h>
19309 int
19310 main ()
19311 {
19312 timeval tv; gettimeofday(&tv, 0);
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318 ac_has_gettimeofday=yes
19319 else
19320 ac_has_gettimeofday=no
19321 fi
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19324 fi
19325
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19328 fi
19329
19330 if test x"$ac_has_gettimeofday" = x"yes"; then
19331
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19333
19334 fi
19335
19336 CXXFLAGS="$ac_save_CXXFLAGS"
19337 ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19342
19343
19344
19345 # For clock_gettime, nanosleep and sched_yield support.
19346 # NB: The default is [no], because otherwise it requires linking.
19347
19348
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19350 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19351 # Check whether --enable-libstdcxx-time was given.
19352 if test "${enable_libstdcxx_time+set}" = set; then :
19353 enableval=$enable_libstdcxx_time;
19354 case "$enableval" in
19355 yes|no|rt) ;;
19356 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19357 esac
19358
19359 else
19360 enable_libstdcxx_time=no
19361 fi
19362
19363
19364
19365
19366 ac_ext=cpp
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19371
19372 ac_save_CXXFLAGS="$CXXFLAGS"
19373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19374 ac_save_LIBS="$LIBS"
19375
19376 ac_has_clock_monotonic=no
19377 ac_has_clock_realtime=no
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19379 $as_echo "$enable_libstdcxx_time" >&6; }
19380
19381 if test x"$enable_libstdcxx_time" != x"no"; then
19382
19383 if test x"$enable_libstdcxx_time" = x"rt"; then
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19386 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19388 else
19389 ac_func_search_save_LIBS=$LIBS
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h. */
19392
19393 /* Override any GCC internal prototype to avoid an error.
19394 Use char because int might match the return type of a GCC
19395 builtin and then its argument prototype would still apply. */
19396 #ifdef __cplusplus
19397 extern "C"
19398 #endif
19399 char clock_gettime ();
19400 int
19401 main ()
19402 {
19403 return clock_gettime ();
19404 ;
19405 return 0;
19406 }
19407 _ACEOF
19408 for ac_lib in '' rt posix4; do
19409 if test -z "$ac_lib"; then
19410 ac_res="none required"
19411 else
19412 ac_res=-l$ac_lib
19413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19414 fi
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417 fi
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419 ac_cv_search_clock_gettime=$ac_res
19420 fi
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext
19423 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424 break
19425 fi
19426 done
19427 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19428
19429 else
19430 ac_cv_search_clock_gettime=no
19431 fi
19432 rm conftest.$ac_ext
19433 LIBS=$ac_func_search_save_LIBS
19434 fi
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19436 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19437 ac_res=$ac_cv_search_clock_gettime
19438 if test "$ac_res" != no; then :
19439 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19440
19441 fi
19442
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19444 $as_echo_n "checking for library containing nanosleep... " >&6; }
19445 if test "${ac_cv_search_nanosleep+set}" = set; then :
19446 $as_echo_n "(cached) " >&6
19447 else
19448 ac_func_search_save_LIBS=$LIBS
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19451
19452 /* Override any GCC internal prototype to avoid an error.
19453 Use char because int might match the return type of a GCC
19454 builtin and then its argument prototype would still apply. */
19455 #ifdef __cplusplus
19456 extern "C"
19457 #endif
19458 char nanosleep ();
19459 int
19460 main ()
19461 {
19462 return nanosleep ();
19463 ;
19464 return 0;
19465 }
19466 _ACEOF
19467 for ac_lib in '' rt posix4; do
19468 if test -z "$ac_lib"; then
19469 ac_res="none required"
19470 else
19471 ac_res=-l$ac_lib
19472 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19473 fi
19474 if test x$gcc_no_link = xyes; then
19475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476 fi
19477 if ac_fn_cxx_try_link "$LINENO"; then :
19478 ac_cv_search_nanosleep=$ac_res
19479 fi
19480 rm -f core conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext
19482 if test "${ac_cv_search_nanosleep+set}" = set; then :
19483 break
19484 fi
19485 done
19486 if test "${ac_cv_search_nanosleep+set}" = set; then :
19487
19488 else
19489 ac_cv_search_nanosleep=no
19490 fi
19491 rm conftest.$ac_ext
19492 LIBS=$ac_func_search_save_LIBS
19493 fi
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19495 $as_echo "$ac_cv_search_nanosleep" >&6; }
19496 ac_res=$ac_cv_search_nanosleep
19497 if test "$ac_res" != no; then :
19498 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19499
19500 fi
19501
19502 else
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19504 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19505 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 ac_func_search_save_LIBS=$LIBS
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19511
19512 /* Override any GCC internal prototype to avoid an error.
19513 Use char because int might match the return type of a GCC
19514 builtin and then its argument prototype would still apply. */
19515 #ifdef __cplusplus
19516 extern "C"
19517 #endif
19518 char clock_gettime ();
19519 int
19520 main ()
19521 {
19522 return clock_gettime ();
19523 ;
19524 return 0;
19525 }
19526 _ACEOF
19527 for ac_lib in '' posix4; do
19528 if test -z "$ac_lib"; then
19529 ac_res="none required"
19530 else
19531 ac_res=-l$ac_lib
19532 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19533 fi
19534 if test x$gcc_no_link = xyes; then
19535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536 fi
19537 if ac_fn_cxx_try_link "$LINENO"; then :
19538 ac_cv_search_clock_gettime=$ac_res
19539 fi
19540 rm -f core conftest.err conftest.$ac_objext \
19541 conftest$ac_exeext
19542 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19543 break
19544 fi
19545 done
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19547
19548 else
19549 ac_cv_search_clock_gettime=no
19550 fi
19551 rm conftest.$ac_ext
19552 LIBS=$ac_func_search_save_LIBS
19553 fi
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19555 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19556 ac_res=$ac_cv_search_clock_gettime
19557 if test "$ac_res" != no; then :
19558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19559
19560 fi
19561
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19563 $as_echo_n "checking for library containing nanosleep... " >&6; }
19564 if test "${ac_cv_search_nanosleep+set}" = set; then :
19565 $as_echo_n "(cached) " >&6
19566 else
19567 ac_func_search_save_LIBS=$LIBS
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19570
19571 /* Override any GCC internal prototype to avoid an error.
19572 Use char because int might match the return type of a GCC
19573 builtin and then its argument prototype would still apply. */
19574 #ifdef __cplusplus
19575 extern "C"
19576 #endif
19577 char nanosleep ();
19578 int
19579 main ()
19580 {
19581 return nanosleep ();
19582 ;
19583 return 0;
19584 }
19585 _ACEOF
19586 for ac_lib in '' posix4; do
19587 if test -z "$ac_lib"; then
19588 ac_res="none required"
19589 else
19590 ac_res=-l$ac_lib
19591 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19592 fi
19593 if test x$gcc_no_link = xyes; then
19594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19595 fi
19596 if ac_fn_cxx_try_link "$LINENO"; then :
19597 ac_cv_search_nanosleep=$ac_res
19598 fi
19599 rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext
19601 if test "${ac_cv_search_nanosleep+set}" = set; then :
19602 break
19603 fi
19604 done
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19606
19607 else
19608 ac_cv_search_nanosleep=no
19609 fi
19610 rm conftest.$ac_ext
19611 LIBS=$ac_func_search_save_LIBS
19612 fi
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19614 $as_echo "$ac_cv_search_nanosleep" >&6; }
19615 ac_res=$ac_cv_search_nanosleep
19616 if test "$ac_res" != no; then :
19617 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19618
19619 fi
19620
19621 fi
19622
19623 case "$ac_cv_search_clock_gettime" in
19624 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19625 ;;
19626 esac
19627 case "$ac_cv_search_nanosleep" in
19628 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19629 ;;
19630 esac
19631
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19633 $as_echo_n "checking for library containing sched_yield... " >&6; }
19634 if test "${ac_cv_search_sched_yield+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640
19641 /* Override any GCC internal prototype to avoid an error.
19642 Use char because int might match the return type of a GCC
19643 builtin and then its argument prototype would still apply. */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char sched_yield ();
19648 int
19649 main ()
19650 {
19651 return sched_yield ();
19652 ;
19653 return 0;
19654 }
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657 if test -z "$ac_lib"; then
19658 ac_res="none required"
19659 else
19660 ac_res=-l$ac_lib
19661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19662 fi
19663 if test x$gcc_no_link = xyes; then
19664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 fi
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667 ac_cv_search_sched_yield=$ac_res
19668 fi
19669 rm -f core conftest.err conftest.$ac_objext \
19670 conftest$ac_exeext
19671 if test "${ac_cv_search_sched_yield+set}" = set; then :
19672 break
19673 fi
19674 done
19675 if test "${ac_cv_search_sched_yield+set}" = set; then :
19676
19677 else
19678 ac_cv_search_sched_yield=no
19679 fi
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19682 fi
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19684 $as_echo "$ac_cv_search_sched_yield" >&6; }
19685 ac_res=$ac_cv_search_sched_yield
19686 if test "$ac_res" != no; then :
19687 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19688
19689 fi
19690
19691
19692 case "$ac_cv_search_sched_yield" in
19693 -lposix4*)
19694 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19695
19696 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19697
19698 ;;
19699 -lrt*)
19700 if test x"$enable_libstdcxx_time" = x"rt"; then
19701 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19702
19703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19704
19705 fi
19706 ;;
19707 *)
19708
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19710
19711 ;;
19712 esac
19713
19714 for ac_header in unistd.h
19715 do :
19716 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19717 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define HAVE_UNISTD_H 1
19720 _ACEOF
19721 ac_has_unistd_h=yes
19722 else
19723 ac_has_unistd_h=no
19724 fi
19725
19726 done
19727
19728
19729 if test x"$ac_has_unistd_h" = x"yes"; then
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19731 $as_echo_n "checking for monotonic clock... " >&6; }
19732 if test x$gcc_no_link = xyes; then
19733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19734 fi
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737 #include <unistd.h>
19738 #include <time.h>
19739
19740 int
19741 main ()
19742 {
19743 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19744 timespec tp;
19745 #endif
19746 clock_gettime(CLOCK_MONOTONIC, &tp);
19747
19748 ;
19749 return 0;
19750 }
19751 _ACEOF
19752 if ac_fn_cxx_try_link "$LINENO"; then :
19753 ac_has_clock_monotonic=yes
19754 else
19755 ac_has_clock_monotonic=no
19756 fi
19757 rm -f core conftest.err conftest.$ac_objext \
19758 conftest$ac_exeext conftest.$ac_ext
19759
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19761 $as_echo "$ac_has_clock_monotonic" >&6; }
19762
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19764 $as_echo_n "checking for realtime clock... " >&6; }
19765 if test x$gcc_no_link = xyes; then
19766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767 fi
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #include <unistd.h>
19771 #include <time.h>
19772
19773 int
19774 main ()
19775 {
19776 #if _POSIX_TIMERS > 0
19777 timespec tp;
19778 #endif
19779 clock_gettime(CLOCK_REALTIME, &tp);
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786 ac_has_clock_realtime=yes
19787 else
19788 ac_has_clock_realtime=no
19789 fi
19790 rm -f core conftest.err conftest.$ac_objext \
19791 conftest$ac_exeext conftest.$ac_ext
19792
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19794 $as_echo "$ac_has_clock_realtime" >&6; }
19795
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19797 $as_echo_n "checking for nanosleep... " >&6; }
19798 if test x$gcc_no_link = xyes; then
19799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19800 fi
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19803 #include <unistd.h>
19804 #include <time.h>
19805
19806 int
19807 main ()
19808 {
19809 #if _POSIX_TIMERS > 0
19810 timespec tp;
19811 #endif
19812 nanosleep(&tp, 0);
19813
19814 ;
19815 return 0;
19816 }
19817 _ACEOF
19818 if ac_fn_cxx_try_link "$LINENO"; then :
19819 ac_has_nanosleep=yes
19820 else
19821 ac_has_nanosleep=no
19822 fi
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext conftest.$ac_ext
19825
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19827 $as_echo "$ac_has_nanosleep" >&6; }
19828 fi
19829 fi
19830
19831 if test x"$ac_has_clock_monotonic" = x"yes"; then
19832
19833 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19834
19835 fi
19836
19837 if test x"$ac_has_clock_realtime" = x"yes"; then
19838
19839 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19840
19841 fi
19842
19843 if test x"$ac_has_nanosleep" = x"yes"; then
19844
19845 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19846
19847 fi
19848
19849
19850
19851 CXXFLAGS="$ac_save_CXXFLAGS"
19852 LIBS="$ac_save_LIBS"
19853 ac_ext=c
19854 ac_cpp='$CPP $CPPFLAGS'
19855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19858
19859
19860
19861
19862 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19863 if test "x$ac_cv_header_locale_h" = x""yes; then :
19864
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19866 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19867 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19868 $as_echo_n "(cached) " >&6
19869 else
19870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871 /* end confdefs.h. */
19872 #include <locale.h>
19873 int
19874 main ()
19875 {
19876 return LC_MESSAGES
19877 ;
19878 return 0;
19879 }
19880 _ACEOF
19881 if ac_fn_c_try_compile "$LINENO"; then :
19882 ac_cv_val_LC_MESSAGES=yes
19883 else
19884 ac_cv_val_LC_MESSAGES=no
19885 fi
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887 fi
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19889 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19890 if test $ac_cv_val_LC_MESSAGES = yes; then
19891
19892 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19893
19894 fi
19895
19896 fi
19897
19898
19899
19900
19901 # For hardware_concurrency
19902 for ac_header in sys/sysinfo.h
19903 do :
19904 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19905 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19906 cat >>confdefs.h <<_ACEOF
19907 #define HAVE_SYS_SYSINFO_H 1
19908 _ACEOF
19909
19910 fi
19911
19912 done
19913
19914
19915
19916
19917 ac_ext=cpp
19918 ac_cpp='$CXXCPP $CPPFLAGS'
19919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19922
19923 ac_save_CXXFLAGS="$CXXFLAGS"
19924 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19925
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19927 $as_echo_n "checking for get_nprocs... " >&6; }
19928 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19929 $as_echo_n "(cached) " >&6
19930 else
19931
19932 if test x$gcc_no_link = xyes; then
19933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h. */
19935 #include <sys/sysinfo.h>
19936 int
19937 main ()
19938 {
19939 int n = get_nprocs();
19940 ;
19941 return 0;
19942 }
19943 _ACEOF
19944 if ac_fn_cxx_try_compile "$LINENO"; then :
19945 glibcxx_cv_GET_NPROCS=yes
19946 else
19947 glibcxx_cv_GET_NPROCS=no
19948 fi
19949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19950 else
19951 if test x$gcc_no_link = xyes; then
19952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19953 fi
19954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19956 #include <sys/sysinfo.h>
19957 int
19958 main ()
19959 {
19960 int n = get_nprocs();
19961 ;
19962 return 0;
19963 }
19964 _ACEOF
19965 if ac_fn_cxx_try_link "$LINENO"; then :
19966 glibcxx_cv_GET_NPROCS=yes
19967 else
19968 glibcxx_cv_GET_NPROCS=no
19969 fi
19970 rm -f core conftest.err conftest.$ac_objext \
19971 conftest$ac_exeext conftest.$ac_ext
19972 fi
19973
19974 fi
19975
19976 if test $glibcxx_cv_GET_NPROCS = yes; then
19977
19978 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19979
19980 fi
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19982 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19983
19984 CXXFLAGS="$ac_save_CXXFLAGS"
19985 ac_ext=c
19986 ac_cpp='$CPP $CPPFLAGS'
19987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19990
19991
19992 for ac_header in unistd.h
19993 do :
19994 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19995 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19996 cat >>confdefs.h <<_ACEOF
19997 #define HAVE_UNISTD_H 1
19998 _ACEOF
19999
20000 fi
20001
20002 done
20003
20004
20005
20006
20007 ac_ext=cpp
20008 ac_cpp='$CXXCPP $CPPFLAGS'
20009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20012
20013 ac_save_CXXFLAGS="$CXXFLAGS"
20014 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20015
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20017 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20018 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20019 $as_echo_n "(cached) " >&6
20020 else
20021
20022 if test x$gcc_no_link = xyes; then
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20025 #include <unistd.h>
20026 int
20027 main ()
20028 {
20029 int n = sysconf(_SC_NPROCESSORS_ONLN);
20030 ;
20031 return 0;
20032 }
20033 _ACEOF
20034 if ac_fn_cxx_try_compile "$LINENO"; then :
20035 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20036 else
20037 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20038 fi
20039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20040 else
20041 if test x$gcc_no_link = xyes; then
20042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20043 fi
20044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20045 /* end confdefs.h. */
20046 #include <unistd.h>
20047 int
20048 main ()
20049 {
20050 int n = sysconf(_SC_NPROCESSORS_ONLN);
20051 ;
20052 return 0;
20053 }
20054 _ACEOF
20055 if ac_fn_cxx_try_link "$LINENO"; then :
20056 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20057 else
20058 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20059 fi
20060 rm -f core conftest.err conftest.$ac_objext \
20061 conftest$ac_exeext conftest.$ac_ext
20062 fi
20063
20064 fi
20065
20066 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20067
20068 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20069
20070 fi
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20072 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20073
20074 CXXFLAGS="$ac_save_CXXFLAGS"
20075 ac_ext=c
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20080
20081
20082
20083
20084
20085 ac_ext=cpp
20086 ac_cpp='$CXXCPP $CPPFLAGS'
20087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20090
20091 ac_save_CXXFLAGS="$CXXFLAGS"
20092 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20093
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20095 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20096 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20097 $as_echo_n "(cached) " >&6
20098 else
20099
20100 if test x$gcc_no_link = xyes; then
20101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20103 #include <unistd.h>
20104 int
20105 main ()
20106 {
20107 int n = sysconf(_SC_NPROC_ONLN);
20108 ;
20109 return 0;
20110 }
20111 _ACEOF
20112 if ac_fn_cxx_try_compile "$LINENO"; then :
20113 glibcxx_cv_SC_NPROC_ONLN=yes
20114 else
20115 glibcxx_cv_SC_NPROC_ONLN=no
20116 fi
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118 else
20119 if test x$gcc_no_link = xyes; then
20120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20121 fi
20122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123 /* end confdefs.h. */
20124 #include <unistd.h>
20125 int
20126 main ()
20127 {
20128 int n = sysconf(_SC_NPROC_ONLN);
20129 ;
20130 return 0;
20131 }
20132 _ACEOF
20133 if ac_fn_cxx_try_link "$LINENO"; then :
20134 glibcxx_cv_SC_NPROC_ONLN=yes
20135 else
20136 glibcxx_cv_SC_NPROC_ONLN=no
20137 fi
20138 rm -f core conftest.err conftest.$ac_objext \
20139 conftest$ac_exeext conftest.$ac_ext
20140 fi
20141
20142 fi
20143
20144 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20145
20146 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20147
20148 fi
20149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20150 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20151
20152 CXXFLAGS="$ac_save_CXXFLAGS"
20153 ac_ext=c
20154 ac_cpp='$CPP $CPPFLAGS'
20155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20158
20159
20160
20161
20162
20163 ac_ext=cpp
20164 ac_cpp='$CXXCPP $CPPFLAGS'
20165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20168
20169 ac_save_CXXFLAGS="$CXXFLAGS"
20170 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20171
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20173 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20174 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20175 $as_echo_n "(cached) " >&6
20176 else
20177
20178 if test x$gcc_no_link = xyes; then
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <pthread.h>
20182 int
20183 main ()
20184 {
20185 int n = pthread_num_processors_np();
20186 ;
20187 return 0;
20188 }
20189 _ACEOF
20190 if ac_fn_cxx_try_compile "$LINENO"; then :
20191 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20192 else
20193 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20194 fi
20195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20196 else
20197 if test x$gcc_no_link = xyes; then
20198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20199 fi
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20202 #include <pthread.h>
20203 int
20204 main ()
20205 {
20206 int n = pthread_num_processors_np();
20207 ;
20208 return 0;
20209 }
20210 _ACEOF
20211 if ac_fn_cxx_try_link "$LINENO"; then :
20212 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20213 else
20214 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20215 fi
20216 rm -f core conftest.err conftest.$ac_objext \
20217 conftest$ac_exeext conftest.$ac_ext
20218 fi
20219
20220 fi
20221
20222 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20223
20224 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20225
20226 fi
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20228 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20229
20230 CXXFLAGS="$ac_save_CXXFLAGS"
20231 ac_ext=c
20232 ac_cpp='$CPP $CPPFLAGS'
20233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20236
20237
20238
20239
20240
20241 ac_ext=cpp
20242 ac_cpp='$CXXCPP $CPPFLAGS'
20243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20246
20247 ac_save_CXXFLAGS="$CXXFLAGS"
20248 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20249
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20251 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20252 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20253 $as_echo_n "(cached) " >&6
20254 else
20255
20256 if test x$gcc_no_link = xyes; then
20257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20259
20260 #include <stddef.h>
20261 #include <sys/sysctl.h>
20262
20263 int
20264 main ()
20265 {
20266
20267 int count;
20268 size_t size = sizeof(count);
20269 int mib[] = { CTL_HW, HW_NCPU };
20270 sysctl(mib, 2, &count, &size, NULL, 0);
20271
20272 ;
20273 return 0;
20274 }
20275 _ACEOF
20276 if ac_fn_cxx_try_compile "$LINENO"; then :
20277 glibcxx_cv_SYSCTL_HW_NCPU=yes
20278 else
20279 glibcxx_cv_SYSCTL_HW_NCPU=no
20280 fi
20281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20282 else
20283 if test x$gcc_no_link = xyes; then
20284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20285 fi
20286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287 /* end confdefs.h. */
20288
20289 #include <stddef.h>
20290 #include <sys/sysctl.h>
20291
20292 int
20293 main ()
20294 {
20295
20296 int count;
20297 size_t size = sizeof(count);
20298 int mib[] = { CTL_HW, HW_NCPU };
20299 sysctl(mib, 2, &count, &size, NULL, 0);
20300
20301 ;
20302 return 0;
20303 }
20304 _ACEOF
20305 if ac_fn_cxx_try_link "$LINENO"; then :
20306 glibcxx_cv_SYSCTL_HW_NCPU=yes
20307 else
20308 glibcxx_cv_SYSCTL_HW_NCPU=no
20309 fi
20310 rm -f core conftest.err conftest.$ac_objext \
20311 conftest$ac_exeext conftest.$ac_ext
20312 fi
20313
20314 fi
20315
20316 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20317
20318 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20319
20320 fi
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20322 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20323
20324 CXXFLAGS="$ac_save_CXXFLAGS"
20325 ac_ext=c
20326 ac_cpp='$CPP $CPPFLAGS'
20327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20330
20331
20332
20333 # Check for available headers.
20334 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20335 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20336 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20337 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20338 wchar.h wctype.h
20339 do :
20340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20341 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20342 eval as_val=\$$as_ac_Header
20343 if test "x$as_val" = x""yes; then :
20344 cat >>confdefs.h <<_ACEOF
20345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20346 _ACEOF
20347
20348 fi
20349
20350 done
20351
20352
20353 # Only do link tests if native. Else, hardcode.
20354 if $GLIBCXX_IS_NATIVE; then
20355
20356 # We can do more elaborate tests that assume a working linker.
20357 CANADIAN=no
20358
20359
20360
20361 # Check whether --with-gnu-ld was given.
20362 if test "${with_gnu_ld+set}" = set; then :
20363 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20364 else
20365 with_gnu_ld=no
20366 fi
20367
20368 ac_prog=ld
20369 if test "$GCC" = yes; then
20370 # Check if gcc -print-prog-name=ld gives a path.
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20372 $as_echo_n "checking for ld used by $CC... " >&6; }
20373 case $host in
20374 *-*-mingw*)
20375 # gcc leaves a trailing carriage return which upsets mingw
20376 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20377 *)
20378 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20379 esac
20380 case $ac_prog in
20381 # Accept absolute paths.
20382 [\\/]* | ?:[\\/]*)
20383 re_direlt='/[^/][^/]*/\.\./'
20384 # Canonicalize the pathname of ld
20385 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20386 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20387 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20388 done
20389 test -z "$LD" && LD="$ac_prog"
20390 ;;
20391 "")
20392 # If it fails, then pretend we aren't using GCC.
20393 ac_prog=ld
20394 ;;
20395 *)
20396 # If it is relative, then search for the first ld in PATH.
20397 with_gnu_ld=unknown
20398 ;;
20399 esac
20400 elif test "$with_gnu_ld" = yes; then
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20402 $as_echo_n "checking for GNU ld... " >&6; }
20403 else
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20405 $as_echo_n "checking for non-GNU ld... " >&6; }
20406 fi
20407 if test "${lt_cv_path_LD+set}" = set; then :
20408 $as_echo_n "(cached) " >&6
20409 else
20410 if test -z "$LD"; then
20411 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20412 for ac_dir in $PATH; do
20413 IFS="$lt_save_ifs"
20414 test -z "$ac_dir" && ac_dir=.
20415 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20416 lt_cv_path_LD="$ac_dir/$ac_prog"
20417 # Check to see if the program is GNU ld. I'd rather use --version,
20418 # but apparently some variants of GNU ld only accept -v.
20419 # Break only if it was the GNU/non-GNU ld that we prefer.
20420 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20421 *GNU* | *'with BFD'*)
20422 test "$with_gnu_ld" != no && break
20423 ;;
20424 *)
20425 test "$with_gnu_ld" != yes && break
20426 ;;
20427 esac
20428 fi
20429 done
20430 IFS="$lt_save_ifs"
20431 else
20432 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20433 fi
20434 fi
20435
20436 LD="$lt_cv_path_LD"
20437 if test -n "$LD"; then
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20439 $as_echo "$LD" >&6; }
20440 else
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20442 $as_echo "no" >&6; }
20443 fi
20444 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20446 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20447 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20448 $as_echo_n "(cached) " >&6
20449 else
20450 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20451 case `$LD -v 2>&1 </dev/null` in
20452 *GNU* | *'with BFD'*)
20453 lt_cv_prog_gnu_ld=yes
20454 ;;
20455 *)
20456 lt_cv_prog_gnu_ld=no
20457 ;;
20458 esac
20459 fi
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20461 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20462 with_gnu_ld=$lt_cv_prog_gnu_ld
20463
20464
20465
20466
20467
20468
20469
20470 # If we're not using GNU ld, then there's no point in even trying these
20471 # tests. Check for that first. We should have already tested for gld
20472 # by now (in libtool), but require it now just to be safe...
20473 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20474 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20475
20476
20477
20478 # The name set by libtool depends on the version of libtool. Shame on us
20479 # for depending on an impl detail, but c'est la vie. Older versions used
20480 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20481 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20482 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20483 # set (hence we're using an older libtool), then set it.
20484 if test x${with_gnu_ld+set} != xset; then
20485 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20486 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20487 with_gnu_ld=no
20488 else
20489 with_gnu_ld=$ac_cv_prog_gnu_ld
20490 fi
20491 fi
20492
20493 # Start by getting the version number. I think the libtool test already
20494 # does some of this, but throws away the result.
20495 glibcxx_ld_is_gold=no
20496 if test x"$with_gnu_ld" = x"yes"; then
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20498 $as_echo_n "checking for ld version... " >&6; }
20499
20500 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20501 glibcxx_ld_is_gold=yes
20502 fi
20503 ldver=`$LD --version 2>/dev/null |
20504 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'`
20505
20506 glibcxx_gnu_ld_version=`echo $ldver | \
20507 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20509 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20510 fi
20511
20512 # Set --gc-sections.
20513 glibcxx_have_gc_sections=no
20514 if test "$glibcxx_ld_is_gold" = "yes"; then
20515 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20516 glibcxx_have_gc_sections=yes
20517 fi
20518 else
20519 glibcxx_gcsections_min_ld=21602
20520 if test x"$with_gnu_ld" = x"yes" &&
20521 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20522 glibcxx_have_gc_sections=yes
20523 fi
20524 fi
20525 if test "$glibcxx_have_gc_sections" = "yes"; then
20526 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20527 # NB: This flag only works reliably after 2.16.1. Configure tests
20528 # for this are difficult, so hard wire a value that should work.
20529
20530 ac_test_CFLAGS="${CFLAGS+set}"
20531 ac_save_CFLAGS="$CFLAGS"
20532 CFLAGS='-Wl,--gc-sections'
20533
20534 # Check for -Wl,--gc-sections
20535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20536 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20537 if test x$gcc_no_link = xyes; then
20538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20539 fi
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542 int one(void) { return 1; }
20543 int two(void) { return 2; }
20544
20545 int
20546 main ()
20547 {
20548 two();
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 if ac_fn_c_try_link "$LINENO"; then :
20554 ac_gcsections=yes
20555 else
20556 ac_gcsections=no
20557 fi
20558 rm -f core conftest.err conftest.$ac_objext \
20559 conftest$ac_exeext conftest.$ac_ext
20560 if test "$ac_gcsections" = "yes"; then
20561 rm -f conftest.c
20562 touch conftest.c
20563 if $CC -c conftest.c; then
20564 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20565 grep "Warning: gc-sections option ignored" > /dev/null; then
20566 ac_gcsections=no
20567 fi
20568 fi
20569 rm -f conftest.c conftest.o conftest
20570 fi
20571 if test "$ac_gcsections" = "yes"; then
20572 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20573 fi
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20575 $as_echo "$ac_gcsections" >&6; }
20576
20577 if test "$ac_test_CFLAGS" = set; then
20578 CFLAGS="$ac_save_CFLAGS"
20579 else
20580 # this is the suspicious part
20581 CFLAGS=''
20582 fi
20583 fi
20584
20585 # Set -z,relro.
20586 # Note this is only for shared objects.
20587 ac_ld_relro=no
20588 if test x"$with_gnu_ld" = x"yes"; then
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20590 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20591 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20592 if test -n "$cxx_z_relo"; then
20593 OPT_LDFLAGS="-Wl,-z,relro"
20594 ac_ld_relro=yes
20595 fi
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20597 $as_echo "$ac_ld_relro" >&6; }
20598 fi
20599
20600 # Set linker optimization flags.
20601 if test x"$with_gnu_ld" = x"yes"; then
20602 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20603 fi
20604
20605
20606
20607
20608
20609 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20610 ac_save_CXXFLAGS="$CXXFLAGS"
20611 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20612
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20614 $as_echo_n "checking for sin in -lm... " >&6; }
20615 if test "${ac_cv_lib_m_sin+set}" = set; then :
20616 $as_echo_n "(cached) " >&6
20617 else
20618 ac_check_lib_save_LIBS=$LIBS
20619 LIBS="-lm $LIBS"
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20622 fi
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20625
20626 /* Override any GCC internal prototype to avoid an error.
20627 Use char because int might match the return type of a GCC
20628 builtin and then its argument prototype would still apply. */
20629 #ifdef __cplusplus
20630 extern "C"
20631 #endif
20632 char sin ();
20633 int
20634 main ()
20635 {
20636 return sin ();
20637 ;
20638 return 0;
20639 }
20640 _ACEOF
20641 if ac_fn_c_try_link "$LINENO"; then :
20642 ac_cv_lib_m_sin=yes
20643 else
20644 ac_cv_lib_m_sin=no
20645 fi
20646 rm -f core conftest.err conftest.$ac_objext \
20647 conftest$ac_exeext conftest.$ac_ext
20648 LIBS=$ac_check_lib_save_LIBS
20649 fi
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20651 $as_echo "$ac_cv_lib_m_sin" >&6; }
20652 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20653 libm="-lm"
20654 fi
20655
20656 ac_save_LIBS="$LIBS"
20657 LIBS="$LIBS $libm"
20658
20659
20660
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20662 $as_echo_n "checking for isinf declaration... " >&6; }
20663 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20664 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20665 $as_echo_n "(cached) " >&6
20666 else
20667
20668
20669 ac_ext=cpp
20670 ac_cpp='$CXXCPP $CPPFLAGS'
20671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20674
20675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20676 /* end confdefs.h. */
20677 #include <math.h>
20678 #ifdef HAVE_IEEEFP_H
20679 #include <ieeefp.h>
20680 #endif
20681
20682 int
20683 main ()
20684 {
20685 isinf(0);
20686 ;
20687 return 0;
20688 }
20689 _ACEOF
20690 if ac_fn_cxx_try_compile "$LINENO"; then :
20691 glibcxx_cv_func_isinf_use=yes
20692 else
20693 glibcxx_cv_func_isinf_use=no
20694 fi
20695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20696 ac_ext=c
20697 ac_cpp='$CPP $CPPFLAGS'
20698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20701
20702
20703 fi
20704
20705 fi
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20707 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20708
20709 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20710 for ac_func in isinf
20711 do :
20712 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20713 if test "x$ac_cv_func_isinf" = x""yes; then :
20714 cat >>confdefs.h <<_ACEOF
20715 #define HAVE_ISINF 1
20716 _ACEOF
20717
20718 fi
20719 done
20720
20721 else
20722
20723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20724 $as_echo_n "checking for _isinf declaration... " >&6; }
20725 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20726 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20727 $as_echo_n "(cached) " >&6
20728 else
20729
20730
20731 ac_ext=cpp
20732 ac_cpp='$CXXCPP $CPPFLAGS'
20733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20736
20737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20738 /* end confdefs.h. */
20739 #include <math.h>
20740 #ifdef HAVE_IEEEFP_H
20741 #include <ieeefp.h>
20742 #endif
20743
20744 int
20745 main ()
20746 {
20747 _isinf(0);
20748 ;
20749 return 0;
20750 }
20751 _ACEOF
20752 if ac_fn_cxx_try_compile "$LINENO"; then :
20753 glibcxx_cv_func__isinf_use=yes
20754 else
20755 glibcxx_cv_func__isinf_use=no
20756 fi
20757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20758 ac_ext=c
20759 ac_cpp='$CPP $CPPFLAGS'
20760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20763
20764
20765 fi
20766
20767 fi
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20769 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20770
20771 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20772 for ac_func in _isinf
20773 do :
20774 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20775 if test "x$ac_cv_func__isinf" = x""yes; then :
20776 cat >>confdefs.h <<_ACEOF
20777 #define HAVE__ISINF 1
20778 _ACEOF
20779
20780 fi
20781 done
20782
20783 fi
20784 fi
20785
20786
20787
20788
20789
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20791 $as_echo_n "checking for isnan declaration... " >&6; }
20792 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20793 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20794 $as_echo_n "(cached) " >&6
20795 else
20796
20797
20798 ac_ext=cpp
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20803
20804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20806 #include <math.h>
20807 #ifdef HAVE_IEEEFP_H
20808 #include <ieeefp.h>
20809 #endif
20810
20811 int
20812 main ()
20813 {
20814 isnan(0);
20815 ;
20816 return 0;
20817 }
20818 _ACEOF
20819 if ac_fn_cxx_try_compile "$LINENO"; then :
20820 glibcxx_cv_func_isnan_use=yes
20821 else
20822 glibcxx_cv_func_isnan_use=no
20823 fi
20824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825 ac_ext=c
20826 ac_cpp='$CPP $CPPFLAGS'
20827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20830
20831
20832 fi
20833
20834 fi
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20836 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20837
20838 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20839 for ac_func in isnan
20840 do :
20841 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20842 if test "x$ac_cv_func_isnan" = x""yes; then :
20843 cat >>confdefs.h <<_ACEOF
20844 #define HAVE_ISNAN 1
20845 _ACEOF
20846
20847 fi
20848 done
20849
20850 else
20851
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20853 $as_echo_n "checking for _isnan declaration... " >&6; }
20854 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20855 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20856 $as_echo_n "(cached) " >&6
20857 else
20858
20859
20860 ac_ext=cpp
20861 ac_cpp='$CXXCPP $CPPFLAGS'
20862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20865
20866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20867 /* end confdefs.h. */
20868 #include <math.h>
20869 #ifdef HAVE_IEEEFP_H
20870 #include <ieeefp.h>
20871 #endif
20872
20873 int
20874 main ()
20875 {
20876 _isnan(0);
20877 ;
20878 return 0;
20879 }
20880 _ACEOF
20881 if ac_fn_cxx_try_compile "$LINENO"; then :
20882 glibcxx_cv_func__isnan_use=yes
20883 else
20884 glibcxx_cv_func__isnan_use=no
20885 fi
20886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20887 ac_ext=c
20888 ac_cpp='$CPP $CPPFLAGS'
20889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20892
20893
20894 fi
20895
20896 fi
20897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20898 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20899
20900 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20901 for ac_func in _isnan
20902 do :
20903 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20904 if test "x$ac_cv_func__isnan" = x""yes; then :
20905 cat >>confdefs.h <<_ACEOF
20906 #define HAVE__ISNAN 1
20907 _ACEOF
20908
20909 fi
20910 done
20911
20912 fi
20913 fi
20914
20915
20916
20917
20918
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20920 $as_echo_n "checking for finite declaration... " >&6; }
20921 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20922 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20923 $as_echo_n "(cached) " >&6
20924 else
20925
20926
20927 ac_ext=cpp
20928 ac_cpp='$CXXCPP $CPPFLAGS'
20929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20932
20933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #include <math.h>
20936 #ifdef HAVE_IEEEFP_H
20937 #include <ieeefp.h>
20938 #endif
20939
20940 int
20941 main ()
20942 {
20943 finite(0);
20944 ;
20945 return 0;
20946 }
20947 _ACEOF
20948 if ac_fn_cxx_try_compile "$LINENO"; then :
20949 glibcxx_cv_func_finite_use=yes
20950 else
20951 glibcxx_cv_func_finite_use=no
20952 fi
20953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20954 ac_ext=c
20955 ac_cpp='$CPP $CPPFLAGS'
20956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20959
20960
20961 fi
20962
20963 fi
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20965 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20966
20967 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20968 for ac_func in finite
20969 do :
20970 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20971 if test "x$ac_cv_func_finite" = x""yes; then :
20972 cat >>confdefs.h <<_ACEOF
20973 #define HAVE_FINITE 1
20974 _ACEOF
20975
20976 fi
20977 done
20978
20979 else
20980
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20982 $as_echo_n "checking for _finite declaration... " >&6; }
20983 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20984 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20985 $as_echo_n "(cached) " >&6
20986 else
20987
20988
20989 ac_ext=cpp
20990 ac_cpp='$CXXCPP $CPPFLAGS'
20991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20994
20995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20997 #include <math.h>
20998 #ifdef HAVE_IEEEFP_H
20999 #include <ieeefp.h>
21000 #endif
21001
21002 int
21003 main ()
21004 {
21005 _finite(0);
21006 ;
21007 return 0;
21008 }
21009 _ACEOF
21010 if ac_fn_cxx_try_compile "$LINENO"; then :
21011 glibcxx_cv_func__finite_use=yes
21012 else
21013 glibcxx_cv_func__finite_use=no
21014 fi
21015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21016 ac_ext=c
21017 ac_cpp='$CPP $CPPFLAGS'
21018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21021
21022
21023 fi
21024
21025 fi
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21027 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21028
21029 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21030 for ac_func in _finite
21031 do :
21032 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21033 if test "x$ac_cv_func__finite" = x""yes; then :
21034 cat >>confdefs.h <<_ACEOF
21035 #define HAVE__FINITE 1
21036 _ACEOF
21037
21038 fi
21039 done
21040
21041 fi
21042 fi
21043
21044
21045
21046
21047
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21049 $as_echo_n "checking for sincos declaration... " >&6; }
21050 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21051 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21052 $as_echo_n "(cached) " >&6
21053 else
21054
21055
21056 ac_ext=cpp
21057 ac_cpp='$CXXCPP $CPPFLAGS'
21058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21061
21062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h. */
21064 #include <math.h>
21065 int
21066 main ()
21067 {
21068 sincos(0, 0, 0);
21069 ;
21070 return 0;
21071 }
21072 _ACEOF
21073 if ac_fn_cxx_try_compile "$LINENO"; then :
21074 glibcxx_cv_func_sincos_use=yes
21075 else
21076 glibcxx_cv_func_sincos_use=no
21077 fi
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 ac_ext=c
21080 ac_cpp='$CPP $CPPFLAGS'
21081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21084
21085
21086 fi
21087
21088 fi
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21090 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21091
21092 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21093 for ac_func in sincos
21094 do :
21095 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21096 if test "x$ac_cv_func_sincos" = x""yes; then :
21097 cat >>confdefs.h <<_ACEOF
21098 #define HAVE_SINCOS 1
21099 _ACEOF
21100
21101 fi
21102 done
21103
21104 else
21105
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21107 $as_echo_n "checking for _sincos declaration... " >&6; }
21108 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21109 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21110 $as_echo_n "(cached) " >&6
21111 else
21112
21113
21114 ac_ext=cpp
21115 ac_cpp='$CXXCPP $CPPFLAGS'
21116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21119
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21122 #include <math.h>
21123 int
21124 main ()
21125 {
21126 _sincos(0, 0, 0);
21127 ;
21128 return 0;
21129 }
21130 _ACEOF
21131 if ac_fn_cxx_try_compile "$LINENO"; then :
21132 glibcxx_cv_func__sincos_use=yes
21133 else
21134 glibcxx_cv_func__sincos_use=no
21135 fi
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 ac_ext=c
21138 ac_cpp='$CPP $CPPFLAGS'
21139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21142
21143
21144 fi
21145
21146 fi
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21148 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21149
21150 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21151 for ac_func in _sincos
21152 do :
21153 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21154 if test "x$ac_cv_func__sincos" = x""yes; then :
21155 cat >>confdefs.h <<_ACEOF
21156 #define HAVE__SINCOS 1
21157 _ACEOF
21158
21159 fi
21160 done
21161
21162 fi
21163 fi
21164
21165
21166
21167
21168
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21170 $as_echo_n "checking for fpclass declaration... " >&6; }
21171 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21172 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21173 $as_echo_n "(cached) " >&6
21174 else
21175
21176
21177 ac_ext=cpp
21178 ac_cpp='$CXXCPP $CPPFLAGS'
21179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21182
21183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21185 #include <math.h>
21186 #ifdef HAVE_IEEEFP_H
21187 #include <ieeefp.h>
21188 #endif
21189
21190 int
21191 main ()
21192 {
21193 fpclass(0);
21194 ;
21195 return 0;
21196 }
21197 _ACEOF
21198 if ac_fn_cxx_try_compile "$LINENO"; then :
21199 glibcxx_cv_func_fpclass_use=yes
21200 else
21201 glibcxx_cv_func_fpclass_use=no
21202 fi
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 ac_ext=c
21205 ac_cpp='$CPP $CPPFLAGS'
21206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21209
21210
21211 fi
21212
21213 fi
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21215 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21216
21217 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21218 for ac_func in fpclass
21219 do :
21220 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21221 if test "x$ac_cv_func_fpclass" = x""yes; then :
21222 cat >>confdefs.h <<_ACEOF
21223 #define HAVE_FPCLASS 1
21224 _ACEOF
21225
21226 fi
21227 done
21228
21229 else
21230
21231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21232 $as_echo_n "checking for _fpclass declaration... " >&6; }
21233 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21234 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21235 $as_echo_n "(cached) " >&6
21236 else
21237
21238
21239 ac_ext=cpp
21240 ac_cpp='$CXXCPP $CPPFLAGS'
21241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21244
21245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21246 /* end confdefs.h. */
21247 #include <math.h>
21248 #ifdef HAVE_IEEEFP_H
21249 #include <ieeefp.h>
21250 #endif
21251
21252 int
21253 main ()
21254 {
21255 _fpclass(0);
21256 ;
21257 return 0;
21258 }
21259 _ACEOF
21260 if ac_fn_cxx_try_compile "$LINENO"; then :
21261 glibcxx_cv_func__fpclass_use=yes
21262 else
21263 glibcxx_cv_func__fpclass_use=no
21264 fi
21265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21266 ac_ext=c
21267 ac_cpp='$CPP $CPPFLAGS'
21268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21271
21272
21273 fi
21274
21275 fi
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21277 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21278
21279 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21280 for ac_func in _fpclass
21281 do :
21282 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21283 if test "x$ac_cv_func__fpclass" = x""yes; then :
21284 cat >>confdefs.h <<_ACEOF
21285 #define HAVE__FPCLASS 1
21286 _ACEOF
21287
21288 fi
21289 done
21290
21291 fi
21292 fi
21293
21294
21295
21296
21297
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21299 $as_echo_n "checking for qfpclass declaration... " >&6; }
21300 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21301 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21302 $as_echo_n "(cached) " >&6
21303 else
21304
21305
21306 ac_ext=cpp
21307 ac_cpp='$CXXCPP $CPPFLAGS'
21308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21311
21312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21313 /* end confdefs.h. */
21314 #include <math.h>
21315 #ifdef HAVE_IEEEFP_H
21316 #include <ieeefp.h>
21317 #endif
21318
21319 int
21320 main ()
21321 {
21322 qfpclass(0);
21323 ;
21324 return 0;
21325 }
21326 _ACEOF
21327 if ac_fn_cxx_try_compile "$LINENO"; then :
21328 glibcxx_cv_func_qfpclass_use=yes
21329 else
21330 glibcxx_cv_func_qfpclass_use=no
21331 fi
21332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21333 ac_ext=c
21334 ac_cpp='$CPP $CPPFLAGS'
21335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21338
21339
21340 fi
21341
21342 fi
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21344 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21345
21346 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21347 for ac_func in qfpclass
21348 do :
21349 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21350 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21351 cat >>confdefs.h <<_ACEOF
21352 #define HAVE_QFPCLASS 1
21353 _ACEOF
21354
21355 fi
21356 done
21357
21358 else
21359
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21361 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21362 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21363 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21364 $as_echo_n "(cached) " >&6
21365 else
21366
21367
21368 ac_ext=cpp
21369 ac_cpp='$CXXCPP $CPPFLAGS'
21370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21373
21374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21375 /* end confdefs.h. */
21376 #include <math.h>
21377 #ifdef HAVE_IEEEFP_H
21378 #include <ieeefp.h>
21379 #endif
21380
21381 int
21382 main ()
21383 {
21384 _qfpclass(0);
21385 ;
21386 return 0;
21387 }
21388 _ACEOF
21389 if ac_fn_cxx_try_compile "$LINENO"; then :
21390 glibcxx_cv_func__qfpclass_use=yes
21391 else
21392 glibcxx_cv_func__qfpclass_use=no
21393 fi
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 ac_ext=c
21396 ac_cpp='$CPP $CPPFLAGS'
21397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21400
21401
21402 fi
21403
21404 fi
21405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21406 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21407
21408 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21409 for ac_func in _qfpclass
21410 do :
21411 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21412 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21413 cat >>confdefs.h <<_ACEOF
21414 #define HAVE__QFPCLASS 1
21415 _ACEOF
21416
21417 fi
21418 done
21419
21420 fi
21421 fi
21422
21423
21424
21425
21426
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21428 $as_echo_n "checking for hypot declaration... " >&6; }
21429 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21430 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21431 $as_echo_n "(cached) " >&6
21432 else
21433
21434
21435 ac_ext=cpp
21436 ac_cpp='$CXXCPP $CPPFLAGS'
21437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21440
21441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21443 #include <math.h>
21444 int
21445 main ()
21446 {
21447 hypot(0, 0);
21448 ;
21449 return 0;
21450 }
21451 _ACEOF
21452 if ac_fn_cxx_try_compile "$LINENO"; then :
21453 glibcxx_cv_func_hypot_use=yes
21454 else
21455 glibcxx_cv_func_hypot_use=no
21456 fi
21457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21458 ac_ext=c
21459 ac_cpp='$CPP $CPPFLAGS'
21460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21463
21464
21465 fi
21466
21467 fi
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21469 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21470
21471 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21472 for ac_func in hypot
21473 do :
21474 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21475 if test "x$ac_cv_func_hypot" = x""yes; then :
21476 cat >>confdefs.h <<_ACEOF
21477 #define HAVE_HYPOT 1
21478 _ACEOF
21479
21480 fi
21481 done
21482
21483 else
21484
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21486 $as_echo_n "checking for _hypot declaration... " >&6; }
21487 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21488 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21489 $as_echo_n "(cached) " >&6
21490 else
21491
21492
21493 ac_ext=cpp
21494 ac_cpp='$CXXCPP $CPPFLAGS'
21495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21498
21499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21500 /* end confdefs.h. */
21501 #include <math.h>
21502 int
21503 main ()
21504 {
21505 _hypot(0, 0);
21506 ;
21507 return 0;
21508 }
21509 _ACEOF
21510 if ac_fn_cxx_try_compile "$LINENO"; then :
21511 glibcxx_cv_func__hypot_use=yes
21512 else
21513 glibcxx_cv_func__hypot_use=no
21514 fi
21515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 fi
21524
21525 fi
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21527 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21528
21529 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21530 for ac_func in _hypot
21531 do :
21532 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21533 if test "x$ac_cv_func__hypot" = x""yes; then :
21534 cat >>confdefs.h <<_ACEOF
21535 #define HAVE__HYPOT 1
21536 _ACEOF
21537
21538 fi
21539 done
21540
21541 fi
21542 fi
21543
21544
21545
21546
21547
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21549 $as_echo_n "checking for float trig functions... " >&6; }
21550 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21551 $as_echo_n "(cached) " >&6
21552 else
21553
21554
21555 ac_ext=cpp
21556 ac_cpp='$CXXCPP $CPPFLAGS'
21557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21560
21561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21562 /* end confdefs.h. */
21563 #include <math.h>
21564 int
21565 main ()
21566 {
21567 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21568 ;
21569 return 0;
21570 }
21571 _ACEOF
21572 if ac_fn_cxx_try_compile "$LINENO"; then :
21573 glibcxx_cv_func_float_trig_use=yes
21574 else
21575 glibcxx_cv_func_float_trig_use=no
21576 fi
21577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21578 ac_ext=c
21579 ac_cpp='$CPP $CPPFLAGS'
21580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21583
21584 fi
21585
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21587 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21588 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21589 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21590 do :
21591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21593 eval as_val=\$$as_ac_var
21594 if test "x$as_val" = x""yes; then :
21595 cat >>confdefs.h <<_ACEOF
21596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21597 _ACEOF
21598
21599 fi
21600 done
21601
21602 else
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21604 $as_echo_n "checking for _float trig functions... " >&6; }
21605 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21606 $as_echo_n "(cached) " >&6
21607 else
21608
21609
21610 ac_ext=cpp
21611 ac_cpp='$CXXCPP $CPPFLAGS'
21612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21615
21616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21617 /* end confdefs.h. */
21618 #include <math.h>
21619 int
21620 main ()
21621 {
21622 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21623 ;
21624 return 0;
21625 }
21626 _ACEOF
21627 if ac_fn_cxx_try_compile "$LINENO"; then :
21628 glibcxx_cv_func__float_trig_use=yes
21629 else
21630 glibcxx_cv_func__float_trig_use=no
21631 fi
21632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633 ac_ext=c
21634 ac_cpp='$CPP $CPPFLAGS'
21635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21638
21639 fi
21640
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21642 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21643 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21644 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21645 do :
21646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21648 eval as_val=\$$as_ac_var
21649 if test "x$as_val" = x""yes; then :
21650 cat >>confdefs.h <<_ACEOF
21651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21652 _ACEOF
21653
21654 fi
21655 done
21656
21657 fi
21658 fi
21659
21660
21661
21662
21663
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21665 $as_echo_n "checking for float round functions... " >&6; }
21666 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21667 $as_echo_n "(cached) " >&6
21668 else
21669
21670
21671 ac_ext=cpp
21672 ac_cpp='$CXXCPP $CPPFLAGS'
21673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21676
21677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21679 #include <math.h>
21680 int
21681 main ()
21682 {
21683 ceilf (0); floorf (0);
21684 ;
21685 return 0;
21686 }
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_func_float_round_use=yes
21690 else
21691 glibcxx_cv_func_float_round_use=no
21692 fi
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 ac_ext=c
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21699
21700 fi
21701
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21703 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21704 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21705 for ac_func in ceilf floorf
21706 do :
21707 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21709 eval as_val=\$$as_ac_var
21710 if test "x$as_val" = x""yes; then :
21711 cat >>confdefs.h <<_ACEOF
21712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21713 _ACEOF
21714
21715 fi
21716 done
21717
21718 else
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21720 $as_echo_n "checking for _float round functions... " >&6; }
21721 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21722 $as_echo_n "(cached) " >&6
21723 else
21724
21725
21726 ac_ext=cpp
21727 ac_cpp='$CXXCPP $CPPFLAGS'
21728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21731
21732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h. */
21734 #include <math.h>
21735 int
21736 main ()
21737 {
21738 _ceilf (0); _floorf (0);
21739 ;
21740 return 0;
21741 }
21742 _ACEOF
21743 if ac_fn_cxx_try_compile "$LINENO"; then :
21744 glibcxx_cv_func__float_round_use=yes
21745 else
21746 glibcxx_cv_func__float_round_use=no
21747 fi
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 ac_ext=c
21750 ac_cpp='$CPP $CPPFLAGS'
21751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21754
21755 fi
21756
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21758 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21759 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21760 for ac_func in _ceilf _floorf
21761 do :
21762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21764 eval as_val=\$$as_ac_var
21765 if test "x$as_val" = x""yes; then :
21766 cat >>confdefs.h <<_ACEOF
21767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21768 _ACEOF
21769
21770 fi
21771 done
21772
21773 fi
21774 fi
21775
21776
21777
21778
21779
21780
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21782 $as_echo_n "checking for expf declaration... " >&6; }
21783 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21784 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21785 $as_echo_n "(cached) " >&6
21786 else
21787
21788
21789 ac_ext=cpp
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h. */
21797 #include <math.h>
21798 #ifdef HAVE_IEEEFP_H
21799 #include <ieeefp.h>
21800 #endif
21801
21802 int
21803 main ()
21804 {
21805 expf(0);
21806 ;
21807 return 0;
21808 }
21809 _ACEOF
21810 if ac_fn_cxx_try_compile "$LINENO"; then :
21811 glibcxx_cv_func_expf_use=yes
21812 else
21813 glibcxx_cv_func_expf_use=no
21814 fi
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 ac_ext=c
21817 ac_cpp='$CPP $CPPFLAGS'
21818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21821
21822
21823 fi
21824
21825 fi
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21827 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21828
21829 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21830 for ac_func in expf
21831 do :
21832 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21833 if test "x$ac_cv_func_expf" = x""yes; then :
21834 cat >>confdefs.h <<_ACEOF
21835 #define HAVE_EXPF 1
21836 _ACEOF
21837
21838 fi
21839 done
21840
21841 else
21842
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21844 $as_echo_n "checking for _expf declaration... " >&6; }
21845 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21846 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21847 $as_echo_n "(cached) " >&6
21848 else
21849
21850
21851 ac_ext=cpp
21852 ac_cpp='$CXXCPP $CPPFLAGS'
21853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21856
21857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21859 #include <math.h>
21860 #ifdef HAVE_IEEEFP_H
21861 #include <ieeefp.h>
21862 #endif
21863
21864 int
21865 main ()
21866 {
21867 _expf(0);
21868 ;
21869 return 0;
21870 }
21871 _ACEOF
21872 if ac_fn_cxx_try_compile "$LINENO"; then :
21873 glibcxx_cv_func__expf_use=yes
21874 else
21875 glibcxx_cv_func__expf_use=no
21876 fi
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21878 ac_ext=c
21879 ac_cpp='$CPP $CPPFLAGS'
21880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21883
21884
21885 fi
21886
21887 fi
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21889 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21890
21891 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21892 for ac_func in _expf
21893 do :
21894 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21895 if test "x$ac_cv_func__expf" = x""yes; then :
21896 cat >>confdefs.h <<_ACEOF
21897 #define HAVE__EXPF 1
21898 _ACEOF
21899
21900 fi
21901 done
21902
21903 fi
21904 fi
21905
21906
21907
21908
21909
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21911 $as_echo_n "checking for isnanf declaration... " >&6; }
21912 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21913 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21914 $as_echo_n "(cached) " >&6
21915 else
21916
21917
21918 ac_ext=cpp
21919 ac_cpp='$CXXCPP $CPPFLAGS'
21920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21923
21924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21925 /* end confdefs.h. */
21926 #include <math.h>
21927 #ifdef HAVE_IEEEFP_H
21928 #include <ieeefp.h>
21929 #endif
21930
21931 int
21932 main ()
21933 {
21934 isnanf(0);
21935 ;
21936 return 0;
21937 }
21938 _ACEOF
21939 if ac_fn_cxx_try_compile "$LINENO"; then :
21940 glibcxx_cv_func_isnanf_use=yes
21941 else
21942 glibcxx_cv_func_isnanf_use=no
21943 fi
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21945 ac_ext=c
21946 ac_cpp='$CPP $CPPFLAGS'
21947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21950
21951
21952 fi
21953
21954 fi
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21956 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21957
21958 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21959 for ac_func in isnanf
21960 do :
21961 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21962 if test "x$ac_cv_func_isnanf" = x""yes; then :
21963 cat >>confdefs.h <<_ACEOF
21964 #define HAVE_ISNANF 1
21965 _ACEOF
21966
21967 fi
21968 done
21969
21970 else
21971
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21973 $as_echo_n "checking for _isnanf declaration... " >&6; }
21974 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21975 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21976 $as_echo_n "(cached) " >&6
21977 else
21978
21979
21980 ac_ext=cpp
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21985
21986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21987 /* end confdefs.h. */
21988 #include <math.h>
21989 #ifdef HAVE_IEEEFP_H
21990 #include <ieeefp.h>
21991 #endif
21992
21993 int
21994 main ()
21995 {
21996 _isnanf(0);
21997 ;
21998 return 0;
21999 }
22000 _ACEOF
22001 if ac_fn_cxx_try_compile "$LINENO"; then :
22002 glibcxx_cv_func__isnanf_use=yes
22003 else
22004 glibcxx_cv_func__isnanf_use=no
22005 fi
22006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22007 ac_ext=c
22008 ac_cpp='$CPP $CPPFLAGS'
22009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22012
22013
22014 fi
22015
22016 fi
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22018 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22019
22020 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22021 for ac_func in _isnanf
22022 do :
22023 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22024 if test "x$ac_cv_func__isnanf" = x""yes; then :
22025 cat >>confdefs.h <<_ACEOF
22026 #define HAVE__ISNANF 1
22027 _ACEOF
22028
22029 fi
22030 done
22031
22032 fi
22033 fi
22034
22035
22036
22037
22038
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22040 $as_echo_n "checking for isinff declaration... " >&6; }
22041 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22042 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22043 $as_echo_n "(cached) " >&6
22044 else
22045
22046
22047 ac_ext=cpp
22048 ac_cpp='$CXXCPP $CPPFLAGS'
22049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22052
22053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22054 /* end confdefs.h. */
22055 #include <math.h>
22056 #ifdef HAVE_IEEEFP_H
22057 #include <ieeefp.h>
22058 #endif
22059
22060 int
22061 main ()
22062 {
22063 isinff(0);
22064 ;
22065 return 0;
22066 }
22067 _ACEOF
22068 if ac_fn_cxx_try_compile "$LINENO"; then :
22069 glibcxx_cv_func_isinff_use=yes
22070 else
22071 glibcxx_cv_func_isinff_use=no
22072 fi
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 ac_ext=c
22075 ac_cpp='$CPP $CPPFLAGS'
22076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22079
22080
22081 fi
22082
22083 fi
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22085 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22086
22087 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22088 for ac_func in isinff
22089 do :
22090 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22091 if test "x$ac_cv_func_isinff" = x""yes; then :
22092 cat >>confdefs.h <<_ACEOF
22093 #define HAVE_ISINFF 1
22094 _ACEOF
22095
22096 fi
22097 done
22098
22099 else
22100
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22102 $as_echo_n "checking for _isinff declaration... " >&6; }
22103 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22104 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22105 $as_echo_n "(cached) " >&6
22106 else
22107
22108
22109 ac_ext=cpp
22110 ac_cpp='$CXXCPP $CPPFLAGS'
22111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22114
22115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22116 /* end confdefs.h. */
22117 #include <math.h>
22118 #ifdef HAVE_IEEEFP_H
22119 #include <ieeefp.h>
22120 #endif
22121
22122 int
22123 main ()
22124 {
22125 _isinff(0);
22126 ;
22127 return 0;
22128 }
22129 _ACEOF
22130 if ac_fn_cxx_try_compile "$LINENO"; then :
22131 glibcxx_cv_func__isinff_use=yes
22132 else
22133 glibcxx_cv_func__isinff_use=no
22134 fi
22135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22136 ac_ext=c
22137 ac_cpp='$CPP $CPPFLAGS'
22138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22141
22142
22143 fi
22144
22145 fi
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22147 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22148
22149 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22150 for ac_func in _isinff
22151 do :
22152 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22153 if test "x$ac_cv_func__isinff" = x""yes; then :
22154 cat >>confdefs.h <<_ACEOF
22155 #define HAVE__ISINFF 1
22156 _ACEOF
22157
22158 fi
22159 done
22160
22161 fi
22162 fi
22163
22164
22165
22166
22167
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22169 $as_echo_n "checking for atan2f declaration... " >&6; }
22170 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22171 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22172 $as_echo_n "(cached) " >&6
22173 else
22174
22175
22176 ac_ext=cpp
22177 ac_cpp='$CXXCPP $CPPFLAGS'
22178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22181
22182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22183 /* end confdefs.h. */
22184 #include <math.h>
22185 int
22186 main ()
22187 {
22188 atan2f(0, 0);
22189 ;
22190 return 0;
22191 }
22192 _ACEOF
22193 if ac_fn_cxx_try_compile "$LINENO"; then :
22194 glibcxx_cv_func_atan2f_use=yes
22195 else
22196 glibcxx_cv_func_atan2f_use=no
22197 fi
22198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22199 ac_ext=c
22200 ac_cpp='$CPP $CPPFLAGS'
22201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22204
22205
22206 fi
22207
22208 fi
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22210 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22211
22212 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22213 for ac_func in atan2f
22214 do :
22215 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22216 if test "x$ac_cv_func_atan2f" = x""yes; then :
22217 cat >>confdefs.h <<_ACEOF
22218 #define HAVE_ATAN2F 1
22219 _ACEOF
22220
22221 fi
22222 done
22223
22224 else
22225
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22227 $as_echo_n "checking for _atan2f declaration... " >&6; }
22228 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22229 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22230 $as_echo_n "(cached) " >&6
22231 else
22232
22233
22234 ac_ext=cpp
22235 ac_cpp='$CXXCPP $CPPFLAGS'
22236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22239
22240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22241 /* end confdefs.h. */
22242 #include <math.h>
22243 int
22244 main ()
22245 {
22246 _atan2f(0, 0);
22247 ;
22248 return 0;
22249 }
22250 _ACEOF
22251 if ac_fn_cxx_try_compile "$LINENO"; then :
22252 glibcxx_cv_func__atan2f_use=yes
22253 else
22254 glibcxx_cv_func__atan2f_use=no
22255 fi
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 ac_ext=c
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22262
22263
22264 fi
22265
22266 fi
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22268 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22269
22270 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22271 for ac_func in _atan2f
22272 do :
22273 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22274 if test "x$ac_cv_func__atan2f" = x""yes; then :
22275 cat >>confdefs.h <<_ACEOF
22276 #define HAVE__ATAN2F 1
22277 _ACEOF
22278
22279 fi
22280 done
22281
22282 fi
22283 fi
22284
22285
22286
22287
22288
22289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22290 $as_echo_n "checking for fabsf declaration... " >&6; }
22291 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22292 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22293 $as_echo_n "(cached) " >&6
22294 else
22295
22296
22297 ac_ext=cpp
22298 ac_cpp='$CXXCPP $CPPFLAGS'
22299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22302
22303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h. */
22305 #include <math.h>
22306 #ifdef HAVE_IEEEFP_H
22307 #include <ieeefp.h>
22308 #endif
22309
22310 int
22311 main ()
22312 {
22313 fabsf(0);
22314 ;
22315 return 0;
22316 }
22317 _ACEOF
22318 if ac_fn_cxx_try_compile "$LINENO"; then :
22319 glibcxx_cv_func_fabsf_use=yes
22320 else
22321 glibcxx_cv_func_fabsf_use=no
22322 fi
22323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22324 ac_ext=c
22325 ac_cpp='$CPP $CPPFLAGS'
22326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22329
22330
22331 fi
22332
22333 fi
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22335 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22336
22337 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22338 for ac_func in fabsf
22339 do :
22340 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22341 if test "x$ac_cv_func_fabsf" = x""yes; then :
22342 cat >>confdefs.h <<_ACEOF
22343 #define HAVE_FABSF 1
22344 _ACEOF
22345
22346 fi
22347 done
22348
22349 else
22350
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22352 $as_echo_n "checking for _fabsf declaration... " >&6; }
22353 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22354 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22355 $as_echo_n "(cached) " >&6
22356 else
22357
22358
22359 ac_ext=cpp
22360 ac_cpp='$CXXCPP $CPPFLAGS'
22361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22364
22365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22366 /* end confdefs.h. */
22367 #include <math.h>
22368 #ifdef HAVE_IEEEFP_H
22369 #include <ieeefp.h>
22370 #endif
22371
22372 int
22373 main ()
22374 {
22375 _fabsf(0);
22376 ;
22377 return 0;
22378 }
22379 _ACEOF
22380 if ac_fn_cxx_try_compile "$LINENO"; then :
22381 glibcxx_cv_func__fabsf_use=yes
22382 else
22383 glibcxx_cv_func__fabsf_use=no
22384 fi
22385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22386 ac_ext=c
22387 ac_cpp='$CPP $CPPFLAGS'
22388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22391
22392
22393 fi
22394
22395 fi
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22397 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22398
22399 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22400 for ac_func in _fabsf
22401 do :
22402 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22403 if test "x$ac_cv_func__fabsf" = x""yes; then :
22404 cat >>confdefs.h <<_ACEOF
22405 #define HAVE__FABSF 1
22406 _ACEOF
22407
22408 fi
22409 done
22410
22411 fi
22412 fi
22413
22414
22415
22416
22417
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22419 $as_echo_n "checking for fmodf declaration... " >&6; }
22420 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22421 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22422 $as_echo_n "(cached) " >&6
22423 else
22424
22425
22426 ac_ext=cpp
22427 ac_cpp='$CXXCPP $CPPFLAGS'
22428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22431
22432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h. */
22434 #include <math.h>
22435 int
22436 main ()
22437 {
22438 fmodf(0, 0);
22439 ;
22440 return 0;
22441 }
22442 _ACEOF
22443 if ac_fn_cxx_try_compile "$LINENO"; then :
22444 glibcxx_cv_func_fmodf_use=yes
22445 else
22446 glibcxx_cv_func_fmodf_use=no
22447 fi
22448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22449 ac_ext=c
22450 ac_cpp='$CPP $CPPFLAGS'
22451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22454
22455
22456 fi
22457
22458 fi
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22460 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22461
22462 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22463 for ac_func in fmodf
22464 do :
22465 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22466 if test "x$ac_cv_func_fmodf" = x""yes; then :
22467 cat >>confdefs.h <<_ACEOF
22468 #define HAVE_FMODF 1
22469 _ACEOF
22470
22471 fi
22472 done
22473
22474 else
22475
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22477 $as_echo_n "checking for _fmodf declaration... " >&6; }
22478 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22479 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22480 $as_echo_n "(cached) " >&6
22481 else
22482
22483
22484 ac_ext=cpp
22485 ac_cpp='$CXXCPP $CPPFLAGS'
22486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22489
22490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22491 /* end confdefs.h. */
22492 #include <math.h>
22493 int
22494 main ()
22495 {
22496 _fmodf(0, 0);
22497 ;
22498 return 0;
22499 }
22500 _ACEOF
22501 if ac_fn_cxx_try_compile "$LINENO"; then :
22502 glibcxx_cv_func__fmodf_use=yes
22503 else
22504 glibcxx_cv_func__fmodf_use=no
22505 fi
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22507 ac_ext=c
22508 ac_cpp='$CPP $CPPFLAGS'
22509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22512
22513
22514 fi
22515
22516 fi
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22518 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22519
22520 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22521 for ac_func in _fmodf
22522 do :
22523 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22524 if test "x$ac_cv_func__fmodf" = x""yes; then :
22525 cat >>confdefs.h <<_ACEOF
22526 #define HAVE__FMODF 1
22527 _ACEOF
22528
22529 fi
22530 done
22531
22532 fi
22533 fi
22534
22535
22536
22537
22538
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22540 $as_echo_n "checking for frexpf declaration... " >&6; }
22541 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22542 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22543 $as_echo_n "(cached) " >&6
22544 else
22545
22546
22547 ac_ext=cpp
22548 ac_cpp='$CXXCPP $CPPFLAGS'
22549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22552
22553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22554 /* end confdefs.h. */
22555 #include <math.h>
22556 int
22557 main ()
22558 {
22559 frexpf(0, 0);
22560 ;
22561 return 0;
22562 }
22563 _ACEOF
22564 if ac_fn_cxx_try_compile "$LINENO"; then :
22565 glibcxx_cv_func_frexpf_use=yes
22566 else
22567 glibcxx_cv_func_frexpf_use=no
22568 fi
22569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22570 ac_ext=c
22571 ac_cpp='$CPP $CPPFLAGS'
22572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22575
22576
22577 fi
22578
22579 fi
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22581 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22582
22583 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22584 for ac_func in frexpf
22585 do :
22586 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22587 if test "x$ac_cv_func_frexpf" = x""yes; then :
22588 cat >>confdefs.h <<_ACEOF
22589 #define HAVE_FREXPF 1
22590 _ACEOF
22591
22592 fi
22593 done
22594
22595 else
22596
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22598 $as_echo_n "checking for _frexpf declaration... " >&6; }
22599 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22600 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22601 $as_echo_n "(cached) " >&6
22602 else
22603
22604
22605 ac_ext=cpp
22606 ac_cpp='$CXXCPP $CPPFLAGS'
22607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22610
22611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22612 /* end confdefs.h. */
22613 #include <math.h>
22614 int
22615 main ()
22616 {
22617 _frexpf(0, 0);
22618 ;
22619 return 0;
22620 }
22621 _ACEOF
22622 if ac_fn_cxx_try_compile "$LINENO"; then :
22623 glibcxx_cv_func__frexpf_use=yes
22624 else
22625 glibcxx_cv_func__frexpf_use=no
22626 fi
22627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628 ac_ext=c
22629 ac_cpp='$CPP $CPPFLAGS'
22630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22633
22634
22635 fi
22636
22637 fi
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22639 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22640
22641 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22642 for ac_func in _frexpf
22643 do :
22644 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22645 if test "x$ac_cv_func__frexpf" = x""yes; then :
22646 cat >>confdefs.h <<_ACEOF
22647 #define HAVE__FREXPF 1
22648 _ACEOF
22649
22650 fi
22651 done
22652
22653 fi
22654 fi
22655
22656
22657
22658
22659
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22661 $as_echo_n "checking for hypotf declaration... " >&6; }
22662 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22663 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22664 $as_echo_n "(cached) " >&6
22665 else
22666
22667
22668 ac_ext=cpp
22669 ac_cpp='$CXXCPP $CPPFLAGS'
22670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22673
22674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22675 /* end confdefs.h. */
22676 #include <math.h>
22677 int
22678 main ()
22679 {
22680 hypotf(0, 0);
22681 ;
22682 return 0;
22683 }
22684 _ACEOF
22685 if ac_fn_cxx_try_compile "$LINENO"; then :
22686 glibcxx_cv_func_hypotf_use=yes
22687 else
22688 glibcxx_cv_func_hypotf_use=no
22689 fi
22690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22691 ac_ext=c
22692 ac_cpp='$CPP $CPPFLAGS'
22693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22696
22697
22698 fi
22699
22700 fi
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22702 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22703
22704 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22705 for ac_func in hypotf
22706 do :
22707 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22708 if test "x$ac_cv_func_hypotf" = x""yes; then :
22709 cat >>confdefs.h <<_ACEOF
22710 #define HAVE_HYPOTF 1
22711 _ACEOF
22712
22713 fi
22714 done
22715
22716 else
22717
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22719 $as_echo_n "checking for _hypotf declaration... " >&6; }
22720 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22721 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22722 $as_echo_n "(cached) " >&6
22723 else
22724
22725
22726 ac_ext=cpp
22727 ac_cpp='$CXXCPP $CPPFLAGS'
22728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22731
22732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22733 /* end confdefs.h. */
22734 #include <math.h>
22735 int
22736 main ()
22737 {
22738 _hypotf(0, 0);
22739 ;
22740 return 0;
22741 }
22742 _ACEOF
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744 glibcxx_cv_func__hypotf_use=yes
22745 else
22746 glibcxx_cv_func__hypotf_use=no
22747 fi
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 ac_ext=c
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22754
22755
22756 fi
22757
22758 fi
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22760 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22761
22762 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22763 for ac_func in _hypotf
22764 do :
22765 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22766 if test "x$ac_cv_func__hypotf" = x""yes; then :
22767 cat >>confdefs.h <<_ACEOF
22768 #define HAVE__HYPOTF 1
22769 _ACEOF
22770
22771 fi
22772 done
22773
22774 fi
22775 fi
22776
22777
22778
22779
22780
22781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22782 $as_echo_n "checking for ldexpf declaration... " >&6; }
22783 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22784 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22785 $as_echo_n "(cached) " >&6
22786 else
22787
22788
22789 ac_ext=cpp
22790 ac_cpp='$CXXCPP $CPPFLAGS'
22791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22794
22795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 /* end confdefs.h. */
22797 #include <math.h>
22798 int
22799 main ()
22800 {
22801 ldexpf(0, 0);
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 if ac_fn_cxx_try_compile "$LINENO"; then :
22807 glibcxx_cv_func_ldexpf_use=yes
22808 else
22809 glibcxx_cv_func_ldexpf_use=no
22810 fi
22811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22812 ac_ext=c
22813 ac_cpp='$CPP $CPPFLAGS'
22814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22817
22818
22819 fi
22820
22821 fi
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22823 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22824
22825 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22826 for ac_func in ldexpf
22827 do :
22828 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22829 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22830 cat >>confdefs.h <<_ACEOF
22831 #define HAVE_LDEXPF 1
22832 _ACEOF
22833
22834 fi
22835 done
22836
22837 else
22838
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22840 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22841 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22842 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22843 $as_echo_n "(cached) " >&6
22844 else
22845
22846
22847 ac_ext=cpp
22848 ac_cpp='$CXXCPP $CPPFLAGS'
22849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22852
22853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854 /* end confdefs.h. */
22855 #include <math.h>
22856 int
22857 main ()
22858 {
22859 _ldexpf(0, 0);
22860 ;
22861 return 0;
22862 }
22863 _ACEOF
22864 if ac_fn_cxx_try_compile "$LINENO"; then :
22865 glibcxx_cv_func__ldexpf_use=yes
22866 else
22867 glibcxx_cv_func__ldexpf_use=no
22868 fi
22869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22870 ac_ext=c
22871 ac_cpp='$CPP $CPPFLAGS'
22872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22875
22876
22877 fi
22878
22879 fi
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22881 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22882
22883 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22884 for ac_func in _ldexpf
22885 do :
22886 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22887 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22888 cat >>confdefs.h <<_ACEOF
22889 #define HAVE__LDEXPF 1
22890 _ACEOF
22891
22892 fi
22893 done
22894
22895 fi
22896 fi
22897
22898
22899
22900
22901
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22903 $as_echo_n "checking for logf declaration... " >&6; }
22904 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22905 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22906 $as_echo_n "(cached) " >&6
22907 else
22908
22909
22910 ac_ext=cpp
22911 ac_cpp='$CXXCPP $CPPFLAGS'
22912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22915
22916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22917 /* end confdefs.h. */
22918 #include <math.h>
22919 #ifdef HAVE_IEEEFP_H
22920 #include <ieeefp.h>
22921 #endif
22922
22923 int
22924 main ()
22925 {
22926 logf(0);
22927 ;
22928 return 0;
22929 }
22930 _ACEOF
22931 if ac_fn_cxx_try_compile "$LINENO"; then :
22932 glibcxx_cv_func_logf_use=yes
22933 else
22934 glibcxx_cv_func_logf_use=no
22935 fi
22936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22937 ac_ext=c
22938 ac_cpp='$CPP $CPPFLAGS'
22939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942
22943
22944 fi
22945
22946 fi
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22948 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22949
22950 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22951 for ac_func in logf
22952 do :
22953 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22954 if test "x$ac_cv_func_logf" = x""yes; then :
22955 cat >>confdefs.h <<_ACEOF
22956 #define HAVE_LOGF 1
22957 _ACEOF
22958
22959 fi
22960 done
22961
22962 else
22963
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22965 $as_echo_n "checking for _logf declaration... " >&6; }
22966 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22967 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22968 $as_echo_n "(cached) " >&6
22969 else
22970
22971
22972 ac_ext=cpp
22973 ac_cpp='$CXXCPP $CPPFLAGS'
22974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22977
22978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22979 /* end confdefs.h. */
22980 #include <math.h>
22981 #ifdef HAVE_IEEEFP_H
22982 #include <ieeefp.h>
22983 #endif
22984
22985 int
22986 main ()
22987 {
22988 _logf(0);
22989 ;
22990 return 0;
22991 }
22992 _ACEOF
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994 glibcxx_cv_func__logf_use=yes
22995 else
22996 glibcxx_cv_func__logf_use=no
22997 fi
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999 ac_ext=c
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23004
23005
23006 fi
23007
23008 fi
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23010 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23011
23012 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23013 for ac_func in _logf
23014 do :
23015 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23016 if test "x$ac_cv_func__logf" = x""yes; then :
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE__LOGF 1
23019 _ACEOF
23020
23021 fi
23022 done
23023
23024 fi
23025 fi
23026
23027
23028
23029
23030
23031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23032 $as_echo_n "checking for log10f declaration... " >&6; }
23033 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23034 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23035 $as_echo_n "(cached) " >&6
23036 else
23037
23038
23039 ac_ext=cpp
23040 ac_cpp='$CXXCPP $CPPFLAGS'
23041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23044
23045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23046 /* end confdefs.h. */
23047 #include <math.h>
23048 #ifdef HAVE_IEEEFP_H
23049 #include <ieeefp.h>
23050 #endif
23051
23052 int
23053 main ()
23054 {
23055 log10f(0);
23056 ;
23057 return 0;
23058 }
23059 _ACEOF
23060 if ac_fn_cxx_try_compile "$LINENO"; then :
23061 glibcxx_cv_func_log10f_use=yes
23062 else
23063 glibcxx_cv_func_log10f_use=no
23064 fi
23065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23066 ac_ext=c
23067 ac_cpp='$CPP $CPPFLAGS'
23068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23071
23072
23073 fi
23074
23075 fi
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23077 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23078
23079 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23080 for ac_func in log10f
23081 do :
23082 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23083 if test "x$ac_cv_func_log10f" = x""yes; then :
23084 cat >>confdefs.h <<_ACEOF
23085 #define HAVE_LOG10F 1
23086 _ACEOF
23087
23088 fi
23089 done
23090
23091 else
23092
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23094 $as_echo_n "checking for _log10f declaration... " >&6; }
23095 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23096 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23097 $as_echo_n "(cached) " >&6
23098 else
23099
23100
23101 ac_ext=cpp
23102 ac_cpp='$CXXCPP $CPPFLAGS'
23103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23106
23107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23108 /* end confdefs.h. */
23109 #include <math.h>
23110 #ifdef HAVE_IEEEFP_H
23111 #include <ieeefp.h>
23112 #endif
23113
23114 int
23115 main ()
23116 {
23117 _log10f(0);
23118 ;
23119 return 0;
23120 }
23121 _ACEOF
23122 if ac_fn_cxx_try_compile "$LINENO"; then :
23123 glibcxx_cv_func__log10f_use=yes
23124 else
23125 glibcxx_cv_func__log10f_use=no
23126 fi
23127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23128 ac_ext=c
23129 ac_cpp='$CPP $CPPFLAGS'
23130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23133
23134
23135 fi
23136
23137 fi
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23139 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23140
23141 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23142 for ac_func in _log10f
23143 do :
23144 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23145 if test "x$ac_cv_func__log10f" = x""yes; then :
23146 cat >>confdefs.h <<_ACEOF
23147 #define HAVE__LOG10F 1
23148 _ACEOF
23149
23150 fi
23151 done
23152
23153 fi
23154 fi
23155
23156
23157
23158
23159
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23161 $as_echo_n "checking for modff declaration... " >&6; }
23162 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23163 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23164 $as_echo_n "(cached) " >&6
23165 else
23166
23167
23168 ac_ext=cpp
23169 ac_cpp='$CXXCPP $CPPFLAGS'
23170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23173
23174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23176 #include <math.h>
23177 int
23178 main ()
23179 {
23180 modff(0, 0);
23181 ;
23182 return 0;
23183 }
23184 _ACEOF
23185 if ac_fn_cxx_try_compile "$LINENO"; then :
23186 glibcxx_cv_func_modff_use=yes
23187 else
23188 glibcxx_cv_func_modff_use=no
23189 fi
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23196
23197
23198 fi
23199
23200 fi
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23202 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23203
23204 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23205 for ac_func in modff
23206 do :
23207 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23208 if test "x$ac_cv_func_modff" = x""yes; then :
23209 cat >>confdefs.h <<_ACEOF
23210 #define HAVE_MODFF 1
23211 _ACEOF
23212
23213 fi
23214 done
23215
23216 else
23217
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23219 $as_echo_n "checking for _modff declaration... " >&6; }
23220 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23221 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23222 $as_echo_n "(cached) " >&6
23223 else
23224
23225
23226 ac_ext=cpp
23227 ac_cpp='$CXXCPP $CPPFLAGS'
23228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23231
23232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23233 /* end confdefs.h. */
23234 #include <math.h>
23235 int
23236 main ()
23237 {
23238 _modff(0, 0);
23239 ;
23240 return 0;
23241 }
23242 _ACEOF
23243 if ac_fn_cxx_try_compile "$LINENO"; then :
23244 glibcxx_cv_func__modff_use=yes
23245 else
23246 glibcxx_cv_func__modff_use=no
23247 fi
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249 ac_ext=c
23250 ac_cpp='$CPP $CPPFLAGS'
23251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23254
23255
23256 fi
23257
23258 fi
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23260 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23261
23262 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23263 for ac_func in _modff
23264 do :
23265 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23266 if test "x$ac_cv_func__modff" = x""yes; then :
23267 cat >>confdefs.h <<_ACEOF
23268 #define HAVE__MODFF 1
23269 _ACEOF
23270
23271 fi
23272 done
23273
23274 fi
23275 fi
23276
23277
23278
23279
23280
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23282 $as_echo_n "checking for modf declaration... " >&6; }
23283 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23284 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23285 $as_echo_n "(cached) " >&6
23286 else
23287
23288
23289 ac_ext=cpp
23290 ac_cpp='$CXXCPP $CPPFLAGS'
23291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23294
23295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23296 /* end confdefs.h. */
23297 #include <math.h>
23298 int
23299 main ()
23300 {
23301 modf(0, 0);
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 if ac_fn_cxx_try_compile "$LINENO"; then :
23307 glibcxx_cv_func_modf_use=yes
23308 else
23309 glibcxx_cv_func_modf_use=no
23310 fi
23311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23312 ac_ext=c
23313 ac_cpp='$CPP $CPPFLAGS'
23314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23317
23318
23319 fi
23320
23321 fi
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23323 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23324
23325 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23326 for ac_func in modf
23327 do :
23328 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23329 if test "x$ac_cv_func_modf" = x""yes; then :
23330 cat >>confdefs.h <<_ACEOF
23331 #define HAVE_MODF 1
23332 _ACEOF
23333
23334 fi
23335 done
23336
23337 else
23338
23339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23340 $as_echo_n "checking for _modf declaration... " >&6; }
23341 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23342 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23343 $as_echo_n "(cached) " >&6
23344 else
23345
23346
23347 ac_ext=cpp
23348 ac_cpp='$CXXCPP $CPPFLAGS'
23349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23352
23353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23354 /* end confdefs.h. */
23355 #include <math.h>
23356 int
23357 main ()
23358 {
23359 _modf(0, 0);
23360 ;
23361 return 0;
23362 }
23363 _ACEOF
23364 if ac_fn_cxx_try_compile "$LINENO"; then :
23365 glibcxx_cv_func__modf_use=yes
23366 else
23367 glibcxx_cv_func__modf_use=no
23368 fi
23369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23370 ac_ext=c
23371 ac_cpp='$CPP $CPPFLAGS'
23372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23375
23376
23377 fi
23378
23379 fi
23380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23381 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23382
23383 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23384 for ac_func in _modf
23385 do :
23386 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23387 if test "x$ac_cv_func__modf" = x""yes; then :
23388 cat >>confdefs.h <<_ACEOF
23389 #define HAVE__MODF 1
23390 _ACEOF
23391
23392 fi
23393 done
23394
23395 fi
23396 fi
23397
23398
23399
23400
23401
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23403 $as_echo_n "checking for powf declaration... " >&6; }
23404 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23405 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23406 $as_echo_n "(cached) " >&6
23407 else
23408
23409
23410 ac_ext=cpp
23411 ac_cpp='$CXXCPP $CPPFLAGS'
23412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23415
23416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23417 /* end confdefs.h. */
23418 #include <math.h>
23419 int
23420 main ()
23421 {
23422 powf(0, 0);
23423 ;
23424 return 0;
23425 }
23426 _ACEOF
23427 if ac_fn_cxx_try_compile "$LINENO"; then :
23428 glibcxx_cv_func_powf_use=yes
23429 else
23430 glibcxx_cv_func_powf_use=no
23431 fi
23432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ac_ext=c
23434 ac_cpp='$CPP $CPPFLAGS'
23435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23438
23439
23440 fi
23441
23442 fi
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23444 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23445
23446 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23447 for ac_func in powf
23448 do :
23449 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23450 if test "x$ac_cv_func_powf" = x""yes; then :
23451 cat >>confdefs.h <<_ACEOF
23452 #define HAVE_POWF 1
23453 _ACEOF
23454
23455 fi
23456 done
23457
23458 else
23459
23460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23461 $as_echo_n "checking for _powf declaration... " >&6; }
23462 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23463 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23464 $as_echo_n "(cached) " >&6
23465 else
23466
23467
23468 ac_ext=cpp
23469 ac_cpp='$CXXCPP $CPPFLAGS'
23470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23473
23474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23475 /* end confdefs.h. */
23476 #include <math.h>
23477 int
23478 main ()
23479 {
23480 _powf(0, 0);
23481 ;
23482 return 0;
23483 }
23484 _ACEOF
23485 if ac_fn_cxx_try_compile "$LINENO"; then :
23486 glibcxx_cv_func__powf_use=yes
23487 else
23488 glibcxx_cv_func__powf_use=no
23489 fi
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 ac_ext=c
23492 ac_cpp='$CPP $CPPFLAGS'
23493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23496
23497
23498 fi
23499
23500 fi
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23502 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23503
23504 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23505 for ac_func in _powf
23506 do :
23507 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23508 if test "x$ac_cv_func__powf" = x""yes; then :
23509 cat >>confdefs.h <<_ACEOF
23510 #define HAVE__POWF 1
23511 _ACEOF
23512
23513 fi
23514 done
23515
23516 fi
23517 fi
23518
23519
23520
23521
23522
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23524 $as_echo_n "checking for sqrtf declaration... " >&6; }
23525 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23526 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23527 $as_echo_n "(cached) " >&6
23528 else
23529
23530
23531 ac_ext=cpp
23532 ac_cpp='$CXXCPP $CPPFLAGS'
23533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23536
23537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23538 /* end confdefs.h. */
23539 #include <math.h>
23540 #ifdef HAVE_IEEEFP_H
23541 #include <ieeefp.h>
23542 #endif
23543
23544 int
23545 main ()
23546 {
23547 sqrtf(0);
23548 ;
23549 return 0;
23550 }
23551 _ACEOF
23552 if ac_fn_cxx_try_compile "$LINENO"; then :
23553 glibcxx_cv_func_sqrtf_use=yes
23554 else
23555 glibcxx_cv_func_sqrtf_use=no
23556 fi
23557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23558 ac_ext=c
23559 ac_cpp='$CPP $CPPFLAGS'
23560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23563
23564
23565 fi
23566
23567 fi
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23569 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23570
23571 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23572 for ac_func in sqrtf
23573 do :
23574 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23575 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23576 cat >>confdefs.h <<_ACEOF
23577 #define HAVE_SQRTF 1
23578 _ACEOF
23579
23580 fi
23581 done
23582
23583 else
23584
23585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23586 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23587 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23588 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23589 $as_echo_n "(cached) " >&6
23590 else
23591
23592
23593 ac_ext=cpp
23594 ac_cpp='$CXXCPP $CPPFLAGS'
23595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23598
23599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23600 /* end confdefs.h. */
23601 #include <math.h>
23602 #ifdef HAVE_IEEEFP_H
23603 #include <ieeefp.h>
23604 #endif
23605
23606 int
23607 main ()
23608 {
23609 _sqrtf(0);
23610 ;
23611 return 0;
23612 }
23613 _ACEOF
23614 if ac_fn_cxx_try_compile "$LINENO"; then :
23615 glibcxx_cv_func__sqrtf_use=yes
23616 else
23617 glibcxx_cv_func__sqrtf_use=no
23618 fi
23619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23620 ac_ext=c
23621 ac_cpp='$CPP $CPPFLAGS'
23622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23625
23626
23627 fi
23628
23629 fi
23630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23631 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23632
23633 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23634 for ac_func in _sqrtf
23635 do :
23636 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23637 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23638 cat >>confdefs.h <<_ACEOF
23639 #define HAVE__SQRTF 1
23640 _ACEOF
23641
23642 fi
23643 done
23644
23645 fi
23646 fi
23647
23648
23649
23650
23651
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23653 $as_echo_n "checking for sincosf declaration... " >&6; }
23654 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23655 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23656 $as_echo_n "(cached) " >&6
23657 else
23658
23659
23660 ac_ext=cpp
23661 ac_cpp='$CXXCPP $CPPFLAGS'
23662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23665
23666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23667 /* end confdefs.h. */
23668 #include <math.h>
23669 int
23670 main ()
23671 {
23672 sincosf(0, 0, 0);
23673 ;
23674 return 0;
23675 }
23676 _ACEOF
23677 if ac_fn_cxx_try_compile "$LINENO"; then :
23678 glibcxx_cv_func_sincosf_use=yes
23679 else
23680 glibcxx_cv_func_sincosf_use=no
23681 fi
23682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23683 ac_ext=c
23684 ac_cpp='$CPP $CPPFLAGS'
23685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23688
23689
23690 fi
23691
23692 fi
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23694 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23695
23696 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23697 for ac_func in sincosf
23698 do :
23699 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23700 if test "x$ac_cv_func_sincosf" = x""yes; then :
23701 cat >>confdefs.h <<_ACEOF
23702 #define HAVE_SINCOSF 1
23703 _ACEOF
23704
23705 fi
23706 done
23707
23708 else
23709
23710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23711 $as_echo_n "checking for _sincosf declaration... " >&6; }
23712 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23713 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23714 $as_echo_n "(cached) " >&6
23715 else
23716
23717
23718 ac_ext=cpp
23719 ac_cpp='$CXXCPP $CPPFLAGS'
23720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23723
23724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23725 /* end confdefs.h. */
23726 #include <math.h>
23727 int
23728 main ()
23729 {
23730 _sincosf(0, 0, 0);
23731 ;
23732 return 0;
23733 }
23734 _ACEOF
23735 if ac_fn_cxx_try_compile "$LINENO"; then :
23736 glibcxx_cv_func__sincosf_use=yes
23737 else
23738 glibcxx_cv_func__sincosf_use=no
23739 fi
23740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23741 ac_ext=c
23742 ac_cpp='$CPP $CPPFLAGS'
23743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23746
23747
23748 fi
23749
23750 fi
23751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23752 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23753
23754 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23755 for ac_func in _sincosf
23756 do :
23757 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23758 if test "x$ac_cv_func__sincosf" = x""yes; then :
23759 cat >>confdefs.h <<_ACEOF
23760 #define HAVE__SINCOSF 1
23761 _ACEOF
23762
23763 fi
23764 done
23765
23766 fi
23767 fi
23768
23769
23770
23771
23772
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23774 $as_echo_n "checking for finitef declaration... " >&6; }
23775 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23776 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23777 $as_echo_n "(cached) " >&6
23778 else
23779
23780
23781 ac_ext=cpp
23782 ac_cpp='$CXXCPP $CPPFLAGS'
23783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23786
23787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23788 /* end confdefs.h. */
23789 #include <math.h>
23790 #ifdef HAVE_IEEEFP_H
23791 #include <ieeefp.h>
23792 #endif
23793
23794 int
23795 main ()
23796 {
23797 finitef(0);
23798 ;
23799 return 0;
23800 }
23801 _ACEOF
23802 if ac_fn_cxx_try_compile "$LINENO"; then :
23803 glibcxx_cv_func_finitef_use=yes
23804 else
23805 glibcxx_cv_func_finitef_use=no
23806 fi
23807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23808 ac_ext=c
23809 ac_cpp='$CPP $CPPFLAGS'
23810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23813
23814
23815 fi
23816
23817 fi
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23819 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23820
23821 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23822 for ac_func in finitef
23823 do :
23824 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23825 if test "x$ac_cv_func_finitef" = x""yes; then :
23826 cat >>confdefs.h <<_ACEOF
23827 #define HAVE_FINITEF 1
23828 _ACEOF
23829
23830 fi
23831 done
23832
23833 else
23834
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23836 $as_echo_n "checking for _finitef declaration... " >&6; }
23837 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23838 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23839 $as_echo_n "(cached) " >&6
23840 else
23841
23842
23843 ac_ext=cpp
23844 ac_cpp='$CXXCPP $CPPFLAGS'
23845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23848
23849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23850 /* end confdefs.h. */
23851 #include <math.h>
23852 #ifdef HAVE_IEEEFP_H
23853 #include <ieeefp.h>
23854 #endif
23855
23856 int
23857 main ()
23858 {
23859 _finitef(0);
23860 ;
23861 return 0;
23862 }
23863 _ACEOF
23864 if ac_fn_cxx_try_compile "$LINENO"; then :
23865 glibcxx_cv_func__finitef_use=yes
23866 else
23867 glibcxx_cv_func__finitef_use=no
23868 fi
23869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23870 ac_ext=c
23871 ac_cpp='$CPP $CPPFLAGS'
23872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23875
23876
23877 fi
23878
23879 fi
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23881 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23882
23883 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23884 for ac_func in _finitef
23885 do :
23886 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23887 if test "x$ac_cv_func__finitef" = x""yes; then :
23888 cat >>confdefs.h <<_ACEOF
23889 #define HAVE__FINITEF 1
23890 _ACEOF
23891
23892 fi
23893 done
23894
23895 fi
23896 fi
23897
23898
23899
23900
23901
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23903 $as_echo_n "checking for long double trig functions... " >&6; }
23904 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23906 else
23907
23908
23909 ac_ext=cpp
23910 ac_cpp='$CXXCPP $CPPFLAGS'
23911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23914
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917 #include <math.h>
23918 int
23919 main ()
23920 {
23921 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23922 ;
23923 return 0;
23924 }
23925 _ACEOF
23926 if ac_fn_cxx_try_compile "$LINENO"; then :
23927 glibcxx_cv_func_long_double_trig_use=yes
23928 else
23929 glibcxx_cv_func_long_double_trig_use=no
23930 fi
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932 ac_ext=c
23933 ac_cpp='$CPP $CPPFLAGS'
23934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23937
23938 fi
23939
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23941 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23942 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23943 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23944 do :
23945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23947 eval as_val=\$$as_ac_var
23948 if test "x$as_val" = x""yes; then :
23949 cat >>confdefs.h <<_ACEOF
23950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23951 _ACEOF
23952
23953 fi
23954 done
23955
23956 else
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23958 $as_echo_n "checking for _long double trig functions... " >&6; }
23959 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23960 $as_echo_n "(cached) " >&6
23961 else
23962
23963
23964 ac_ext=cpp
23965 ac_cpp='$CXXCPP $CPPFLAGS'
23966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23969
23970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23971 /* end confdefs.h. */
23972 #include <math.h>
23973 int
23974 main ()
23975 {
23976 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23977 ;
23978 return 0;
23979 }
23980 _ACEOF
23981 if ac_fn_cxx_try_compile "$LINENO"; then :
23982 glibcxx_cv_func__long_double_trig_use=yes
23983 else
23984 glibcxx_cv_func__long_double_trig_use=no
23985 fi
23986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23987 ac_ext=c
23988 ac_cpp='$CPP $CPPFLAGS'
23989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23992
23993 fi
23994
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23996 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23997 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23998 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23999 do :
24000 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24002 eval as_val=\$$as_ac_var
24003 if test "x$as_val" = x""yes; then :
24004 cat >>confdefs.h <<_ACEOF
24005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24006 _ACEOF
24007
24008 fi
24009 done
24010
24011 fi
24012 fi
24013
24014
24015
24016
24017
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24019 $as_echo_n "checking for long double round functions... " >&6; }
24020 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24021 $as_echo_n "(cached) " >&6
24022 else
24023
24024
24025 ac_ext=cpp
24026 ac_cpp='$CXXCPP $CPPFLAGS'
24027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24030
24031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24033 #include <math.h>
24034 int
24035 main ()
24036 {
24037 ceill (0); floorl (0);
24038 ;
24039 return 0;
24040 }
24041 _ACEOF
24042 if ac_fn_cxx_try_compile "$LINENO"; then :
24043 glibcxx_cv_func_long_double_round_use=yes
24044 else
24045 glibcxx_cv_func_long_double_round_use=no
24046 fi
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_ext=c
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24053
24054 fi
24055
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24057 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24058 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24059 for ac_func in ceill floorl
24060 do :
24061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24063 eval as_val=\$$as_ac_var
24064 if test "x$as_val" = x""yes; then :
24065 cat >>confdefs.h <<_ACEOF
24066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24067 _ACEOF
24068
24069 fi
24070 done
24071
24072 else
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24074 $as_echo_n "checking for _long double round functions... " >&6; }
24075 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24076 $as_echo_n "(cached) " >&6
24077 else
24078
24079
24080 ac_ext=cpp
24081 ac_cpp='$CXXCPP $CPPFLAGS'
24082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24085
24086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24087 /* end confdefs.h. */
24088 #include <math.h>
24089 int
24090 main ()
24091 {
24092 _ceill (0); _floorl (0);
24093 ;
24094 return 0;
24095 }
24096 _ACEOF
24097 if ac_fn_cxx_try_compile "$LINENO"; then :
24098 glibcxx_cv_func__long_double_round_use=yes
24099 else
24100 glibcxx_cv_func__long_double_round_use=no
24101 fi
24102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103 ac_ext=c
24104 ac_cpp='$CPP $CPPFLAGS'
24105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24108
24109 fi
24110
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24112 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24113 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24114 for ac_func in _ceill _floorl
24115 do :
24116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24118 eval as_val=\$$as_ac_var
24119 if test "x$as_val" = x""yes; then :
24120 cat >>confdefs.h <<_ACEOF
24121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24122 _ACEOF
24123
24124 fi
24125 done
24126
24127 fi
24128 fi
24129
24130
24131
24132
24133
24134
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24136 $as_echo_n "checking for isnanl declaration... " >&6; }
24137 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24138 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24139 $as_echo_n "(cached) " >&6
24140 else
24141
24142
24143 ac_ext=cpp
24144 ac_cpp='$CXXCPP $CPPFLAGS'
24145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24148
24149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h. */
24151 #include <math.h>
24152 #ifdef HAVE_IEEEFP_H
24153 #include <ieeefp.h>
24154 #endif
24155
24156 int
24157 main ()
24158 {
24159 isnanl(0);
24160 ;
24161 return 0;
24162 }
24163 _ACEOF
24164 if ac_fn_cxx_try_compile "$LINENO"; then :
24165 glibcxx_cv_func_isnanl_use=yes
24166 else
24167 glibcxx_cv_func_isnanl_use=no
24168 fi
24169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170 ac_ext=c
24171 ac_cpp='$CPP $CPPFLAGS'
24172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24175
24176
24177 fi
24178
24179 fi
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24181 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24182
24183 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24184 for ac_func in isnanl
24185 do :
24186 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24187 if test "x$ac_cv_func_isnanl" = x""yes; then :
24188 cat >>confdefs.h <<_ACEOF
24189 #define HAVE_ISNANL 1
24190 _ACEOF
24191
24192 fi
24193 done
24194
24195 else
24196
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24198 $as_echo_n "checking for _isnanl declaration... " >&6; }
24199 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24200 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24201 $as_echo_n "(cached) " >&6
24202 else
24203
24204
24205 ac_ext=cpp
24206 ac_cpp='$CXXCPP $CPPFLAGS'
24207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210
24211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24212 /* end confdefs.h. */
24213 #include <math.h>
24214 #ifdef HAVE_IEEEFP_H
24215 #include <ieeefp.h>
24216 #endif
24217
24218 int
24219 main ()
24220 {
24221 _isnanl(0);
24222 ;
24223 return 0;
24224 }
24225 _ACEOF
24226 if ac_fn_cxx_try_compile "$LINENO"; then :
24227 glibcxx_cv_func__isnanl_use=yes
24228 else
24229 glibcxx_cv_func__isnanl_use=no
24230 fi
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 ac_ext=c
24233 ac_cpp='$CPP $CPPFLAGS'
24234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237
24238
24239 fi
24240
24241 fi
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24243 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24244
24245 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24246 for ac_func in _isnanl
24247 do :
24248 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24249 if test "x$ac_cv_func__isnanl" = x""yes; then :
24250 cat >>confdefs.h <<_ACEOF
24251 #define HAVE__ISNANL 1
24252 _ACEOF
24253
24254 fi
24255 done
24256
24257 fi
24258 fi
24259
24260
24261
24262
24263
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24265 $as_echo_n "checking for isinfl declaration... " >&6; }
24266 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24267 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24270
24271
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24281 #ifdef HAVE_IEEEFP_H
24282 #include <ieeefp.h>
24283 #endif
24284
24285 int
24286 main ()
24287 {
24288 isinfl(0);
24289 ;
24290 return 0;
24291 }
24292 _ACEOF
24293 if ac_fn_cxx_try_compile "$LINENO"; then :
24294 glibcxx_cv_func_isinfl_use=yes
24295 else
24296 glibcxx_cv_func_isinfl_use=no
24297 fi
24298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24299 ac_ext=c
24300 ac_cpp='$CPP $CPPFLAGS'
24301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304
24305
24306 fi
24307
24308 fi
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24310 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24311
24312 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24313 for ac_func in isinfl
24314 do :
24315 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24316 if test "x$ac_cv_func_isinfl" = x""yes; then :
24317 cat >>confdefs.h <<_ACEOF
24318 #define HAVE_ISINFL 1
24319 _ACEOF
24320
24321 fi
24322 done
24323
24324 else
24325
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24327 $as_echo_n "checking for _isinfl declaration... " >&6; }
24328 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24329 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24330 $as_echo_n "(cached) " >&6
24331 else
24332
24333
24334 ac_ext=cpp
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24339
24340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24341 /* end confdefs.h. */
24342 #include <math.h>
24343 #ifdef HAVE_IEEEFP_H
24344 #include <ieeefp.h>
24345 #endif
24346
24347 int
24348 main ()
24349 {
24350 _isinfl(0);
24351 ;
24352 return 0;
24353 }
24354 _ACEOF
24355 if ac_fn_cxx_try_compile "$LINENO"; then :
24356 glibcxx_cv_func__isinfl_use=yes
24357 else
24358 glibcxx_cv_func__isinfl_use=no
24359 fi
24360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 ac_ext=c
24362 ac_cpp='$CPP $CPPFLAGS'
24363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24366
24367
24368 fi
24369
24370 fi
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24372 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24373
24374 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24375 for ac_func in _isinfl
24376 do :
24377 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24378 if test "x$ac_cv_func__isinfl" = x""yes; then :
24379 cat >>confdefs.h <<_ACEOF
24380 #define HAVE__ISINFL 1
24381 _ACEOF
24382
24383 fi
24384 done
24385
24386 fi
24387 fi
24388
24389
24390
24391
24392
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24394 $as_echo_n "checking for atan2l declaration... " >&6; }
24395 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24396 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24397 $as_echo_n "(cached) " >&6
24398 else
24399
24400
24401 ac_ext=cpp
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24406
24407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24409 #include <math.h>
24410 int
24411 main ()
24412 {
24413 atan2l(0, 0);
24414 ;
24415 return 0;
24416 }
24417 _ACEOF
24418 if ac_fn_cxx_try_compile "$LINENO"; then :
24419 glibcxx_cv_func_atan2l_use=yes
24420 else
24421 glibcxx_cv_func_atan2l_use=no
24422 fi
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 ac_ext=c
24425 ac_cpp='$CPP $CPPFLAGS'
24426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24429
24430
24431 fi
24432
24433 fi
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24435 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24436
24437 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24438 for ac_func in atan2l
24439 do :
24440 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24441 if test "x$ac_cv_func_atan2l" = x""yes; then :
24442 cat >>confdefs.h <<_ACEOF
24443 #define HAVE_ATAN2L 1
24444 _ACEOF
24445
24446 fi
24447 done
24448
24449 else
24450
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24452 $as_echo_n "checking for _atan2l declaration... " >&6; }
24453 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24454 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24455 $as_echo_n "(cached) " >&6
24456 else
24457
24458
24459 ac_ext=cpp
24460 ac_cpp='$CXXCPP $CPPFLAGS'
24461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24464
24465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24466 /* end confdefs.h. */
24467 #include <math.h>
24468 int
24469 main ()
24470 {
24471 _atan2l(0, 0);
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func__atan2l_use=yes
24478 else
24479 glibcxx_cv_func__atan2l_use=no
24480 fi
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24487
24488
24489 fi
24490
24491 fi
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24493 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24494
24495 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24496 for ac_func in _atan2l
24497 do :
24498 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24499 if test "x$ac_cv_func__atan2l" = x""yes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE__ATAN2L 1
24502 _ACEOF
24503
24504 fi
24505 done
24506
24507 fi
24508 fi
24509
24510
24511
24512
24513
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24515 $as_echo_n "checking for expl declaration... " >&6; }
24516 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24517 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24520
24521
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24531 #ifdef HAVE_IEEEFP_H
24532 #include <ieeefp.h>
24533 #endif
24534
24535 int
24536 main ()
24537 {
24538 expl(0);
24539 ;
24540 return 0;
24541 }
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func_expl_use=yes
24545 else
24546 glibcxx_cv_func_expl_use=no
24547 fi
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554
24555
24556 fi
24557
24558 fi
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24560 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24561
24562 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24563 for ac_func in expl
24564 do :
24565 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24566 if test "x$ac_cv_func_expl" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define HAVE_EXPL 1
24569 _ACEOF
24570
24571 fi
24572 done
24573
24574 else
24575
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24577 $as_echo_n "checking for _expl declaration... " >&6; }
24578 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24579 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24582
24583
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24589
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24595 #endif
24596
24597 int
24598 main ()
24599 {
24600 _expl(0);
24601 ;
24602 return 0;
24603 }
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func__expl_use=yes
24607 else
24608 glibcxx_cv_func__expl_use=no
24609 fi
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24616
24617
24618 fi
24619
24620 fi
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24622 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24623
24624 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24625 for ac_func in _expl
24626 do :
24627 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24628 if test "x$ac_cv_func__expl" = x""yes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE__EXPL 1
24631 _ACEOF
24632
24633 fi
24634 done
24635
24636 fi
24637 fi
24638
24639
24640
24641
24642
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24644 $as_echo_n "checking for fabsl declaration... " >&6; }
24645 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24646 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24647 $as_echo_n "(cached) " >&6
24648 else
24649
24650
24651 ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24659 #include <math.h>
24660 #ifdef HAVE_IEEEFP_H
24661 #include <ieeefp.h>
24662 #endif
24663
24664 int
24665 main ()
24666 {
24667 fabsl(0);
24668 ;
24669 return 0;
24670 }
24671 _ACEOF
24672 if ac_fn_cxx_try_compile "$LINENO"; then :
24673 glibcxx_cv_func_fabsl_use=yes
24674 else
24675 glibcxx_cv_func_fabsl_use=no
24676 fi
24677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24678 ac_ext=c
24679 ac_cpp='$CPP $CPPFLAGS'
24680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24683
24684
24685 fi
24686
24687 fi
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24689 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24690
24691 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24692 for ac_func in fabsl
24693 do :
24694 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24695 if test "x$ac_cv_func_fabsl" = x""yes; then :
24696 cat >>confdefs.h <<_ACEOF
24697 #define HAVE_FABSL 1
24698 _ACEOF
24699
24700 fi
24701 done
24702
24703 else
24704
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24706 $as_echo_n "checking for _fabsl declaration... " >&6; }
24707 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24708 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24709 $as_echo_n "(cached) " >&6
24710 else
24711
24712
24713 ac_ext=cpp
24714 ac_cpp='$CXXCPP $CPPFLAGS'
24715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24718
24719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24720 /* end confdefs.h. */
24721 #include <math.h>
24722 #ifdef HAVE_IEEEFP_H
24723 #include <ieeefp.h>
24724 #endif
24725
24726 int
24727 main ()
24728 {
24729 _fabsl(0);
24730 ;
24731 return 0;
24732 }
24733 _ACEOF
24734 if ac_fn_cxx_try_compile "$LINENO"; then :
24735 glibcxx_cv_func__fabsl_use=yes
24736 else
24737 glibcxx_cv_func__fabsl_use=no
24738 fi
24739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24740 ac_ext=c
24741 ac_cpp='$CPP $CPPFLAGS'
24742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24745
24746
24747 fi
24748
24749 fi
24750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24751 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24752
24753 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24754 for ac_func in _fabsl
24755 do :
24756 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24757 if test "x$ac_cv_func__fabsl" = x""yes; then :
24758 cat >>confdefs.h <<_ACEOF
24759 #define HAVE__FABSL 1
24760 _ACEOF
24761
24762 fi
24763 done
24764
24765 fi
24766 fi
24767
24768
24769
24770
24771
24772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24773 $as_echo_n "checking for fmodl declaration... " >&6; }
24774 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24775 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24776 $as_echo_n "(cached) " >&6
24777 else
24778
24779
24780 ac_ext=cpp
24781 ac_cpp='$CXXCPP $CPPFLAGS'
24782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24785
24786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24787 /* end confdefs.h. */
24788 #include <math.h>
24789 int
24790 main ()
24791 {
24792 fmodl(0, 0);
24793 ;
24794 return 0;
24795 }
24796 _ACEOF
24797 if ac_fn_cxx_try_compile "$LINENO"; then :
24798 glibcxx_cv_func_fmodl_use=yes
24799 else
24800 glibcxx_cv_func_fmodl_use=no
24801 fi
24802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24803 ac_ext=c
24804 ac_cpp='$CPP $CPPFLAGS'
24805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24808
24809
24810 fi
24811
24812 fi
24813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24814 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24815
24816 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24817 for ac_func in fmodl
24818 do :
24819 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24820 if test "x$ac_cv_func_fmodl" = x""yes; then :
24821 cat >>confdefs.h <<_ACEOF
24822 #define HAVE_FMODL 1
24823 _ACEOF
24824
24825 fi
24826 done
24827
24828 else
24829
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24831 $as_echo_n "checking for _fmodl declaration... " >&6; }
24832 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24833 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24834 $as_echo_n "(cached) " >&6
24835 else
24836
24837
24838 ac_ext=cpp
24839 ac_cpp='$CXXCPP $CPPFLAGS'
24840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24843
24844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24845 /* end confdefs.h. */
24846 #include <math.h>
24847 int
24848 main ()
24849 {
24850 _fmodl(0, 0);
24851 ;
24852 return 0;
24853 }
24854 _ACEOF
24855 if ac_fn_cxx_try_compile "$LINENO"; then :
24856 glibcxx_cv_func__fmodl_use=yes
24857 else
24858 glibcxx_cv_func__fmodl_use=no
24859 fi
24860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24861 ac_ext=c
24862 ac_cpp='$CPP $CPPFLAGS'
24863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24866
24867
24868 fi
24869
24870 fi
24871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24872 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24873
24874 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24875 for ac_func in _fmodl
24876 do :
24877 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24878 if test "x$ac_cv_func__fmodl" = x""yes; then :
24879 cat >>confdefs.h <<_ACEOF
24880 #define HAVE__FMODL 1
24881 _ACEOF
24882
24883 fi
24884 done
24885
24886 fi
24887 fi
24888
24889
24890
24891
24892
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24894 $as_echo_n "checking for frexpl declaration... " >&6; }
24895 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24896 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24897 $as_echo_n "(cached) " >&6
24898 else
24899
24900
24901 ac_ext=cpp
24902 ac_cpp='$CXXCPP $CPPFLAGS'
24903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24906
24907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24908 /* end confdefs.h. */
24909 #include <math.h>
24910 int
24911 main ()
24912 {
24913 frexpl(0, 0);
24914 ;
24915 return 0;
24916 }
24917 _ACEOF
24918 if ac_fn_cxx_try_compile "$LINENO"; then :
24919 glibcxx_cv_func_frexpl_use=yes
24920 else
24921 glibcxx_cv_func_frexpl_use=no
24922 fi
24923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24924 ac_ext=c
24925 ac_cpp='$CPP $CPPFLAGS'
24926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24929
24930
24931 fi
24932
24933 fi
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24935 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24936
24937 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24938 for ac_func in frexpl
24939 do :
24940 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24941 if test "x$ac_cv_func_frexpl" = x""yes; then :
24942 cat >>confdefs.h <<_ACEOF
24943 #define HAVE_FREXPL 1
24944 _ACEOF
24945
24946 fi
24947 done
24948
24949 else
24950
24951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24952 $as_echo_n "checking for _frexpl declaration... " >&6; }
24953 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24954 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24955 $as_echo_n "(cached) " >&6
24956 else
24957
24958
24959 ac_ext=cpp
24960 ac_cpp='$CXXCPP $CPPFLAGS'
24961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24964
24965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24966 /* end confdefs.h. */
24967 #include <math.h>
24968 int
24969 main ()
24970 {
24971 _frexpl(0, 0);
24972 ;
24973 return 0;
24974 }
24975 _ACEOF
24976 if ac_fn_cxx_try_compile "$LINENO"; then :
24977 glibcxx_cv_func__frexpl_use=yes
24978 else
24979 glibcxx_cv_func__frexpl_use=no
24980 fi
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982 ac_ext=c
24983 ac_cpp='$CPP $CPPFLAGS'
24984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24987
24988
24989 fi
24990
24991 fi
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24993 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24994
24995 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24996 for ac_func in _frexpl
24997 do :
24998 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24999 if test "x$ac_cv_func__frexpl" = x""yes; then :
25000 cat >>confdefs.h <<_ACEOF
25001 #define HAVE__FREXPL 1
25002 _ACEOF
25003
25004 fi
25005 done
25006
25007 fi
25008 fi
25009
25010
25011
25012
25013
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25015 $as_echo_n "checking for hypotl declaration... " >&6; }
25016 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25017 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25018 $as_echo_n "(cached) " >&6
25019 else
25020
25021
25022 ac_ext=cpp
25023 ac_cpp='$CXXCPP $CPPFLAGS'
25024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25027
25028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25029 /* end confdefs.h. */
25030 #include <math.h>
25031 int
25032 main ()
25033 {
25034 hypotl(0, 0);
25035 ;
25036 return 0;
25037 }
25038 _ACEOF
25039 if ac_fn_cxx_try_compile "$LINENO"; then :
25040 glibcxx_cv_func_hypotl_use=yes
25041 else
25042 glibcxx_cv_func_hypotl_use=no
25043 fi
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045 ac_ext=c
25046 ac_cpp='$CPP $CPPFLAGS'
25047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25050
25051
25052 fi
25053
25054 fi
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25056 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25057
25058 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25059 for ac_func in hypotl
25060 do :
25061 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25062 if test "x$ac_cv_func_hypotl" = x""yes; then :
25063 cat >>confdefs.h <<_ACEOF
25064 #define HAVE_HYPOTL 1
25065 _ACEOF
25066
25067 fi
25068 done
25069
25070 else
25071
25072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25073 $as_echo_n "checking for _hypotl declaration... " >&6; }
25074 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25075 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25076 $as_echo_n "(cached) " >&6
25077 else
25078
25079
25080 ac_ext=cpp
25081 ac_cpp='$CXXCPP $CPPFLAGS'
25082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25085
25086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25087 /* end confdefs.h. */
25088 #include <math.h>
25089 int
25090 main ()
25091 {
25092 _hypotl(0, 0);
25093 ;
25094 return 0;
25095 }
25096 _ACEOF
25097 if ac_fn_cxx_try_compile "$LINENO"; then :
25098 glibcxx_cv_func__hypotl_use=yes
25099 else
25100 glibcxx_cv_func__hypotl_use=no
25101 fi
25102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25103 ac_ext=c
25104 ac_cpp='$CPP $CPPFLAGS'
25105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25108
25109
25110 fi
25111
25112 fi
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25114 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25115
25116 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25117 for ac_func in _hypotl
25118 do :
25119 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25120 if test "x$ac_cv_func__hypotl" = x""yes; then :
25121 cat >>confdefs.h <<_ACEOF
25122 #define HAVE__HYPOTL 1
25123 _ACEOF
25124
25125 fi
25126 done
25127
25128 fi
25129 fi
25130
25131
25132
25133
25134
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25136 $as_echo_n "checking for ldexpl declaration... " >&6; }
25137 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25138 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25139 $as_echo_n "(cached) " >&6
25140 else
25141
25142
25143 ac_ext=cpp
25144 ac_cpp='$CXXCPP $CPPFLAGS'
25145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148
25149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25150 /* end confdefs.h. */
25151 #include <math.h>
25152 int
25153 main ()
25154 {
25155 ldexpl(0, 0);
25156 ;
25157 return 0;
25158 }
25159 _ACEOF
25160 if ac_fn_cxx_try_compile "$LINENO"; then :
25161 glibcxx_cv_func_ldexpl_use=yes
25162 else
25163 glibcxx_cv_func_ldexpl_use=no
25164 fi
25165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 ac_ext=c
25167 ac_cpp='$CPP $CPPFLAGS'
25168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25171
25172
25173 fi
25174
25175 fi
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25177 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25178
25179 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25180 for ac_func in ldexpl
25181 do :
25182 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25183 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25184 cat >>confdefs.h <<_ACEOF
25185 #define HAVE_LDEXPL 1
25186 _ACEOF
25187
25188 fi
25189 done
25190
25191 else
25192
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25194 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25195 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25196 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25197 $as_echo_n "(cached) " >&6
25198 else
25199
25200
25201 ac_ext=cpp
25202 ac_cpp='$CXXCPP $CPPFLAGS'
25203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25206
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209 #include <math.h>
25210 int
25211 main ()
25212 {
25213 _ldexpl(0, 0);
25214 ;
25215 return 0;
25216 }
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func__ldexpl_use=yes
25220 else
25221 glibcxx_cv_func__ldexpl_use=no
25222 fi
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229
25230
25231 fi
25232
25233 fi
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25235 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25236
25237 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25238 for ac_func in _ldexpl
25239 do :
25240 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25241 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE__LDEXPL 1
25244 _ACEOF
25245
25246 fi
25247 done
25248
25249 fi
25250 fi
25251
25252
25253
25254
25255
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25257 $as_echo_n "checking for logl declaration... " >&6; }
25258 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25259 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25262
25263
25264 ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25269
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25272 #include <math.h>
25273 #ifdef HAVE_IEEEFP_H
25274 #include <ieeefp.h>
25275 #endif
25276
25277 int
25278 main ()
25279 {
25280 logl(0);
25281 ;
25282 return 0;
25283 }
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286 glibcxx_cv_func_logl_use=yes
25287 else
25288 glibcxx_cv_func_logl_use=no
25289 fi
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296
25297
25298 fi
25299
25300 fi
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25302 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25303
25304 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25305 for ac_func in logl
25306 do :
25307 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25308 if test "x$ac_cv_func_logl" = x""yes; then :
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE_LOGL 1
25311 _ACEOF
25312
25313 fi
25314 done
25315
25316 else
25317
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25319 $as_echo_n "checking for _logl declaration... " >&6; }
25320 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25321 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25324
25325
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25334 #include <math.h>
25335 #ifdef HAVE_IEEEFP_H
25336 #include <ieeefp.h>
25337 #endif
25338
25339 int
25340 main ()
25341 {
25342 _logl(0);
25343 ;
25344 return 0;
25345 }
25346 _ACEOF
25347 if ac_fn_cxx_try_compile "$LINENO"; then :
25348 glibcxx_cv_func__logl_use=yes
25349 else
25350 glibcxx_cv_func__logl_use=no
25351 fi
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25358
25359
25360 fi
25361
25362 fi
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25364 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25365
25366 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25367 for ac_func in _logl
25368 do :
25369 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25370 if test "x$ac_cv_func__logl" = x""yes; then :
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE__LOGL 1
25373 _ACEOF
25374
25375 fi
25376 done
25377
25378 fi
25379 fi
25380
25381
25382
25383
25384
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25386 $as_echo_n "checking for log10l declaration... " >&6; }
25387 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25388 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25389 $as_echo_n "(cached) " >&6
25390 else
25391
25392
25393 ac_ext=cpp
25394 ac_cpp='$CXXCPP $CPPFLAGS'
25395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25398
25399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h. */
25401 #include <math.h>
25402 #ifdef HAVE_IEEEFP_H
25403 #include <ieeefp.h>
25404 #endif
25405
25406 int
25407 main ()
25408 {
25409 log10l(0);
25410 ;
25411 return 0;
25412 }
25413 _ACEOF
25414 if ac_fn_cxx_try_compile "$LINENO"; then :
25415 glibcxx_cv_func_log10l_use=yes
25416 else
25417 glibcxx_cv_func_log10l_use=no
25418 fi
25419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25420 ac_ext=c
25421 ac_cpp='$CPP $CPPFLAGS'
25422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25425
25426
25427 fi
25428
25429 fi
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25431 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25432
25433 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25434 for ac_func in log10l
25435 do :
25436 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25437 if test "x$ac_cv_func_log10l" = x""yes; then :
25438 cat >>confdefs.h <<_ACEOF
25439 #define HAVE_LOG10L 1
25440 _ACEOF
25441
25442 fi
25443 done
25444
25445 else
25446
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25448 $as_echo_n "checking for _log10l declaration... " >&6; }
25449 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25450 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25451 $as_echo_n "(cached) " >&6
25452 else
25453
25454
25455 ac_ext=cpp
25456 ac_cpp='$CXXCPP $CPPFLAGS'
25457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25460
25461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25462 /* end confdefs.h. */
25463 #include <math.h>
25464 #ifdef HAVE_IEEEFP_H
25465 #include <ieeefp.h>
25466 #endif
25467
25468 int
25469 main ()
25470 {
25471 _log10l(0);
25472 ;
25473 return 0;
25474 }
25475 _ACEOF
25476 if ac_fn_cxx_try_compile "$LINENO"; then :
25477 glibcxx_cv_func__log10l_use=yes
25478 else
25479 glibcxx_cv_func__log10l_use=no
25480 fi
25481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25482 ac_ext=c
25483 ac_cpp='$CPP $CPPFLAGS'
25484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25487
25488
25489 fi
25490
25491 fi
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25493 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25494
25495 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25496 for ac_func in _log10l
25497 do :
25498 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25499 if test "x$ac_cv_func__log10l" = x""yes; then :
25500 cat >>confdefs.h <<_ACEOF
25501 #define HAVE__LOG10L 1
25502 _ACEOF
25503
25504 fi
25505 done
25506
25507 fi
25508 fi
25509
25510
25511
25512
25513
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25515 $as_echo_n "checking for modfl declaration... " >&6; }
25516 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25517 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25518 $as_echo_n "(cached) " >&6
25519 else
25520
25521
25522 ac_ext=cpp
25523 ac_cpp='$CXXCPP $CPPFLAGS'
25524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25527
25528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25529 /* end confdefs.h. */
25530 #include <math.h>
25531 int
25532 main ()
25533 {
25534 modfl(0, 0);
25535 ;
25536 return 0;
25537 }
25538 _ACEOF
25539 if ac_fn_cxx_try_compile "$LINENO"; then :
25540 glibcxx_cv_func_modfl_use=yes
25541 else
25542 glibcxx_cv_func_modfl_use=no
25543 fi
25544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25545 ac_ext=c
25546 ac_cpp='$CPP $CPPFLAGS'
25547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25550
25551
25552 fi
25553
25554 fi
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25556 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25557
25558 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25559 for ac_func in modfl
25560 do :
25561 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25562 if test "x$ac_cv_func_modfl" = x""yes; then :
25563 cat >>confdefs.h <<_ACEOF
25564 #define HAVE_MODFL 1
25565 _ACEOF
25566
25567 fi
25568 done
25569
25570 else
25571
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25573 $as_echo_n "checking for _modfl declaration... " >&6; }
25574 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25575 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25576 $as_echo_n "(cached) " >&6
25577 else
25578
25579
25580 ac_ext=cpp
25581 ac_cpp='$CXXCPP $CPPFLAGS'
25582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25585
25586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25587 /* end confdefs.h. */
25588 #include <math.h>
25589 int
25590 main ()
25591 {
25592 _modfl(0, 0);
25593 ;
25594 return 0;
25595 }
25596 _ACEOF
25597 if ac_fn_cxx_try_compile "$LINENO"; then :
25598 glibcxx_cv_func__modfl_use=yes
25599 else
25600 glibcxx_cv_func__modfl_use=no
25601 fi
25602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25603 ac_ext=c
25604 ac_cpp='$CPP $CPPFLAGS'
25605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25608
25609
25610 fi
25611
25612 fi
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25614 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25615
25616 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25617 for ac_func in _modfl
25618 do :
25619 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25620 if test "x$ac_cv_func__modfl" = x""yes; then :
25621 cat >>confdefs.h <<_ACEOF
25622 #define HAVE__MODFL 1
25623 _ACEOF
25624
25625 fi
25626 done
25627
25628 fi
25629 fi
25630
25631
25632
25633
25634
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25636 $as_echo_n "checking for powl declaration... " >&6; }
25637 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25638 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25639 $as_echo_n "(cached) " >&6
25640 else
25641
25642
25643 ac_ext=cpp
25644 ac_cpp='$CXXCPP $CPPFLAGS'
25645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25648
25649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25650 /* end confdefs.h. */
25651 #include <math.h>
25652 int
25653 main ()
25654 {
25655 powl(0, 0);
25656 ;
25657 return 0;
25658 }
25659 _ACEOF
25660 if ac_fn_cxx_try_compile "$LINENO"; then :
25661 glibcxx_cv_func_powl_use=yes
25662 else
25663 glibcxx_cv_func_powl_use=no
25664 fi
25665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25666 ac_ext=c
25667 ac_cpp='$CPP $CPPFLAGS'
25668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25671
25672
25673 fi
25674
25675 fi
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25677 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25678
25679 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25680 for ac_func in powl
25681 do :
25682 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25683 if test "x$ac_cv_func_powl" = x""yes; then :
25684 cat >>confdefs.h <<_ACEOF
25685 #define HAVE_POWL 1
25686 _ACEOF
25687
25688 fi
25689 done
25690
25691 else
25692
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25694 $as_echo_n "checking for _powl declaration... " >&6; }
25695 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25696 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25697 $as_echo_n "(cached) " >&6
25698 else
25699
25700
25701 ac_ext=cpp
25702 ac_cpp='$CXXCPP $CPPFLAGS'
25703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25706
25707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25708 /* end confdefs.h. */
25709 #include <math.h>
25710 int
25711 main ()
25712 {
25713 _powl(0, 0);
25714 ;
25715 return 0;
25716 }
25717 _ACEOF
25718 if ac_fn_cxx_try_compile "$LINENO"; then :
25719 glibcxx_cv_func__powl_use=yes
25720 else
25721 glibcxx_cv_func__powl_use=no
25722 fi
25723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25724 ac_ext=c
25725 ac_cpp='$CPP $CPPFLAGS'
25726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25729
25730
25731 fi
25732
25733 fi
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25735 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25736
25737 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25738 for ac_func in _powl
25739 do :
25740 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25741 if test "x$ac_cv_func__powl" = x""yes; then :
25742 cat >>confdefs.h <<_ACEOF
25743 #define HAVE__POWL 1
25744 _ACEOF
25745
25746 fi
25747 done
25748
25749 fi
25750 fi
25751
25752
25753
25754
25755
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25757 $as_echo_n "checking for sqrtl declaration... " >&6; }
25758 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25759 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25760 $as_echo_n "(cached) " >&6
25761 else
25762
25763
25764 ac_ext=cpp
25765 ac_cpp='$CXXCPP $CPPFLAGS'
25766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25769
25770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25771 /* end confdefs.h. */
25772 #include <math.h>
25773 #ifdef HAVE_IEEEFP_H
25774 #include <ieeefp.h>
25775 #endif
25776
25777 int
25778 main ()
25779 {
25780 sqrtl(0);
25781 ;
25782 return 0;
25783 }
25784 _ACEOF
25785 if ac_fn_cxx_try_compile "$LINENO"; then :
25786 glibcxx_cv_func_sqrtl_use=yes
25787 else
25788 glibcxx_cv_func_sqrtl_use=no
25789 fi
25790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25791 ac_ext=c
25792 ac_cpp='$CPP $CPPFLAGS'
25793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25796
25797
25798 fi
25799
25800 fi
25801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25802 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25803
25804 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25805 for ac_func in sqrtl
25806 do :
25807 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25808 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25809 cat >>confdefs.h <<_ACEOF
25810 #define HAVE_SQRTL 1
25811 _ACEOF
25812
25813 fi
25814 done
25815
25816 else
25817
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25819 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25820 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25821 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25822 $as_echo_n "(cached) " >&6
25823 else
25824
25825
25826 ac_ext=cpp
25827 ac_cpp='$CXXCPP $CPPFLAGS'
25828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25831
25832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25833 /* end confdefs.h. */
25834 #include <math.h>
25835 #ifdef HAVE_IEEEFP_H
25836 #include <ieeefp.h>
25837 #endif
25838
25839 int
25840 main ()
25841 {
25842 _sqrtl(0);
25843 ;
25844 return 0;
25845 }
25846 _ACEOF
25847 if ac_fn_cxx_try_compile "$LINENO"; then :
25848 glibcxx_cv_func__sqrtl_use=yes
25849 else
25850 glibcxx_cv_func__sqrtl_use=no
25851 fi
25852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25853 ac_ext=c
25854 ac_cpp='$CPP $CPPFLAGS'
25855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25858
25859
25860 fi
25861
25862 fi
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25864 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25865
25866 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25867 for ac_func in _sqrtl
25868 do :
25869 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25870 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25871 cat >>confdefs.h <<_ACEOF
25872 #define HAVE__SQRTL 1
25873 _ACEOF
25874
25875 fi
25876 done
25877
25878 fi
25879 fi
25880
25881
25882
25883
25884
25885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25886 $as_echo_n "checking for sincosl declaration... " >&6; }
25887 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25888 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25889 $as_echo_n "(cached) " >&6
25890 else
25891
25892
25893 ac_ext=cpp
25894 ac_cpp='$CXXCPP $CPPFLAGS'
25895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25898
25899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25900 /* end confdefs.h. */
25901 #include <math.h>
25902 int
25903 main ()
25904 {
25905 sincosl(0, 0, 0);
25906 ;
25907 return 0;
25908 }
25909 _ACEOF
25910 if ac_fn_cxx_try_compile "$LINENO"; then :
25911 glibcxx_cv_func_sincosl_use=yes
25912 else
25913 glibcxx_cv_func_sincosl_use=no
25914 fi
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25916 ac_ext=c
25917 ac_cpp='$CPP $CPPFLAGS'
25918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25921
25922
25923 fi
25924
25925 fi
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25927 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25928
25929 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25930 for ac_func in sincosl
25931 do :
25932 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25933 if test "x$ac_cv_func_sincosl" = x""yes; then :
25934 cat >>confdefs.h <<_ACEOF
25935 #define HAVE_SINCOSL 1
25936 _ACEOF
25937
25938 fi
25939 done
25940
25941 else
25942
25943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25944 $as_echo_n "checking for _sincosl declaration... " >&6; }
25945 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25946 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25947 $as_echo_n "(cached) " >&6
25948 else
25949
25950
25951 ac_ext=cpp
25952 ac_cpp='$CXXCPP $CPPFLAGS'
25953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25956
25957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25958 /* end confdefs.h. */
25959 #include <math.h>
25960 int
25961 main ()
25962 {
25963 _sincosl(0, 0, 0);
25964 ;
25965 return 0;
25966 }
25967 _ACEOF
25968 if ac_fn_cxx_try_compile "$LINENO"; then :
25969 glibcxx_cv_func__sincosl_use=yes
25970 else
25971 glibcxx_cv_func__sincosl_use=no
25972 fi
25973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25974 ac_ext=c
25975 ac_cpp='$CPP $CPPFLAGS'
25976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25979
25980
25981 fi
25982
25983 fi
25984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25985 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25986
25987 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25988 for ac_func in _sincosl
25989 do :
25990 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25991 if test "x$ac_cv_func__sincosl" = x""yes; then :
25992 cat >>confdefs.h <<_ACEOF
25993 #define HAVE__SINCOSL 1
25994 _ACEOF
25995
25996 fi
25997 done
25998
25999 fi
26000 fi
26001
26002
26003
26004
26005
26006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26007 $as_echo_n "checking for finitel declaration... " >&6; }
26008 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26009 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26010 $as_echo_n "(cached) " >&6
26011 else
26012
26013
26014 ac_ext=cpp
26015 ac_cpp='$CXXCPP $CPPFLAGS'
26016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26019
26020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26021 /* end confdefs.h. */
26022 #include <math.h>
26023 #ifdef HAVE_IEEEFP_H
26024 #include <ieeefp.h>
26025 #endif
26026
26027 int
26028 main ()
26029 {
26030 finitel(0);
26031 ;
26032 return 0;
26033 }
26034 _ACEOF
26035 if ac_fn_cxx_try_compile "$LINENO"; then :
26036 glibcxx_cv_func_finitel_use=yes
26037 else
26038 glibcxx_cv_func_finitel_use=no
26039 fi
26040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041 ac_ext=c
26042 ac_cpp='$CPP $CPPFLAGS'
26043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26046
26047
26048 fi
26049
26050 fi
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26052 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26053
26054 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26055 for ac_func in finitel
26056 do :
26057 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26058 if test "x$ac_cv_func_finitel" = x""yes; then :
26059 cat >>confdefs.h <<_ACEOF
26060 #define HAVE_FINITEL 1
26061 _ACEOF
26062
26063 fi
26064 done
26065
26066 else
26067
26068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26069 $as_echo_n "checking for _finitel declaration... " >&6; }
26070 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26071 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26072 $as_echo_n "(cached) " >&6
26073 else
26074
26075
26076 ac_ext=cpp
26077 ac_cpp='$CXXCPP $CPPFLAGS'
26078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26081
26082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26083 /* end confdefs.h. */
26084 #include <math.h>
26085 #ifdef HAVE_IEEEFP_H
26086 #include <ieeefp.h>
26087 #endif
26088
26089 int
26090 main ()
26091 {
26092 _finitel(0);
26093 ;
26094 return 0;
26095 }
26096 _ACEOF
26097 if ac_fn_cxx_try_compile "$LINENO"; then :
26098 glibcxx_cv_func__finitel_use=yes
26099 else
26100 glibcxx_cv_func__finitel_use=no
26101 fi
26102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26103 ac_ext=c
26104 ac_cpp='$CPP $CPPFLAGS'
26105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26108
26109
26110 fi
26111
26112 fi
26113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26114 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26115
26116 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26117 for ac_func in _finitel
26118 do :
26119 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26120 if test "x$ac_cv_func__finitel" = x""yes; then :
26121 cat >>confdefs.h <<_ACEOF
26122 #define HAVE__FINITEL 1
26123 _ACEOF
26124
26125 fi
26126 done
26127
26128 fi
26129 fi
26130
26131
26132
26133
26134 LIBS="$ac_save_LIBS"
26135 CXXFLAGS="$ac_save_CXXFLAGS"
26136
26137
26138 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26139 ac_save_CXXFLAGS="$CXXFLAGS"
26140 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26141
26142
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26144 $as_echo_n "checking for strtold declaration... " >&6; }
26145 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26146 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26147 $as_echo_n "(cached) " >&6
26148 else
26149
26150
26151 ac_ext=cpp
26152 ac_cpp='$CXXCPP $CPPFLAGS'
26153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26156
26157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26158 /* end confdefs.h. */
26159 #include <stdlib.h>
26160 int
26161 main ()
26162 {
26163 strtold(0, 0);
26164 ;
26165 return 0;
26166 }
26167 _ACEOF
26168 if ac_fn_cxx_try_compile "$LINENO"; then :
26169 glibcxx_cv_func_strtold_use=yes
26170 else
26171 glibcxx_cv_func_strtold_use=no
26172 fi
26173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26174 ac_ext=c
26175 ac_cpp='$CPP $CPPFLAGS'
26176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26179
26180
26181 fi
26182
26183 fi
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26185 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26186 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26187 for ac_func in strtold
26188 do :
26189 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26190 if test "x$ac_cv_func_strtold" = x""yes; then :
26191 cat >>confdefs.h <<_ACEOF
26192 #define HAVE_STRTOLD 1
26193 _ACEOF
26194
26195 fi
26196 done
26197
26198 fi
26199
26200
26201
26202
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26204 $as_echo_n "checking for strtof declaration... " >&6; }
26205 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26206 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26207 $as_echo_n "(cached) " >&6
26208 else
26209
26210
26211 ac_ext=cpp
26212 ac_cpp='$CXXCPP $CPPFLAGS'
26213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26216
26217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26218 /* end confdefs.h. */
26219 #include <stdlib.h>
26220 int
26221 main ()
26222 {
26223 strtof(0, 0);
26224 ;
26225 return 0;
26226 }
26227 _ACEOF
26228 if ac_fn_cxx_try_compile "$LINENO"; then :
26229 glibcxx_cv_func_strtof_use=yes
26230 else
26231 glibcxx_cv_func_strtof_use=no
26232 fi
26233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26234 ac_ext=c
26235 ac_cpp='$CPP $CPPFLAGS'
26236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26239
26240
26241 fi
26242
26243 fi
26244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26245 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26246 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26247 for ac_func in strtof
26248 do :
26249 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26250 if test "x$ac_cv_func_strtof" = x""yes; then :
26251 cat >>confdefs.h <<_ACEOF
26252 #define HAVE_STRTOF 1
26253 _ACEOF
26254
26255 fi
26256 done
26257
26258 fi
26259
26260
26261
26262
26263 CXXFLAGS="$ac_save_CXXFLAGS"
26264
26265
26266 # For /dev/random and /dev/urandom for TR1.
26267
26268
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26270 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26271 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26272 $as_echo_n "(cached) " >&6
26273 else
26274
26275 if test -r /dev/random && test -r /dev/urandom; then
26276 glibcxx_cv_random_tr1=yes;
26277 else
26278 glibcxx_cv_random_tr1=no;
26279 fi
26280
26281 fi
26282
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26284 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26285
26286 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26287
26288 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26289
26290 fi
26291
26292
26293
26294 # For TLS support.
26295
26296
26297 # Check whether --enable-tls was given.
26298 if test "${enable_tls+set}" = set; then :
26299 enableval=$enable_tls;
26300 case "$enableval" in
26301 yes|no) ;;
26302 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26303 esac
26304
26305 else
26306 enable_tls=yes
26307 fi
26308
26309
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26311 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26312 if test "${gcc_cv_have_tls+set}" = set; then :
26313 $as_echo_n "(cached) " >&6
26314 else
26315
26316 if test "$cross_compiling" = yes; then :
26317 if test x$gcc_no_link = xyes; then
26318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26319 fi
26320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26321 /* end confdefs.h. */
26322 __thread int a; int b; int main() { return a = b; }
26323 _ACEOF
26324 if ac_fn_c_try_link "$LINENO"; then :
26325 chktls_save_LDFLAGS="$LDFLAGS"
26326 case $host in
26327 *-*-linux*)
26328 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26329 ;;
26330 esac
26331 chktls_save_CFLAGS="$CFLAGS"
26332 CFLAGS="-fPIC $CFLAGS"
26333 if test x$gcc_no_link = xyes; then
26334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26335 fi
26336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26338 int f() { return 0; }
26339 _ACEOF
26340 if ac_fn_c_try_link "$LINENO"; then :
26341 if test x$gcc_no_link = xyes; then
26342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26343 fi
26344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26345 /* end confdefs.h. */
26346 __thread int a; int b; int f() { return a = b; }
26347 _ACEOF
26348 if ac_fn_c_try_link "$LINENO"; then :
26349 gcc_cv_have_tls=yes
26350 else
26351 gcc_cv_have_tls=no
26352 fi
26353 rm -f core conftest.err conftest.$ac_objext \
26354 conftest$ac_exeext conftest.$ac_ext
26355 else
26356 gcc_cv_have_tls=yes
26357 fi
26358 rm -f core conftest.err conftest.$ac_objext \
26359 conftest$ac_exeext conftest.$ac_ext
26360 CFLAGS="$chktls_save_CFLAGS"
26361 LDFLAGS="$chktls_save_LDFLAGS"
26362 else
26363 gcc_cv_have_tls=no
26364 fi
26365 rm -f core conftest.err conftest.$ac_objext \
26366 conftest$ac_exeext conftest.$ac_ext
26367
26368
26369 else
26370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26371 /* end confdefs.h. */
26372 __thread int a; int b; int main() { return a = b; }
26373 _ACEOF
26374 if ac_fn_c_try_run "$LINENO"; then :
26375 chktls_save_LDFLAGS="$LDFLAGS"
26376 LDFLAGS="-static $LDFLAGS"
26377 if test x$gcc_no_link = xyes; then
26378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26379 fi
26380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26381 /* end confdefs.h. */
26382 int main() { return 0; }
26383 _ACEOF
26384 if ac_fn_c_try_link "$LINENO"; then :
26385 if test "$cross_compiling" = yes; then :
26386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26388 as_fn_error "cannot run test program while cross compiling
26389 See \`config.log' for more details." "$LINENO" 5; }
26390 else
26391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26392 /* end confdefs.h. */
26393 __thread int a; int b; int main() { return a = b; }
26394 _ACEOF
26395 if ac_fn_c_try_run "$LINENO"; then :
26396 gcc_cv_have_tls=yes
26397 else
26398 gcc_cv_have_tls=no
26399 fi
26400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26401 conftest.$ac_objext conftest.beam conftest.$ac_ext
26402 fi
26403
26404 else
26405 gcc_cv_have_tls=yes
26406 fi
26407 rm -f core conftest.err conftest.$ac_objext \
26408 conftest$ac_exeext conftest.$ac_ext
26409 LDFLAGS="$chktls_save_LDFLAGS"
26410 if test $gcc_cv_have_tls = yes; then
26411 chktls_save_CFLAGS="$CFLAGS"
26412 thread_CFLAGS=failed
26413 for flag in '' '-pthread' '-lpthread'; do
26414 CFLAGS="$flag $chktls_save_CFLAGS"
26415 if test x$gcc_no_link = xyes; then
26416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26417 fi
26418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26419 /* end confdefs.h. */
26420 #include <pthread.h>
26421 void *g(void *d) { return NULL; }
26422 int
26423 main ()
26424 {
26425 pthread_t t; pthread_create(&t,NULL,g,NULL);
26426 ;
26427 return 0;
26428 }
26429 _ACEOF
26430 if ac_fn_c_try_link "$LINENO"; then :
26431 thread_CFLAGS="$flag"
26432 fi
26433 rm -f core conftest.err conftest.$ac_objext \
26434 conftest$ac_exeext conftest.$ac_ext
26435 if test "X$thread_CFLAGS" != Xfailed; then
26436 break
26437 fi
26438 done
26439 CFLAGS="$chktls_save_CFLAGS"
26440 if test "X$thread_CFLAGS" != Xfailed; then
26441 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26442 if test "$cross_compiling" = yes; then :
26443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26445 as_fn_error "cannot run test program while cross compiling
26446 See \`config.log' for more details." "$LINENO" 5; }
26447 else
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450 #include <pthread.h>
26451 __thread int a;
26452 static int *volatile a_in_other_thread;
26453 static void *
26454 thread_func (void *arg)
26455 {
26456 a_in_other_thread = &a;
26457 return (void *)0;
26458 }
26459 int
26460 main ()
26461 {
26462 pthread_t thread;
26463 void *thread_retval;
26464 int *volatile a_in_main_thread;
26465 a_in_main_thread = &a;
26466 if (pthread_create (&thread, (pthread_attr_t *)0,
26467 thread_func, (void *)0))
26468 return 0;
26469 if (pthread_join (thread, &thread_retval))
26470 return 0;
26471 return (a_in_other_thread == a_in_main_thread);
26472 ;
26473 return 0;
26474 }
26475 _ACEOF
26476 if ac_fn_c_try_run "$LINENO"; then :
26477 gcc_cv_have_tls=yes
26478 else
26479 gcc_cv_have_tls=no
26480 fi
26481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26482 conftest.$ac_objext conftest.beam conftest.$ac_ext
26483 fi
26484
26485 CFLAGS="$chktls_save_CFLAGS"
26486 fi
26487 fi
26488 else
26489 gcc_cv_have_tls=no
26490 fi
26491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26492 conftest.$ac_objext conftest.beam conftest.$ac_ext
26493 fi
26494
26495 fi
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26497 $as_echo "$gcc_cv_have_tls" >&6; }
26498 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26499
26500 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26501
26502 fi
26503
26504 # For iconv support.
26505
26506 if test "X$prefix" = "XNONE"; then
26507 acl_final_prefix="$ac_default_prefix"
26508 else
26509 acl_final_prefix="$prefix"
26510 fi
26511 if test "X$exec_prefix" = "XNONE"; then
26512 acl_final_exec_prefix='${prefix}'
26513 else
26514 acl_final_exec_prefix="$exec_prefix"
26515 fi
26516 acl_save_prefix="$prefix"
26517 prefix="$acl_final_prefix"
26518 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26519 prefix="$acl_save_prefix"
26520
26521
26522 # Check whether --with-gnu-ld was given.
26523 if test "${with_gnu_ld+set}" = set; then :
26524 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26525 else
26526 with_gnu_ld=no
26527 fi
26528
26529 # Prepare PATH_SEPARATOR.
26530 # The user is always right.
26531 if test "${PATH_SEPARATOR+set}" != set; then
26532 echo "#! /bin/sh" >conf$$.sh
26533 echo "exit 0" >>conf$$.sh
26534 chmod +x conf$$.sh
26535 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26536 PATH_SEPARATOR=';'
26537 else
26538 PATH_SEPARATOR=:
26539 fi
26540 rm -f conf$$.sh
26541 fi
26542 ac_prog=ld
26543 if test "$GCC" = yes; then
26544 # Check if gcc -print-prog-name=ld gives a path.
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26546 $as_echo_n "checking for ld used by GCC... " >&6; }
26547 case $host in
26548 *-*-mingw*)
26549 # gcc leaves a trailing carriage return which upsets mingw
26550 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26551 *)
26552 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26553 esac
26554 case $ac_prog in
26555 # Accept absolute paths.
26556 [\\/]* | [A-Za-z]:[\\/]*)
26557 re_direlt='/[^/][^/]*/\.\./'
26558 # Canonicalize the path of ld
26559 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26560 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26561 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26562 done
26563 test -z "$LD" && LD="$ac_prog"
26564 ;;
26565 "")
26566 # If it fails, then pretend we aren't using GCC.
26567 ac_prog=ld
26568 ;;
26569 *)
26570 # If it is relative, then search for the first ld in PATH.
26571 with_gnu_ld=unknown
26572 ;;
26573 esac
26574 elif test "$with_gnu_ld" = yes; then
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26576 $as_echo_n "checking for GNU ld... " >&6; }
26577 else
26578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26579 $as_echo_n "checking for non-GNU ld... " >&6; }
26580 fi
26581 if test "${acl_cv_path_LD+set}" = set; then :
26582 $as_echo_n "(cached) " >&6
26583 else
26584 if test -z "$LD"; then
26585 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26586 for ac_dir in $PATH; do
26587 test -z "$ac_dir" && ac_dir=.
26588 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26589 acl_cv_path_LD="$ac_dir/$ac_prog"
26590 # Check to see if the program is GNU ld. I'd rather use --version,
26591 # but apparently some GNU ld's only accept -v.
26592 # Break only if it was the GNU/non-GNU ld that we prefer.
26593 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26594 test "$with_gnu_ld" != no && break
26595 else
26596 test "$with_gnu_ld" != yes && break
26597 fi
26598 fi
26599 done
26600 IFS="$ac_save_ifs"
26601 else
26602 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26603 fi
26604 fi
26605
26606 LD="$acl_cv_path_LD"
26607 if test -n "$LD"; then
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26609 $as_echo "$LD" >&6; }
26610 else
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26612 $as_echo "no" >&6; }
26613 fi
26614 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26616 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26617 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26618 $as_echo_n "(cached) " >&6
26619 else
26620 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26621 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26622 acl_cv_prog_gnu_ld=yes
26623 else
26624 acl_cv_prog_gnu_ld=no
26625 fi
26626 fi
26627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26628 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26629 with_gnu_ld=$acl_cv_prog_gnu_ld
26630
26631
26632
26633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26634 $as_echo_n "checking for shared library run path origin... " >&6; }
26635 if test "${acl_cv_rpath+set}" = set; then :
26636 $as_echo_n "(cached) " >&6
26637 else
26638
26639 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26640 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26641 . ./conftest.sh
26642 rm -f ./conftest.sh
26643 acl_cv_rpath=done
26644
26645 fi
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26647 $as_echo "$acl_cv_rpath" >&6; }
26648 wl="$acl_cv_wl"
26649 libext="$acl_cv_libext"
26650 shlibext="$acl_cv_shlibext"
26651 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26652 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26653 hardcode_direct="$acl_cv_hardcode_direct"
26654 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26655 # Check whether --enable-rpath was given.
26656 if test "${enable_rpath+set}" = set; then :
26657 enableval=$enable_rpath; :
26658 else
26659 enable_rpath=yes
26660 fi
26661
26662
26663
26664
26665
26666
26667
26668
26669 use_additional=yes
26670
26671 acl_save_prefix="$prefix"
26672 prefix="$acl_final_prefix"
26673 acl_save_exec_prefix="$exec_prefix"
26674 exec_prefix="$acl_final_exec_prefix"
26675
26676 eval additional_includedir=\"$includedir\"
26677 eval additional_libdir=\"$libdir\"
26678
26679 exec_prefix="$acl_save_exec_prefix"
26680 prefix="$acl_save_prefix"
26681
26682
26683 # Check whether --with-libiconv-prefix was given.
26684 if test "${with_libiconv_prefix+set}" = set; then :
26685 withval=$with_libiconv_prefix;
26686 if test "X$withval" = "Xno"; then
26687 use_additional=no
26688 else
26689 if test "X$withval" = "X"; then
26690
26691 acl_save_prefix="$prefix"
26692 prefix="$acl_final_prefix"
26693 acl_save_exec_prefix="$exec_prefix"
26694 exec_prefix="$acl_final_exec_prefix"
26695
26696 eval additional_includedir=\"$includedir\"
26697 eval additional_libdir=\"$libdir\"
26698
26699 exec_prefix="$acl_save_exec_prefix"
26700 prefix="$acl_save_prefix"
26701
26702 else
26703 additional_includedir="$withval/include"
26704 additional_libdir="$withval/lib"
26705 fi
26706 fi
26707
26708 fi
26709
26710 LIBICONV=
26711 LTLIBICONV=
26712 INCICONV=
26713 rpathdirs=
26714 ltrpathdirs=
26715 names_already_handled=
26716 names_next_round='iconv '
26717 while test -n "$names_next_round"; do
26718 names_this_round="$names_next_round"
26719 names_next_round=
26720 for name in $names_this_round; do
26721 already_handled=
26722 for n in $names_already_handled; do
26723 if test "$n" = "$name"; then
26724 already_handled=yes
26725 break
26726 fi
26727 done
26728 if test -z "$already_handled"; then
26729 names_already_handled="$names_already_handled $name"
26730 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26731 eval value=\"\$HAVE_LIB$uppername\"
26732 if test -n "$value"; then
26733 if test "$value" = yes; then
26734 eval value=\"\$LIB$uppername\"
26735 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26736 eval value=\"\$LTLIB$uppername\"
26737 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26738 else
26739 :
26740 fi
26741 else
26742 found_dir=
26743 found_la=
26744 found_so=
26745 found_a=
26746 if test $use_additional = yes; then
26747 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26748 found_dir="$additional_libdir"
26749 found_so="$additional_libdir/lib$name.$shlibext"
26750 if test -f "$additional_libdir/lib$name.la"; then
26751 found_la="$additional_libdir/lib$name.la"
26752 fi
26753 else
26754 if test -f "$additional_libdir/lib$name.$libext"; then
26755 found_dir="$additional_libdir"
26756 found_a="$additional_libdir/lib$name.$libext"
26757 if test -f "$additional_libdir/lib$name.la"; then
26758 found_la="$additional_libdir/lib$name.la"
26759 fi
26760 fi
26761 fi
26762 fi
26763 if test "X$found_dir" = "X"; then
26764 for x in $LDFLAGS $LTLIBICONV; do
26765
26766 acl_save_prefix="$prefix"
26767 prefix="$acl_final_prefix"
26768 acl_save_exec_prefix="$exec_prefix"
26769 exec_prefix="$acl_final_exec_prefix"
26770 eval x=\"$x\"
26771 exec_prefix="$acl_save_exec_prefix"
26772 prefix="$acl_save_prefix"
26773
26774 case "$x" in
26775 -L*)
26776 dir=`echo "X$x" | sed -e 's/^X-L//'`
26777 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26778 found_dir="$dir"
26779 found_so="$dir/lib$name.$shlibext"
26780 if test -f "$dir/lib$name.la"; then
26781 found_la="$dir/lib$name.la"
26782 fi
26783 else
26784 if test -f "$dir/lib$name.$libext"; then
26785 found_dir="$dir"
26786 found_a="$dir/lib$name.$libext"
26787 if test -f "$dir/lib$name.la"; then
26788 found_la="$dir/lib$name.la"
26789 fi
26790 fi
26791 fi
26792 ;;
26793 esac
26794 if test "X$found_dir" != "X"; then
26795 break
26796 fi
26797 done
26798 fi
26799 if test "X$found_dir" != "X"; then
26800 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26801 if test "X$found_so" != "X"; then
26802 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26803 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26804 else
26805 haveit=
26806 for x in $ltrpathdirs; do
26807 if test "X$x" = "X$found_dir"; then
26808 haveit=yes
26809 break
26810 fi
26811 done
26812 if test -z "$haveit"; then
26813 ltrpathdirs="$ltrpathdirs $found_dir"
26814 fi
26815 if test "$hardcode_direct" = yes; then
26816 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26817 else
26818 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26819 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26820 haveit=
26821 for x in $rpathdirs; do
26822 if test "X$x" = "X$found_dir"; then
26823 haveit=yes
26824 break
26825 fi
26826 done
26827 if test -z "$haveit"; then
26828 rpathdirs="$rpathdirs $found_dir"
26829 fi
26830 else
26831 haveit=
26832 for x in $LDFLAGS $LIBICONV; do
26833
26834 acl_save_prefix="$prefix"
26835 prefix="$acl_final_prefix"
26836 acl_save_exec_prefix="$exec_prefix"
26837 exec_prefix="$acl_final_exec_prefix"
26838 eval x=\"$x\"
26839 exec_prefix="$acl_save_exec_prefix"
26840 prefix="$acl_save_prefix"
26841
26842 if test "X$x" = "X-L$found_dir"; then
26843 haveit=yes
26844 break
26845 fi
26846 done
26847 if test -z "$haveit"; then
26848 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26849 fi
26850 if test "$hardcode_minus_L" != no; then
26851 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26852 else
26853 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26854 fi
26855 fi
26856 fi
26857 fi
26858 else
26859 if test "X$found_a" != "X"; then
26860 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26861 else
26862 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26863 fi
26864 fi
26865 additional_includedir=
26866 case "$found_dir" in
26867 */lib | */lib/)
26868 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26869 additional_includedir="$basedir/include"
26870 ;;
26871 esac
26872 if test "X$additional_includedir" != "X"; then
26873 if test "X$additional_includedir" != "X/usr/include"; then
26874 haveit=
26875 if test "X$additional_includedir" = "X/usr/local/include"; then
26876 if test -n "$GCC"; then
26877 case $host_os in
26878 linux*) haveit=yes;;
26879 esac
26880 fi
26881 fi
26882 if test -z "$haveit"; then
26883 for x in $CPPFLAGS $INCICONV; do
26884
26885 acl_save_prefix="$prefix"
26886 prefix="$acl_final_prefix"
26887 acl_save_exec_prefix="$exec_prefix"
26888 exec_prefix="$acl_final_exec_prefix"
26889 eval x=\"$x\"
26890 exec_prefix="$acl_save_exec_prefix"
26891 prefix="$acl_save_prefix"
26892
26893 if test "X$x" = "X-I$additional_includedir"; then
26894 haveit=yes
26895 break
26896 fi
26897 done
26898 if test -z "$haveit"; then
26899 if test -d "$additional_includedir"; then
26900 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26901 fi
26902 fi
26903 fi
26904 fi
26905 fi
26906 if test -n "$found_la"; then
26907 save_libdir="$libdir"
26908 case "$found_la" in
26909 */* | *\\*) . "$found_la" ;;
26910 *) . "./$found_la" ;;
26911 esac
26912 libdir="$save_libdir"
26913 for dep in $dependency_libs; do
26914 case "$dep" in
26915 -L*)
26916 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26917 if test "X$additional_libdir" != "X/usr/lib"; then
26918 haveit=
26919 if test "X$additional_libdir" = "X/usr/local/lib"; then
26920 if test -n "$GCC"; then
26921 case $host_os in
26922 linux*) haveit=yes;;
26923 esac
26924 fi
26925 fi
26926 if test -z "$haveit"; then
26927 haveit=
26928 for x in $LDFLAGS $LIBICONV; do
26929
26930 acl_save_prefix="$prefix"
26931 prefix="$acl_final_prefix"
26932 acl_save_exec_prefix="$exec_prefix"
26933 exec_prefix="$acl_final_exec_prefix"
26934 eval x=\"$x\"
26935 exec_prefix="$acl_save_exec_prefix"
26936 prefix="$acl_save_prefix"
26937
26938 if test "X$x" = "X-L$additional_libdir"; then
26939 haveit=yes
26940 break
26941 fi
26942 done
26943 if test -z "$haveit"; then
26944 if test -d "$additional_libdir"; then
26945 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26946 fi
26947 fi
26948 haveit=
26949 for x in $LDFLAGS $LTLIBICONV; do
26950
26951 acl_save_prefix="$prefix"
26952 prefix="$acl_final_prefix"
26953 acl_save_exec_prefix="$exec_prefix"
26954 exec_prefix="$acl_final_exec_prefix"
26955 eval x=\"$x\"
26956 exec_prefix="$acl_save_exec_prefix"
26957 prefix="$acl_save_prefix"
26958
26959 if test "X$x" = "X-L$additional_libdir"; then
26960 haveit=yes
26961 break
26962 fi
26963 done
26964 if test -z "$haveit"; then
26965 if test -d "$additional_libdir"; then
26966 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26967 fi
26968 fi
26969 fi
26970 fi
26971 ;;
26972 -R*)
26973 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26974 if test "$enable_rpath" != no; then
26975 haveit=
26976 for x in $rpathdirs; do
26977 if test "X$x" = "X$dir"; then
26978 haveit=yes
26979 break
26980 fi
26981 done
26982 if test -z "$haveit"; then
26983 rpathdirs="$rpathdirs $dir"
26984 fi
26985 haveit=
26986 for x in $ltrpathdirs; do
26987 if test "X$x" = "X$dir"; then
26988 haveit=yes
26989 break
26990 fi
26991 done
26992 if test -z "$haveit"; then
26993 ltrpathdirs="$ltrpathdirs $dir"
26994 fi
26995 fi
26996 ;;
26997 -l*)
26998 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26999 ;;
27000 *.la)
27001 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27002 ;;
27003 *)
27004 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27005 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27006 ;;
27007 esac
27008 done
27009 fi
27010 else
27011 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27012 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27013 fi
27014 fi
27015 fi
27016 done
27017 done
27018 if test "X$rpathdirs" != "X"; then
27019 if test -n "$hardcode_libdir_separator"; then
27020 alldirs=
27021 for found_dir in $rpathdirs; do
27022 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27023 done
27024 acl_save_libdir="$libdir"
27025 libdir="$alldirs"
27026 eval flag=\"$hardcode_libdir_flag_spec\"
27027 libdir="$acl_save_libdir"
27028 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27029 else
27030 for found_dir in $rpathdirs; do
27031 acl_save_libdir="$libdir"
27032 libdir="$found_dir"
27033 eval flag=\"$hardcode_libdir_flag_spec\"
27034 libdir="$acl_save_libdir"
27035 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27036 done
27037 fi
27038 fi
27039 if test "X$ltrpathdirs" != "X"; then
27040 for found_dir in $ltrpathdirs; do
27041 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27042 done
27043 fi
27044
27045
27046
27047
27048
27049
27050
27051 am_save_CPPFLAGS="$CPPFLAGS"
27052
27053 for element in $INCICONV; do
27054 haveit=
27055 for x in $CPPFLAGS; do
27056
27057 acl_save_prefix="$prefix"
27058 prefix="$acl_final_prefix"
27059 acl_save_exec_prefix="$exec_prefix"
27060 exec_prefix="$acl_final_exec_prefix"
27061 eval x=\"$x\"
27062 exec_prefix="$acl_save_exec_prefix"
27063 prefix="$acl_save_prefix"
27064
27065 if test "X$x" = "X$element"; then
27066 haveit=yes
27067 break
27068 fi
27069 done
27070 if test -z "$haveit"; then
27071 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27072 fi
27073 done
27074
27075
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27077 $as_echo_n "checking for iconv... " >&6; }
27078 if test "${am_cv_func_iconv+set}" = set; then :
27079 $as_echo_n "(cached) " >&6
27080 else
27081
27082 am_cv_func_iconv="no, consider installing GNU libiconv"
27083 am_cv_lib_iconv=no
27084 if test x$gcc_no_link = xyes; then
27085 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27086 fi
27087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27088 /* end confdefs.h. */
27089 #include <stdlib.h>
27090 #include <iconv.h>
27091 int
27092 main ()
27093 {
27094 iconv_t cd = iconv_open("","");
27095 iconv(cd,NULL,NULL,NULL,NULL);
27096 iconv_close(cd);
27097 ;
27098 return 0;
27099 }
27100 _ACEOF
27101 if ac_fn_c_try_link "$LINENO"; then :
27102 am_cv_func_iconv=yes
27103 fi
27104 rm -f core conftest.err conftest.$ac_objext \
27105 conftest$ac_exeext conftest.$ac_ext
27106 if test "$am_cv_func_iconv" != yes; then
27107 am_save_LIBS="$LIBS"
27108 LIBS="$LIBS $LIBICONV"
27109 if test x$gcc_no_link = xyes; then
27110 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27111 fi
27112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27113 /* end confdefs.h. */
27114 #include <stdlib.h>
27115 #include <iconv.h>
27116 int
27117 main ()
27118 {
27119 iconv_t cd = iconv_open("","");
27120 iconv(cd,NULL,NULL,NULL,NULL);
27121 iconv_close(cd);
27122 ;
27123 return 0;
27124 }
27125 _ACEOF
27126 if ac_fn_c_try_link "$LINENO"; then :
27127 am_cv_lib_iconv=yes
27128 am_cv_func_iconv=yes
27129 fi
27130 rm -f core conftest.err conftest.$ac_objext \
27131 conftest$ac_exeext conftest.$ac_ext
27132 LIBS="$am_save_LIBS"
27133 fi
27134
27135 fi
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27137 $as_echo "$am_cv_func_iconv" >&6; }
27138 if test "$am_cv_func_iconv" = yes; then
27139
27140 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27141
27142 fi
27143 if test "$am_cv_lib_iconv" = yes; then
27144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27145 $as_echo_n "checking how to link with libiconv... " >&6; }
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27147 $as_echo "$LIBICONV" >&6; }
27148 else
27149 CPPFLAGS="$am_save_CPPFLAGS"
27150 LIBICONV=
27151 LTLIBICONV=
27152 fi
27153
27154
27155
27156 if test "$am_cv_func_iconv" = yes; then
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27158 $as_echo_n "checking for iconv declaration... " >&6; }
27159 if test "${am_cv_proto_iconv+set}" = set; then :
27160 $as_echo_n "(cached) " >&6
27161 else
27162
27163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27164 /* end confdefs.h. */
27165
27166 #include <stdlib.h>
27167 #include <iconv.h>
27168 extern
27169 #ifdef __cplusplus
27170 "C"
27171 #endif
27172 #if defined(__STDC__) || defined(__cplusplus)
27173 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27174 #else
27175 size_t iconv();
27176 #endif
27177
27178 int
27179 main ()
27180 {
27181
27182 ;
27183 return 0;
27184 }
27185 _ACEOF
27186 if ac_fn_c_try_compile "$LINENO"; then :
27187 am_cv_proto_iconv_arg1=""
27188 else
27189 am_cv_proto_iconv_arg1="const"
27190 fi
27191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27192 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);"
27193 fi
27194
27195 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27197 }$am_cv_proto_iconv" >&5
27198 $as_echo "${ac_t:-
27199 }$am_cv_proto_iconv" >&6; }
27200
27201 cat >>confdefs.h <<_ACEOF
27202 #define ICONV_CONST $am_cv_proto_iconv_arg1
27203 _ACEOF
27204
27205 fi
27206
27207
27208 else
27209
27210 # This lets us hard-code the functionality we know we'll have in the cross
27211 # target environment. "Let" is a sugar-coated word placed on an especially
27212 # dull and tedious hack, actually.
27213 #
27214 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27215 # that involve linking, can't be used:
27216 # "cannot open sim-crt0.o"
27217 # "cannot open crt0.o"
27218 # etc. All this is because there currently exists no unified, consistent
27219 # way for top level CC information to be passed down to target directories:
27220 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27221 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27222 # crosses can be removed.
27223
27224 # If Canadian cross, then don't pick up tools from the build directory.
27225 # Used only in GLIBCXX_EXPORT_INCLUDES.
27226 if test -n "$with_cross_host" &&
27227 test x"$build_alias" != x"$with_cross_host" &&
27228 test x"$build" != x"$target";
27229 then
27230 CANADIAN=yes
27231 else
27232 CANADIAN=no
27233 fi
27234
27235 # Construct crosses by hand, eliminating bits that need ld...
27236 # GLIBCXX_CHECK_MATH_SUPPORT
27237
27238 # First, test for "known" system libraries. We may be using newlib even
27239 # on a hosted environment.
27240 if test "x${with_newlib}" = "xyes"; then
27241 os_include_dir="os/newlib"
27242 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27243
27244
27245 # GLIBCXX_CHECK_STDLIB_SUPPORT
27246 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27247
27248
27249 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27250
27251 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27252
27253 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27254
27255 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27256
27257 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27258
27259 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27260
27261 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27262
27263 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27264
27265 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27266
27267 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27268
27269 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27270
27271 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27272
27273 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27274
27275 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27276
27277 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27278
27279 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27280
27281 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27282
27283 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27284
27285 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27286
27287 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27288
27289 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27290
27291 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27292
27293
27294 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27295
27296 else
27297
27298 # Base decisions on target environment.
27299 case "${host}" in
27300 arm*-*-symbianelf*)
27301 # This is a freestanding configuration; there is nothing to do here.
27302 ;;
27303
27304 mips*-sde-elf*)
27305 # These definitions are for the SDE C library rather than newlib.
27306 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27307
27308
27309 # All these tests are for C++; save the language and the compiler flags.
27310 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27311 # found in GLIBCXX_CONFIGURE.
27312
27313 ac_ext=cpp
27314 ac_cpp='$CXXCPP $CPPFLAGS'
27315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27318
27319 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27320 ac_save_CXXFLAGS="$CXXFLAGS"
27321
27322 # Check for maintainer-mode bits.
27323 if test x"$USE_MAINTAINER_MODE" = xno; then
27324 WERROR=''
27325 else
27326 WERROR='-Werror'
27327 fi
27328
27329 # Check for -ffunction-sections -fdata-sections
27330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27331 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27332 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27334 /* end confdefs.h. */
27335 int foo; void bar() { };
27336 int
27337 main ()
27338 {
27339
27340 ;
27341 return 0;
27342 }
27343 _ACEOF
27344 if ac_fn_cxx_try_compile "$LINENO"; then :
27345 ac_fdsections=yes
27346 else
27347 ac_fdsections=no
27348 fi
27349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27350 if test "$ac_test_CXXFLAGS" = set; then
27351 CXXFLAGS="$ac_save_CXXFLAGS"
27352 else
27353 # this is the suspicious part
27354 CXXFLAGS=''
27355 fi
27356 if test x"$ac_fdsections" = x"yes"; then
27357 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27358 fi
27359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27360 $as_echo "$ac_fdsections" >&6; }
27361
27362 ac_ext=c
27363 ac_cpp='$CPP $CPPFLAGS'
27364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27367
27368
27369
27370
27371
27372 # If we're not using GNU ld, then there's no point in even trying these
27373 # tests. Check for that first. We should have already tested for gld
27374 # by now (in libtool), but require it now just to be safe...
27375 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27376 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27377
27378
27379
27380 # The name set by libtool depends on the version of libtool. Shame on us
27381 # for depending on an impl detail, but c'est la vie. Older versions used
27382 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27383 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27384 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27385 # set (hence we're using an older libtool), then set it.
27386 if test x${with_gnu_ld+set} != xset; then
27387 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27388 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27389 with_gnu_ld=no
27390 else
27391 with_gnu_ld=$ac_cv_prog_gnu_ld
27392 fi
27393 fi
27394
27395 # Start by getting the version number. I think the libtool test already
27396 # does some of this, but throws away the result.
27397 glibcxx_ld_is_gold=no
27398 if test x"$with_gnu_ld" = x"yes"; then
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27400 $as_echo_n "checking for ld version... " >&6; }
27401
27402 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27403 glibcxx_ld_is_gold=yes
27404 fi
27405 ldver=`$LD --version 2>/dev/null |
27406 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'`
27407
27408 glibcxx_gnu_ld_version=`echo $ldver | \
27409 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27411 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27412 fi
27413
27414 # Set --gc-sections.
27415 glibcxx_have_gc_sections=no
27416 if test "$glibcxx_ld_is_gold" = "yes"; then
27417 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27418 glibcxx_have_gc_sections=yes
27419 fi
27420 else
27421 glibcxx_gcsections_min_ld=21602
27422 if test x"$with_gnu_ld" = x"yes" &&
27423 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27424 glibcxx_have_gc_sections=yes
27425 fi
27426 fi
27427 if test "$glibcxx_have_gc_sections" = "yes"; then
27428 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27429 # NB: This flag only works reliably after 2.16.1. Configure tests
27430 # for this are difficult, so hard wire a value that should work.
27431
27432 ac_test_CFLAGS="${CFLAGS+set}"
27433 ac_save_CFLAGS="$CFLAGS"
27434 CFLAGS='-Wl,--gc-sections'
27435
27436 # Check for -Wl,--gc-sections
27437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27438 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27439 if test x$gcc_no_link = xyes; then
27440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27441 fi
27442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h. */
27444 int one(void) { return 1; }
27445 int two(void) { return 2; }
27446
27447 int
27448 main ()
27449 {
27450 two();
27451 ;
27452 return 0;
27453 }
27454 _ACEOF
27455 if ac_fn_c_try_link "$LINENO"; then :
27456 ac_gcsections=yes
27457 else
27458 ac_gcsections=no
27459 fi
27460 rm -f core conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27462 if test "$ac_gcsections" = "yes"; then
27463 rm -f conftest.c
27464 touch conftest.c
27465 if $CC -c conftest.c; then
27466 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27467 grep "Warning: gc-sections option ignored" > /dev/null; then
27468 ac_gcsections=no
27469 fi
27470 fi
27471 rm -f conftest.c conftest.o conftest
27472 fi
27473 if test "$ac_gcsections" = "yes"; then
27474 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27475 fi
27476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27477 $as_echo "$ac_gcsections" >&6; }
27478
27479 if test "$ac_test_CFLAGS" = set; then
27480 CFLAGS="$ac_save_CFLAGS"
27481 else
27482 # this is the suspicious part
27483 CFLAGS=''
27484 fi
27485 fi
27486
27487 # Set -z,relro.
27488 # Note this is only for shared objects.
27489 ac_ld_relro=no
27490 if test x"$with_gnu_ld" = x"yes"; then
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27492 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27493 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27494 if test -n "$cxx_z_relo"; then
27495 OPT_LDFLAGS="-Wl,-z,relro"
27496 ac_ld_relro=yes
27497 fi
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27499 $as_echo "$ac_ld_relro" >&6; }
27500 fi
27501
27502 # Set linker optimization flags.
27503 if test x"$with_gnu_ld" = x"yes"; then
27504 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27505 fi
27506
27507
27508
27509
27510
27511 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27512 ac_save_CXXFLAGS="$CXXFLAGS"
27513 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27514
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27516 $as_echo_n "checking for sin in -lm... " >&6; }
27517 if test "${ac_cv_lib_m_sin+set}" = set; then :
27518 $as_echo_n "(cached) " >&6
27519 else
27520 ac_check_lib_save_LIBS=$LIBS
27521 LIBS="-lm $LIBS"
27522 if test x$gcc_no_link = xyes; then
27523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27524 fi
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27526 /* end confdefs.h. */
27527
27528 /* Override any GCC internal prototype to avoid an error.
27529 Use char because int might match the return type of a GCC
27530 builtin and then its argument prototype would still apply. */
27531 #ifdef __cplusplus
27532 extern "C"
27533 #endif
27534 char sin ();
27535 int
27536 main ()
27537 {
27538 return sin ();
27539 ;
27540 return 0;
27541 }
27542 _ACEOF
27543 if ac_fn_c_try_link "$LINENO"; then :
27544 ac_cv_lib_m_sin=yes
27545 else
27546 ac_cv_lib_m_sin=no
27547 fi
27548 rm -f core conftest.err conftest.$ac_objext \
27549 conftest$ac_exeext conftest.$ac_ext
27550 LIBS=$ac_check_lib_save_LIBS
27551 fi
27552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27553 $as_echo "$ac_cv_lib_m_sin" >&6; }
27554 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27555 libm="-lm"
27556 fi
27557
27558 ac_save_LIBS="$LIBS"
27559 LIBS="$LIBS $libm"
27560
27561
27562
27563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27564 $as_echo_n "checking for isinf declaration... " >&6; }
27565 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27566 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27567 $as_echo_n "(cached) " >&6
27568 else
27569
27570
27571 ac_ext=cpp
27572 ac_cpp='$CXXCPP $CPPFLAGS'
27573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27576
27577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27578 /* end confdefs.h. */
27579 #include <math.h>
27580 #ifdef HAVE_IEEEFP_H
27581 #include <ieeefp.h>
27582 #endif
27583
27584 int
27585 main ()
27586 {
27587 isinf(0);
27588 ;
27589 return 0;
27590 }
27591 _ACEOF
27592 if ac_fn_cxx_try_compile "$LINENO"; then :
27593 glibcxx_cv_func_isinf_use=yes
27594 else
27595 glibcxx_cv_func_isinf_use=no
27596 fi
27597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27598 ac_ext=c
27599 ac_cpp='$CPP $CPPFLAGS'
27600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27603
27604
27605 fi
27606
27607 fi
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27609 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27610
27611 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27612 for ac_func in isinf
27613 do :
27614 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27615 if test "x$ac_cv_func_isinf" = x""yes; then :
27616 cat >>confdefs.h <<_ACEOF
27617 #define HAVE_ISINF 1
27618 _ACEOF
27619
27620 fi
27621 done
27622
27623 else
27624
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27626 $as_echo_n "checking for _isinf declaration... " >&6; }
27627 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27628 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27629 $as_echo_n "(cached) " >&6
27630 else
27631
27632
27633 ac_ext=cpp
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27638
27639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27640 /* end confdefs.h. */
27641 #include <math.h>
27642 #ifdef HAVE_IEEEFP_H
27643 #include <ieeefp.h>
27644 #endif
27645
27646 int
27647 main ()
27648 {
27649 _isinf(0);
27650 ;
27651 return 0;
27652 }
27653 _ACEOF
27654 if ac_fn_cxx_try_compile "$LINENO"; then :
27655 glibcxx_cv_func__isinf_use=yes
27656 else
27657 glibcxx_cv_func__isinf_use=no
27658 fi
27659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27660 ac_ext=c
27661 ac_cpp='$CPP $CPPFLAGS'
27662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27665
27666
27667 fi
27668
27669 fi
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27671 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27672
27673 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27674 for ac_func in _isinf
27675 do :
27676 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27677 if test "x$ac_cv_func__isinf" = x""yes; then :
27678 cat >>confdefs.h <<_ACEOF
27679 #define HAVE__ISINF 1
27680 _ACEOF
27681
27682 fi
27683 done
27684
27685 fi
27686 fi
27687
27688
27689
27690
27691
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27693 $as_echo_n "checking for isnan declaration... " >&6; }
27694 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27695 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27696 $as_echo_n "(cached) " >&6
27697 else
27698
27699
27700 ac_ext=cpp
27701 ac_cpp='$CXXCPP $CPPFLAGS'
27702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27705
27706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27707 /* end confdefs.h. */
27708 #include <math.h>
27709 #ifdef HAVE_IEEEFP_H
27710 #include <ieeefp.h>
27711 #endif
27712
27713 int
27714 main ()
27715 {
27716 isnan(0);
27717 ;
27718 return 0;
27719 }
27720 _ACEOF
27721 if ac_fn_cxx_try_compile "$LINENO"; then :
27722 glibcxx_cv_func_isnan_use=yes
27723 else
27724 glibcxx_cv_func_isnan_use=no
27725 fi
27726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27727 ac_ext=c
27728 ac_cpp='$CPP $CPPFLAGS'
27729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27732
27733
27734 fi
27735
27736 fi
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27738 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27739
27740 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27741 for ac_func in isnan
27742 do :
27743 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27744 if test "x$ac_cv_func_isnan" = x""yes; then :
27745 cat >>confdefs.h <<_ACEOF
27746 #define HAVE_ISNAN 1
27747 _ACEOF
27748
27749 fi
27750 done
27751
27752 else
27753
27754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27755 $as_echo_n "checking for _isnan declaration... " >&6; }
27756 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27757 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27758 $as_echo_n "(cached) " >&6
27759 else
27760
27761
27762 ac_ext=cpp
27763 ac_cpp='$CXXCPP $CPPFLAGS'
27764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27767
27768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27769 /* end confdefs.h. */
27770 #include <math.h>
27771 #ifdef HAVE_IEEEFP_H
27772 #include <ieeefp.h>
27773 #endif
27774
27775 int
27776 main ()
27777 {
27778 _isnan(0);
27779 ;
27780 return 0;
27781 }
27782 _ACEOF
27783 if ac_fn_cxx_try_compile "$LINENO"; then :
27784 glibcxx_cv_func__isnan_use=yes
27785 else
27786 glibcxx_cv_func__isnan_use=no
27787 fi
27788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27789 ac_ext=c
27790 ac_cpp='$CPP $CPPFLAGS'
27791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27794
27795
27796 fi
27797
27798 fi
27799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27800 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27801
27802 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27803 for ac_func in _isnan
27804 do :
27805 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27806 if test "x$ac_cv_func__isnan" = x""yes; then :
27807 cat >>confdefs.h <<_ACEOF
27808 #define HAVE__ISNAN 1
27809 _ACEOF
27810
27811 fi
27812 done
27813
27814 fi
27815 fi
27816
27817
27818
27819
27820
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27822 $as_echo_n "checking for finite declaration... " >&6; }
27823 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27824 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27825 $as_echo_n "(cached) " >&6
27826 else
27827
27828
27829 ac_ext=cpp
27830 ac_cpp='$CXXCPP $CPPFLAGS'
27831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27834
27835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27836 /* end confdefs.h. */
27837 #include <math.h>
27838 #ifdef HAVE_IEEEFP_H
27839 #include <ieeefp.h>
27840 #endif
27841
27842 int
27843 main ()
27844 {
27845 finite(0);
27846 ;
27847 return 0;
27848 }
27849 _ACEOF
27850 if ac_fn_cxx_try_compile "$LINENO"; then :
27851 glibcxx_cv_func_finite_use=yes
27852 else
27853 glibcxx_cv_func_finite_use=no
27854 fi
27855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27856 ac_ext=c
27857 ac_cpp='$CPP $CPPFLAGS'
27858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27861
27862
27863 fi
27864
27865 fi
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27867 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27868
27869 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27870 for ac_func in finite
27871 do :
27872 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27873 if test "x$ac_cv_func_finite" = x""yes; then :
27874 cat >>confdefs.h <<_ACEOF
27875 #define HAVE_FINITE 1
27876 _ACEOF
27877
27878 fi
27879 done
27880
27881 else
27882
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27884 $as_echo_n "checking for _finite declaration... " >&6; }
27885 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27886 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27887 $as_echo_n "(cached) " >&6
27888 else
27889
27890
27891 ac_ext=cpp
27892 ac_cpp='$CXXCPP $CPPFLAGS'
27893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27896
27897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27898 /* end confdefs.h. */
27899 #include <math.h>
27900 #ifdef HAVE_IEEEFP_H
27901 #include <ieeefp.h>
27902 #endif
27903
27904 int
27905 main ()
27906 {
27907 _finite(0);
27908 ;
27909 return 0;
27910 }
27911 _ACEOF
27912 if ac_fn_cxx_try_compile "$LINENO"; then :
27913 glibcxx_cv_func__finite_use=yes
27914 else
27915 glibcxx_cv_func__finite_use=no
27916 fi
27917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27918 ac_ext=c
27919 ac_cpp='$CPP $CPPFLAGS'
27920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27923
27924
27925 fi
27926
27927 fi
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27929 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27930
27931 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27932 for ac_func in _finite
27933 do :
27934 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27935 if test "x$ac_cv_func__finite" = x""yes; then :
27936 cat >>confdefs.h <<_ACEOF
27937 #define HAVE__FINITE 1
27938 _ACEOF
27939
27940 fi
27941 done
27942
27943 fi
27944 fi
27945
27946
27947
27948
27949
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27951 $as_echo_n "checking for sincos declaration... " >&6; }
27952 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27953 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27954 $as_echo_n "(cached) " >&6
27955 else
27956
27957
27958 ac_ext=cpp
27959 ac_cpp='$CXXCPP $CPPFLAGS'
27960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27963
27964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27965 /* end confdefs.h. */
27966 #include <math.h>
27967 int
27968 main ()
27969 {
27970 sincos(0, 0, 0);
27971 ;
27972 return 0;
27973 }
27974 _ACEOF
27975 if ac_fn_cxx_try_compile "$LINENO"; then :
27976 glibcxx_cv_func_sincos_use=yes
27977 else
27978 glibcxx_cv_func_sincos_use=no
27979 fi
27980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27981 ac_ext=c
27982 ac_cpp='$CPP $CPPFLAGS'
27983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27986
27987
27988 fi
27989
27990 fi
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27992 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27993
27994 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27995 for ac_func in sincos
27996 do :
27997 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27998 if test "x$ac_cv_func_sincos" = x""yes; then :
27999 cat >>confdefs.h <<_ACEOF
28000 #define HAVE_SINCOS 1
28001 _ACEOF
28002
28003 fi
28004 done
28005
28006 else
28007
28008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28009 $as_echo_n "checking for _sincos declaration... " >&6; }
28010 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28011 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28012 $as_echo_n "(cached) " >&6
28013 else
28014
28015
28016 ac_ext=cpp
28017 ac_cpp='$CXXCPP $CPPFLAGS'
28018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28021
28022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28023 /* end confdefs.h. */
28024 #include <math.h>
28025 int
28026 main ()
28027 {
28028 _sincos(0, 0, 0);
28029 ;
28030 return 0;
28031 }
28032 _ACEOF
28033 if ac_fn_cxx_try_compile "$LINENO"; then :
28034 glibcxx_cv_func__sincos_use=yes
28035 else
28036 glibcxx_cv_func__sincos_use=no
28037 fi
28038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28039 ac_ext=c
28040 ac_cpp='$CPP $CPPFLAGS'
28041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28044
28045
28046 fi
28047
28048 fi
28049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28050 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28051
28052 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28053 for ac_func in _sincos
28054 do :
28055 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28056 if test "x$ac_cv_func__sincos" = x""yes; then :
28057 cat >>confdefs.h <<_ACEOF
28058 #define HAVE__SINCOS 1
28059 _ACEOF
28060
28061 fi
28062 done
28063
28064 fi
28065 fi
28066
28067
28068
28069
28070
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28072 $as_echo_n "checking for fpclass declaration... " >&6; }
28073 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28074 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28075 $as_echo_n "(cached) " >&6
28076 else
28077
28078
28079 ac_ext=cpp
28080 ac_cpp='$CXXCPP $CPPFLAGS'
28081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28084
28085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28086 /* end confdefs.h. */
28087 #include <math.h>
28088 #ifdef HAVE_IEEEFP_H
28089 #include <ieeefp.h>
28090 #endif
28091
28092 int
28093 main ()
28094 {
28095 fpclass(0);
28096 ;
28097 return 0;
28098 }
28099 _ACEOF
28100 if ac_fn_cxx_try_compile "$LINENO"; then :
28101 glibcxx_cv_func_fpclass_use=yes
28102 else
28103 glibcxx_cv_func_fpclass_use=no
28104 fi
28105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28106 ac_ext=c
28107 ac_cpp='$CPP $CPPFLAGS'
28108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28111
28112
28113 fi
28114
28115 fi
28116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28117 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28118
28119 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28120 for ac_func in fpclass
28121 do :
28122 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28123 if test "x$ac_cv_func_fpclass" = x""yes; then :
28124 cat >>confdefs.h <<_ACEOF
28125 #define HAVE_FPCLASS 1
28126 _ACEOF
28127
28128 fi
28129 done
28130
28131 else
28132
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28134 $as_echo_n "checking for _fpclass declaration... " >&6; }
28135 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28136 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28137 $as_echo_n "(cached) " >&6
28138 else
28139
28140
28141 ac_ext=cpp
28142 ac_cpp='$CXXCPP $CPPFLAGS'
28143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28146
28147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28148 /* end confdefs.h. */
28149 #include <math.h>
28150 #ifdef HAVE_IEEEFP_H
28151 #include <ieeefp.h>
28152 #endif
28153
28154 int
28155 main ()
28156 {
28157 _fpclass(0);
28158 ;
28159 return 0;
28160 }
28161 _ACEOF
28162 if ac_fn_cxx_try_compile "$LINENO"; then :
28163 glibcxx_cv_func__fpclass_use=yes
28164 else
28165 glibcxx_cv_func__fpclass_use=no
28166 fi
28167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28168 ac_ext=c
28169 ac_cpp='$CPP $CPPFLAGS'
28170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28173
28174
28175 fi
28176
28177 fi
28178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28179 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28180
28181 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28182 for ac_func in _fpclass
28183 do :
28184 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28185 if test "x$ac_cv_func__fpclass" = x""yes; then :
28186 cat >>confdefs.h <<_ACEOF
28187 #define HAVE__FPCLASS 1
28188 _ACEOF
28189
28190 fi
28191 done
28192
28193 fi
28194 fi
28195
28196
28197
28198
28199
28200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28201 $as_echo_n "checking for qfpclass declaration... " >&6; }
28202 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28203 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28204 $as_echo_n "(cached) " >&6
28205 else
28206
28207
28208 ac_ext=cpp
28209 ac_cpp='$CXXCPP $CPPFLAGS'
28210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28213
28214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28215 /* end confdefs.h. */
28216 #include <math.h>
28217 #ifdef HAVE_IEEEFP_H
28218 #include <ieeefp.h>
28219 #endif
28220
28221 int
28222 main ()
28223 {
28224 qfpclass(0);
28225 ;
28226 return 0;
28227 }
28228 _ACEOF
28229 if ac_fn_cxx_try_compile "$LINENO"; then :
28230 glibcxx_cv_func_qfpclass_use=yes
28231 else
28232 glibcxx_cv_func_qfpclass_use=no
28233 fi
28234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28235 ac_ext=c
28236 ac_cpp='$CPP $CPPFLAGS'
28237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28240
28241
28242 fi
28243
28244 fi
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28246 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28247
28248 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28249 for ac_func in qfpclass
28250 do :
28251 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28252 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28253 cat >>confdefs.h <<_ACEOF
28254 #define HAVE_QFPCLASS 1
28255 _ACEOF
28256
28257 fi
28258 done
28259
28260 else
28261
28262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28263 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28264 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28265 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28266 $as_echo_n "(cached) " >&6
28267 else
28268
28269
28270 ac_ext=cpp
28271 ac_cpp='$CXXCPP $CPPFLAGS'
28272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28275
28276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28277 /* end confdefs.h. */
28278 #include <math.h>
28279 #ifdef HAVE_IEEEFP_H
28280 #include <ieeefp.h>
28281 #endif
28282
28283 int
28284 main ()
28285 {
28286 _qfpclass(0);
28287 ;
28288 return 0;
28289 }
28290 _ACEOF
28291 if ac_fn_cxx_try_compile "$LINENO"; then :
28292 glibcxx_cv_func__qfpclass_use=yes
28293 else
28294 glibcxx_cv_func__qfpclass_use=no
28295 fi
28296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28297 ac_ext=c
28298 ac_cpp='$CPP $CPPFLAGS'
28299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28302
28303
28304 fi
28305
28306 fi
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28308 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28309
28310 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28311 for ac_func in _qfpclass
28312 do :
28313 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28314 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28315 cat >>confdefs.h <<_ACEOF
28316 #define HAVE__QFPCLASS 1
28317 _ACEOF
28318
28319 fi
28320 done
28321
28322 fi
28323 fi
28324
28325
28326
28327
28328
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28330 $as_echo_n "checking for hypot declaration... " >&6; }
28331 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28332 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28333 $as_echo_n "(cached) " >&6
28334 else
28335
28336
28337 ac_ext=cpp
28338 ac_cpp='$CXXCPP $CPPFLAGS'
28339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28342
28343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28344 /* end confdefs.h. */
28345 #include <math.h>
28346 int
28347 main ()
28348 {
28349 hypot(0, 0);
28350 ;
28351 return 0;
28352 }
28353 _ACEOF
28354 if ac_fn_cxx_try_compile "$LINENO"; then :
28355 glibcxx_cv_func_hypot_use=yes
28356 else
28357 glibcxx_cv_func_hypot_use=no
28358 fi
28359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28360 ac_ext=c
28361 ac_cpp='$CPP $CPPFLAGS'
28362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28365
28366
28367 fi
28368
28369 fi
28370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28371 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28372
28373 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28374 for ac_func in hypot
28375 do :
28376 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28377 if test "x$ac_cv_func_hypot" = x""yes; then :
28378 cat >>confdefs.h <<_ACEOF
28379 #define HAVE_HYPOT 1
28380 _ACEOF
28381
28382 fi
28383 done
28384
28385 else
28386
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28388 $as_echo_n "checking for _hypot declaration... " >&6; }
28389 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28390 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28391 $as_echo_n "(cached) " >&6
28392 else
28393
28394
28395 ac_ext=cpp
28396 ac_cpp='$CXXCPP $CPPFLAGS'
28397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28400
28401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28402 /* end confdefs.h. */
28403 #include <math.h>
28404 int
28405 main ()
28406 {
28407 _hypot(0, 0);
28408 ;
28409 return 0;
28410 }
28411 _ACEOF
28412 if ac_fn_cxx_try_compile "$LINENO"; then :
28413 glibcxx_cv_func__hypot_use=yes
28414 else
28415 glibcxx_cv_func__hypot_use=no
28416 fi
28417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28418 ac_ext=c
28419 ac_cpp='$CPP $CPPFLAGS'
28420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28423
28424
28425 fi
28426
28427 fi
28428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28429 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28430
28431 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28432 for ac_func in _hypot
28433 do :
28434 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28435 if test "x$ac_cv_func__hypot" = x""yes; then :
28436 cat >>confdefs.h <<_ACEOF
28437 #define HAVE__HYPOT 1
28438 _ACEOF
28439
28440 fi
28441 done
28442
28443 fi
28444 fi
28445
28446
28447
28448
28449
28450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28451 $as_echo_n "checking for float trig functions... " >&6; }
28452 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28453 $as_echo_n "(cached) " >&6
28454 else
28455
28456
28457 ac_ext=cpp
28458 ac_cpp='$CXXCPP $CPPFLAGS'
28459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28462
28463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28464 /* end confdefs.h. */
28465 #include <math.h>
28466 int
28467 main ()
28468 {
28469 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28470 ;
28471 return 0;
28472 }
28473 _ACEOF
28474 if ac_fn_cxx_try_compile "$LINENO"; then :
28475 glibcxx_cv_func_float_trig_use=yes
28476 else
28477 glibcxx_cv_func_float_trig_use=no
28478 fi
28479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28480 ac_ext=c
28481 ac_cpp='$CPP $CPPFLAGS'
28482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28485
28486 fi
28487
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28489 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28490 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28491 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28492 do :
28493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28495 eval as_val=\$$as_ac_var
28496 if test "x$as_val" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28499 _ACEOF
28500
28501 fi
28502 done
28503
28504 else
28505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28506 $as_echo_n "checking for _float trig functions... " >&6; }
28507 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28508 $as_echo_n "(cached) " >&6
28509 else
28510
28511
28512 ac_ext=cpp
28513 ac_cpp='$CXXCPP $CPPFLAGS'
28514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28517
28518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28519 /* end confdefs.h. */
28520 #include <math.h>
28521 int
28522 main ()
28523 {
28524 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28525 ;
28526 return 0;
28527 }
28528 _ACEOF
28529 if ac_fn_cxx_try_compile "$LINENO"; then :
28530 glibcxx_cv_func__float_trig_use=yes
28531 else
28532 glibcxx_cv_func__float_trig_use=no
28533 fi
28534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28535 ac_ext=c
28536 ac_cpp='$CPP $CPPFLAGS'
28537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28540
28541 fi
28542
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28544 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28545 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28546 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28547 do :
28548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28550 eval as_val=\$$as_ac_var
28551 if test "x$as_val" = x""yes; then :
28552 cat >>confdefs.h <<_ACEOF
28553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28554 _ACEOF
28555
28556 fi
28557 done
28558
28559 fi
28560 fi
28561
28562
28563
28564
28565
28566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28567 $as_echo_n "checking for float round functions... " >&6; }
28568 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28569 $as_echo_n "(cached) " >&6
28570 else
28571
28572
28573 ac_ext=cpp
28574 ac_cpp='$CXXCPP $CPPFLAGS'
28575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28578
28579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28580 /* end confdefs.h. */
28581 #include <math.h>
28582 int
28583 main ()
28584 {
28585 ceilf (0); floorf (0);
28586 ;
28587 return 0;
28588 }
28589 _ACEOF
28590 if ac_fn_cxx_try_compile "$LINENO"; then :
28591 glibcxx_cv_func_float_round_use=yes
28592 else
28593 glibcxx_cv_func_float_round_use=no
28594 fi
28595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28596 ac_ext=c
28597 ac_cpp='$CPP $CPPFLAGS'
28598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28601
28602 fi
28603
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28605 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28606 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28607 for ac_func in ceilf floorf
28608 do :
28609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28611 eval as_val=\$$as_ac_var
28612 if test "x$as_val" = x""yes; then :
28613 cat >>confdefs.h <<_ACEOF
28614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28615 _ACEOF
28616
28617 fi
28618 done
28619
28620 else
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28622 $as_echo_n "checking for _float round functions... " >&6; }
28623 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28624 $as_echo_n "(cached) " >&6
28625 else
28626
28627
28628 ac_ext=cpp
28629 ac_cpp='$CXXCPP $CPPFLAGS'
28630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28633
28634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28635 /* end confdefs.h. */
28636 #include <math.h>
28637 int
28638 main ()
28639 {
28640 _ceilf (0); _floorf (0);
28641 ;
28642 return 0;
28643 }
28644 _ACEOF
28645 if ac_fn_cxx_try_compile "$LINENO"; then :
28646 glibcxx_cv_func__float_round_use=yes
28647 else
28648 glibcxx_cv_func__float_round_use=no
28649 fi
28650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28651 ac_ext=c
28652 ac_cpp='$CPP $CPPFLAGS'
28653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28656
28657 fi
28658
28659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28660 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28661 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28662 for ac_func in _ceilf _floorf
28663 do :
28664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28666 eval as_val=\$$as_ac_var
28667 if test "x$as_val" = x""yes; then :
28668 cat >>confdefs.h <<_ACEOF
28669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28670 _ACEOF
28671
28672 fi
28673 done
28674
28675 fi
28676 fi
28677
28678
28679
28680
28681
28682
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28684 $as_echo_n "checking for expf declaration... " >&6; }
28685 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28686 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28687 $as_echo_n "(cached) " >&6
28688 else
28689
28690
28691 ac_ext=cpp
28692 ac_cpp='$CXXCPP $CPPFLAGS'
28693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28696
28697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28698 /* end confdefs.h. */
28699 #include <math.h>
28700 #ifdef HAVE_IEEEFP_H
28701 #include <ieeefp.h>
28702 #endif
28703
28704 int
28705 main ()
28706 {
28707 expf(0);
28708 ;
28709 return 0;
28710 }
28711 _ACEOF
28712 if ac_fn_cxx_try_compile "$LINENO"; then :
28713 glibcxx_cv_func_expf_use=yes
28714 else
28715 glibcxx_cv_func_expf_use=no
28716 fi
28717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28718 ac_ext=c
28719 ac_cpp='$CPP $CPPFLAGS'
28720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28723
28724
28725 fi
28726
28727 fi
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28729 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28730
28731 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28732 for ac_func in expf
28733 do :
28734 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28735 if test "x$ac_cv_func_expf" = x""yes; then :
28736 cat >>confdefs.h <<_ACEOF
28737 #define HAVE_EXPF 1
28738 _ACEOF
28739
28740 fi
28741 done
28742
28743 else
28744
28745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28746 $as_echo_n "checking for _expf declaration... " >&6; }
28747 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28748 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28749 $as_echo_n "(cached) " >&6
28750 else
28751
28752
28753 ac_ext=cpp
28754 ac_cpp='$CXXCPP $CPPFLAGS'
28755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28758
28759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28760 /* end confdefs.h. */
28761 #include <math.h>
28762 #ifdef HAVE_IEEEFP_H
28763 #include <ieeefp.h>
28764 #endif
28765
28766 int
28767 main ()
28768 {
28769 _expf(0);
28770 ;
28771 return 0;
28772 }
28773 _ACEOF
28774 if ac_fn_cxx_try_compile "$LINENO"; then :
28775 glibcxx_cv_func__expf_use=yes
28776 else
28777 glibcxx_cv_func__expf_use=no
28778 fi
28779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28780 ac_ext=c
28781 ac_cpp='$CPP $CPPFLAGS'
28782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28785
28786
28787 fi
28788
28789 fi
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28791 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28792
28793 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28794 for ac_func in _expf
28795 do :
28796 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28797 if test "x$ac_cv_func__expf" = x""yes; then :
28798 cat >>confdefs.h <<_ACEOF
28799 #define HAVE__EXPF 1
28800 _ACEOF
28801
28802 fi
28803 done
28804
28805 fi
28806 fi
28807
28808
28809
28810
28811
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28813 $as_echo_n "checking for isnanf declaration... " >&6; }
28814 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28815 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28816 $as_echo_n "(cached) " >&6
28817 else
28818
28819
28820 ac_ext=cpp
28821 ac_cpp='$CXXCPP $CPPFLAGS'
28822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825
28826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28827 /* end confdefs.h. */
28828 #include <math.h>
28829 #ifdef HAVE_IEEEFP_H
28830 #include <ieeefp.h>
28831 #endif
28832
28833 int
28834 main ()
28835 {
28836 isnanf(0);
28837 ;
28838 return 0;
28839 }
28840 _ACEOF
28841 if ac_fn_cxx_try_compile "$LINENO"; then :
28842 glibcxx_cv_func_isnanf_use=yes
28843 else
28844 glibcxx_cv_func_isnanf_use=no
28845 fi
28846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28847 ac_ext=c
28848 ac_cpp='$CPP $CPPFLAGS'
28849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28852
28853
28854 fi
28855
28856 fi
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28858 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28859
28860 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28861 for ac_func in isnanf
28862 do :
28863 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28864 if test "x$ac_cv_func_isnanf" = x""yes; then :
28865 cat >>confdefs.h <<_ACEOF
28866 #define HAVE_ISNANF 1
28867 _ACEOF
28868
28869 fi
28870 done
28871
28872 else
28873
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28875 $as_echo_n "checking for _isnanf declaration... " >&6; }
28876 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28877 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28878 $as_echo_n "(cached) " >&6
28879 else
28880
28881
28882 ac_ext=cpp
28883 ac_cpp='$CXXCPP $CPPFLAGS'
28884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28887
28888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28889 /* end confdefs.h. */
28890 #include <math.h>
28891 #ifdef HAVE_IEEEFP_H
28892 #include <ieeefp.h>
28893 #endif
28894
28895 int
28896 main ()
28897 {
28898 _isnanf(0);
28899 ;
28900 return 0;
28901 }
28902 _ACEOF
28903 if ac_fn_cxx_try_compile "$LINENO"; then :
28904 glibcxx_cv_func__isnanf_use=yes
28905 else
28906 glibcxx_cv_func__isnanf_use=no
28907 fi
28908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28909 ac_ext=c
28910 ac_cpp='$CPP $CPPFLAGS'
28911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28914
28915
28916 fi
28917
28918 fi
28919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28920 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28921
28922 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28923 for ac_func in _isnanf
28924 do :
28925 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28926 if test "x$ac_cv_func__isnanf" = x""yes; then :
28927 cat >>confdefs.h <<_ACEOF
28928 #define HAVE__ISNANF 1
28929 _ACEOF
28930
28931 fi
28932 done
28933
28934 fi
28935 fi
28936
28937
28938
28939
28940
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28942 $as_echo_n "checking for isinff declaration... " >&6; }
28943 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28944 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28945 $as_echo_n "(cached) " >&6
28946 else
28947
28948
28949 ac_ext=cpp
28950 ac_cpp='$CXXCPP $CPPFLAGS'
28951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28954
28955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28956 /* end confdefs.h. */
28957 #include <math.h>
28958 #ifdef HAVE_IEEEFP_H
28959 #include <ieeefp.h>
28960 #endif
28961
28962 int
28963 main ()
28964 {
28965 isinff(0);
28966 ;
28967 return 0;
28968 }
28969 _ACEOF
28970 if ac_fn_cxx_try_compile "$LINENO"; then :
28971 glibcxx_cv_func_isinff_use=yes
28972 else
28973 glibcxx_cv_func_isinff_use=no
28974 fi
28975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28976 ac_ext=c
28977 ac_cpp='$CPP $CPPFLAGS'
28978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28981
28982
28983 fi
28984
28985 fi
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28987 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28988
28989 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28990 for ac_func in isinff
28991 do :
28992 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28993 if test "x$ac_cv_func_isinff" = x""yes; then :
28994 cat >>confdefs.h <<_ACEOF
28995 #define HAVE_ISINFF 1
28996 _ACEOF
28997
28998 fi
28999 done
29000
29001 else
29002
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29004 $as_echo_n "checking for _isinff declaration... " >&6; }
29005 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29006 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29007 $as_echo_n "(cached) " >&6
29008 else
29009
29010
29011 ac_ext=cpp
29012 ac_cpp='$CXXCPP $CPPFLAGS'
29013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29016
29017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29018 /* end confdefs.h. */
29019 #include <math.h>
29020 #ifdef HAVE_IEEEFP_H
29021 #include <ieeefp.h>
29022 #endif
29023
29024 int
29025 main ()
29026 {
29027 _isinff(0);
29028 ;
29029 return 0;
29030 }
29031 _ACEOF
29032 if ac_fn_cxx_try_compile "$LINENO"; then :
29033 glibcxx_cv_func__isinff_use=yes
29034 else
29035 glibcxx_cv_func__isinff_use=no
29036 fi
29037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29038 ac_ext=c
29039 ac_cpp='$CPP $CPPFLAGS'
29040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29043
29044
29045 fi
29046
29047 fi
29048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29049 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29050
29051 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29052 for ac_func in _isinff
29053 do :
29054 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29055 if test "x$ac_cv_func__isinff" = x""yes; then :
29056 cat >>confdefs.h <<_ACEOF
29057 #define HAVE__ISINFF 1
29058 _ACEOF
29059
29060 fi
29061 done
29062
29063 fi
29064 fi
29065
29066
29067
29068
29069
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29071 $as_echo_n "checking for atan2f declaration... " >&6; }
29072 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29073 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29074 $as_echo_n "(cached) " >&6
29075 else
29076
29077
29078 ac_ext=cpp
29079 ac_cpp='$CXXCPP $CPPFLAGS'
29080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29083
29084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29085 /* end confdefs.h. */
29086 #include <math.h>
29087 int
29088 main ()
29089 {
29090 atan2f(0, 0);
29091 ;
29092 return 0;
29093 }
29094 _ACEOF
29095 if ac_fn_cxx_try_compile "$LINENO"; then :
29096 glibcxx_cv_func_atan2f_use=yes
29097 else
29098 glibcxx_cv_func_atan2f_use=no
29099 fi
29100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29101 ac_ext=c
29102 ac_cpp='$CPP $CPPFLAGS'
29103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29106
29107
29108 fi
29109
29110 fi
29111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29112 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29113
29114 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29115 for ac_func in atan2f
29116 do :
29117 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29118 if test "x$ac_cv_func_atan2f" = x""yes; then :
29119 cat >>confdefs.h <<_ACEOF
29120 #define HAVE_ATAN2F 1
29121 _ACEOF
29122
29123 fi
29124 done
29125
29126 else
29127
29128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29129 $as_echo_n "checking for _atan2f declaration... " >&6; }
29130 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29131 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29132 $as_echo_n "(cached) " >&6
29133 else
29134
29135
29136 ac_ext=cpp
29137 ac_cpp='$CXXCPP $CPPFLAGS'
29138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29141
29142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29143 /* end confdefs.h. */
29144 #include <math.h>
29145 int
29146 main ()
29147 {
29148 _atan2f(0, 0);
29149 ;
29150 return 0;
29151 }
29152 _ACEOF
29153 if ac_fn_cxx_try_compile "$LINENO"; then :
29154 glibcxx_cv_func__atan2f_use=yes
29155 else
29156 glibcxx_cv_func__atan2f_use=no
29157 fi
29158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159 ac_ext=c
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29164
29165
29166 fi
29167
29168 fi
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29170 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29171
29172 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29173 for ac_func in _atan2f
29174 do :
29175 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29176 if test "x$ac_cv_func__atan2f" = x""yes; then :
29177 cat >>confdefs.h <<_ACEOF
29178 #define HAVE__ATAN2F 1
29179 _ACEOF
29180
29181 fi
29182 done
29183
29184 fi
29185 fi
29186
29187
29188
29189
29190
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29192 $as_echo_n "checking for fabsf declaration... " >&6; }
29193 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29194 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29195 $as_echo_n "(cached) " >&6
29196 else
29197
29198
29199 ac_ext=cpp
29200 ac_cpp='$CXXCPP $CPPFLAGS'
29201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29204
29205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29206 /* end confdefs.h. */
29207 #include <math.h>
29208 #ifdef HAVE_IEEEFP_H
29209 #include <ieeefp.h>
29210 #endif
29211
29212 int
29213 main ()
29214 {
29215 fabsf(0);
29216 ;
29217 return 0;
29218 }
29219 _ACEOF
29220 if ac_fn_cxx_try_compile "$LINENO"; then :
29221 glibcxx_cv_func_fabsf_use=yes
29222 else
29223 glibcxx_cv_func_fabsf_use=no
29224 fi
29225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29226 ac_ext=c
29227 ac_cpp='$CPP $CPPFLAGS'
29228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29231
29232
29233 fi
29234
29235 fi
29236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29237 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29238
29239 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29240 for ac_func in fabsf
29241 do :
29242 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29243 if test "x$ac_cv_func_fabsf" = x""yes; then :
29244 cat >>confdefs.h <<_ACEOF
29245 #define HAVE_FABSF 1
29246 _ACEOF
29247
29248 fi
29249 done
29250
29251 else
29252
29253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29254 $as_echo_n "checking for _fabsf declaration... " >&6; }
29255 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29256 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29257 $as_echo_n "(cached) " >&6
29258 else
29259
29260
29261 ac_ext=cpp
29262 ac_cpp='$CXXCPP $CPPFLAGS'
29263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29266
29267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29268 /* end confdefs.h. */
29269 #include <math.h>
29270 #ifdef HAVE_IEEEFP_H
29271 #include <ieeefp.h>
29272 #endif
29273
29274 int
29275 main ()
29276 {
29277 _fabsf(0);
29278 ;
29279 return 0;
29280 }
29281 _ACEOF
29282 if ac_fn_cxx_try_compile "$LINENO"; then :
29283 glibcxx_cv_func__fabsf_use=yes
29284 else
29285 glibcxx_cv_func__fabsf_use=no
29286 fi
29287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29288 ac_ext=c
29289 ac_cpp='$CPP $CPPFLAGS'
29290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29293
29294
29295 fi
29296
29297 fi
29298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29299 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29300
29301 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29302 for ac_func in _fabsf
29303 do :
29304 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29305 if test "x$ac_cv_func__fabsf" = x""yes; then :
29306 cat >>confdefs.h <<_ACEOF
29307 #define HAVE__FABSF 1
29308 _ACEOF
29309
29310 fi
29311 done
29312
29313 fi
29314 fi
29315
29316
29317
29318
29319
29320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29321 $as_echo_n "checking for fmodf declaration... " >&6; }
29322 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29323 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29324 $as_echo_n "(cached) " >&6
29325 else
29326
29327
29328 ac_ext=cpp
29329 ac_cpp='$CXXCPP $CPPFLAGS'
29330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29333
29334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29335 /* end confdefs.h. */
29336 #include <math.h>
29337 int
29338 main ()
29339 {
29340 fmodf(0, 0);
29341 ;
29342 return 0;
29343 }
29344 _ACEOF
29345 if ac_fn_cxx_try_compile "$LINENO"; then :
29346 glibcxx_cv_func_fmodf_use=yes
29347 else
29348 glibcxx_cv_func_fmodf_use=no
29349 fi
29350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29351 ac_ext=c
29352 ac_cpp='$CPP $CPPFLAGS'
29353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29356
29357
29358 fi
29359
29360 fi
29361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29362 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29363
29364 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29365 for ac_func in fmodf
29366 do :
29367 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29368 if test "x$ac_cv_func_fmodf" = x""yes; then :
29369 cat >>confdefs.h <<_ACEOF
29370 #define HAVE_FMODF 1
29371 _ACEOF
29372
29373 fi
29374 done
29375
29376 else
29377
29378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29379 $as_echo_n "checking for _fmodf declaration... " >&6; }
29380 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29381 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29382 $as_echo_n "(cached) " >&6
29383 else
29384
29385
29386 ac_ext=cpp
29387 ac_cpp='$CXXCPP $CPPFLAGS'
29388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29391
29392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29393 /* end confdefs.h. */
29394 #include <math.h>
29395 int
29396 main ()
29397 {
29398 _fmodf(0, 0);
29399 ;
29400 return 0;
29401 }
29402 _ACEOF
29403 if ac_fn_cxx_try_compile "$LINENO"; then :
29404 glibcxx_cv_func__fmodf_use=yes
29405 else
29406 glibcxx_cv_func__fmodf_use=no
29407 fi
29408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29409 ac_ext=c
29410 ac_cpp='$CPP $CPPFLAGS'
29411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29414
29415
29416 fi
29417
29418 fi
29419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29420 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29421
29422 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29423 for ac_func in _fmodf
29424 do :
29425 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29426 if test "x$ac_cv_func__fmodf" = x""yes; then :
29427 cat >>confdefs.h <<_ACEOF
29428 #define HAVE__FMODF 1
29429 _ACEOF
29430
29431 fi
29432 done
29433
29434 fi
29435 fi
29436
29437
29438
29439
29440
29441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29442 $as_echo_n "checking for frexpf declaration... " >&6; }
29443 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29444 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29445 $as_echo_n "(cached) " >&6
29446 else
29447
29448
29449 ac_ext=cpp
29450 ac_cpp='$CXXCPP $CPPFLAGS'
29451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29454
29455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29456 /* end confdefs.h. */
29457 #include <math.h>
29458 int
29459 main ()
29460 {
29461 frexpf(0, 0);
29462 ;
29463 return 0;
29464 }
29465 _ACEOF
29466 if ac_fn_cxx_try_compile "$LINENO"; then :
29467 glibcxx_cv_func_frexpf_use=yes
29468 else
29469 glibcxx_cv_func_frexpf_use=no
29470 fi
29471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29472 ac_ext=c
29473 ac_cpp='$CPP $CPPFLAGS'
29474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29477
29478
29479 fi
29480
29481 fi
29482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29483 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29484
29485 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29486 for ac_func in frexpf
29487 do :
29488 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29489 if test "x$ac_cv_func_frexpf" = x""yes; then :
29490 cat >>confdefs.h <<_ACEOF
29491 #define HAVE_FREXPF 1
29492 _ACEOF
29493
29494 fi
29495 done
29496
29497 else
29498
29499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29500 $as_echo_n "checking for _frexpf declaration... " >&6; }
29501 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29502 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29503 $as_echo_n "(cached) " >&6
29504 else
29505
29506
29507 ac_ext=cpp
29508 ac_cpp='$CXXCPP $CPPFLAGS'
29509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29512
29513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29514 /* end confdefs.h. */
29515 #include <math.h>
29516 int
29517 main ()
29518 {
29519 _frexpf(0, 0);
29520 ;
29521 return 0;
29522 }
29523 _ACEOF
29524 if ac_fn_cxx_try_compile "$LINENO"; then :
29525 glibcxx_cv_func__frexpf_use=yes
29526 else
29527 glibcxx_cv_func__frexpf_use=no
29528 fi
29529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29530 ac_ext=c
29531 ac_cpp='$CPP $CPPFLAGS'
29532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29535
29536
29537 fi
29538
29539 fi
29540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29541 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29542
29543 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29544 for ac_func in _frexpf
29545 do :
29546 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29547 if test "x$ac_cv_func__frexpf" = x""yes; then :
29548 cat >>confdefs.h <<_ACEOF
29549 #define HAVE__FREXPF 1
29550 _ACEOF
29551
29552 fi
29553 done
29554
29555 fi
29556 fi
29557
29558
29559
29560
29561
29562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29563 $as_echo_n "checking for hypotf declaration... " >&6; }
29564 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29565 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29566 $as_echo_n "(cached) " >&6
29567 else
29568
29569
29570 ac_ext=cpp
29571 ac_cpp='$CXXCPP $CPPFLAGS'
29572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29575
29576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29577 /* end confdefs.h. */
29578 #include <math.h>
29579 int
29580 main ()
29581 {
29582 hypotf(0, 0);
29583 ;
29584 return 0;
29585 }
29586 _ACEOF
29587 if ac_fn_cxx_try_compile "$LINENO"; then :
29588 glibcxx_cv_func_hypotf_use=yes
29589 else
29590 glibcxx_cv_func_hypotf_use=no
29591 fi
29592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29593 ac_ext=c
29594 ac_cpp='$CPP $CPPFLAGS'
29595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29598
29599
29600 fi
29601
29602 fi
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29604 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29605
29606 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29607 for ac_func in hypotf
29608 do :
29609 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29610 if test "x$ac_cv_func_hypotf" = x""yes; then :
29611 cat >>confdefs.h <<_ACEOF
29612 #define HAVE_HYPOTF 1
29613 _ACEOF
29614
29615 fi
29616 done
29617
29618 else
29619
29620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29621 $as_echo_n "checking for _hypotf declaration... " >&6; }
29622 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29623 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29624 $as_echo_n "(cached) " >&6
29625 else
29626
29627
29628 ac_ext=cpp
29629 ac_cpp='$CXXCPP $CPPFLAGS'
29630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29633
29634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29635 /* end confdefs.h. */
29636 #include <math.h>
29637 int
29638 main ()
29639 {
29640 _hypotf(0, 0);
29641 ;
29642 return 0;
29643 }
29644 _ACEOF
29645 if ac_fn_cxx_try_compile "$LINENO"; then :
29646 glibcxx_cv_func__hypotf_use=yes
29647 else
29648 glibcxx_cv_func__hypotf_use=no
29649 fi
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29651 ac_ext=c
29652 ac_cpp='$CPP $CPPFLAGS'
29653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29656
29657
29658 fi
29659
29660 fi
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29662 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29663
29664 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29665 for ac_func in _hypotf
29666 do :
29667 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29668 if test "x$ac_cv_func__hypotf" = x""yes; then :
29669 cat >>confdefs.h <<_ACEOF
29670 #define HAVE__HYPOTF 1
29671 _ACEOF
29672
29673 fi
29674 done
29675
29676 fi
29677 fi
29678
29679
29680
29681
29682
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29684 $as_echo_n "checking for ldexpf declaration... " >&6; }
29685 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29686 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29687 $as_echo_n "(cached) " >&6
29688 else
29689
29690
29691 ac_ext=cpp
29692 ac_cpp='$CXXCPP $CPPFLAGS'
29693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29696
29697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29698 /* end confdefs.h. */
29699 #include <math.h>
29700 int
29701 main ()
29702 {
29703 ldexpf(0, 0);
29704 ;
29705 return 0;
29706 }
29707 _ACEOF
29708 if ac_fn_cxx_try_compile "$LINENO"; then :
29709 glibcxx_cv_func_ldexpf_use=yes
29710 else
29711 glibcxx_cv_func_ldexpf_use=no
29712 fi
29713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29714 ac_ext=c
29715 ac_cpp='$CPP $CPPFLAGS'
29716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29719
29720
29721 fi
29722
29723 fi
29724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29725 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29726
29727 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29728 for ac_func in ldexpf
29729 do :
29730 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29731 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29732 cat >>confdefs.h <<_ACEOF
29733 #define HAVE_LDEXPF 1
29734 _ACEOF
29735
29736 fi
29737 done
29738
29739 else
29740
29741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29742 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29743 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29744 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29745 $as_echo_n "(cached) " >&6
29746 else
29747
29748
29749 ac_ext=cpp
29750 ac_cpp='$CXXCPP $CPPFLAGS'
29751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29754
29755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29756 /* end confdefs.h. */
29757 #include <math.h>
29758 int
29759 main ()
29760 {
29761 _ldexpf(0, 0);
29762 ;
29763 return 0;
29764 }
29765 _ACEOF
29766 if ac_fn_cxx_try_compile "$LINENO"; then :
29767 glibcxx_cv_func__ldexpf_use=yes
29768 else
29769 glibcxx_cv_func__ldexpf_use=no
29770 fi
29771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29772 ac_ext=c
29773 ac_cpp='$CPP $CPPFLAGS'
29774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29777
29778
29779 fi
29780
29781 fi
29782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29783 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29784
29785 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29786 for ac_func in _ldexpf
29787 do :
29788 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29789 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29790 cat >>confdefs.h <<_ACEOF
29791 #define HAVE__LDEXPF 1
29792 _ACEOF
29793
29794 fi
29795 done
29796
29797 fi
29798 fi
29799
29800
29801
29802
29803
29804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29805 $as_echo_n "checking for logf declaration... " >&6; }
29806 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29807 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29808 $as_echo_n "(cached) " >&6
29809 else
29810
29811
29812 ac_ext=cpp
29813 ac_cpp='$CXXCPP $CPPFLAGS'
29814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29817
29818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29819 /* end confdefs.h. */
29820 #include <math.h>
29821 #ifdef HAVE_IEEEFP_H
29822 #include <ieeefp.h>
29823 #endif
29824
29825 int
29826 main ()
29827 {
29828 logf(0);
29829 ;
29830 return 0;
29831 }
29832 _ACEOF
29833 if ac_fn_cxx_try_compile "$LINENO"; then :
29834 glibcxx_cv_func_logf_use=yes
29835 else
29836 glibcxx_cv_func_logf_use=no
29837 fi
29838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29839 ac_ext=c
29840 ac_cpp='$CPP $CPPFLAGS'
29841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29844
29845
29846 fi
29847
29848 fi
29849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29850 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29851
29852 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29853 for ac_func in logf
29854 do :
29855 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29856 if test "x$ac_cv_func_logf" = x""yes; then :
29857 cat >>confdefs.h <<_ACEOF
29858 #define HAVE_LOGF 1
29859 _ACEOF
29860
29861 fi
29862 done
29863
29864 else
29865
29866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29867 $as_echo_n "checking for _logf declaration... " >&6; }
29868 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29869 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29870 $as_echo_n "(cached) " >&6
29871 else
29872
29873
29874 ac_ext=cpp
29875 ac_cpp='$CXXCPP $CPPFLAGS'
29876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29879
29880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29881 /* end confdefs.h. */
29882 #include <math.h>
29883 #ifdef HAVE_IEEEFP_H
29884 #include <ieeefp.h>
29885 #endif
29886
29887 int
29888 main ()
29889 {
29890 _logf(0);
29891 ;
29892 return 0;
29893 }
29894 _ACEOF
29895 if ac_fn_cxx_try_compile "$LINENO"; then :
29896 glibcxx_cv_func__logf_use=yes
29897 else
29898 glibcxx_cv_func__logf_use=no
29899 fi
29900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29901 ac_ext=c
29902 ac_cpp='$CPP $CPPFLAGS'
29903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29906
29907
29908 fi
29909
29910 fi
29911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29912 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29913
29914 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29915 for ac_func in _logf
29916 do :
29917 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29918 if test "x$ac_cv_func__logf" = x""yes; then :
29919 cat >>confdefs.h <<_ACEOF
29920 #define HAVE__LOGF 1
29921 _ACEOF
29922
29923 fi
29924 done
29925
29926 fi
29927 fi
29928
29929
29930
29931
29932
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29934 $as_echo_n "checking for log10f declaration... " >&6; }
29935 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29936 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29937 $as_echo_n "(cached) " >&6
29938 else
29939
29940
29941 ac_ext=cpp
29942 ac_cpp='$CXXCPP $CPPFLAGS'
29943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29946
29947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29948 /* end confdefs.h. */
29949 #include <math.h>
29950 #ifdef HAVE_IEEEFP_H
29951 #include <ieeefp.h>
29952 #endif
29953
29954 int
29955 main ()
29956 {
29957 log10f(0);
29958 ;
29959 return 0;
29960 }
29961 _ACEOF
29962 if ac_fn_cxx_try_compile "$LINENO"; then :
29963 glibcxx_cv_func_log10f_use=yes
29964 else
29965 glibcxx_cv_func_log10f_use=no
29966 fi
29967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29968 ac_ext=c
29969 ac_cpp='$CPP $CPPFLAGS'
29970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29973
29974
29975 fi
29976
29977 fi
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29979 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29980
29981 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29982 for ac_func in log10f
29983 do :
29984 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29985 if test "x$ac_cv_func_log10f" = x""yes; then :
29986 cat >>confdefs.h <<_ACEOF
29987 #define HAVE_LOG10F 1
29988 _ACEOF
29989
29990 fi
29991 done
29992
29993 else
29994
29995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29996 $as_echo_n "checking for _log10f declaration... " >&6; }
29997 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29998 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29999 $as_echo_n "(cached) " >&6
30000 else
30001
30002
30003 ac_ext=cpp
30004 ac_cpp='$CXXCPP $CPPFLAGS'
30005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30008
30009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30010 /* end confdefs.h. */
30011 #include <math.h>
30012 #ifdef HAVE_IEEEFP_H
30013 #include <ieeefp.h>
30014 #endif
30015
30016 int
30017 main ()
30018 {
30019 _log10f(0);
30020 ;
30021 return 0;
30022 }
30023 _ACEOF
30024 if ac_fn_cxx_try_compile "$LINENO"; then :
30025 glibcxx_cv_func__log10f_use=yes
30026 else
30027 glibcxx_cv_func__log10f_use=no
30028 fi
30029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30030 ac_ext=c
30031 ac_cpp='$CPP $CPPFLAGS'
30032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30035
30036
30037 fi
30038
30039 fi
30040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30041 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30042
30043 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30044 for ac_func in _log10f
30045 do :
30046 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30047 if test "x$ac_cv_func__log10f" = x""yes; then :
30048 cat >>confdefs.h <<_ACEOF
30049 #define HAVE__LOG10F 1
30050 _ACEOF
30051
30052 fi
30053 done
30054
30055 fi
30056 fi
30057
30058
30059
30060
30061
30062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30063 $as_echo_n "checking for modff declaration... " >&6; }
30064 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30065 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30066 $as_echo_n "(cached) " >&6
30067 else
30068
30069
30070 ac_ext=cpp
30071 ac_cpp='$CXXCPP $CPPFLAGS'
30072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30075
30076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30077 /* end confdefs.h. */
30078 #include <math.h>
30079 int
30080 main ()
30081 {
30082 modff(0, 0);
30083 ;
30084 return 0;
30085 }
30086 _ACEOF
30087 if ac_fn_cxx_try_compile "$LINENO"; then :
30088 glibcxx_cv_func_modff_use=yes
30089 else
30090 glibcxx_cv_func_modff_use=no
30091 fi
30092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30093 ac_ext=c
30094 ac_cpp='$CPP $CPPFLAGS'
30095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30098
30099
30100 fi
30101
30102 fi
30103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30104 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30105
30106 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30107 for ac_func in modff
30108 do :
30109 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30110 if test "x$ac_cv_func_modff" = x""yes; then :
30111 cat >>confdefs.h <<_ACEOF
30112 #define HAVE_MODFF 1
30113 _ACEOF
30114
30115 fi
30116 done
30117
30118 else
30119
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30121 $as_echo_n "checking for _modff declaration... " >&6; }
30122 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30123 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30124 $as_echo_n "(cached) " >&6
30125 else
30126
30127
30128 ac_ext=cpp
30129 ac_cpp='$CXXCPP $CPPFLAGS'
30130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30133
30134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30135 /* end confdefs.h. */
30136 #include <math.h>
30137 int
30138 main ()
30139 {
30140 _modff(0, 0);
30141 ;
30142 return 0;
30143 }
30144 _ACEOF
30145 if ac_fn_cxx_try_compile "$LINENO"; then :
30146 glibcxx_cv_func__modff_use=yes
30147 else
30148 glibcxx_cv_func__modff_use=no
30149 fi
30150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30151 ac_ext=c
30152 ac_cpp='$CPP $CPPFLAGS'
30153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30156
30157
30158 fi
30159
30160 fi
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30162 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30163
30164 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30165 for ac_func in _modff
30166 do :
30167 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30168 if test "x$ac_cv_func__modff" = x""yes; then :
30169 cat >>confdefs.h <<_ACEOF
30170 #define HAVE__MODFF 1
30171 _ACEOF
30172
30173 fi
30174 done
30175
30176 fi
30177 fi
30178
30179
30180
30181
30182
30183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30184 $as_echo_n "checking for modf declaration... " >&6; }
30185 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30186 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30187 $as_echo_n "(cached) " >&6
30188 else
30189
30190
30191 ac_ext=cpp
30192 ac_cpp='$CXXCPP $CPPFLAGS'
30193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30196
30197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30198 /* end confdefs.h. */
30199 #include <math.h>
30200 int
30201 main ()
30202 {
30203 modf(0, 0);
30204 ;
30205 return 0;
30206 }
30207 _ACEOF
30208 if ac_fn_cxx_try_compile "$LINENO"; then :
30209 glibcxx_cv_func_modf_use=yes
30210 else
30211 glibcxx_cv_func_modf_use=no
30212 fi
30213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30214 ac_ext=c
30215 ac_cpp='$CPP $CPPFLAGS'
30216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30219
30220
30221 fi
30222
30223 fi
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30225 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30226
30227 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30228 for ac_func in modf
30229 do :
30230 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30231 if test "x$ac_cv_func_modf" = x""yes; then :
30232 cat >>confdefs.h <<_ACEOF
30233 #define HAVE_MODF 1
30234 _ACEOF
30235
30236 fi
30237 done
30238
30239 else
30240
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30242 $as_echo_n "checking for _modf declaration... " >&6; }
30243 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30244 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30245 $as_echo_n "(cached) " >&6
30246 else
30247
30248
30249 ac_ext=cpp
30250 ac_cpp='$CXXCPP $CPPFLAGS'
30251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30254
30255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30256 /* end confdefs.h. */
30257 #include <math.h>
30258 int
30259 main ()
30260 {
30261 _modf(0, 0);
30262 ;
30263 return 0;
30264 }
30265 _ACEOF
30266 if ac_fn_cxx_try_compile "$LINENO"; then :
30267 glibcxx_cv_func__modf_use=yes
30268 else
30269 glibcxx_cv_func__modf_use=no
30270 fi
30271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30272 ac_ext=c
30273 ac_cpp='$CPP $CPPFLAGS'
30274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30277
30278
30279 fi
30280
30281 fi
30282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30283 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30284
30285 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30286 for ac_func in _modf
30287 do :
30288 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30289 if test "x$ac_cv_func__modf" = x""yes; then :
30290 cat >>confdefs.h <<_ACEOF
30291 #define HAVE__MODF 1
30292 _ACEOF
30293
30294 fi
30295 done
30296
30297 fi
30298 fi
30299
30300
30301
30302
30303
30304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30305 $as_echo_n "checking for powf declaration... " >&6; }
30306 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30307 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30308 $as_echo_n "(cached) " >&6
30309 else
30310
30311
30312 ac_ext=cpp
30313 ac_cpp='$CXXCPP $CPPFLAGS'
30314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30317
30318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30319 /* end confdefs.h. */
30320 #include <math.h>
30321 int
30322 main ()
30323 {
30324 powf(0, 0);
30325 ;
30326 return 0;
30327 }
30328 _ACEOF
30329 if ac_fn_cxx_try_compile "$LINENO"; then :
30330 glibcxx_cv_func_powf_use=yes
30331 else
30332 glibcxx_cv_func_powf_use=no
30333 fi
30334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30335 ac_ext=c
30336 ac_cpp='$CPP $CPPFLAGS'
30337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30340
30341
30342 fi
30343
30344 fi
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30346 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30347
30348 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30349 for ac_func in powf
30350 do :
30351 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30352 if test "x$ac_cv_func_powf" = x""yes; then :
30353 cat >>confdefs.h <<_ACEOF
30354 #define HAVE_POWF 1
30355 _ACEOF
30356
30357 fi
30358 done
30359
30360 else
30361
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30363 $as_echo_n "checking for _powf declaration... " >&6; }
30364 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30365 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30366 $as_echo_n "(cached) " >&6
30367 else
30368
30369
30370 ac_ext=cpp
30371 ac_cpp='$CXXCPP $CPPFLAGS'
30372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30375
30376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377 /* end confdefs.h. */
30378 #include <math.h>
30379 int
30380 main ()
30381 {
30382 _powf(0, 0);
30383 ;
30384 return 0;
30385 }
30386 _ACEOF
30387 if ac_fn_cxx_try_compile "$LINENO"; then :
30388 glibcxx_cv_func__powf_use=yes
30389 else
30390 glibcxx_cv_func__powf_use=no
30391 fi
30392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393 ac_ext=c
30394 ac_cpp='$CPP $CPPFLAGS'
30395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30398
30399
30400 fi
30401
30402 fi
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30404 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30405
30406 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30407 for ac_func in _powf
30408 do :
30409 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30410 if test "x$ac_cv_func__powf" = x""yes; then :
30411 cat >>confdefs.h <<_ACEOF
30412 #define HAVE__POWF 1
30413 _ACEOF
30414
30415 fi
30416 done
30417
30418 fi
30419 fi
30420
30421
30422
30423
30424
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30426 $as_echo_n "checking for sqrtf declaration... " >&6; }
30427 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30428 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30429 $as_echo_n "(cached) " >&6
30430 else
30431
30432
30433 ac_ext=cpp
30434 ac_cpp='$CXXCPP $CPPFLAGS'
30435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30438
30439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30440 /* end confdefs.h. */
30441 #include <math.h>
30442 #ifdef HAVE_IEEEFP_H
30443 #include <ieeefp.h>
30444 #endif
30445
30446 int
30447 main ()
30448 {
30449 sqrtf(0);
30450 ;
30451 return 0;
30452 }
30453 _ACEOF
30454 if ac_fn_cxx_try_compile "$LINENO"; then :
30455 glibcxx_cv_func_sqrtf_use=yes
30456 else
30457 glibcxx_cv_func_sqrtf_use=no
30458 fi
30459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30460 ac_ext=c
30461 ac_cpp='$CPP $CPPFLAGS'
30462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30465
30466
30467 fi
30468
30469 fi
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30471 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30472
30473 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30474 for ac_func in sqrtf
30475 do :
30476 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30477 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30478 cat >>confdefs.h <<_ACEOF
30479 #define HAVE_SQRTF 1
30480 _ACEOF
30481
30482 fi
30483 done
30484
30485 else
30486
30487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30488 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30489 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30490 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30491 $as_echo_n "(cached) " >&6
30492 else
30493
30494
30495 ac_ext=cpp
30496 ac_cpp='$CXXCPP $CPPFLAGS'
30497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30500
30501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30502 /* end confdefs.h. */
30503 #include <math.h>
30504 #ifdef HAVE_IEEEFP_H
30505 #include <ieeefp.h>
30506 #endif
30507
30508 int
30509 main ()
30510 {
30511 _sqrtf(0);
30512 ;
30513 return 0;
30514 }
30515 _ACEOF
30516 if ac_fn_cxx_try_compile "$LINENO"; then :
30517 glibcxx_cv_func__sqrtf_use=yes
30518 else
30519 glibcxx_cv_func__sqrtf_use=no
30520 fi
30521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30522 ac_ext=c
30523 ac_cpp='$CPP $CPPFLAGS'
30524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30527
30528
30529 fi
30530
30531 fi
30532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30533 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30534
30535 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30536 for ac_func in _sqrtf
30537 do :
30538 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30539 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30540 cat >>confdefs.h <<_ACEOF
30541 #define HAVE__SQRTF 1
30542 _ACEOF
30543
30544 fi
30545 done
30546
30547 fi
30548 fi
30549
30550
30551
30552
30553
30554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30555 $as_echo_n "checking for sincosf declaration... " >&6; }
30556 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30557 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30558 $as_echo_n "(cached) " >&6
30559 else
30560
30561
30562 ac_ext=cpp
30563 ac_cpp='$CXXCPP $CPPFLAGS'
30564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30567
30568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30569 /* end confdefs.h. */
30570 #include <math.h>
30571 int
30572 main ()
30573 {
30574 sincosf(0, 0, 0);
30575 ;
30576 return 0;
30577 }
30578 _ACEOF
30579 if ac_fn_cxx_try_compile "$LINENO"; then :
30580 glibcxx_cv_func_sincosf_use=yes
30581 else
30582 glibcxx_cv_func_sincosf_use=no
30583 fi
30584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30585 ac_ext=c
30586 ac_cpp='$CPP $CPPFLAGS'
30587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30590
30591
30592 fi
30593
30594 fi
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30596 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30597
30598 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30599 for ac_func in sincosf
30600 do :
30601 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30602 if test "x$ac_cv_func_sincosf" = x""yes; then :
30603 cat >>confdefs.h <<_ACEOF
30604 #define HAVE_SINCOSF 1
30605 _ACEOF
30606
30607 fi
30608 done
30609
30610 else
30611
30612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30613 $as_echo_n "checking for _sincosf declaration... " >&6; }
30614 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30615 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30616 $as_echo_n "(cached) " >&6
30617 else
30618
30619
30620 ac_ext=cpp
30621 ac_cpp='$CXXCPP $CPPFLAGS'
30622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30625
30626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30627 /* end confdefs.h. */
30628 #include <math.h>
30629 int
30630 main ()
30631 {
30632 _sincosf(0, 0, 0);
30633 ;
30634 return 0;
30635 }
30636 _ACEOF
30637 if ac_fn_cxx_try_compile "$LINENO"; then :
30638 glibcxx_cv_func__sincosf_use=yes
30639 else
30640 glibcxx_cv_func__sincosf_use=no
30641 fi
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30643 ac_ext=c
30644 ac_cpp='$CPP $CPPFLAGS'
30645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30648
30649
30650 fi
30651
30652 fi
30653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30654 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30655
30656 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30657 for ac_func in _sincosf
30658 do :
30659 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30660 if test "x$ac_cv_func__sincosf" = x""yes; then :
30661 cat >>confdefs.h <<_ACEOF
30662 #define HAVE__SINCOSF 1
30663 _ACEOF
30664
30665 fi
30666 done
30667
30668 fi
30669 fi
30670
30671
30672
30673
30674
30675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30676 $as_echo_n "checking for finitef declaration... " >&6; }
30677 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30678 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30679 $as_echo_n "(cached) " >&6
30680 else
30681
30682
30683 ac_ext=cpp
30684 ac_cpp='$CXXCPP $CPPFLAGS'
30685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30688
30689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30690 /* end confdefs.h. */
30691 #include <math.h>
30692 #ifdef HAVE_IEEEFP_H
30693 #include <ieeefp.h>
30694 #endif
30695
30696 int
30697 main ()
30698 {
30699 finitef(0);
30700 ;
30701 return 0;
30702 }
30703 _ACEOF
30704 if ac_fn_cxx_try_compile "$LINENO"; then :
30705 glibcxx_cv_func_finitef_use=yes
30706 else
30707 glibcxx_cv_func_finitef_use=no
30708 fi
30709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30710 ac_ext=c
30711 ac_cpp='$CPP $CPPFLAGS'
30712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30715
30716
30717 fi
30718
30719 fi
30720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30721 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30722
30723 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30724 for ac_func in finitef
30725 do :
30726 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30727 if test "x$ac_cv_func_finitef" = x""yes; then :
30728 cat >>confdefs.h <<_ACEOF
30729 #define HAVE_FINITEF 1
30730 _ACEOF
30731
30732 fi
30733 done
30734
30735 else
30736
30737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30738 $as_echo_n "checking for _finitef declaration... " >&6; }
30739 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30740 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30741 $as_echo_n "(cached) " >&6
30742 else
30743
30744
30745 ac_ext=cpp
30746 ac_cpp='$CXXCPP $CPPFLAGS'
30747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30750
30751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30752 /* end confdefs.h. */
30753 #include <math.h>
30754 #ifdef HAVE_IEEEFP_H
30755 #include <ieeefp.h>
30756 #endif
30757
30758 int
30759 main ()
30760 {
30761 _finitef(0);
30762 ;
30763 return 0;
30764 }
30765 _ACEOF
30766 if ac_fn_cxx_try_compile "$LINENO"; then :
30767 glibcxx_cv_func__finitef_use=yes
30768 else
30769 glibcxx_cv_func__finitef_use=no
30770 fi
30771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30772 ac_ext=c
30773 ac_cpp='$CPP $CPPFLAGS'
30774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30777
30778
30779 fi
30780
30781 fi
30782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30783 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30784
30785 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30786 for ac_func in _finitef
30787 do :
30788 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30789 if test "x$ac_cv_func__finitef" = x""yes; then :
30790 cat >>confdefs.h <<_ACEOF
30791 #define HAVE__FINITEF 1
30792 _ACEOF
30793
30794 fi
30795 done
30796
30797 fi
30798 fi
30799
30800
30801
30802
30803
30804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30805 $as_echo_n "checking for long double trig functions... " >&6; }
30806 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30807 $as_echo_n "(cached) " >&6
30808 else
30809
30810
30811 ac_ext=cpp
30812 ac_cpp='$CXXCPP $CPPFLAGS'
30813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30816
30817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30818 /* end confdefs.h. */
30819 #include <math.h>
30820 int
30821 main ()
30822 {
30823 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30824 ;
30825 return 0;
30826 }
30827 _ACEOF
30828 if ac_fn_cxx_try_compile "$LINENO"; then :
30829 glibcxx_cv_func_long_double_trig_use=yes
30830 else
30831 glibcxx_cv_func_long_double_trig_use=no
30832 fi
30833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30834 ac_ext=c
30835 ac_cpp='$CPP $CPPFLAGS'
30836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30839
30840 fi
30841
30842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30843 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30844 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30845 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30846 do :
30847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30849 eval as_val=\$$as_ac_var
30850 if test "x$as_val" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30853 _ACEOF
30854
30855 fi
30856 done
30857
30858 else
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30860 $as_echo_n "checking for _long double trig functions... " >&6; }
30861 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30862 $as_echo_n "(cached) " >&6
30863 else
30864
30865
30866 ac_ext=cpp
30867 ac_cpp='$CXXCPP $CPPFLAGS'
30868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30871
30872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30873 /* end confdefs.h. */
30874 #include <math.h>
30875 int
30876 main ()
30877 {
30878 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30879 ;
30880 return 0;
30881 }
30882 _ACEOF
30883 if ac_fn_cxx_try_compile "$LINENO"; then :
30884 glibcxx_cv_func__long_double_trig_use=yes
30885 else
30886 glibcxx_cv_func__long_double_trig_use=no
30887 fi
30888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30889 ac_ext=c
30890 ac_cpp='$CPP $CPPFLAGS'
30891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30894
30895 fi
30896
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30898 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30899 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30900 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30901 do :
30902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30904 eval as_val=\$$as_ac_var
30905 if test "x$as_val" = x""yes; then :
30906 cat >>confdefs.h <<_ACEOF
30907 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30908 _ACEOF
30909
30910 fi
30911 done
30912
30913 fi
30914 fi
30915
30916
30917
30918
30919
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30921 $as_echo_n "checking for long double round functions... " >&6; }
30922 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30923 $as_echo_n "(cached) " >&6
30924 else
30925
30926
30927 ac_ext=cpp
30928 ac_cpp='$CXXCPP $CPPFLAGS'
30929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30932
30933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30934 /* end confdefs.h. */
30935 #include <math.h>
30936 int
30937 main ()
30938 {
30939 ceill (0); floorl (0);
30940 ;
30941 return 0;
30942 }
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func_long_double_round_use=yes
30946 else
30947 glibcxx_cv_func_long_double_round_use=no
30948 fi
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30955
30956 fi
30957
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30959 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30960 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30961 for ac_func in ceill floorl
30962 do :
30963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30965 eval as_val=\$$as_ac_var
30966 if test "x$as_val" = x""yes; then :
30967 cat >>confdefs.h <<_ACEOF
30968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30969 _ACEOF
30970
30971 fi
30972 done
30973
30974 else
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30976 $as_echo_n "checking for _long double round functions... " >&6; }
30977 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30978 $as_echo_n "(cached) " >&6
30979 else
30980
30981
30982 ac_ext=cpp
30983 ac_cpp='$CXXCPP $CPPFLAGS'
30984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30987
30988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30990 #include <math.h>
30991 int
30992 main ()
30993 {
30994 _ceill (0); _floorl (0);
30995 ;
30996 return 0;
30997 }
30998 _ACEOF
30999 if ac_fn_cxx_try_compile "$LINENO"; then :
31000 glibcxx_cv_func__long_double_round_use=yes
31001 else
31002 glibcxx_cv_func__long_double_round_use=no
31003 fi
31004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31005 ac_ext=c
31006 ac_cpp='$CPP $CPPFLAGS'
31007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31010
31011 fi
31012
31013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31014 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31015 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31016 for ac_func in _ceill _floorl
31017 do :
31018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31020 eval as_val=\$$as_ac_var
31021 if test "x$as_val" = x""yes; then :
31022 cat >>confdefs.h <<_ACEOF
31023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31024 _ACEOF
31025
31026 fi
31027 done
31028
31029 fi
31030 fi
31031
31032
31033
31034
31035
31036
31037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31038 $as_echo_n "checking for isnanl declaration... " >&6; }
31039 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31040 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31041 $as_echo_n "(cached) " >&6
31042 else
31043
31044
31045 ac_ext=cpp
31046 ac_cpp='$CXXCPP $CPPFLAGS'
31047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31050
31051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31052 /* end confdefs.h. */
31053 #include <math.h>
31054 #ifdef HAVE_IEEEFP_H
31055 #include <ieeefp.h>
31056 #endif
31057
31058 int
31059 main ()
31060 {
31061 isnanl(0);
31062 ;
31063 return 0;
31064 }
31065 _ACEOF
31066 if ac_fn_cxx_try_compile "$LINENO"; then :
31067 glibcxx_cv_func_isnanl_use=yes
31068 else
31069 glibcxx_cv_func_isnanl_use=no
31070 fi
31071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31072 ac_ext=c
31073 ac_cpp='$CPP $CPPFLAGS'
31074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31077
31078
31079 fi
31080
31081 fi
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31083 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31084
31085 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31086 for ac_func in isnanl
31087 do :
31088 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31089 if test "x$ac_cv_func_isnanl" = x""yes; then :
31090 cat >>confdefs.h <<_ACEOF
31091 #define HAVE_ISNANL 1
31092 _ACEOF
31093
31094 fi
31095 done
31096
31097 else
31098
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31100 $as_echo_n "checking for _isnanl declaration... " >&6; }
31101 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31102 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31103 $as_echo_n "(cached) " >&6
31104 else
31105
31106
31107 ac_ext=cpp
31108 ac_cpp='$CXXCPP $CPPFLAGS'
31109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31112
31113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31114 /* end confdefs.h. */
31115 #include <math.h>
31116 #ifdef HAVE_IEEEFP_H
31117 #include <ieeefp.h>
31118 #endif
31119
31120 int
31121 main ()
31122 {
31123 _isnanl(0);
31124 ;
31125 return 0;
31126 }
31127 _ACEOF
31128 if ac_fn_cxx_try_compile "$LINENO"; then :
31129 glibcxx_cv_func__isnanl_use=yes
31130 else
31131 glibcxx_cv_func__isnanl_use=no
31132 fi
31133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31134 ac_ext=c
31135 ac_cpp='$CPP $CPPFLAGS'
31136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31139
31140
31141 fi
31142
31143 fi
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31145 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31146
31147 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31148 for ac_func in _isnanl
31149 do :
31150 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31151 if test "x$ac_cv_func__isnanl" = x""yes; then :
31152 cat >>confdefs.h <<_ACEOF
31153 #define HAVE__ISNANL 1
31154 _ACEOF
31155
31156 fi
31157 done
31158
31159 fi
31160 fi
31161
31162
31163
31164
31165
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31167 $as_echo_n "checking for isinfl declaration... " >&6; }
31168 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31169 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31172
31173
31174 ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182 #include <math.h>
31183 #ifdef HAVE_IEEEFP_H
31184 #include <ieeefp.h>
31185 #endif
31186
31187 int
31188 main ()
31189 {
31190 isinfl(0);
31191 ;
31192 return 0;
31193 }
31194 _ACEOF
31195 if ac_fn_cxx_try_compile "$LINENO"; then :
31196 glibcxx_cv_func_isinfl_use=yes
31197 else
31198 glibcxx_cv_func_isinfl_use=no
31199 fi
31200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31201 ac_ext=c
31202 ac_cpp='$CPP $CPPFLAGS'
31203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31206
31207
31208 fi
31209
31210 fi
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31212 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31213
31214 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31215 for ac_func in isinfl
31216 do :
31217 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31218 if test "x$ac_cv_func_isinfl" = x""yes; then :
31219 cat >>confdefs.h <<_ACEOF
31220 #define HAVE_ISINFL 1
31221 _ACEOF
31222
31223 fi
31224 done
31225
31226 else
31227
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31229 $as_echo_n "checking for _isinfl declaration... " >&6; }
31230 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31231 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31232 $as_echo_n "(cached) " >&6
31233 else
31234
31235
31236 ac_ext=cpp
31237 ac_cpp='$CXXCPP $CPPFLAGS'
31238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31241
31242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31243 /* end confdefs.h. */
31244 #include <math.h>
31245 #ifdef HAVE_IEEEFP_H
31246 #include <ieeefp.h>
31247 #endif
31248
31249 int
31250 main ()
31251 {
31252 _isinfl(0);
31253 ;
31254 return 0;
31255 }
31256 _ACEOF
31257 if ac_fn_cxx_try_compile "$LINENO"; then :
31258 glibcxx_cv_func__isinfl_use=yes
31259 else
31260 glibcxx_cv_func__isinfl_use=no
31261 fi
31262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31263 ac_ext=c
31264 ac_cpp='$CPP $CPPFLAGS'
31265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31268
31269
31270 fi
31271
31272 fi
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31274 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31275
31276 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31277 for ac_func in _isinfl
31278 do :
31279 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31280 if test "x$ac_cv_func__isinfl" = x""yes; then :
31281 cat >>confdefs.h <<_ACEOF
31282 #define HAVE__ISINFL 1
31283 _ACEOF
31284
31285 fi
31286 done
31287
31288 fi
31289 fi
31290
31291
31292
31293
31294
31295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31296 $as_echo_n "checking for atan2l declaration... " >&6; }
31297 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31298 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31299 $as_echo_n "(cached) " >&6
31300 else
31301
31302
31303 ac_ext=cpp
31304 ac_cpp='$CXXCPP $CPPFLAGS'
31305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31308
31309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31310 /* end confdefs.h. */
31311 #include <math.h>
31312 int
31313 main ()
31314 {
31315 atan2l(0, 0);
31316 ;
31317 return 0;
31318 }
31319 _ACEOF
31320 if ac_fn_cxx_try_compile "$LINENO"; then :
31321 glibcxx_cv_func_atan2l_use=yes
31322 else
31323 glibcxx_cv_func_atan2l_use=no
31324 fi
31325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31326 ac_ext=c
31327 ac_cpp='$CPP $CPPFLAGS'
31328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31331
31332
31333 fi
31334
31335 fi
31336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31337 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31338
31339 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31340 for ac_func in atan2l
31341 do :
31342 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31343 if test "x$ac_cv_func_atan2l" = x""yes; then :
31344 cat >>confdefs.h <<_ACEOF
31345 #define HAVE_ATAN2L 1
31346 _ACEOF
31347
31348 fi
31349 done
31350
31351 else
31352
31353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31354 $as_echo_n "checking for _atan2l declaration... " >&6; }
31355 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31356 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31357 $as_echo_n "(cached) " >&6
31358 else
31359
31360
31361 ac_ext=cpp
31362 ac_cpp='$CXXCPP $CPPFLAGS'
31363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31366
31367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31368 /* end confdefs.h. */
31369 #include <math.h>
31370 int
31371 main ()
31372 {
31373 _atan2l(0, 0);
31374 ;
31375 return 0;
31376 }
31377 _ACEOF
31378 if ac_fn_cxx_try_compile "$LINENO"; then :
31379 glibcxx_cv_func__atan2l_use=yes
31380 else
31381 glibcxx_cv_func__atan2l_use=no
31382 fi
31383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31384 ac_ext=c
31385 ac_cpp='$CPP $CPPFLAGS'
31386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31389
31390
31391 fi
31392
31393 fi
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31395 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31396
31397 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31398 for ac_func in _atan2l
31399 do :
31400 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31401 if test "x$ac_cv_func__atan2l" = x""yes; then :
31402 cat >>confdefs.h <<_ACEOF
31403 #define HAVE__ATAN2L 1
31404 _ACEOF
31405
31406 fi
31407 done
31408
31409 fi
31410 fi
31411
31412
31413
31414
31415
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31417 $as_echo_n "checking for expl declaration... " >&6; }
31418 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31419 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31420 $as_echo_n "(cached) " >&6
31421 else
31422
31423
31424 ac_ext=cpp
31425 ac_cpp='$CXXCPP $CPPFLAGS'
31426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31429
31430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31431 /* end confdefs.h. */
31432 #include <math.h>
31433 #ifdef HAVE_IEEEFP_H
31434 #include <ieeefp.h>
31435 #endif
31436
31437 int
31438 main ()
31439 {
31440 expl(0);
31441 ;
31442 return 0;
31443 }
31444 _ACEOF
31445 if ac_fn_cxx_try_compile "$LINENO"; then :
31446 glibcxx_cv_func_expl_use=yes
31447 else
31448 glibcxx_cv_func_expl_use=no
31449 fi
31450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31451 ac_ext=c
31452 ac_cpp='$CPP $CPPFLAGS'
31453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456
31457
31458 fi
31459
31460 fi
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31462 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31463
31464 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31465 for ac_func in expl
31466 do :
31467 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31468 if test "x$ac_cv_func_expl" = x""yes; then :
31469 cat >>confdefs.h <<_ACEOF
31470 #define HAVE_EXPL 1
31471 _ACEOF
31472
31473 fi
31474 done
31475
31476 else
31477
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31479 $as_echo_n "checking for _expl declaration... " >&6; }
31480 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31481 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31482 $as_echo_n "(cached) " >&6
31483 else
31484
31485
31486 ac_ext=cpp
31487 ac_cpp='$CXXCPP $CPPFLAGS'
31488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31491
31492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31493 /* end confdefs.h. */
31494 #include <math.h>
31495 #ifdef HAVE_IEEEFP_H
31496 #include <ieeefp.h>
31497 #endif
31498
31499 int
31500 main ()
31501 {
31502 _expl(0);
31503 ;
31504 return 0;
31505 }
31506 _ACEOF
31507 if ac_fn_cxx_try_compile "$LINENO"; then :
31508 glibcxx_cv_func__expl_use=yes
31509 else
31510 glibcxx_cv_func__expl_use=no
31511 fi
31512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513 ac_ext=c
31514 ac_cpp='$CPP $CPPFLAGS'
31515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518
31519
31520 fi
31521
31522 fi
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31524 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31525
31526 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31527 for ac_func in _expl
31528 do :
31529 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31530 if test "x$ac_cv_func__expl" = x""yes; then :
31531 cat >>confdefs.h <<_ACEOF
31532 #define HAVE__EXPL 1
31533 _ACEOF
31534
31535 fi
31536 done
31537
31538 fi
31539 fi
31540
31541
31542
31543
31544
31545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31546 $as_echo_n "checking for fabsl declaration... " >&6; }
31547 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31548 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31549 $as_echo_n "(cached) " >&6
31550 else
31551
31552
31553 ac_ext=cpp
31554 ac_cpp='$CXXCPP $CPPFLAGS'
31555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31558
31559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31560 /* end confdefs.h. */
31561 #include <math.h>
31562 #ifdef HAVE_IEEEFP_H
31563 #include <ieeefp.h>
31564 #endif
31565
31566 int
31567 main ()
31568 {
31569 fabsl(0);
31570 ;
31571 return 0;
31572 }
31573 _ACEOF
31574 if ac_fn_cxx_try_compile "$LINENO"; then :
31575 glibcxx_cv_func_fabsl_use=yes
31576 else
31577 glibcxx_cv_func_fabsl_use=no
31578 fi
31579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31580 ac_ext=c
31581 ac_cpp='$CPP $CPPFLAGS'
31582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31585
31586
31587 fi
31588
31589 fi
31590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31591 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31592
31593 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31594 for ac_func in fabsl
31595 do :
31596 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31597 if test "x$ac_cv_func_fabsl" = x""yes; then :
31598 cat >>confdefs.h <<_ACEOF
31599 #define HAVE_FABSL 1
31600 _ACEOF
31601
31602 fi
31603 done
31604
31605 else
31606
31607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31608 $as_echo_n "checking for _fabsl declaration... " >&6; }
31609 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31610 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31611 $as_echo_n "(cached) " >&6
31612 else
31613
31614
31615 ac_ext=cpp
31616 ac_cpp='$CXXCPP $CPPFLAGS'
31617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31620
31621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31622 /* end confdefs.h. */
31623 #include <math.h>
31624 #ifdef HAVE_IEEEFP_H
31625 #include <ieeefp.h>
31626 #endif
31627
31628 int
31629 main ()
31630 {
31631 _fabsl(0);
31632 ;
31633 return 0;
31634 }
31635 _ACEOF
31636 if ac_fn_cxx_try_compile "$LINENO"; then :
31637 glibcxx_cv_func__fabsl_use=yes
31638 else
31639 glibcxx_cv_func__fabsl_use=no
31640 fi
31641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31642 ac_ext=c
31643 ac_cpp='$CPP $CPPFLAGS'
31644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31647
31648
31649 fi
31650
31651 fi
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31653 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31654
31655 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31656 for ac_func in _fabsl
31657 do :
31658 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31659 if test "x$ac_cv_func__fabsl" = x""yes; then :
31660 cat >>confdefs.h <<_ACEOF
31661 #define HAVE__FABSL 1
31662 _ACEOF
31663
31664 fi
31665 done
31666
31667 fi
31668 fi
31669
31670
31671
31672
31673
31674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31675 $as_echo_n "checking for fmodl declaration... " >&6; }
31676 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31677 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31678 $as_echo_n "(cached) " >&6
31679 else
31680
31681
31682 ac_ext=cpp
31683 ac_cpp='$CXXCPP $CPPFLAGS'
31684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31687
31688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31689 /* end confdefs.h. */
31690 #include <math.h>
31691 int
31692 main ()
31693 {
31694 fmodl(0, 0);
31695 ;
31696 return 0;
31697 }
31698 _ACEOF
31699 if ac_fn_cxx_try_compile "$LINENO"; then :
31700 glibcxx_cv_func_fmodl_use=yes
31701 else
31702 glibcxx_cv_func_fmodl_use=no
31703 fi
31704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31705 ac_ext=c
31706 ac_cpp='$CPP $CPPFLAGS'
31707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31710
31711
31712 fi
31713
31714 fi
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31716 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31717
31718 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31719 for ac_func in fmodl
31720 do :
31721 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31722 if test "x$ac_cv_func_fmodl" = x""yes; then :
31723 cat >>confdefs.h <<_ACEOF
31724 #define HAVE_FMODL 1
31725 _ACEOF
31726
31727 fi
31728 done
31729
31730 else
31731
31732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31733 $as_echo_n "checking for _fmodl declaration... " >&6; }
31734 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31735 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31736 $as_echo_n "(cached) " >&6
31737 else
31738
31739
31740 ac_ext=cpp
31741 ac_cpp='$CXXCPP $CPPFLAGS'
31742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31745
31746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31747 /* end confdefs.h. */
31748 #include <math.h>
31749 int
31750 main ()
31751 {
31752 _fmodl(0, 0);
31753 ;
31754 return 0;
31755 }
31756 _ACEOF
31757 if ac_fn_cxx_try_compile "$LINENO"; then :
31758 glibcxx_cv_func__fmodl_use=yes
31759 else
31760 glibcxx_cv_func__fmodl_use=no
31761 fi
31762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31763 ac_ext=c
31764 ac_cpp='$CPP $CPPFLAGS'
31765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31768
31769
31770 fi
31771
31772 fi
31773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31774 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31775
31776 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31777 for ac_func in _fmodl
31778 do :
31779 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31780 if test "x$ac_cv_func__fmodl" = x""yes; then :
31781 cat >>confdefs.h <<_ACEOF
31782 #define HAVE__FMODL 1
31783 _ACEOF
31784
31785 fi
31786 done
31787
31788 fi
31789 fi
31790
31791
31792
31793
31794
31795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31796 $as_echo_n "checking for frexpl declaration... " >&6; }
31797 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31798 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31799 $as_echo_n "(cached) " >&6
31800 else
31801
31802
31803 ac_ext=cpp
31804 ac_cpp='$CXXCPP $CPPFLAGS'
31805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31808
31809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31810 /* end confdefs.h. */
31811 #include <math.h>
31812 int
31813 main ()
31814 {
31815 frexpl(0, 0);
31816 ;
31817 return 0;
31818 }
31819 _ACEOF
31820 if ac_fn_cxx_try_compile "$LINENO"; then :
31821 glibcxx_cv_func_frexpl_use=yes
31822 else
31823 glibcxx_cv_func_frexpl_use=no
31824 fi
31825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31826 ac_ext=c
31827 ac_cpp='$CPP $CPPFLAGS'
31828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31831
31832
31833 fi
31834
31835 fi
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31837 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31838
31839 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31840 for ac_func in frexpl
31841 do :
31842 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31843 if test "x$ac_cv_func_frexpl" = x""yes; then :
31844 cat >>confdefs.h <<_ACEOF
31845 #define HAVE_FREXPL 1
31846 _ACEOF
31847
31848 fi
31849 done
31850
31851 else
31852
31853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31854 $as_echo_n "checking for _frexpl declaration... " >&6; }
31855 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31856 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31857 $as_echo_n "(cached) " >&6
31858 else
31859
31860
31861 ac_ext=cpp
31862 ac_cpp='$CXXCPP $CPPFLAGS'
31863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31866
31867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31868 /* end confdefs.h. */
31869 #include <math.h>
31870 int
31871 main ()
31872 {
31873 _frexpl(0, 0);
31874 ;
31875 return 0;
31876 }
31877 _ACEOF
31878 if ac_fn_cxx_try_compile "$LINENO"; then :
31879 glibcxx_cv_func__frexpl_use=yes
31880 else
31881 glibcxx_cv_func__frexpl_use=no
31882 fi
31883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31884 ac_ext=c
31885 ac_cpp='$CPP $CPPFLAGS'
31886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31889
31890
31891 fi
31892
31893 fi
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31895 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31896
31897 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31898 for ac_func in _frexpl
31899 do :
31900 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31901 if test "x$ac_cv_func__frexpl" = x""yes; then :
31902 cat >>confdefs.h <<_ACEOF
31903 #define HAVE__FREXPL 1
31904 _ACEOF
31905
31906 fi
31907 done
31908
31909 fi
31910 fi
31911
31912
31913
31914
31915
31916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31917 $as_echo_n "checking for hypotl declaration... " >&6; }
31918 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31919 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31920 $as_echo_n "(cached) " >&6
31921 else
31922
31923
31924 ac_ext=cpp
31925 ac_cpp='$CXXCPP $CPPFLAGS'
31926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31929
31930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31931 /* end confdefs.h. */
31932 #include <math.h>
31933 int
31934 main ()
31935 {
31936 hypotl(0, 0);
31937 ;
31938 return 0;
31939 }
31940 _ACEOF
31941 if ac_fn_cxx_try_compile "$LINENO"; then :
31942 glibcxx_cv_func_hypotl_use=yes
31943 else
31944 glibcxx_cv_func_hypotl_use=no
31945 fi
31946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31947 ac_ext=c
31948 ac_cpp='$CPP $CPPFLAGS'
31949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31952
31953
31954 fi
31955
31956 fi
31957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31958 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31959
31960 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31961 for ac_func in hypotl
31962 do :
31963 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31964 if test "x$ac_cv_func_hypotl" = x""yes; then :
31965 cat >>confdefs.h <<_ACEOF
31966 #define HAVE_HYPOTL 1
31967 _ACEOF
31968
31969 fi
31970 done
31971
31972 else
31973
31974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31975 $as_echo_n "checking for _hypotl declaration... " >&6; }
31976 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31977 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31978 $as_echo_n "(cached) " >&6
31979 else
31980
31981
31982 ac_ext=cpp
31983 ac_cpp='$CXXCPP $CPPFLAGS'
31984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31987
31988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31989 /* end confdefs.h. */
31990 #include <math.h>
31991 int
31992 main ()
31993 {
31994 _hypotl(0, 0);
31995 ;
31996 return 0;
31997 }
31998 _ACEOF
31999 if ac_fn_cxx_try_compile "$LINENO"; then :
32000 glibcxx_cv_func__hypotl_use=yes
32001 else
32002 glibcxx_cv_func__hypotl_use=no
32003 fi
32004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32005 ac_ext=c
32006 ac_cpp='$CPP $CPPFLAGS'
32007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32010
32011
32012 fi
32013
32014 fi
32015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32016 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32017
32018 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32019 for ac_func in _hypotl
32020 do :
32021 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32022 if test "x$ac_cv_func__hypotl" = x""yes; then :
32023 cat >>confdefs.h <<_ACEOF
32024 #define HAVE__HYPOTL 1
32025 _ACEOF
32026
32027 fi
32028 done
32029
32030 fi
32031 fi
32032
32033
32034
32035
32036
32037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32038 $as_echo_n "checking for ldexpl declaration... " >&6; }
32039 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32040 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32041 $as_echo_n "(cached) " >&6
32042 else
32043
32044
32045 ac_ext=cpp
32046 ac_cpp='$CXXCPP $CPPFLAGS'
32047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32050
32051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32052 /* end confdefs.h. */
32053 #include <math.h>
32054 int
32055 main ()
32056 {
32057 ldexpl(0, 0);
32058 ;
32059 return 0;
32060 }
32061 _ACEOF
32062 if ac_fn_cxx_try_compile "$LINENO"; then :
32063 glibcxx_cv_func_ldexpl_use=yes
32064 else
32065 glibcxx_cv_func_ldexpl_use=no
32066 fi
32067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32068 ac_ext=c
32069 ac_cpp='$CPP $CPPFLAGS'
32070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32073
32074
32075 fi
32076
32077 fi
32078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32079 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32080
32081 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32082 for ac_func in ldexpl
32083 do :
32084 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32085 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32086 cat >>confdefs.h <<_ACEOF
32087 #define HAVE_LDEXPL 1
32088 _ACEOF
32089
32090 fi
32091 done
32092
32093 else
32094
32095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32096 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32097 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32098 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32099 $as_echo_n "(cached) " >&6
32100 else
32101
32102
32103 ac_ext=cpp
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32108
32109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32110 /* end confdefs.h. */
32111 #include <math.h>
32112 int
32113 main ()
32114 {
32115 _ldexpl(0, 0);
32116 ;
32117 return 0;
32118 }
32119 _ACEOF
32120 if ac_fn_cxx_try_compile "$LINENO"; then :
32121 glibcxx_cv_func__ldexpl_use=yes
32122 else
32123 glibcxx_cv_func__ldexpl_use=no
32124 fi
32125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32126 ac_ext=c
32127 ac_cpp='$CPP $CPPFLAGS'
32128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32131
32132
32133 fi
32134
32135 fi
32136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32137 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32138
32139 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32140 for ac_func in _ldexpl
32141 do :
32142 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32143 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32144 cat >>confdefs.h <<_ACEOF
32145 #define HAVE__LDEXPL 1
32146 _ACEOF
32147
32148 fi
32149 done
32150
32151 fi
32152 fi
32153
32154
32155
32156
32157
32158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32159 $as_echo_n "checking for logl declaration... " >&6; }
32160 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32161 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32162 $as_echo_n "(cached) " >&6
32163 else
32164
32165
32166 ac_ext=cpp
32167 ac_cpp='$CXXCPP $CPPFLAGS'
32168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32171
32172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32173 /* end confdefs.h. */
32174 #include <math.h>
32175 #ifdef HAVE_IEEEFP_H
32176 #include <ieeefp.h>
32177 #endif
32178
32179 int
32180 main ()
32181 {
32182 logl(0);
32183 ;
32184 return 0;
32185 }
32186 _ACEOF
32187 if ac_fn_cxx_try_compile "$LINENO"; then :
32188 glibcxx_cv_func_logl_use=yes
32189 else
32190 glibcxx_cv_func_logl_use=no
32191 fi
32192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32193 ac_ext=c
32194 ac_cpp='$CPP $CPPFLAGS'
32195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32198
32199
32200 fi
32201
32202 fi
32203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32204 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32205
32206 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32207 for ac_func in logl
32208 do :
32209 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32210 if test "x$ac_cv_func_logl" = x""yes; then :
32211 cat >>confdefs.h <<_ACEOF
32212 #define HAVE_LOGL 1
32213 _ACEOF
32214
32215 fi
32216 done
32217
32218 else
32219
32220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32221 $as_echo_n "checking for _logl declaration... " >&6; }
32222 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32223 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32224 $as_echo_n "(cached) " >&6
32225 else
32226
32227
32228 ac_ext=cpp
32229 ac_cpp='$CXXCPP $CPPFLAGS'
32230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32233
32234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32235 /* end confdefs.h. */
32236 #include <math.h>
32237 #ifdef HAVE_IEEEFP_H
32238 #include <ieeefp.h>
32239 #endif
32240
32241 int
32242 main ()
32243 {
32244 _logl(0);
32245 ;
32246 return 0;
32247 }
32248 _ACEOF
32249 if ac_fn_cxx_try_compile "$LINENO"; then :
32250 glibcxx_cv_func__logl_use=yes
32251 else
32252 glibcxx_cv_func__logl_use=no
32253 fi
32254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32255 ac_ext=c
32256 ac_cpp='$CPP $CPPFLAGS'
32257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32260
32261
32262 fi
32263
32264 fi
32265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32266 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32267
32268 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32269 for ac_func in _logl
32270 do :
32271 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32272 if test "x$ac_cv_func__logl" = x""yes; then :
32273 cat >>confdefs.h <<_ACEOF
32274 #define HAVE__LOGL 1
32275 _ACEOF
32276
32277 fi
32278 done
32279
32280 fi
32281 fi
32282
32283
32284
32285
32286
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32288 $as_echo_n "checking for log10l declaration... " >&6; }
32289 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32290 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32291 $as_echo_n "(cached) " >&6
32292 else
32293
32294
32295 ac_ext=cpp
32296 ac_cpp='$CXXCPP $CPPFLAGS'
32297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32300
32301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32302 /* end confdefs.h. */
32303 #include <math.h>
32304 #ifdef HAVE_IEEEFP_H
32305 #include <ieeefp.h>
32306 #endif
32307
32308 int
32309 main ()
32310 {
32311 log10l(0);
32312 ;
32313 return 0;
32314 }
32315 _ACEOF
32316 if ac_fn_cxx_try_compile "$LINENO"; then :
32317 glibcxx_cv_func_log10l_use=yes
32318 else
32319 glibcxx_cv_func_log10l_use=no
32320 fi
32321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32322 ac_ext=c
32323 ac_cpp='$CPP $CPPFLAGS'
32324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32327
32328
32329 fi
32330
32331 fi
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32333 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32334
32335 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32336 for ac_func in log10l
32337 do :
32338 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32339 if test "x$ac_cv_func_log10l" = x""yes; then :
32340 cat >>confdefs.h <<_ACEOF
32341 #define HAVE_LOG10L 1
32342 _ACEOF
32343
32344 fi
32345 done
32346
32347 else
32348
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32350 $as_echo_n "checking for _log10l declaration... " >&6; }
32351 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32352 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32353 $as_echo_n "(cached) " >&6
32354 else
32355
32356
32357 ac_ext=cpp
32358 ac_cpp='$CXXCPP $CPPFLAGS'
32359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32362
32363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32364 /* end confdefs.h. */
32365 #include <math.h>
32366 #ifdef HAVE_IEEEFP_H
32367 #include <ieeefp.h>
32368 #endif
32369
32370 int
32371 main ()
32372 {
32373 _log10l(0);
32374 ;
32375 return 0;
32376 }
32377 _ACEOF
32378 if ac_fn_cxx_try_compile "$LINENO"; then :
32379 glibcxx_cv_func__log10l_use=yes
32380 else
32381 glibcxx_cv_func__log10l_use=no
32382 fi
32383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32384 ac_ext=c
32385 ac_cpp='$CPP $CPPFLAGS'
32386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32389
32390
32391 fi
32392
32393 fi
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32395 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32396
32397 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32398 for ac_func in _log10l
32399 do :
32400 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32401 if test "x$ac_cv_func__log10l" = x""yes; then :
32402 cat >>confdefs.h <<_ACEOF
32403 #define HAVE__LOG10L 1
32404 _ACEOF
32405
32406 fi
32407 done
32408
32409 fi
32410 fi
32411
32412
32413
32414
32415
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32417 $as_echo_n "checking for modfl declaration... " >&6; }
32418 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32419 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32420 $as_echo_n "(cached) " >&6
32421 else
32422
32423
32424 ac_ext=cpp
32425 ac_cpp='$CXXCPP $CPPFLAGS'
32426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32429
32430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32431 /* end confdefs.h. */
32432 #include <math.h>
32433 int
32434 main ()
32435 {
32436 modfl(0, 0);
32437 ;
32438 return 0;
32439 }
32440 _ACEOF
32441 if ac_fn_cxx_try_compile "$LINENO"; then :
32442 glibcxx_cv_func_modfl_use=yes
32443 else
32444 glibcxx_cv_func_modfl_use=no
32445 fi
32446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32447 ac_ext=c
32448 ac_cpp='$CPP $CPPFLAGS'
32449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32452
32453
32454 fi
32455
32456 fi
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32458 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32459
32460 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32461 for ac_func in modfl
32462 do :
32463 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32464 if test "x$ac_cv_func_modfl" = x""yes; then :
32465 cat >>confdefs.h <<_ACEOF
32466 #define HAVE_MODFL 1
32467 _ACEOF
32468
32469 fi
32470 done
32471
32472 else
32473
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32475 $as_echo_n "checking for _modfl declaration... " >&6; }
32476 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32477 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32478 $as_echo_n "(cached) " >&6
32479 else
32480
32481
32482 ac_ext=cpp
32483 ac_cpp='$CXXCPP $CPPFLAGS'
32484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32487
32488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32489 /* end confdefs.h. */
32490 #include <math.h>
32491 int
32492 main ()
32493 {
32494 _modfl(0, 0);
32495 ;
32496 return 0;
32497 }
32498 _ACEOF
32499 if ac_fn_cxx_try_compile "$LINENO"; then :
32500 glibcxx_cv_func__modfl_use=yes
32501 else
32502 glibcxx_cv_func__modfl_use=no
32503 fi
32504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32505 ac_ext=c
32506 ac_cpp='$CPP $CPPFLAGS'
32507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32510
32511
32512 fi
32513
32514 fi
32515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32516 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32517
32518 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32519 for ac_func in _modfl
32520 do :
32521 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32522 if test "x$ac_cv_func__modfl" = x""yes; then :
32523 cat >>confdefs.h <<_ACEOF
32524 #define HAVE__MODFL 1
32525 _ACEOF
32526
32527 fi
32528 done
32529
32530 fi
32531 fi
32532
32533
32534
32535
32536
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32538 $as_echo_n "checking for powl declaration... " >&6; }
32539 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32540 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32541 $as_echo_n "(cached) " >&6
32542 else
32543
32544
32545 ac_ext=cpp
32546 ac_cpp='$CXXCPP $CPPFLAGS'
32547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32550
32551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32552 /* end confdefs.h. */
32553 #include <math.h>
32554 int
32555 main ()
32556 {
32557 powl(0, 0);
32558 ;
32559 return 0;
32560 }
32561 _ACEOF
32562 if ac_fn_cxx_try_compile "$LINENO"; then :
32563 glibcxx_cv_func_powl_use=yes
32564 else
32565 glibcxx_cv_func_powl_use=no
32566 fi
32567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32568 ac_ext=c
32569 ac_cpp='$CPP $CPPFLAGS'
32570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32573
32574
32575 fi
32576
32577 fi
32578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32579 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32580
32581 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32582 for ac_func in powl
32583 do :
32584 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32585 if test "x$ac_cv_func_powl" = x""yes; then :
32586 cat >>confdefs.h <<_ACEOF
32587 #define HAVE_POWL 1
32588 _ACEOF
32589
32590 fi
32591 done
32592
32593 else
32594
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32596 $as_echo_n "checking for _powl declaration... " >&6; }
32597 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32598 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32599 $as_echo_n "(cached) " >&6
32600 else
32601
32602
32603 ac_ext=cpp
32604 ac_cpp='$CXXCPP $CPPFLAGS'
32605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32608
32609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32610 /* end confdefs.h. */
32611 #include <math.h>
32612 int
32613 main ()
32614 {
32615 _powl(0, 0);
32616 ;
32617 return 0;
32618 }
32619 _ACEOF
32620 if ac_fn_cxx_try_compile "$LINENO"; then :
32621 glibcxx_cv_func__powl_use=yes
32622 else
32623 glibcxx_cv_func__powl_use=no
32624 fi
32625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32626 ac_ext=c
32627 ac_cpp='$CPP $CPPFLAGS'
32628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32631
32632
32633 fi
32634
32635 fi
32636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32637 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32638
32639 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32640 for ac_func in _powl
32641 do :
32642 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32643 if test "x$ac_cv_func__powl" = x""yes; then :
32644 cat >>confdefs.h <<_ACEOF
32645 #define HAVE__POWL 1
32646 _ACEOF
32647
32648 fi
32649 done
32650
32651 fi
32652 fi
32653
32654
32655
32656
32657
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32659 $as_echo_n "checking for sqrtl declaration... " >&6; }
32660 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32661 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32662 $as_echo_n "(cached) " >&6
32663 else
32664
32665
32666 ac_ext=cpp
32667 ac_cpp='$CXXCPP $CPPFLAGS'
32668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32671
32672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32673 /* end confdefs.h. */
32674 #include <math.h>
32675 #ifdef HAVE_IEEEFP_H
32676 #include <ieeefp.h>
32677 #endif
32678
32679 int
32680 main ()
32681 {
32682 sqrtl(0);
32683 ;
32684 return 0;
32685 }
32686 _ACEOF
32687 if ac_fn_cxx_try_compile "$LINENO"; then :
32688 glibcxx_cv_func_sqrtl_use=yes
32689 else
32690 glibcxx_cv_func_sqrtl_use=no
32691 fi
32692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32693 ac_ext=c
32694 ac_cpp='$CPP $CPPFLAGS'
32695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32698
32699
32700 fi
32701
32702 fi
32703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32704 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32705
32706 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32707 for ac_func in sqrtl
32708 do :
32709 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32710 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32711 cat >>confdefs.h <<_ACEOF
32712 #define HAVE_SQRTL 1
32713 _ACEOF
32714
32715 fi
32716 done
32717
32718 else
32719
32720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32721 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32722 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32723 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32724 $as_echo_n "(cached) " >&6
32725 else
32726
32727
32728 ac_ext=cpp
32729 ac_cpp='$CXXCPP $CPPFLAGS'
32730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32733
32734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32735 /* end confdefs.h. */
32736 #include <math.h>
32737 #ifdef HAVE_IEEEFP_H
32738 #include <ieeefp.h>
32739 #endif
32740
32741 int
32742 main ()
32743 {
32744 _sqrtl(0);
32745 ;
32746 return 0;
32747 }
32748 _ACEOF
32749 if ac_fn_cxx_try_compile "$LINENO"; then :
32750 glibcxx_cv_func__sqrtl_use=yes
32751 else
32752 glibcxx_cv_func__sqrtl_use=no
32753 fi
32754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32755 ac_ext=c
32756 ac_cpp='$CPP $CPPFLAGS'
32757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32760
32761
32762 fi
32763
32764 fi
32765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32766 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32767
32768 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32769 for ac_func in _sqrtl
32770 do :
32771 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32772 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32773 cat >>confdefs.h <<_ACEOF
32774 #define HAVE__SQRTL 1
32775 _ACEOF
32776
32777 fi
32778 done
32779
32780 fi
32781 fi
32782
32783
32784
32785
32786
32787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32788 $as_echo_n "checking for sincosl declaration... " >&6; }
32789 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32790 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32791 $as_echo_n "(cached) " >&6
32792 else
32793
32794
32795 ac_ext=cpp
32796 ac_cpp='$CXXCPP $CPPFLAGS'
32797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32800
32801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32802 /* end confdefs.h. */
32803 #include <math.h>
32804 int
32805 main ()
32806 {
32807 sincosl(0, 0, 0);
32808 ;
32809 return 0;
32810 }
32811 _ACEOF
32812 if ac_fn_cxx_try_compile "$LINENO"; then :
32813 glibcxx_cv_func_sincosl_use=yes
32814 else
32815 glibcxx_cv_func_sincosl_use=no
32816 fi
32817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32818 ac_ext=c
32819 ac_cpp='$CPP $CPPFLAGS'
32820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32823
32824
32825 fi
32826
32827 fi
32828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32829 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32830
32831 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32832 for ac_func in sincosl
32833 do :
32834 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32835 if test "x$ac_cv_func_sincosl" = x""yes; then :
32836 cat >>confdefs.h <<_ACEOF
32837 #define HAVE_SINCOSL 1
32838 _ACEOF
32839
32840 fi
32841 done
32842
32843 else
32844
32845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32846 $as_echo_n "checking for _sincosl declaration... " >&6; }
32847 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32848 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32849 $as_echo_n "(cached) " >&6
32850 else
32851
32852
32853 ac_ext=cpp
32854 ac_cpp='$CXXCPP $CPPFLAGS'
32855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32858
32859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32860 /* end confdefs.h. */
32861 #include <math.h>
32862 int
32863 main ()
32864 {
32865 _sincosl(0, 0, 0);
32866 ;
32867 return 0;
32868 }
32869 _ACEOF
32870 if ac_fn_cxx_try_compile "$LINENO"; then :
32871 glibcxx_cv_func__sincosl_use=yes
32872 else
32873 glibcxx_cv_func__sincosl_use=no
32874 fi
32875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32876 ac_ext=c
32877 ac_cpp='$CPP $CPPFLAGS'
32878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32881
32882
32883 fi
32884
32885 fi
32886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32887 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32888
32889 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32890 for ac_func in _sincosl
32891 do :
32892 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32893 if test "x$ac_cv_func__sincosl" = x""yes; then :
32894 cat >>confdefs.h <<_ACEOF
32895 #define HAVE__SINCOSL 1
32896 _ACEOF
32897
32898 fi
32899 done
32900
32901 fi
32902 fi
32903
32904
32905
32906
32907
32908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32909 $as_echo_n "checking for finitel declaration... " >&6; }
32910 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32911 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32912 $as_echo_n "(cached) " >&6
32913 else
32914
32915
32916 ac_ext=cpp
32917 ac_cpp='$CXXCPP $CPPFLAGS'
32918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32921
32922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32923 /* end confdefs.h. */
32924 #include <math.h>
32925 #ifdef HAVE_IEEEFP_H
32926 #include <ieeefp.h>
32927 #endif
32928
32929 int
32930 main ()
32931 {
32932 finitel(0);
32933 ;
32934 return 0;
32935 }
32936 _ACEOF
32937 if ac_fn_cxx_try_compile "$LINENO"; then :
32938 glibcxx_cv_func_finitel_use=yes
32939 else
32940 glibcxx_cv_func_finitel_use=no
32941 fi
32942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32943 ac_ext=c
32944 ac_cpp='$CPP $CPPFLAGS'
32945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32948
32949
32950 fi
32951
32952 fi
32953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32954 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32955
32956 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32957 for ac_func in finitel
32958 do :
32959 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32960 if test "x$ac_cv_func_finitel" = x""yes; then :
32961 cat >>confdefs.h <<_ACEOF
32962 #define HAVE_FINITEL 1
32963 _ACEOF
32964
32965 fi
32966 done
32967
32968 else
32969
32970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32971 $as_echo_n "checking for _finitel declaration... " >&6; }
32972 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32973 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32974 $as_echo_n "(cached) " >&6
32975 else
32976
32977
32978 ac_ext=cpp
32979 ac_cpp='$CXXCPP $CPPFLAGS'
32980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32983
32984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32985 /* end confdefs.h. */
32986 #include <math.h>
32987 #ifdef HAVE_IEEEFP_H
32988 #include <ieeefp.h>
32989 #endif
32990
32991 int
32992 main ()
32993 {
32994 _finitel(0);
32995 ;
32996 return 0;
32997 }
32998 _ACEOF
32999 if ac_fn_cxx_try_compile "$LINENO"; then :
33000 glibcxx_cv_func__finitel_use=yes
33001 else
33002 glibcxx_cv_func__finitel_use=no
33003 fi
33004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33005 ac_ext=c
33006 ac_cpp='$CPP $CPPFLAGS'
33007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33010
33011
33012 fi
33013
33014 fi
33015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33016 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33017
33018 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33019 for ac_func in _finitel
33020 do :
33021 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33022 if test "x$ac_cv_func__finitel" = x""yes; then :
33023 cat >>confdefs.h <<_ACEOF
33024 #define HAVE__FINITEL 1
33025 _ACEOF
33026
33027 fi
33028 done
33029
33030 fi
33031 fi
33032
33033
33034
33035
33036 LIBS="$ac_save_LIBS"
33037 CXXFLAGS="$ac_save_CXXFLAGS"
33038
33039
33040 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33041 ac_save_CXXFLAGS="$CXXFLAGS"
33042 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33043
33044
33045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33046 $as_echo_n "checking for strtold declaration... " >&6; }
33047 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33048 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33049 $as_echo_n "(cached) " >&6
33050 else
33051
33052
33053 ac_ext=cpp
33054 ac_cpp='$CXXCPP $CPPFLAGS'
33055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33058
33059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33060 /* end confdefs.h. */
33061 #include <stdlib.h>
33062 int
33063 main ()
33064 {
33065 strtold(0, 0);
33066 ;
33067 return 0;
33068 }
33069 _ACEOF
33070 if ac_fn_cxx_try_compile "$LINENO"; then :
33071 glibcxx_cv_func_strtold_use=yes
33072 else
33073 glibcxx_cv_func_strtold_use=no
33074 fi
33075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33076 ac_ext=c
33077 ac_cpp='$CPP $CPPFLAGS'
33078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33081
33082
33083 fi
33084
33085 fi
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33087 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33088 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33089 for ac_func in strtold
33090 do :
33091 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33092 if test "x$ac_cv_func_strtold" = x""yes; then :
33093 cat >>confdefs.h <<_ACEOF
33094 #define HAVE_STRTOLD 1
33095 _ACEOF
33096
33097 fi
33098 done
33099
33100 fi
33101
33102
33103
33104
33105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33106 $as_echo_n "checking for strtof declaration... " >&6; }
33107 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33108 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33109 $as_echo_n "(cached) " >&6
33110 else
33111
33112
33113 ac_ext=cpp
33114 ac_cpp='$CXXCPP $CPPFLAGS'
33115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33118
33119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33120 /* end confdefs.h. */
33121 #include <stdlib.h>
33122 int
33123 main ()
33124 {
33125 strtof(0, 0);
33126 ;
33127 return 0;
33128 }
33129 _ACEOF
33130 if ac_fn_cxx_try_compile "$LINENO"; then :
33131 glibcxx_cv_func_strtof_use=yes
33132 else
33133 glibcxx_cv_func_strtof_use=no
33134 fi
33135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33136 ac_ext=c
33137 ac_cpp='$CPP $CPPFLAGS'
33138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33141
33142
33143 fi
33144
33145 fi
33146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33147 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33148 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33149 for ac_func in strtof
33150 do :
33151 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33152 if test "x$ac_cv_func_strtof" = x""yes; then :
33153 cat >>confdefs.h <<_ACEOF
33154 #define HAVE_STRTOF 1
33155 _ACEOF
33156
33157 fi
33158 done
33159
33160 fi
33161
33162
33163
33164
33165 CXXFLAGS="$ac_save_CXXFLAGS"
33166
33167
33168 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33169
33170 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33171
33172 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33173
33174 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33175
33176
33177 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33178
33179 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33180
33181 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33182
33183 ;;
33184
33185 *-aix*)
33186
33187 # If we're not using GNU ld, then there's no point in even trying these
33188 # tests. Check for that first. We should have already tested for gld
33189 # by now (in libtool), but require it now just to be safe...
33190 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33191 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33192
33193
33194
33195 # The name set by libtool depends on the version of libtool. Shame on us
33196 # for depending on an impl detail, but c'est la vie. Older versions used
33197 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33198 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33199 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33200 # set (hence we're using an older libtool), then set it.
33201 if test x${with_gnu_ld+set} != xset; then
33202 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33203 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33204 with_gnu_ld=no
33205 else
33206 with_gnu_ld=$ac_cv_prog_gnu_ld
33207 fi
33208 fi
33209
33210 # Start by getting the version number. I think the libtool test already
33211 # does some of this, but throws away the result.
33212 glibcxx_ld_is_gold=no
33213 if test x"$with_gnu_ld" = x"yes"; then
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33215 $as_echo_n "checking for ld version... " >&6; }
33216
33217 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33218 glibcxx_ld_is_gold=yes
33219 fi
33220 ldver=`$LD --version 2>/dev/null |
33221 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'`
33222
33223 glibcxx_gnu_ld_version=`echo $ldver | \
33224 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33226 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33227 fi
33228
33229 # Set --gc-sections.
33230 glibcxx_have_gc_sections=no
33231 if test "$glibcxx_ld_is_gold" = "yes"; then
33232 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33233 glibcxx_have_gc_sections=yes
33234 fi
33235 else
33236 glibcxx_gcsections_min_ld=21602
33237 if test x"$with_gnu_ld" = x"yes" &&
33238 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33239 glibcxx_have_gc_sections=yes
33240 fi
33241 fi
33242 if test "$glibcxx_have_gc_sections" = "yes"; then
33243 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33244 # NB: This flag only works reliably after 2.16.1. Configure tests
33245 # for this are difficult, so hard wire a value that should work.
33246
33247 ac_test_CFLAGS="${CFLAGS+set}"
33248 ac_save_CFLAGS="$CFLAGS"
33249 CFLAGS='-Wl,--gc-sections'
33250
33251 # Check for -Wl,--gc-sections
33252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33253 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33254 if test x$gcc_no_link = xyes; then
33255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33256 fi
33257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h. */
33259 int one(void) { return 1; }
33260 int two(void) { return 2; }
33261
33262 int
33263 main ()
33264 {
33265 two();
33266 ;
33267 return 0;
33268 }
33269 _ACEOF
33270 if ac_fn_c_try_link "$LINENO"; then :
33271 ac_gcsections=yes
33272 else
33273 ac_gcsections=no
33274 fi
33275 rm -f core conftest.err conftest.$ac_objext \
33276 conftest$ac_exeext conftest.$ac_ext
33277 if test "$ac_gcsections" = "yes"; then
33278 rm -f conftest.c
33279 touch conftest.c
33280 if $CC -c conftest.c; then
33281 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33282 grep "Warning: gc-sections option ignored" > /dev/null; then
33283 ac_gcsections=no
33284 fi
33285 fi
33286 rm -f conftest.c conftest.o conftest
33287 fi
33288 if test "$ac_gcsections" = "yes"; then
33289 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33290 fi
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33292 $as_echo "$ac_gcsections" >&6; }
33293
33294 if test "$ac_test_CFLAGS" = set; then
33295 CFLAGS="$ac_save_CFLAGS"
33296 else
33297 # this is the suspicious part
33298 CFLAGS=''
33299 fi
33300 fi
33301
33302 # Set -z,relro.
33303 # Note this is only for shared objects.
33304 ac_ld_relro=no
33305 if test x"$with_gnu_ld" = x"yes"; then
33306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33307 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33308 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33309 if test -n "$cxx_z_relo"; then
33310 OPT_LDFLAGS="-Wl,-z,relro"
33311 ac_ld_relro=yes
33312 fi
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33314 $as_echo "$ac_ld_relro" >&6; }
33315 fi
33316
33317 # Set linker optimization flags.
33318 if test x"$with_gnu_ld" = x"yes"; then
33319 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33320 fi
33321
33322
33323
33324
33325
33326 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33327 ac_save_CXXFLAGS="$CXXFLAGS"
33328 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33329
33330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33331 $as_echo_n "checking for sin in -lm... " >&6; }
33332 if test "${ac_cv_lib_m_sin+set}" = set; then :
33333 $as_echo_n "(cached) " >&6
33334 else
33335 ac_check_lib_save_LIBS=$LIBS
33336 LIBS="-lm $LIBS"
33337 if test x$gcc_no_link = xyes; then
33338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33339 fi
33340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33341 /* end confdefs.h. */
33342
33343 /* Override any GCC internal prototype to avoid an error.
33344 Use char because int might match the return type of a GCC
33345 builtin and then its argument prototype would still apply. */
33346 #ifdef __cplusplus
33347 extern "C"
33348 #endif
33349 char sin ();
33350 int
33351 main ()
33352 {
33353 return sin ();
33354 ;
33355 return 0;
33356 }
33357 _ACEOF
33358 if ac_fn_c_try_link "$LINENO"; then :
33359 ac_cv_lib_m_sin=yes
33360 else
33361 ac_cv_lib_m_sin=no
33362 fi
33363 rm -f core conftest.err conftest.$ac_objext \
33364 conftest$ac_exeext conftest.$ac_ext
33365 LIBS=$ac_check_lib_save_LIBS
33366 fi
33367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33368 $as_echo "$ac_cv_lib_m_sin" >&6; }
33369 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33370 libm="-lm"
33371 fi
33372
33373 ac_save_LIBS="$LIBS"
33374 LIBS="$LIBS $libm"
33375
33376
33377
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33379 $as_echo_n "checking for isinf declaration... " >&6; }
33380 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33381 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33382 $as_echo_n "(cached) " >&6
33383 else
33384
33385
33386 ac_ext=cpp
33387 ac_cpp='$CXXCPP $CPPFLAGS'
33388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33391
33392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33393 /* end confdefs.h. */
33394 #include <math.h>
33395 #ifdef HAVE_IEEEFP_H
33396 #include <ieeefp.h>
33397 #endif
33398
33399 int
33400 main ()
33401 {
33402 isinf(0);
33403 ;
33404 return 0;
33405 }
33406 _ACEOF
33407 if ac_fn_cxx_try_compile "$LINENO"; then :
33408 glibcxx_cv_func_isinf_use=yes
33409 else
33410 glibcxx_cv_func_isinf_use=no
33411 fi
33412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33413 ac_ext=c
33414 ac_cpp='$CPP $CPPFLAGS'
33415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33418
33419
33420 fi
33421
33422 fi
33423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33424 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33425
33426 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33427 for ac_func in isinf
33428 do :
33429 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33430 if test "x$ac_cv_func_isinf" = x""yes; then :
33431 cat >>confdefs.h <<_ACEOF
33432 #define HAVE_ISINF 1
33433 _ACEOF
33434
33435 fi
33436 done
33437
33438 else
33439
33440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33441 $as_echo_n "checking for _isinf declaration... " >&6; }
33442 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33443 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33444 $as_echo_n "(cached) " >&6
33445 else
33446
33447
33448 ac_ext=cpp
33449 ac_cpp='$CXXCPP $CPPFLAGS'
33450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33453
33454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33455 /* end confdefs.h. */
33456 #include <math.h>
33457 #ifdef HAVE_IEEEFP_H
33458 #include <ieeefp.h>
33459 #endif
33460
33461 int
33462 main ()
33463 {
33464 _isinf(0);
33465 ;
33466 return 0;
33467 }
33468 _ACEOF
33469 if ac_fn_cxx_try_compile "$LINENO"; then :
33470 glibcxx_cv_func__isinf_use=yes
33471 else
33472 glibcxx_cv_func__isinf_use=no
33473 fi
33474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33475 ac_ext=c
33476 ac_cpp='$CPP $CPPFLAGS'
33477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33480
33481
33482 fi
33483
33484 fi
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33486 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33487
33488 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33489 for ac_func in _isinf
33490 do :
33491 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33492 if test "x$ac_cv_func__isinf" = x""yes; then :
33493 cat >>confdefs.h <<_ACEOF
33494 #define HAVE__ISINF 1
33495 _ACEOF
33496
33497 fi
33498 done
33499
33500 fi
33501 fi
33502
33503
33504
33505
33506
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33508 $as_echo_n "checking for isnan declaration... " >&6; }
33509 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33510 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33511 $as_echo_n "(cached) " >&6
33512 else
33513
33514
33515 ac_ext=cpp
33516 ac_cpp='$CXXCPP $CPPFLAGS'
33517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33520
33521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33522 /* end confdefs.h. */
33523 #include <math.h>
33524 #ifdef HAVE_IEEEFP_H
33525 #include <ieeefp.h>
33526 #endif
33527
33528 int
33529 main ()
33530 {
33531 isnan(0);
33532 ;
33533 return 0;
33534 }
33535 _ACEOF
33536 if ac_fn_cxx_try_compile "$LINENO"; then :
33537 glibcxx_cv_func_isnan_use=yes
33538 else
33539 glibcxx_cv_func_isnan_use=no
33540 fi
33541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33542 ac_ext=c
33543 ac_cpp='$CPP $CPPFLAGS'
33544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33547
33548
33549 fi
33550
33551 fi
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33553 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33554
33555 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33556 for ac_func in isnan
33557 do :
33558 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33559 if test "x$ac_cv_func_isnan" = x""yes; then :
33560 cat >>confdefs.h <<_ACEOF
33561 #define HAVE_ISNAN 1
33562 _ACEOF
33563
33564 fi
33565 done
33566
33567 else
33568
33569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33570 $as_echo_n "checking for _isnan declaration... " >&6; }
33571 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33572 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33573 $as_echo_n "(cached) " >&6
33574 else
33575
33576
33577 ac_ext=cpp
33578 ac_cpp='$CXXCPP $CPPFLAGS'
33579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33582
33583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33584 /* end confdefs.h. */
33585 #include <math.h>
33586 #ifdef HAVE_IEEEFP_H
33587 #include <ieeefp.h>
33588 #endif
33589
33590 int
33591 main ()
33592 {
33593 _isnan(0);
33594 ;
33595 return 0;
33596 }
33597 _ACEOF
33598 if ac_fn_cxx_try_compile "$LINENO"; then :
33599 glibcxx_cv_func__isnan_use=yes
33600 else
33601 glibcxx_cv_func__isnan_use=no
33602 fi
33603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33604 ac_ext=c
33605 ac_cpp='$CPP $CPPFLAGS'
33606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33609
33610
33611 fi
33612
33613 fi
33614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33615 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33616
33617 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33618 for ac_func in _isnan
33619 do :
33620 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33621 if test "x$ac_cv_func__isnan" = x""yes; then :
33622 cat >>confdefs.h <<_ACEOF
33623 #define HAVE__ISNAN 1
33624 _ACEOF
33625
33626 fi
33627 done
33628
33629 fi
33630 fi
33631
33632
33633
33634
33635
33636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33637 $as_echo_n "checking for finite declaration... " >&6; }
33638 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33639 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33640 $as_echo_n "(cached) " >&6
33641 else
33642
33643
33644 ac_ext=cpp
33645 ac_cpp='$CXXCPP $CPPFLAGS'
33646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33649
33650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33651 /* end confdefs.h. */
33652 #include <math.h>
33653 #ifdef HAVE_IEEEFP_H
33654 #include <ieeefp.h>
33655 #endif
33656
33657 int
33658 main ()
33659 {
33660 finite(0);
33661 ;
33662 return 0;
33663 }
33664 _ACEOF
33665 if ac_fn_cxx_try_compile "$LINENO"; then :
33666 glibcxx_cv_func_finite_use=yes
33667 else
33668 glibcxx_cv_func_finite_use=no
33669 fi
33670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33671 ac_ext=c
33672 ac_cpp='$CPP $CPPFLAGS'
33673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33676
33677
33678 fi
33679
33680 fi
33681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33682 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33683
33684 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33685 for ac_func in finite
33686 do :
33687 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33688 if test "x$ac_cv_func_finite" = x""yes; then :
33689 cat >>confdefs.h <<_ACEOF
33690 #define HAVE_FINITE 1
33691 _ACEOF
33692
33693 fi
33694 done
33695
33696 else
33697
33698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33699 $as_echo_n "checking for _finite declaration... " >&6; }
33700 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33701 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33702 $as_echo_n "(cached) " >&6
33703 else
33704
33705
33706 ac_ext=cpp
33707 ac_cpp='$CXXCPP $CPPFLAGS'
33708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33711
33712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33713 /* end confdefs.h. */
33714 #include <math.h>
33715 #ifdef HAVE_IEEEFP_H
33716 #include <ieeefp.h>
33717 #endif
33718
33719 int
33720 main ()
33721 {
33722 _finite(0);
33723 ;
33724 return 0;
33725 }
33726 _ACEOF
33727 if ac_fn_cxx_try_compile "$LINENO"; then :
33728 glibcxx_cv_func__finite_use=yes
33729 else
33730 glibcxx_cv_func__finite_use=no
33731 fi
33732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33733 ac_ext=c
33734 ac_cpp='$CPP $CPPFLAGS'
33735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33738
33739
33740 fi
33741
33742 fi
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33744 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33745
33746 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33747 for ac_func in _finite
33748 do :
33749 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33750 if test "x$ac_cv_func__finite" = x""yes; then :
33751 cat >>confdefs.h <<_ACEOF
33752 #define HAVE__FINITE 1
33753 _ACEOF
33754
33755 fi
33756 done
33757
33758 fi
33759 fi
33760
33761
33762
33763
33764
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33766 $as_echo_n "checking for sincos declaration... " >&6; }
33767 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33768 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33769 $as_echo_n "(cached) " >&6
33770 else
33771
33772
33773 ac_ext=cpp
33774 ac_cpp='$CXXCPP $CPPFLAGS'
33775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33778
33779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33780 /* end confdefs.h. */
33781 #include <math.h>
33782 int
33783 main ()
33784 {
33785 sincos(0, 0, 0);
33786 ;
33787 return 0;
33788 }
33789 _ACEOF
33790 if ac_fn_cxx_try_compile "$LINENO"; then :
33791 glibcxx_cv_func_sincos_use=yes
33792 else
33793 glibcxx_cv_func_sincos_use=no
33794 fi
33795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33796 ac_ext=c
33797 ac_cpp='$CPP $CPPFLAGS'
33798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33801
33802
33803 fi
33804
33805 fi
33806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33807 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33808
33809 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33810 for ac_func in sincos
33811 do :
33812 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33813 if test "x$ac_cv_func_sincos" = x""yes; then :
33814 cat >>confdefs.h <<_ACEOF
33815 #define HAVE_SINCOS 1
33816 _ACEOF
33817
33818 fi
33819 done
33820
33821 else
33822
33823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33824 $as_echo_n "checking for _sincos declaration... " >&6; }
33825 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33826 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33827 $as_echo_n "(cached) " >&6
33828 else
33829
33830
33831 ac_ext=cpp
33832 ac_cpp='$CXXCPP $CPPFLAGS'
33833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33836
33837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33838 /* end confdefs.h. */
33839 #include <math.h>
33840 int
33841 main ()
33842 {
33843 _sincos(0, 0, 0);
33844 ;
33845 return 0;
33846 }
33847 _ACEOF
33848 if ac_fn_cxx_try_compile "$LINENO"; then :
33849 glibcxx_cv_func__sincos_use=yes
33850 else
33851 glibcxx_cv_func__sincos_use=no
33852 fi
33853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33854 ac_ext=c
33855 ac_cpp='$CPP $CPPFLAGS'
33856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33859
33860
33861 fi
33862
33863 fi
33864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33865 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33866
33867 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33868 for ac_func in _sincos
33869 do :
33870 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33871 if test "x$ac_cv_func__sincos" = x""yes; then :
33872 cat >>confdefs.h <<_ACEOF
33873 #define HAVE__SINCOS 1
33874 _ACEOF
33875
33876 fi
33877 done
33878
33879 fi
33880 fi
33881
33882
33883
33884
33885
33886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33887 $as_echo_n "checking for fpclass declaration... " >&6; }
33888 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33889 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33890 $as_echo_n "(cached) " >&6
33891 else
33892
33893
33894 ac_ext=cpp
33895 ac_cpp='$CXXCPP $CPPFLAGS'
33896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33899
33900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33901 /* end confdefs.h. */
33902 #include <math.h>
33903 #ifdef HAVE_IEEEFP_H
33904 #include <ieeefp.h>
33905 #endif
33906
33907 int
33908 main ()
33909 {
33910 fpclass(0);
33911 ;
33912 return 0;
33913 }
33914 _ACEOF
33915 if ac_fn_cxx_try_compile "$LINENO"; then :
33916 glibcxx_cv_func_fpclass_use=yes
33917 else
33918 glibcxx_cv_func_fpclass_use=no
33919 fi
33920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33921 ac_ext=c
33922 ac_cpp='$CPP $CPPFLAGS'
33923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33926
33927
33928 fi
33929
33930 fi
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33932 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33933
33934 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33935 for ac_func in fpclass
33936 do :
33937 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33938 if test "x$ac_cv_func_fpclass" = x""yes; then :
33939 cat >>confdefs.h <<_ACEOF
33940 #define HAVE_FPCLASS 1
33941 _ACEOF
33942
33943 fi
33944 done
33945
33946 else
33947
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33949 $as_echo_n "checking for _fpclass declaration... " >&6; }
33950 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33951 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33952 $as_echo_n "(cached) " >&6
33953 else
33954
33955
33956 ac_ext=cpp
33957 ac_cpp='$CXXCPP $CPPFLAGS'
33958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33961
33962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33963 /* end confdefs.h. */
33964 #include <math.h>
33965 #ifdef HAVE_IEEEFP_H
33966 #include <ieeefp.h>
33967 #endif
33968
33969 int
33970 main ()
33971 {
33972 _fpclass(0);
33973 ;
33974 return 0;
33975 }
33976 _ACEOF
33977 if ac_fn_cxx_try_compile "$LINENO"; then :
33978 glibcxx_cv_func__fpclass_use=yes
33979 else
33980 glibcxx_cv_func__fpclass_use=no
33981 fi
33982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33983 ac_ext=c
33984 ac_cpp='$CPP $CPPFLAGS'
33985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33988
33989
33990 fi
33991
33992 fi
33993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33994 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33995
33996 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33997 for ac_func in _fpclass
33998 do :
33999 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34000 if test "x$ac_cv_func__fpclass" = x""yes; then :
34001 cat >>confdefs.h <<_ACEOF
34002 #define HAVE__FPCLASS 1
34003 _ACEOF
34004
34005 fi
34006 done
34007
34008 fi
34009 fi
34010
34011
34012
34013
34014
34015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34016 $as_echo_n "checking for qfpclass declaration... " >&6; }
34017 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34018 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34019 $as_echo_n "(cached) " >&6
34020 else
34021
34022
34023 ac_ext=cpp
34024 ac_cpp='$CXXCPP $CPPFLAGS'
34025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34028
34029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34030 /* end confdefs.h. */
34031 #include <math.h>
34032 #ifdef HAVE_IEEEFP_H
34033 #include <ieeefp.h>
34034 #endif
34035
34036 int
34037 main ()
34038 {
34039 qfpclass(0);
34040 ;
34041 return 0;
34042 }
34043 _ACEOF
34044 if ac_fn_cxx_try_compile "$LINENO"; then :
34045 glibcxx_cv_func_qfpclass_use=yes
34046 else
34047 glibcxx_cv_func_qfpclass_use=no
34048 fi
34049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34050 ac_ext=c
34051 ac_cpp='$CPP $CPPFLAGS'
34052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34055
34056
34057 fi
34058
34059 fi
34060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34061 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34062
34063 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34064 for ac_func in qfpclass
34065 do :
34066 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34067 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34068 cat >>confdefs.h <<_ACEOF
34069 #define HAVE_QFPCLASS 1
34070 _ACEOF
34071
34072 fi
34073 done
34074
34075 else
34076
34077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34078 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34079 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34080 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34081 $as_echo_n "(cached) " >&6
34082 else
34083
34084
34085 ac_ext=cpp
34086 ac_cpp='$CXXCPP $CPPFLAGS'
34087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34090
34091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34092 /* end confdefs.h. */
34093 #include <math.h>
34094 #ifdef HAVE_IEEEFP_H
34095 #include <ieeefp.h>
34096 #endif
34097
34098 int
34099 main ()
34100 {
34101 _qfpclass(0);
34102 ;
34103 return 0;
34104 }
34105 _ACEOF
34106 if ac_fn_cxx_try_compile "$LINENO"; then :
34107 glibcxx_cv_func__qfpclass_use=yes
34108 else
34109 glibcxx_cv_func__qfpclass_use=no
34110 fi
34111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34112 ac_ext=c
34113 ac_cpp='$CPP $CPPFLAGS'
34114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34117
34118
34119 fi
34120
34121 fi
34122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34123 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34124
34125 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34126 for ac_func in _qfpclass
34127 do :
34128 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34129 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34130 cat >>confdefs.h <<_ACEOF
34131 #define HAVE__QFPCLASS 1
34132 _ACEOF
34133
34134 fi
34135 done
34136
34137 fi
34138 fi
34139
34140
34141
34142
34143
34144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34145 $as_echo_n "checking for hypot declaration... " >&6; }
34146 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34147 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34148 $as_echo_n "(cached) " >&6
34149 else
34150
34151
34152 ac_ext=cpp
34153 ac_cpp='$CXXCPP $CPPFLAGS'
34154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34157
34158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34159 /* end confdefs.h. */
34160 #include <math.h>
34161 int
34162 main ()
34163 {
34164 hypot(0, 0);
34165 ;
34166 return 0;
34167 }
34168 _ACEOF
34169 if ac_fn_cxx_try_compile "$LINENO"; then :
34170 glibcxx_cv_func_hypot_use=yes
34171 else
34172 glibcxx_cv_func_hypot_use=no
34173 fi
34174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34175 ac_ext=c
34176 ac_cpp='$CPP $CPPFLAGS'
34177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34180
34181
34182 fi
34183
34184 fi
34185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34186 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34187
34188 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34189 for ac_func in hypot
34190 do :
34191 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34192 if test "x$ac_cv_func_hypot" = x""yes; then :
34193 cat >>confdefs.h <<_ACEOF
34194 #define HAVE_HYPOT 1
34195 _ACEOF
34196
34197 fi
34198 done
34199
34200 else
34201
34202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34203 $as_echo_n "checking for _hypot declaration... " >&6; }
34204 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34205 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34206 $as_echo_n "(cached) " >&6
34207 else
34208
34209
34210 ac_ext=cpp
34211 ac_cpp='$CXXCPP $CPPFLAGS'
34212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34215
34216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34217 /* end confdefs.h. */
34218 #include <math.h>
34219 int
34220 main ()
34221 {
34222 _hypot(0, 0);
34223 ;
34224 return 0;
34225 }
34226 _ACEOF
34227 if ac_fn_cxx_try_compile "$LINENO"; then :
34228 glibcxx_cv_func__hypot_use=yes
34229 else
34230 glibcxx_cv_func__hypot_use=no
34231 fi
34232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34233 ac_ext=c
34234 ac_cpp='$CPP $CPPFLAGS'
34235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34238
34239
34240 fi
34241
34242 fi
34243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34244 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34245
34246 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34247 for ac_func in _hypot
34248 do :
34249 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34250 if test "x$ac_cv_func__hypot" = x""yes; then :
34251 cat >>confdefs.h <<_ACEOF
34252 #define HAVE__HYPOT 1
34253 _ACEOF
34254
34255 fi
34256 done
34257
34258 fi
34259 fi
34260
34261
34262
34263
34264
34265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34266 $as_echo_n "checking for float trig functions... " >&6; }
34267 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34268 $as_echo_n "(cached) " >&6
34269 else
34270
34271
34272 ac_ext=cpp
34273 ac_cpp='$CXXCPP $CPPFLAGS'
34274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34277
34278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34279 /* end confdefs.h. */
34280 #include <math.h>
34281 int
34282 main ()
34283 {
34284 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34285 ;
34286 return 0;
34287 }
34288 _ACEOF
34289 if ac_fn_cxx_try_compile "$LINENO"; then :
34290 glibcxx_cv_func_float_trig_use=yes
34291 else
34292 glibcxx_cv_func_float_trig_use=no
34293 fi
34294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34295 ac_ext=c
34296 ac_cpp='$CPP $CPPFLAGS'
34297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34300
34301 fi
34302
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34304 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34305 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34306 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34307 do :
34308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34310 eval as_val=\$$as_ac_var
34311 if test "x$as_val" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34314 _ACEOF
34315
34316 fi
34317 done
34318
34319 else
34320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34321 $as_echo_n "checking for _float trig functions... " >&6; }
34322 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34323 $as_echo_n "(cached) " >&6
34324 else
34325
34326
34327 ac_ext=cpp
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34332
34333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34334 /* end confdefs.h. */
34335 #include <math.h>
34336 int
34337 main ()
34338 {
34339 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34340 ;
34341 return 0;
34342 }
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func__float_trig_use=yes
34346 else
34347 glibcxx_cv_func__float_trig_use=no
34348 fi
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34355
34356 fi
34357
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34359 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34360 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34361 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34362 do :
34363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34365 eval as_val=\$$as_ac_var
34366 if test "x$as_val" = x""yes; then :
34367 cat >>confdefs.h <<_ACEOF
34368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34369 _ACEOF
34370
34371 fi
34372 done
34373
34374 fi
34375 fi
34376
34377
34378
34379
34380
34381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34382 $as_echo_n "checking for float round functions... " >&6; }
34383 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34384 $as_echo_n "(cached) " >&6
34385 else
34386
34387
34388 ac_ext=cpp
34389 ac_cpp='$CXXCPP $CPPFLAGS'
34390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34393
34394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34395 /* end confdefs.h. */
34396 #include <math.h>
34397 int
34398 main ()
34399 {
34400 ceilf (0); floorf (0);
34401 ;
34402 return 0;
34403 }
34404 _ACEOF
34405 if ac_fn_cxx_try_compile "$LINENO"; then :
34406 glibcxx_cv_func_float_round_use=yes
34407 else
34408 glibcxx_cv_func_float_round_use=no
34409 fi
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411 ac_ext=c
34412 ac_cpp='$CPP $CPPFLAGS'
34413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34416
34417 fi
34418
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34420 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34421 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34422 for ac_func in ceilf floorf
34423 do :
34424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34426 eval as_val=\$$as_ac_var
34427 if test "x$as_val" = x""yes; then :
34428 cat >>confdefs.h <<_ACEOF
34429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34430 _ACEOF
34431
34432 fi
34433 done
34434
34435 else
34436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34437 $as_echo_n "checking for _float round functions... " >&6; }
34438 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34439 $as_echo_n "(cached) " >&6
34440 else
34441
34442
34443 ac_ext=cpp
34444 ac_cpp='$CXXCPP $CPPFLAGS'
34445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34448
34449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34450 /* end confdefs.h. */
34451 #include <math.h>
34452 int
34453 main ()
34454 {
34455 _ceilf (0); _floorf (0);
34456 ;
34457 return 0;
34458 }
34459 _ACEOF
34460 if ac_fn_cxx_try_compile "$LINENO"; then :
34461 glibcxx_cv_func__float_round_use=yes
34462 else
34463 glibcxx_cv_func__float_round_use=no
34464 fi
34465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34466 ac_ext=c
34467 ac_cpp='$CPP $CPPFLAGS'
34468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34471
34472 fi
34473
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34475 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34476 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34477 for ac_func in _ceilf _floorf
34478 do :
34479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34481 eval as_val=\$$as_ac_var
34482 if test "x$as_val" = x""yes; then :
34483 cat >>confdefs.h <<_ACEOF
34484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34485 _ACEOF
34486
34487 fi
34488 done
34489
34490 fi
34491 fi
34492
34493
34494
34495
34496
34497
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34499 $as_echo_n "checking for expf declaration... " >&6; }
34500 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34501 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34502 $as_echo_n "(cached) " >&6
34503 else
34504
34505
34506 ac_ext=cpp
34507 ac_cpp='$CXXCPP $CPPFLAGS'
34508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34511
34512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34513 /* end confdefs.h. */
34514 #include <math.h>
34515 #ifdef HAVE_IEEEFP_H
34516 #include <ieeefp.h>
34517 #endif
34518
34519 int
34520 main ()
34521 {
34522 expf(0);
34523 ;
34524 return 0;
34525 }
34526 _ACEOF
34527 if ac_fn_cxx_try_compile "$LINENO"; then :
34528 glibcxx_cv_func_expf_use=yes
34529 else
34530 glibcxx_cv_func_expf_use=no
34531 fi
34532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533 ac_ext=c
34534 ac_cpp='$CPP $CPPFLAGS'
34535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34538
34539
34540 fi
34541
34542 fi
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34544 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34545
34546 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34547 for ac_func in expf
34548 do :
34549 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34550 if test "x$ac_cv_func_expf" = x""yes; then :
34551 cat >>confdefs.h <<_ACEOF
34552 #define HAVE_EXPF 1
34553 _ACEOF
34554
34555 fi
34556 done
34557
34558 else
34559
34560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34561 $as_echo_n "checking for _expf declaration... " >&6; }
34562 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34563 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34564 $as_echo_n "(cached) " >&6
34565 else
34566
34567
34568 ac_ext=cpp
34569 ac_cpp='$CXXCPP $CPPFLAGS'
34570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34573
34574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34575 /* end confdefs.h. */
34576 #include <math.h>
34577 #ifdef HAVE_IEEEFP_H
34578 #include <ieeefp.h>
34579 #endif
34580
34581 int
34582 main ()
34583 {
34584 _expf(0);
34585 ;
34586 return 0;
34587 }
34588 _ACEOF
34589 if ac_fn_cxx_try_compile "$LINENO"; then :
34590 glibcxx_cv_func__expf_use=yes
34591 else
34592 glibcxx_cv_func__expf_use=no
34593 fi
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34595 ac_ext=c
34596 ac_cpp='$CPP $CPPFLAGS'
34597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34600
34601
34602 fi
34603
34604 fi
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34606 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34607
34608 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34609 for ac_func in _expf
34610 do :
34611 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34612 if test "x$ac_cv_func__expf" = x""yes; then :
34613 cat >>confdefs.h <<_ACEOF
34614 #define HAVE__EXPF 1
34615 _ACEOF
34616
34617 fi
34618 done
34619
34620 fi
34621 fi
34622
34623
34624
34625
34626
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34628 $as_echo_n "checking for isnanf declaration... " >&6; }
34629 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34630 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34631 $as_echo_n "(cached) " >&6
34632 else
34633
34634
34635 ac_ext=cpp
34636 ac_cpp='$CXXCPP $CPPFLAGS'
34637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34640
34641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34642 /* end confdefs.h. */
34643 #include <math.h>
34644 #ifdef HAVE_IEEEFP_H
34645 #include <ieeefp.h>
34646 #endif
34647
34648 int
34649 main ()
34650 {
34651 isnanf(0);
34652 ;
34653 return 0;
34654 }
34655 _ACEOF
34656 if ac_fn_cxx_try_compile "$LINENO"; then :
34657 glibcxx_cv_func_isnanf_use=yes
34658 else
34659 glibcxx_cv_func_isnanf_use=no
34660 fi
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662 ac_ext=c
34663 ac_cpp='$CPP $CPPFLAGS'
34664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34667
34668
34669 fi
34670
34671 fi
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34673 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34674
34675 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34676 for ac_func in isnanf
34677 do :
34678 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34679 if test "x$ac_cv_func_isnanf" = x""yes; then :
34680 cat >>confdefs.h <<_ACEOF
34681 #define HAVE_ISNANF 1
34682 _ACEOF
34683
34684 fi
34685 done
34686
34687 else
34688
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34690 $as_echo_n "checking for _isnanf declaration... " >&6; }
34691 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34692 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34693 $as_echo_n "(cached) " >&6
34694 else
34695
34696
34697 ac_ext=cpp
34698 ac_cpp='$CXXCPP $CPPFLAGS'
34699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34702
34703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34704 /* end confdefs.h. */
34705 #include <math.h>
34706 #ifdef HAVE_IEEEFP_H
34707 #include <ieeefp.h>
34708 #endif
34709
34710 int
34711 main ()
34712 {
34713 _isnanf(0);
34714 ;
34715 return 0;
34716 }
34717 _ACEOF
34718 if ac_fn_cxx_try_compile "$LINENO"; then :
34719 glibcxx_cv_func__isnanf_use=yes
34720 else
34721 glibcxx_cv_func__isnanf_use=no
34722 fi
34723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34724 ac_ext=c
34725 ac_cpp='$CPP $CPPFLAGS'
34726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34729
34730
34731 fi
34732
34733 fi
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34735 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34736
34737 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34738 for ac_func in _isnanf
34739 do :
34740 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34741 if test "x$ac_cv_func__isnanf" = x""yes; then :
34742 cat >>confdefs.h <<_ACEOF
34743 #define HAVE__ISNANF 1
34744 _ACEOF
34745
34746 fi
34747 done
34748
34749 fi
34750 fi
34751
34752
34753
34754
34755
34756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34757 $as_echo_n "checking for isinff declaration... " >&6; }
34758 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34759 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34760 $as_echo_n "(cached) " >&6
34761 else
34762
34763
34764 ac_ext=cpp
34765 ac_cpp='$CXXCPP $CPPFLAGS'
34766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34769
34770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34771 /* end confdefs.h. */
34772 #include <math.h>
34773 #ifdef HAVE_IEEEFP_H
34774 #include <ieeefp.h>
34775 #endif
34776
34777 int
34778 main ()
34779 {
34780 isinff(0);
34781 ;
34782 return 0;
34783 }
34784 _ACEOF
34785 if ac_fn_cxx_try_compile "$LINENO"; then :
34786 glibcxx_cv_func_isinff_use=yes
34787 else
34788 glibcxx_cv_func_isinff_use=no
34789 fi
34790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34791 ac_ext=c
34792 ac_cpp='$CPP $CPPFLAGS'
34793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34796
34797
34798 fi
34799
34800 fi
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34802 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34803
34804 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34805 for ac_func in isinff
34806 do :
34807 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34808 if test "x$ac_cv_func_isinff" = x""yes; then :
34809 cat >>confdefs.h <<_ACEOF
34810 #define HAVE_ISINFF 1
34811 _ACEOF
34812
34813 fi
34814 done
34815
34816 else
34817
34818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34819 $as_echo_n "checking for _isinff declaration... " >&6; }
34820 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34821 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34822 $as_echo_n "(cached) " >&6
34823 else
34824
34825
34826 ac_ext=cpp
34827 ac_cpp='$CXXCPP $CPPFLAGS'
34828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34831
34832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34833 /* end confdefs.h. */
34834 #include <math.h>
34835 #ifdef HAVE_IEEEFP_H
34836 #include <ieeefp.h>
34837 #endif
34838
34839 int
34840 main ()
34841 {
34842 _isinff(0);
34843 ;
34844 return 0;
34845 }
34846 _ACEOF
34847 if ac_fn_cxx_try_compile "$LINENO"; then :
34848 glibcxx_cv_func__isinff_use=yes
34849 else
34850 glibcxx_cv_func__isinff_use=no
34851 fi
34852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34853 ac_ext=c
34854 ac_cpp='$CPP $CPPFLAGS'
34855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34858
34859
34860 fi
34861
34862 fi
34863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34864 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34865
34866 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34867 for ac_func in _isinff
34868 do :
34869 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34870 if test "x$ac_cv_func__isinff" = x""yes; then :
34871 cat >>confdefs.h <<_ACEOF
34872 #define HAVE__ISINFF 1
34873 _ACEOF
34874
34875 fi
34876 done
34877
34878 fi
34879 fi
34880
34881
34882
34883
34884
34885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34886 $as_echo_n "checking for atan2f declaration... " >&6; }
34887 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34888 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34889 $as_echo_n "(cached) " >&6
34890 else
34891
34892
34893 ac_ext=cpp
34894 ac_cpp='$CXXCPP $CPPFLAGS'
34895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34898
34899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34900 /* end confdefs.h. */
34901 #include <math.h>
34902 int
34903 main ()
34904 {
34905 atan2f(0, 0);
34906 ;
34907 return 0;
34908 }
34909 _ACEOF
34910 if ac_fn_cxx_try_compile "$LINENO"; then :
34911 glibcxx_cv_func_atan2f_use=yes
34912 else
34913 glibcxx_cv_func_atan2f_use=no
34914 fi
34915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34916 ac_ext=c
34917 ac_cpp='$CPP $CPPFLAGS'
34918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34921
34922
34923 fi
34924
34925 fi
34926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34927 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34928
34929 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34930 for ac_func in atan2f
34931 do :
34932 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34933 if test "x$ac_cv_func_atan2f" = x""yes; then :
34934 cat >>confdefs.h <<_ACEOF
34935 #define HAVE_ATAN2F 1
34936 _ACEOF
34937
34938 fi
34939 done
34940
34941 else
34942
34943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34944 $as_echo_n "checking for _atan2f declaration... " >&6; }
34945 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34946 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34947 $as_echo_n "(cached) " >&6
34948 else
34949
34950
34951 ac_ext=cpp
34952 ac_cpp='$CXXCPP $CPPFLAGS'
34953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34956
34957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34958 /* end confdefs.h. */
34959 #include <math.h>
34960 int
34961 main ()
34962 {
34963 _atan2f(0, 0);
34964 ;
34965 return 0;
34966 }
34967 _ACEOF
34968 if ac_fn_cxx_try_compile "$LINENO"; then :
34969 glibcxx_cv_func__atan2f_use=yes
34970 else
34971 glibcxx_cv_func__atan2f_use=no
34972 fi
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34974 ac_ext=c
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34979
34980
34981 fi
34982
34983 fi
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34985 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34986
34987 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34988 for ac_func in _atan2f
34989 do :
34990 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34991 if test "x$ac_cv_func__atan2f" = x""yes; then :
34992 cat >>confdefs.h <<_ACEOF
34993 #define HAVE__ATAN2F 1
34994 _ACEOF
34995
34996 fi
34997 done
34998
34999 fi
35000 fi
35001
35002
35003
35004
35005
35006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35007 $as_echo_n "checking for fabsf declaration... " >&6; }
35008 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35009 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35010 $as_echo_n "(cached) " >&6
35011 else
35012
35013
35014 ac_ext=cpp
35015 ac_cpp='$CXXCPP $CPPFLAGS'
35016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35019
35020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35021 /* end confdefs.h. */
35022 #include <math.h>
35023 #ifdef HAVE_IEEEFP_H
35024 #include <ieeefp.h>
35025 #endif
35026
35027 int
35028 main ()
35029 {
35030 fabsf(0);
35031 ;
35032 return 0;
35033 }
35034 _ACEOF
35035 if ac_fn_cxx_try_compile "$LINENO"; then :
35036 glibcxx_cv_func_fabsf_use=yes
35037 else
35038 glibcxx_cv_func_fabsf_use=no
35039 fi
35040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35041 ac_ext=c
35042 ac_cpp='$CPP $CPPFLAGS'
35043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35046
35047
35048 fi
35049
35050 fi
35051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35052 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35053
35054 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35055 for ac_func in fabsf
35056 do :
35057 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35058 if test "x$ac_cv_func_fabsf" = x""yes; then :
35059 cat >>confdefs.h <<_ACEOF
35060 #define HAVE_FABSF 1
35061 _ACEOF
35062
35063 fi
35064 done
35065
35066 else
35067
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35069 $as_echo_n "checking for _fabsf declaration... " >&6; }
35070 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35071 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35072 $as_echo_n "(cached) " >&6
35073 else
35074
35075
35076 ac_ext=cpp
35077 ac_cpp='$CXXCPP $CPPFLAGS'
35078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35081
35082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35083 /* end confdefs.h. */
35084 #include <math.h>
35085 #ifdef HAVE_IEEEFP_H
35086 #include <ieeefp.h>
35087 #endif
35088
35089 int
35090 main ()
35091 {
35092 _fabsf(0);
35093 ;
35094 return 0;
35095 }
35096 _ACEOF
35097 if ac_fn_cxx_try_compile "$LINENO"; then :
35098 glibcxx_cv_func__fabsf_use=yes
35099 else
35100 glibcxx_cv_func__fabsf_use=no
35101 fi
35102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35103 ac_ext=c
35104 ac_cpp='$CPP $CPPFLAGS'
35105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35108
35109
35110 fi
35111
35112 fi
35113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35114 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35115
35116 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35117 for ac_func in _fabsf
35118 do :
35119 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35120 if test "x$ac_cv_func__fabsf" = x""yes; then :
35121 cat >>confdefs.h <<_ACEOF
35122 #define HAVE__FABSF 1
35123 _ACEOF
35124
35125 fi
35126 done
35127
35128 fi
35129 fi
35130
35131
35132
35133
35134
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35136 $as_echo_n "checking for fmodf declaration... " >&6; }
35137 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35138 if test "${glibcxx_cv_func_fmodf_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 int
35153 main ()
35154 {
35155 fmodf(0, 0);
35156 ;
35157 return 0;
35158 }
35159 _ACEOF
35160 if ac_fn_cxx_try_compile "$LINENO"; then :
35161 glibcxx_cv_func_fmodf_use=yes
35162 else
35163 glibcxx_cv_func_fmodf_use=no
35164 fi
35165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35166 ac_ext=c
35167 ac_cpp='$CPP $CPPFLAGS'
35168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35171
35172
35173 fi
35174
35175 fi
35176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35177 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35178
35179 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35180 for ac_func in fmodf
35181 do :
35182 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35183 if test "x$ac_cv_func_fmodf" = x""yes; then :
35184 cat >>confdefs.h <<_ACEOF
35185 #define HAVE_FMODF 1
35186 _ACEOF
35187
35188 fi
35189 done
35190
35191 else
35192
35193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35194 $as_echo_n "checking for _fmodf declaration... " >&6; }
35195 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35196 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35197 $as_echo_n "(cached) " >&6
35198 else
35199
35200
35201 ac_ext=cpp
35202 ac_cpp='$CXXCPP $CPPFLAGS'
35203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35206
35207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35208 /* end confdefs.h. */
35209 #include <math.h>
35210 int
35211 main ()
35212 {
35213 _fmodf(0, 0);
35214 ;
35215 return 0;
35216 }
35217 _ACEOF
35218 if ac_fn_cxx_try_compile "$LINENO"; then :
35219 glibcxx_cv_func__fmodf_use=yes
35220 else
35221 glibcxx_cv_func__fmodf_use=no
35222 fi
35223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35224 ac_ext=c
35225 ac_cpp='$CPP $CPPFLAGS'
35226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35229
35230
35231 fi
35232
35233 fi
35234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35235 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35236
35237 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35238 for ac_func in _fmodf
35239 do :
35240 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35241 if test "x$ac_cv_func__fmodf" = x""yes; then :
35242 cat >>confdefs.h <<_ACEOF
35243 #define HAVE__FMODF 1
35244 _ACEOF
35245
35246 fi
35247 done
35248
35249 fi
35250 fi
35251
35252
35253
35254
35255
35256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35257 $as_echo_n "checking for frexpf declaration... " >&6; }
35258 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35259 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35260 $as_echo_n "(cached) " >&6
35261 else
35262
35263
35264 ac_ext=cpp
35265 ac_cpp='$CXXCPP $CPPFLAGS'
35266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35269
35270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35271 /* end confdefs.h. */
35272 #include <math.h>
35273 int
35274 main ()
35275 {
35276 frexpf(0, 0);
35277 ;
35278 return 0;
35279 }
35280 _ACEOF
35281 if ac_fn_cxx_try_compile "$LINENO"; then :
35282 glibcxx_cv_func_frexpf_use=yes
35283 else
35284 glibcxx_cv_func_frexpf_use=no
35285 fi
35286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35287 ac_ext=c
35288 ac_cpp='$CPP $CPPFLAGS'
35289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35292
35293
35294 fi
35295
35296 fi
35297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35298 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35299
35300 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35301 for ac_func in frexpf
35302 do :
35303 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35304 if test "x$ac_cv_func_frexpf" = x""yes; then :
35305 cat >>confdefs.h <<_ACEOF
35306 #define HAVE_FREXPF 1
35307 _ACEOF
35308
35309 fi
35310 done
35311
35312 else
35313
35314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35315 $as_echo_n "checking for _frexpf declaration... " >&6; }
35316 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35317 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35318 $as_echo_n "(cached) " >&6
35319 else
35320
35321
35322 ac_ext=cpp
35323 ac_cpp='$CXXCPP $CPPFLAGS'
35324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35327
35328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35329 /* end confdefs.h. */
35330 #include <math.h>
35331 int
35332 main ()
35333 {
35334 _frexpf(0, 0);
35335 ;
35336 return 0;
35337 }
35338 _ACEOF
35339 if ac_fn_cxx_try_compile "$LINENO"; then :
35340 glibcxx_cv_func__frexpf_use=yes
35341 else
35342 glibcxx_cv_func__frexpf_use=no
35343 fi
35344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35345 ac_ext=c
35346 ac_cpp='$CPP $CPPFLAGS'
35347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35350
35351
35352 fi
35353
35354 fi
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35356 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35357
35358 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35359 for ac_func in _frexpf
35360 do :
35361 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35362 if test "x$ac_cv_func__frexpf" = x""yes; then :
35363 cat >>confdefs.h <<_ACEOF
35364 #define HAVE__FREXPF 1
35365 _ACEOF
35366
35367 fi
35368 done
35369
35370 fi
35371 fi
35372
35373
35374
35375
35376
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35378 $as_echo_n "checking for hypotf declaration... " >&6; }
35379 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35380 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35381 $as_echo_n "(cached) " >&6
35382 else
35383
35384
35385 ac_ext=cpp
35386 ac_cpp='$CXXCPP $CPPFLAGS'
35387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35390
35391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35392 /* end confdefs.h. */
35393 #include <math.h>
35394 int
35395 main ()
35396 {
35397 hypotf(0, 0);
35398 ;
35399 return 0;
35400 }
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403 glibcxx_cv_func_hypotf_use=yes
35404 else
35405 glibcxx_cv_func_hypotf_use=no
35406 fi
35407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35408 ac_ext=c
35409 ac_cpp='$CPP $CPPFLAGS'
35410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35413
35414
35415 fi
35416
35417 fi
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35419 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35420
35421 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35422 for ac_func in hypotf
35423 do :
35424 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35425 if test "x$ac_cv_func_hypotf" = x""yes; then :
35426 cat >>confdefs.h <<_ACEOF
35427 #define HAVE_HYPOTF 1
35428 _ACEOF
35429
35430 fi
35431 done
35432
35433 else
35434
35435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35436 $as_echo_n "checking for _hypotf declaration... " >&6; }
35437 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35438 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35439 $as_echo_n "(cached) " >&6
35440 else
35441
35442
35443 ac_ext=cpp
35444 ac_cpp='$CXXCPP $CPPFLAGS'
35445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35448
35449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35450 /* end confdefs.h. */
35451 #include <math.h>
35452 int
35453 main ()
35454 {
35455 _hypotf(0, 0);
35456 ;
35457 return 0;
35458 }
35459 _ACEOF
35460 if ac_fn_cxx_try_compile "$LINENO"; then :
35461 glibcxx_cv_func__hypotf_use=yes
35462 else
35463 glibcxx_cv_func__hypotf_use=no
35464 fi
35465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35466 ac_ext=c
35467 ac_cpp='$CPP $CPPFLAGS'
35468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35471
35472
35473 fi
35474
35475 fi
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35477 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35478
35479 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35480 for ac_func in _hypotf
35481 do :
35482 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35483 if test "x$ac_cv_func__hypotf" = x""yes; then :
35484 cat >>confdefs.h <<_ACEOF
35485 #define HAVE__HYPOTF 1
35486 _ACEOF
35487
35488 fi
35489 done
35490
35491 fi
35492 fi
35493
35494
35495
35496
35497
35498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35499 $as_echo_n "checking for ldexpf declaration... " >&6; }
35500 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35501 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35502 $as_echo_n "(cached) " >&6
35503 else
35504
35505
35506 ac_ext=cpp
35507 ac_cpp='$CXXCPP $CPPFLAGS'
35508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35511
35512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35513 /* end confdefs.h. */
35514 #include <math.h>
35515 int
35516 main ()
35517 {
35518 ldexpf(0, 0);
35519 ;
35520 return 0;
35521 }
35522 _ACEOF
35523 if ac_fn_cxx_try_compile "$LINENO"; then :
35524 glibcxx_cv_func_ldexpf_use=yes
35525 else
35526 glibcxx_cv_func_ldexpf_use=no
35527 fi
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529 ac_ext=c
35530 ac_cpp='$CPP $CPPFLAGS'
35531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35534
35535
35536 fi
35537
35538 fi
35539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35540 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35541
35542 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35543 for ac_func in ldexpf
35544 do :
35545 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35546 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35547 cat >>confdefs.h <<_ACEOF
35548 #define HAVE_LDEXPF 1
35549 _ACEOF
35550
35551 fi
35552 done
35553
35554 else
35555
35556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35557 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35558 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35559 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35560 $as_echo_n "(cached) " >&6
35561 else
35562
35563
35564 ac_ext=cpp
35565 ac_cpp='$CXXCPP $CPPFLAGS'
35566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35569
35570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35571 /* end confdefs.h. */
35572 #include <math.h>
35573 int
35574 main ()
35575 {
35576 _ldexpf(0, 0);
35577 ;
35578 return 0;
35579 }
35580 _ACEOF
35581 if ac_fn_cxx_try_compile "$LINENO"; then :
35582 glibcxx_cv_func__ldexpf_use=yes
35583 else
35584 glibcxx_cv_func__ldexpf_use=no
35585 fi
35586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35587 ac_ext=c
35588 ac_cpp='$CPP $CPPFLAGS'
35589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35592
35593
35594 fi
35595
35596 fi
35597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35598 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35599
35600 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35601 for ac_func in _ldexpf
35602 do :
35603 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35604 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35605 cat >>confdefs.h <<_ACEOF
35606 #define HAVE__LDEXPF 1
35607 _ACEOF
35608
35609 fi
35610 done
35611
35612 fi
35613 fi
35614
35615
35616
35617
35618
35619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35620 $as_echo_n "checking for logf declaration... " >&6; }
35621 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35622 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35623 $as_echo_n "(cached) " >&6
35624 else
35625
35626
35627 ac_ext=cpp
35628 ac_cpp='$CXXCPP $CPPFLAGS'
35629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35632
35633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35634 /* end confdefs.h. */
35635 #include <math.h>
35636 #ifdef HAVE_IEEEFP_H
35637 #include <ieeefp.h>
35638 #endif
35639
35640 int
35641 main ()
35642 {
35643 logf(0);
35644 ;
35645 return 0;
35646 }
35647 _ACEOF
35648 if ac_fn_cxx_try_compile "$LINENO"; then :
35649 glibcxx_cv_func_logf_use=yes
35650 else
35651 glibcxx_cv_func_logf_use=no
35652 fi
35653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35654 ac_ext=c
35655 ac_cpp='$CPP $CPPFLAGS'
35656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659
35660
35661 fi
35662
35663 fi
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35665 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35666
35667 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35668 for ac_func in logf
35669 do :
35670 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35671 if test "x$ac_cv_func_logf" = x""yes; then :
35672 cat >>confdefs.h <<_ACEOF
35673 #define HAVE_LOGF 1
35674 _ACEOF
35675
35676 fi
35677 done
35678
35679 else
35680
35681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35682 $as_echo_n "checking for _logf declaration... " >&6; }
35683 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35684 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35685 $as_echo_n "(cached) " >&6
35686 else
35687
35688
35689 ac_ext=cpp
35690 ac_cpp='$CXXCPP $CPPFLAGS'
35691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35694
35695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35696 /* end confdefs.h. */
35697 #include <math.h>
35698 #ifdef HAVE_IEEEFP_H
35699 #include <ieeefp.h>
35700 #endif
35701
35702 int
35703 main ()
35704 {
35705 _logf(0);
35706 ;
35707 return 0;
35708 }
35709 _ACEOF
35710 if ac_fn_cxx_try_compile "$LINENO"; then :
35711 glibcxx_cv_func__logf_use=yes
35712 else
35713 glibcxx_cv_func__logf_use=no
35714 fi
35715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35716 ac_ext=c
35717 ac_cpp='$CPP $CPPFLAGS'
35718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721
35722
35723 fi
35724
35725 fi
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35727 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35728
35729 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35730 for ac_func in _logf
35731 do :
35732 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35733 if test "x$ac_cv_func__logf" = x""yes; then :
35734 cat >>confdefs.h <<_ACEOF
35735 #define HAVE__LOGF 1
35736 _ACEOF
35737
35738 fi
35739 done
35740
35741 fi
35742 fi
35743
35744
35745
35746
35747
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35749 $as_echo_n "checking for log10f declaration... " >&6; }
35750 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35751 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35752 $as_echo_n "(cached) " >&6
35753 else
35754
35755
35756 ac_ext=cpp
35757 ac_cpp='$CXXCPP $CPPFLAGS'
35758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35761
35762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35763 /* end confdefs.h. */
35764 #include <math.h>
35765 #ifdef HAVE_IEEEFP_H
35766 #include <ieeefp.h>
35767 #endif
35768
35769 int
35770 main ()
35771 {
35772 log10f(0);
35773 ;
35774 return 0;
35775 }
35776 _ACEOF
35777 if ac_fn_cxx_try_compile "$LINENO"; then :
35778 glibcxx_cv_func_log10f_use=yes
35779 else
35780 glibcxx_cv_func_log10f_use=no
35781 fi
35782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35783 ac_ext=c
35784 ac_cpp='$CPP $CPPFLAGS'
35785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35788
35789
35790 fi
35791
35792 fi
35793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35794 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35795
35796 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35797 for ac_func in log10f
35798 do :
35799 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35800 if test "x$ac_cv_func_log10f" = x""yes; then :
35801 cat >>confdefs.h <<_ACEOF
35802 #define HAVE_LOG10F 1
35803 _ACEOF
35804
35805 fi
35806 done
35807
35808 else
35809
35810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35811 $as_echo_n "checking for _log10f declaration... " >&6; }
35812 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35813 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35814 $as_echo_n "(cached) " >&6
35815 else
35816
35817
35818 ac_ext=cpp
35819 ac_cpp='$CXXCPP $CPPFLAGS'
35820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35823
35824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35825 /* end confdefs.h. */
35826 #include <math.h>
35827 #ifdef HAVE_IEEEFP_H
35828 #include <ieeefp.h>
35829 #endif
35830
35831 int
35832 main ()
35833 {
35834 _log10f(0);
35835 ;
35836 return 0;
35837 }
35838 _ACEOF
35839 if ac_fn_cxx_try_compile "$LINENO"; then :
35840 glibcxx_cv_func__log10f_use=yes
35841 else
35842 glibcxx_cv_func__log10f_use=no
35843 fi
35844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35845 ac_ext=c
35846 ac_cpp='$CPP $CPPFLAGS'
35847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35850
35851
35852 fi
35853
35854 fi
35855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35856 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35857
35858 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35859 for ac_func in _log10f
35860 do :
35861 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35862 if test "x$ac_cv_func__log10f" = x""yes; then :
35863 cat >>confdefs.h <<_ACEOF
35864 #define HAVE__LOG10F 1
35865 _ACEOF
35866
35867 fi
35868 done
35869
35870 fi
35871 fi
35872
35873
35874
35875
35876
35877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35878 $as_echo_n "checking for modff declaration... " >&6; }
35879 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35880 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35881 $as_echo_n "(cached) " >&6
35882 else
35883
35884
35885 ac_ext=cpp
35886 ac_cpp='$CXXCPP $CPPFLAGS'
35887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35890
35891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35892 /* end confdefs.h. */
35893 #include <math.h>
35894 int
35895 main ()
35896 {
35897 modff(0, 0);
35898 ;
35899 return 0;
35900 }
35901 _ACEOF
35902 if ac_fn_cxx_try_compile "$LINENO"; then :
35903 glibcxx_cv_func_modff_use=yes
35904 else
35905 glibcxx_cv_func_modff_use=no
35906 fi
35907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35908 ac_ext=c
35909 ac_cpp='$CPP $CPPFLAGS'
35910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35913
35914
35915 fi
35916
35917 fi
35918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35919 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35920
35921 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35922 for ac_func in modff
35923 do :
35924 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35925 if test "x$ac_cv_func_modff" = x""yes; then :
35926 cat >>confdefs.h <<_ACEOF
35927 #define HAVE_MODFF 1
35928 _ACEOF
35929
35930 fi
35931 done
35932
35933 else
35934
35935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35936 $as_echo_n "checking for _modff declaration... " >&6; }
35937 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35938 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35939 $as_echo_n "(cached) " >&6
35940 else
35941
35942
35943 ac_ext=cpp
35944 ac_cpp='$CXXCPP $CPPFLAGS'
35945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35948
35949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35950 /* end confdefs.h. */
35951 #include <math.h>
35952 int
35953 main ()
35954 {
35955 _modff(0, 0);
35956 ;
35957 return 0;
35958 }
35959 _ACEOF
35960 if ac_fn_cxx_try_compile "$LINENO"; then :
35961 glibcxx_cv_func__modff_use=yes
35962 else
35963 glibcxx_cv_func__modff_use=no
35964 fi
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35966 ac_ext=c
35967 ac_cpp='$CPP $CPPFLAGS'
35968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35971
35972
35973 fi
35974
35975 fi
35976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35977 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35978
35979 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35980 for ac_func in _modff
35981 do :
35982 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35983 if test "x$ac_cv_func__modff" = x""yes; then :
35984 cat >>confdefs.h <<_ACEOF
35985 #define HAVE__MODFF 1
35986 _ACEOF
35987
35988 fi
35989 done
35990
35991 fi
35992 fi
35993
35994
35995
35996
35997
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35999 $as_echo_n "checking for modf declaration... " >&6; }
36000 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36001 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36002 $as_echo_n "(cached) " >&6
36003 else
36004
36005
36006 ac_ext=cpp
36007 ac_cpp='$CXXCPP $CPPFLAGS'
36008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36011
36012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36013 /* end confdefs.h. */
36014 #include <math.h>
36015 int
36016 main ()
36017 {
36018 modf(0, 0);
36019 ;
36020 return 0;
36021 }
36022 _ACEOF
36023 if ac_fn_cxx_try_compile "$LINENO"; then :
36024 glibcxx_cv_func_modf_use=yes
36025 else
36026 glibcxx_cv_func_modf_use=no
36027 fi
36028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36029 ac_ext=c
36030 ac_cpp='$CPP $CPPFLAGS'
36031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36034
36035
36036 fi
36037
36038 fi
36039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36040 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36041
36042 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36043 for ac_func in modf
36044 do :
36045 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36046 if test "x$ac_cv_func_modf" = x""yes; then :
36047 cat >>confdefs.h <<_ACEOF
36048 #define HAVE_MODF 1
36049 _ACEOF
36050
36051 fi
36052 done
36053
36054 else
36055
36056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36057 $as_echo_n "checking for _modf declaration... " >&6; }
36058 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36059 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36060 $as_echo_n "(cached) " >&6
36061 else
36062
36063
36064 ac_ext=cpp
36065 ac_cpp='$CXXCPP $CPPFLAGS'
36066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36069
36070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36071 /* end confdefs.h. */
36072 #include <math.h>
36073 int
36074 main ()
36075 {
36076 _modf(0, 0);
36077 ;
36078 return 0;
36079 }
36080 _ACEOF
36081 if ac_fn_cxx_try_compile "$LINENO"; then :
36082 glibcxx_cv_func__modf_use=yes
36083 else
36084 glibcxx_cv_func__modf_use=no
36085 fi
36086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36087 ac_ext=c
36088 ac_cpp='$CPP $CPPFLAGS'
36089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36092
36093
36094 fi
36095
36096 fi
36097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36098 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36099
36100 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36101 for ac_func in _modf
36102 do :
36103 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36104 if test "x$ac_cv_func__modf" = x""yes; then :
36105 cat >>confdefs.h <<_ACEOF
36106 #define HAVE__MODF 1
36107 _ACEOF
36108
36109 fi
36110 done
36111
36112 fi
36113 fi
36114
36115
36116
36117
36118
36119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36120 $as_echo_n "checking for powf declaration... " >&6; }
36121 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36122 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36123 $as_echo_n "(cached) " >&6
36124 else
36125
36126
36127 ac_ext=cpp
36128 ac_cpp='$CXXCPP $CPPFLAGS'
36129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36132
36133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36134 /* end confdefs.h. */
36135 #include <math.h>
36136 int
36137 main ()
36138 {
36139 powf(0, 0);
36140 ;
36141 return 0;
36142 }
36143 _ACEOF
36144 if ac_fn_cxx_try_compile "$LINENO"; then :
36145 glibcxx_cv_func_powf_use=yes
36146 else
36147 glibcxx_cv_func_powf_use=no
36148 fi
36149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36150 ac_ext=c
36151 ac_cpp='$CPP $CPPFLAGS'
36152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36155
36156
36157 fi
36158
36159 fi
36160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36161 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36162
36163 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36164 for ac_func in powf
36165 do :
36166 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36167 if test "x$ac_cv_func_powf" = x""yes; then :
36168 cat >>confdefs.h <<_ACEOF
36169 #define HAVE_POWF 1
36170 _ACEOF
36171
36172 fi
36173 done
36174
36175 else
36176
36177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36178 $as_echo_n "checking for _powf declaration... " >&6; }
36179 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36180 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36181 $as_echo_n "(cached) " >&6
36182 else
36183
36184
36185 ac_ext=cpp
36186 ac_cpp='$CXXCPP $CPPFLAGS'
36187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36190
36191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36192 /* end confdefs.h. */
36193 #include <math.h>
36194 int
36195 main ()
36196 {
36197 _powf(0, 0);
36198 ;
36199 return 0;
36200 }
36201 _ACEOF
36202 if ac_fn_cxx_try_compile "$LINENO"; then :
36203 glibcxx_cv_func__powf_use=yes
36204 else
36205 glibcxx_cv_func__powf_use=no
36206 fi
36207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36208 ac_ext=c
36209 ac_cpp='$CPP $CPPFLAGS'
36210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36213
36214
36215 fi
36216
36217 fi
36218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36219 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36220
36221 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36222 for ac_func in _powf
36223 do :
36224 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36225 if test "x$ac_cv_func__powf" = x""yes; then :
36226 cat >>confdefs.h <<_ACEOF
36227 #define HAVE__POWF 1
36228 _ACEOF
36229
36230 fi
36231 done
36232
36233 fi
36234 fi
36235
36236
36237
36238
36239
36240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36241 $as_echo_n "checking for sqrtf declaration... " >&6; }
36242 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36243 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36244 $as_echo_n "(cached) " >&6
36245 else
36246
36247
36248 ac_ext=cpp
36249 ac_cpp='$CXXCPP $CPPFLAGS'
36250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36253
36254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36255 /* end confdefs.h. */
36256 #include <math.h>
36257 #ifdef HAVE_IEEEFP_H
36258 #include <ieeefp.h>
36259 #endif
36260
36261 int
36262 main ()
36263 {
36264 sqrtf(0);
36265 ;
36266 return 0;
36267 }
36268 _ACEOF
36269 if ac_fn_cxx_try_compile "$LINENO"; then :
36270 glibcxx_cv_func_sqrtf_use=yes
36271 else
36272 glibcxx_cv_func_sqrtf_use=no
36273 fi
36274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36275 ac_ext=c
36276 ac_cpp='$CPP $CPPFLAGS'
36277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36280
36281
36282 fi
36283
36284 fi
36285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36286 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36287
36288 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36289 for ac_func in sqrtf
36290 do :
36291 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36292 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36293 cat >>confdefs.h <<_ACEOF
36294 #define HAVE_SQRTF 1
36295 _ACEOF
36296
36297 fi
36298 done
36299
36300 else
36301
36302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36303 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36304 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36305 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36306 $as_echo_n "(cached) " >&6
36307 else
36308
36309
36310 ac_ext=cpp
36311 ac_cpp='$CXXCPP $CPPFLAGS'
36312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36315
36316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36317 /* end confdefs.h. */
36318 #include <math.h>
36319 #ifdef HAVE_IEEEFP_H
36320 #include <ieeefp.h>
36321 #endif
36322
36323 int
36324 main ()
36325 {
36326 _sqrtf(0);
36327 ;
36328 return 0;
36329 }
36330 _ACEOF
36331 if ac_fn_cxx_try_compile "$LINENO"; then :
36332 glibcxx_cv_func__sqrtf_use=yes
36333 else
36334 glibcxx_cv_func__sqrtf_use=no
36335 fi
36336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36337 ac_ext=c
36338 ac_cpp='$CPP $CPPFLAGS'
36339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36342
36343
36344 fi
36345
36346 fi
36347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36348 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36349
36350 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36351 for ac_func in _sqrtf
36352 do :
36353 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36354 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36355 cat >>confdefs.h <<_ACEOF
36356 #define HAVE__SQRTF 1
36357 _ACEOF
36358
36359 fi
36360 done
36361
36362 fi
36363 fi
36364
36365
36366
36367
36368
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36370 $as_echo_n "checking for sincosf declaration... " >&6; }
36371 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36372 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36373 $as_echo_n "(cached) " >&6
36374 else
36375
36376
36377 ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36382
36383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h. */
36385 #include <math.h>
36386 int
36387 main ()
36388 {
36389 sincosf(0, 0, 0);
36390 ;
36391 return 0;
36392 }
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395 glibcxx_cv_func_sincosf_use=yes
36396 else
36397 glibcxx_cv_func_sincosf_use=no
36398 fi
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400 ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36405
36406
36407 fi
36408
36409 fi
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36411 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36412
36413 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36414 for ac_func in sincosf
36415 do :
36416 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36417 if test "x$ac_cv_func_sincosf" = x""yes; then :
36418 cat >>confdefs.h <<_ACEOF
36419 #define HAVE_SINCOSF 1
36420 _ACEOF
36421
36422 fi
36423 done
36424
36425 else
36426
36427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36428 $as_echo_n "checking for _sincosf declaration... " >&6; }
36429 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36430 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36431 $as_echo_n "(cached) " >&6
36432 else
36433
36434
36435 ac_ext=cpp
36436 ac_cpp='$CXXCPP $CPPFLAGS'
36437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36440
36441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36442 /* end confdefs.h. */
36443 #include <math.h>
36444 int
36445 main ()
36446 {
36447 _sincosf(0, 0, 0);
36448 ;
36449 return 0;
36450 }
36451 _ACEOF
36452 if ac_fn_cxx_try_compile "$LINENO"; then :
36453 glibcxx_cv_func__sincosf_use=yes
36454 else
36455 glibcxx_cv_func__sincosf_use=no
36456 fi
36457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36458 ac_ext=c
36459 ac_cpp='$CPP $CPPFLAGS'
36460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36463
36464
36465 fi
36466
36467 fi
36468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36469 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36470
36471 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36472 for ac_func in _sincosf
36473 do :
36474 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36475 if test "x$ac_cv_func__sincosf" = x""yes; then :
36476 cat >>confdefs.h <<_ACEOF
36477 #define HAVE__SINCOSF 1
36478 _ACEOF
36479
36480 fi
36481 done
36482
36483 fi
36484 fi
36485
36486
36487
36488
36489
36490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36491 $as_echo_n "checking for finitef declaration... " >&6; }
36492 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36493 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36494 $as_echo_n "(cached) " >&6
36495 else
36496
36497
36498 ac_ext=cpp
36499 ac_cpp='$CXXCPP $CPPFLAGS'
36500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36503
36504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36505 /* end confdefs.h. */
36506 #include <math.h>
36507 #ifdef HAVE_IEEEFP_H
36508 #include <ieeefp.h>
36509 #endif
36510
36511 int
36512 main ()
36513 {
36514 finitef(0);
36515 ;
36516 return 0;
36517 }
36518 _ACEOF
36519 if ac_fn_cxx_try_compile "$LINENO"; then :
36520 glibcxx_cv_func_finitef_use=yes
36521 else
36522 glibcxx_cv_func_finitef_use=no
36523 fi
36524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36525 ac_ext=c
36526 ac_cpp='$CPP $CPPFLAGS'
36527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36530
36531
36532 fi
36533
36534 fi
36535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36536 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36537
36538 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36539 for ac_func in finitef
36540 do :
36541 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36542 if test "x$ac_cv_func_finitef" = x""yes; then :
36543 cat >>confdefs.h <<_ACEOF
36544 #define HAVE_FINITEF 1
36545 _ACEOF
36546
36547 fi
36548 done
36549
36550 else
36551
36552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36553 $as_echo_n "checking for _finitef declaration... " >&6; }
36554 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36555 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36556 $as_echo_n "(cached) " >&6
36557 else
36558
36559
36560 ac_ext=cpp
36561 ac_cpp='$CXXCPP $CPPFLAGS'
36562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36565
36566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36567 /* end confdefs.h. */
36568 #include <math.h>
36569 #ifdef HAVE_IEEEFP_H
36570 #include <ieeefp.h>
36571 #endif
36572
36573 int
36574 main ()
36575 {
36576 _finitef(0);
36577 ;
36578 return 0;
36579 }
36580 _ACEOF
36581 if ac_fn_cxx_try_compile "$LINENO"; then :
36582 glibcxx_cv_func__finitef_use=yes
36583 else
36584 glibcxx_cv_func__finitef_use=no
36585 fi
36586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36587 ac_ext=c
36588 ac_cpp='$CPP $CPPFLAGS'
36589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36592
36593
36594 fi
36595
36596 fi
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36598 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36599
36600 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36601 for ac_func in _finitef
36602 do :
36603 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36604 if test "x$ac_cv_func__finitef" = x""yes; then :
36605 cat >>confdefs.h <<_ACEOF
36606 #define HAVE__FINITEF 1
36607 _ACEOF
36608
36609 fi
36610 done
36611
36612 fi
36613 fi
36614
36615
36616
36617
36618
36619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36620 $as_echo_n "checking for long double trig functions... " >&6; }
36621 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36622 $as_echo_n "(cached) " >&6
36623 else
36624
36625
36626 ac_ext=cpp
36627 ac_cpp='$CXXCPP $CPPFLAGS'
36628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36631
36632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36633 /* end confdefs.h. */
36634 #include <math.h>
36635 int
36636 main ()
36637 {
36638 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36639 ;
36640 return 0;
36641 }
36642 _ACEOF
36643 if ac_fn_cxx_try_compile "$LINENO"; then :
36644 glibcxx_cv_func_long_double_trig_use=yes
36645 else
36646 glibcxx_cv_func_long_double_trig_use=no
36647 fi
36648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36649 ac_ext=c
36650 ac_cpp='$CPP $CPPFLAGS'
36651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36654
36655 fi
36656
36657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36658 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36659 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36660 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36661 do :
36662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36664 eval as_val=\$$as_ac_var
36665 if test "x$as_val" = x""yes; then :
36666 cat >>confdefs.h <<_ACEOF
36667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36668 _ACEOF
36669
36670 fi
36671 done
36672
36673 else
36674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36675 $as_echo_n "checking for _long double trig functions... " >&6; }
36676 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36677 $as_echo_n "(cached) " >&6
36678 else
36679
36680
36681 ac_ext=cpp
36682 ac_cpp='$CXXCPP $CPPFLAGS'
36683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36686
36687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36688 /* end confdefs.h. */
36689 #include <math.h>
36690 int
36691 main ()
36692 {
36693 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36694 ;
36695 return 0;
36696 }
36697 _ACEOF
36698 if ac_fn_cxx_try_compile "$LINENO"; then :
36699 glibcxx_cv_func__long_double_trig_use=yes
36700 else
36701 glibcxx_cv_func__long_double_trig_use=no
36702 fi
36703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36704 ac_ext=c
36705 ac_cpp='$CPP $CPPFLAGS'
36706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36709
36710 fi
36711
36712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36713 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36714 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36715 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36716 do :
36717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36719 eval as_val=\$$as_ac_var
36720 if test "x$as_val" = x""yes; then :
36721 cat >>confdefs.h <<_ACEOF
36722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36723 _ACEOF
36724
36725 fi
36726 done
36727
36728 fi
36729 fi
36730
36731
36732
36733
36734
36735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36736 $as_echo_n "checking for long double round functions... " >&6; }
36737 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36738 $as_echo_n "(cached) " >&6
36739 else
36740
36741
36742 ac_ext=cpp
36743 ac_cpp='$CXXCPP $CPPFLAGS'
36744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36747
36748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36749 /* end confdefs.h. */
36750 #include <math.h>
36751 int
36752 main ()
36753 {
36754 ceill (0); floorl (0);
36755 ;
36756 return 0;
36757 }
36758 _ACEOF
36759 if ac_fn_cxx_try_compile "$LINENO"; then :
36760 glibcxx_cv_func_long_double_round_use=yes
36761 else
36762 glibcxx_cv_func_long_double_round_use=no
36763 fi
36764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36765 ac_ext=c
36766 ac_cpp='$CPP $CPPFLAGS'
36767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36770
36771 fi
36772
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36774 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36775 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36776 for ac_func in ceill floorl
36777 do :
36778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36780 eval as_val=\$$as_ac_var
36781 if test "x$as_val" = x""yes; then :
36782 cat >>confdefs.h <<_ACEOF
36783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36784 _ACEOF
36785
36786 fi
36787 done
36788
36789 else
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36791 $as_echo_n "checking for _long double round functions... " >&6; }
36792 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36793 $as_echo_n "(cached) " >&6
36794 else
36795
36796
36797 ac_ext=cpp
36798 ac_cpp='$CXXCPP $CPPFLAGS'
36799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36802
36803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36804 /* end confdefs.h. */
36805 #include <math.h>
36806 int
36807 main ()
36808 {
36809 _ceill (0); _floorl (0);
36810 ;
36811 return 0;
36812 }
36813 _ACEOF
36814 if ac_fn_cxx_try_compile "$LINENO"; then :
36815 glibcxx_cv_func__long_double_round_use=yes
36816 else
36817 glibcxx_cv_func__long_double_round_use=no
36818 fi
36819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36820 ac_ext=c
36821 ac_cpp='$CPP $CPPFLAGS'
36822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36825
36826 fi
36827
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36829 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36830 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36831 for ac_func in _ceill _floorl
36832 do :
36833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36835 eval as_val=\$$as_ac_var
36836 if test "x$as_val" = x""yes; then :
36837 cat >>confdefs.h <<_ACEOF
36838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36839 _ACEOF
36840
36841 fi
36842 done
36843
36844 fi
36845 fi
36846
36847
36848
36849
36850
36851
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36853 $as_echo_n "checking for isnanl declaration... " >&6; }
36854 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36855 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36856 $as_echo_n "(cached) " >&6
36857 else
36858
36859
36860 ac_ext=cpp
36861 ac_cpp='$CXXCPP $CPPFLAGS'
36862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36865
36866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36867 /* end confdefs.h. */
36868 #include <math.h>
36869 #ifdef HAVE_IEEEFP_H
36870 #include <ieeefp.h>
36871 #endif
36872
36873 int
36874 main ()
36875 {
36876 isnanl(0);
36877 ;
36878 return 0;
36879 }
36880 _ACEOF
36881 if ac_fn_cxx_try_compile "$LINENO"; then :
36882 glibcxx_cv_func_isnanl_use=yes
36883 else
36884 glibcxx_cv_func_isnanl_use=no
36885 fi
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36892
36893
36894 fi
36895
36896 fi
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36898 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36899
36900 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36901 for ac_func in isnanl
36902 do :
36903 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36904 if test "x$ac_cv_func_isnanl" = x""yes; then :
36905 cat >>confdefs.h <<_ACEOF
36906 #define HAVE_ISNANL 1
36907 _ACEOF
36908
36909 fi
36910 done
36911
36912 else
36913
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36915 $as_echo_n "checking for _isnanl declaration... " >&6; }
36916 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36917 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36918 $as_echo_n "(cached) " >&6
36919 else
36920
36921
36922 ac_ext=cpp
36923 ac_cpp='$CXXCPP $CPPFLAGS'
36924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36927
36928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36929 /* end confdefs.h. */
36930 #include <math.h>
36931 #ifdef HAVE_IEEEFP_H
36932 #include <ieeefp.h>
36933 #endif
36934
36935 int
36936 main ()
36937 {
36938 _isnanl(0);
36939 ;
36940 return 0;
36941 }
36942 _ACEOF
36943 if ac_fn_cxx_try_compile "$LINENO"; then :
36944 glibcxx_cv_func__isnanl_use=yes
36945 else
36946 glibcxx_cv_func__isnanl_use=no
36947 fi
36948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36949 ac_ext=c
36950 ac_cpp='$CPP $CPPFLAGS'
36951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36954
36955
36956 fi
36957
36958 fi
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36960 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36961
36962 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36963 for ac_func in _isnanl
36964 do :
36965 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36966 if test "x$ac_cv_func__isnanl" = x""yes; then :
36967 cat >>confdefs.h <<_ACEOF
36968 #define HAVE__ISNANL 1
36969 _ACEOF
36970
36971 fi
36972 done
36973
36974 fi
36975 fi
36976
36977
36978
36979
36980
36981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36982 $as_echo_n "checking for isinfl declaration... " >&6; }
36983 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36984 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36985 $as_echo_n "(cached) " >&6
36986 else
36987
36988
36989 ac_ext=cpp
36990 ac_cpp='$CXXCPP $CPPFLAGS'
36991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36994
36995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36996 /* end confdefs.h. */
36997 #include <math.h>
36998 #ifdef HAVE_IEEEFP_H
36999 #include <ieeefp.h>
37000 #endif
37001
37002 int
37003 main ()
37004 {
37005 isinfl(0);
37006 ;
37007 return 0;
37008 }
37009 _ACEOF
37010 if ac_fn_cxx_try_compile "$LINENO"; then :
37011 glibcxx_cv_func_isinfl_use=yes
37012 else
37013 glibcxx_cv_func_isinfl_use=no
37014 fi
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37016 ac_ext=c
37017 ac_cpp='$CPP $CPPFLAGS'
37018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37021
37022
37023 fi
37024
37025 fi
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37027 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37028
37029 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37030 for ac_func in isinfl
37031 do :
37032 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37033 if test "x$ac_cv_func_isinfl" = x""yes; then :
37034 cat >>confdefs.h <<_ACEOF
37035 #define HAVE_ISINFL 1
37036 _ACEOF
37037
37038 fi
37039 done
37040
37041 else
37042
37043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37044 $as_echo_n "checking for _isinfl declaration... " >&6; }
37045 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37046 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37047 $as_echo_n "(cached) " >&6
37048 else
37049
37050
37051 ac_ext=cpp
37052 ac_cpp='$CXXCPP $CPPFLAGS'
37053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37056
37057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37058 /* end confdefs.h. */
37059 #include <math.h>
37060 #ifdef HAVE_IEEEFP_H
37061 #include <ieeefp.h>
37062 #endif
37063
37064 int
37065 main ()
37066 {
37067 _isinfl(0);
37068 ;
37069 return 0;
37070 }
37071 _ACEOF
37072 if ac_fn_cxx_try_compile "$LINENO"; then :
37073 glibcxx_cv_func__isinfl_use=yes
37074 else
37075 glibcxx_cv_func__isinfl_use=no
37076 fi
37077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37078 ac_ext=c
37079 ac_cpp='$CPP $CPPFLAGS'
37080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37083
37084
37085 fi
37086
37087 fi
37088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37089 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37090
37091 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37092 for ac_func in _isinfl
37093 do :
37094 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37095 if test "x$ac_cv_func__isinfl" = x""yes; then :
37096 cat >>confdefs.h <<_ACEOF
37097 #define HAVE__ISINFL 1
37098 _ACEOF
37099
37100 fi
37101 done
37102
37103 fi
37104 fi
37105
37106
37107
37108
37109
37110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37111 $as_echo_n "checking for atan2l declaration... " >&6; }
37112 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37113 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37114 $as_echo_n "(cached) " >&6
37115 else
37116
37117
37118 ac_ext=cpp
37119 ac_cpp='$CXXCPP $CPPFLAGS'
37120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37123
37124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37125 /* end confdefs.h. */
37126 #include <math.h>
37127 int
37128 main ()
37129 {
37130 atan2l(0, 0);
37131 ;
37132 return 0;
37133 }
37134 _ACEOF
37135 if ac_fn_cxx_try_compile "$LINENO"; then :
37136 glibcxx_cv_func_atan2l_use=yes
37137 else
37138 glibcxx_cv_func_atan2l_use=no
37139 fi
37140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37141 ac_ext=c
37142 ac_cpp='$CPP $CPPFLAGS'
37143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37146
37147
37148 fi
37149
37150 fi
37151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37152 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37153
37154 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37155 for ac_func in atan2l
37156 do :
37157 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37158 if test "x$ac_cv_func_atan2l" = x""yes; then :
37159 cat >>confdefs.h <<_ACEOF
37160 #define HAVE_ATAN2L 1
37161 _ACEOF
37162
37163 fi
37164 done
37165
37166 else
37167
37168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37169 $as_echo_n "checking for _atan2l declaration... " >&6; }
37170 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37171 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37172 $as_echo_n "(cached) " >&6
37173 else
37174
37175
37176 ac_ext=cpp
37177 ac_cpp='$CXXCPP $CPPFLAGS'
37178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37181
37182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37183 /* end confdefs.h. */
37184 #include <math.h>
37185 int
37186 main ()
37187 {
37188 _atan2l(0, 0);
37189 ;
37190 return 0;
37191 }
37192 _ACEOF
37193 if ac_fn_cxx_try_compile "$LINENO"; then :
37194 glibcxx_cv_func__atan2l_use=yes
37195 else
37196 glibcxx_cv_func__atan2l_use=no
37197 fi
37198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37199 ac_ext=c
37200 ac_cpp='$CPP $CPPFLAGS'
37201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37204
37205
37206 fi
37207
37208 fi
37209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37210 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37211
37212 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37213 for ac_func in _atan2l
37214 do :
37215 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37216 if test "x$ac_cv_func__atan2l" = x""yes; then :
37217 cat >>confdefs.h <<_ACEOF
37218 #define HAVE__ATAN2L 1
37219 _ACEOF
37220
37221 fi
37222 done
37223
37224 fi
37225 fi
37226
37227
37228
37229
37230
37231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37232 $as_echo_n "checking for expl declaration... " >&6; }
37233 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37234 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37235 $as_echo_n "(cached) " >&6
37236 else
37237
37238
37239 ac_ext=cpp
37240 ac_cpp='$CXXCPP $CPPFLAGS'
37241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37244
37245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37246 /* end confdefs.h. */
37247 #include <math.h>
37248 #ifdef HAVE_IEEEFP_H
37249 #include <ieeefp.h>
37250 #endif
37251
37252 int
37253 main ()
37254 {
37255 expl(0);
37256 ;
37257 return 0;
37258 }
37259 _ACEOF
37260 if ac_fn_cxx_try_compile "$LINENO"; then :
37261 glibcxx_cv_func_expl_use=yes
37262 else
37263 glibcxx_cv_func_expl_use=no
37264 fi
37265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37266 ac_ext=c
37267 ac_cpp='$CPP $CPPFLAGS'
37268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37271
37272
37273 fi
37274
37275 fi
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37277 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37278
37279 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37280 for ac_func in expl
37281 do :
37282 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37283 if test "x$ac_cv_func_expl" = x""yes; then :
37284 cat >>confdefs.h <<_ACEOF
37285 #define HAVE_EXPL 1
37286 _ACEOF
37287
37288 fi
37289 done
37290
37291 else
37292
37293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37294 $as_echo_n "checking for _expl declaration... " >&6; }
37295 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37296 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37297 $as_echo_n "(cached) " >&6
37298 else
37299
37300
37301 ac_ext=cpp
37302 ac_cpp='$CXXCPP $CPPFLAGS'
37303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37306
37307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37308 /* end confdefs.h. */
37309 #include <math.h>
37310 #ifdef HAVE_IEEEFP_H
37311 #include <ieeefp.h>
37312 #endif
37313
37314 int
37315 main ()
37316 {
37317 _expl(0);
37318 ;
37319 return 0;
37320 }
37321 _ACEOF
37322 if ac_fn_cxx_try_compile "$LINENO"; then :
37323 glibcxx_cv_func__expl_use=yes
37324 else
37325 glibcxx_cv_func__expl_use=no
37326 fi
37327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37328 ac_ext=c
37329 ac_cpp='$CPP $CPPFLAGS'
37330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37333
37334
37335 fi
37336
37337 fi
37338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37339 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37340
37341 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37342 for ac_func in _expl
37343 do :
37344 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37345 if test "x$ac_cv_func__expl" = x""yes; then :
37346 cat >>confdefs.h <<_ACEOF
37347 #define HAVE__EXPL 1
37348 _ACEOF
37349
37350 fi
37351 done
37352
37353 fi
37354 fi
37355
37356
37357
37358
37359
37360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37361 $as_echo_n "checking for fabsl declaration... " >&6; }
37362 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37363 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37364 $as_echo_n "(cached) " >&6
37365 else
37366
37367
37368 ac_ext=cpp
37369 ac_cpp='$CXXCPP $CPPFLAGS'
37370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37373
37374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37375 /* end confdefs.h. */
37376 #include <math.h>
37377 #ifdef HAVE_IEEEFP_H
37378 #include <ieeefp.h>
37379 #endif
37380
37381 int
37382 main ()
37383 {
37384 fabsl(0);
37385 ;
37386 return 0;
37387 }
37388 _ACEOF
37389 if ac_fn_cxx_try_compile "$LINENO"; then :
37390 glibcxx_cv_func_fabsl_use=yes
37391 else
37392 glibcxx_cv_func_fabsl_use=no
37393 fi
37394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37395 ac_ext=c
37396 ac_cpp='$CPP $CPPFLAGS'
37397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37400
37401
37402 fi
37403
37404 fi
37405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37406 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37407
37408 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37409 for ac_func in fabsl
37410 do :
37411 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37412 if test "x$ac_cv_func_fabsl" = x""yes; then :
37413 cat >>confdefs.h <<_ACEOF
37414 #define HAVE_FABSL 1
37415 _ACEOF
37416
37417 fi
37418 done
37419
37420 else
37421
37422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37423 $as_echo_n "checking for _fabsl declaration... " >&6; }
37424 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37425 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37426 $as_echo_n "(cached) " >&6
37427 else
37428
37429
37430 ac_ext=cpp
37431 ac_cpp='$CXXCPP $CPPFLAGS'
37432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37435
37436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37437 /* end confdefs.h. */
37438 #include <math.h>
37439 #ifdef HAVE_IEEEFP_H
37440 #include <ieeefp.h>
37441 #endif
37442
37443 int
37444 main ()
37445 {
37446 _fabsl(0);
37447 ;
37448 return 0;
37449 }
37450 _ACEOF
37451 if ac_fn_cxx_try_compile "$LINENO"; then :
37452 glibcxx_cv_func__fabsl_use=yes
37453 else
37454 glibcxx_cv_func__fabsl_use=no
37455 fi
37456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37457 ac_ext=c
37458 ac_cpp='$CPP $CPPFLAGS'
37459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37462
37463
37464 fi
37465
37466 fi
37467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37468 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37469
37470 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37471 for ac_func in _fabsl
37472 do :
37473 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37474 if test "x$ac_cv_func__fabsl" = x""yes; then :
37475 cat >>confdefs.h <<_ACEOF
37476 #define HAVE__FABSL 1
37477 _ACEOF
37478
37479 fi
37480 done
37481
37482 fi
37483 fi
37484
37485
37486
37487
37488
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37490 $as_echo_n "checking for fmodl declaration... " >&6; }
37491 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37492 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37493 $as_echo_n "(cached) " >&6
37494 else
37495
37496
37497 ac_ext=cpp
37498 ac_cpp='$CXXCPP $CPPFLAGS'
37499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37502
37503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37504 /* end confdefs.h. */
37505 #include <math.h>
37506 int
37507 main ()
37508 {
37509 fmodl(0, 0);
37510 ;
37511 return 0;
37512 }
37513 _ACEOF
37514 if ac_fn_cxx_try_compile "$LINENO"; then :
37515 glibcxx_cv_func_fmodl_use=yes
37516 else
37517 glibcxx_cv_func_fmodl_use=no
37518 fi
37519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37520 ac_ext=c
37521 ac_cpp='$CPP $CPPFLAGS'
37522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37525
37526
37527 fi
37528
37529 fi
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37531 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37532
37533 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37534 for ac_func in fmodl
37535 do :
37536 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37537 if test "x$ac_cv_func_fmodl" = x""yes; then :
37538 cat >>confdefs.h <<_ACEOF
37539 #define HAVE_FMODL 1
37540 _ACEOF
37541
37542 fi
37543 done
37544
37545 else
37546
37547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37548 $as_echo_n "checking for _fmodl declaration... " >&6; }
37549 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37550 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37551 $as_echo_n "(cached) " >&6
37552 else
37553
37554
37555 ac_ext=cpp
37556 ac_cpp='$CXXCPP $CPPFLAGS'
37557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37560
37561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37562 /* end confdefs.h. */
37563 #include <math.h>
37564 int
37565 main ()
37566 {
37567 _fmodl(0, 0);
37568 ;
37569 return 0;
37570 }
37571 _ACEOF
37572 if ac_fn_cxx_try_compile "$LINENO"; then :
37573 glibcxx_cv_func__fmodl_use=yes
37574 else
37575 glibcxx_cv_func__fmodl_use=no
37576 fi
37577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37578 ac_ext=c
37579 ac_cpp='$CPP $CPPFLAGS'
37580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37583
37584
37585 fi
37586
37587 fi
37588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37589 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37590
37591 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37592 for ac_func in _fmodl
37593 do :
37594 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37595 if test "x$ac_cv_func__fmodl" = x""yes; then :
37596 cat >>confdefs.h <<_ACEOF
37597 #define HAVE__FMODL 1
37598 _ACEOF
37599
37600 fi
37601 done
37602
37603 fi
37604 fi
37605
37606
37607
37608
37609
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37611 $as_echo_n "checking for frexpl declaration... " >&6; }
37612 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37613 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37614 $as_echo_n "(cached) " >&6
37615 else
37616
37617
37618 ac_ext=cpp
37619 ac_cpp='$CXXCPP $CPPFLAGS'
37620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37623
37624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37625 /* end confdefs.h. */
37626 #include <math.h>
37627 int
37628 main ()
37629 {
37630 frexpl(0, 0);
37631 ;
37632 return 0;
37633 }
37634 _ACEOF
37635 if ac_fn_cxx_try_compile "$LINENO"; then :
37636 glibcxx_cv_func_frexpl_use=yes
37637 else
37638 glibcxx_cv_func_frexpl_use=no
37639 fi
37640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37641 ac_ext=c
37642 ac_cpp='$CPP $CPPFLAGS'
37643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37646
37647
37648 fi
37649
37650 fi
37651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37652 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37653
37654 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37655 for ac_func in frexpl
37656 do :
37657 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37658 if test "x$ac_cv_func_frexpl" = x""yes; then :
37659 cat >>confdefs.h <<_ACEOF
37660 #define HAVE_FREXPL 1
37661 _ACEOF
37662
37663 fi
37664 done
37665
37666 else
37667
37668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37669 $as_echo_n "checking for _frexpl declaration... " >&6; }
37670 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37671 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37672 $as_echo_n "(cached) " >&6
37673 else
37674
37675
37676 ac_ext=cpp
37677 ac_cpp='$CXXCPP $CPPFLAGS'
37678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37681
37682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37683 /* end confdefs.h. */
37684 #include <math.h>
37685 int
37686 main ()
37687 {
37688 _frexpl(0, 0);
37689 ;
37690 return 0;
37691 }
37692 _ACEOF
37693 if ac_fn_cxx_try_compile "$LINENO"; then :
37694 glibcxx_cv_func__frexpl_use=yes
37695 else
37696 glibcxx_cv_func__frexpl_use=no
37697 fi
37698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37699 ac_ext=c
37700 ac_cpp='$CPP $CPPFLAGS'
37701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37704
37705
37706 fi
37707
37708 fi
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37710 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37711
37712 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37713 for ac_func in _frexpl
37714 do :
37715 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37716 if test "x$ac_cv_func__frexpl" = x""yes; then :
37717 cat >>confdefs.h <<_ACEOF
37718 #define HAVE__FREXPL 1
37719 _ACEOF
37720
37721 fi
37722 done
37723
37724 fi
37725 fi
37726
37727
37728
37729
37730
37731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37732 $as_echo_n "checking for hypotl declaration... " >&6; }
37733 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37734 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37735 $as_echo_n "(cached) " >&6
37736 else
37737
37738
37739 ac_ext=cpp
37740 ac_cpp='$CXXCPP $CPPFLAGS'
37741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37744
37745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37746 /* end confdefs.h. */
37747 #include <math.h>
37748 int
37749 main ()
37750 {
37751 hypotl(0, 0);
37752 ;
37753 return 0;
37754 }
37755 _ACEOF
37756 if ac_fn_cxx_try_compile "$LINENO"; then :
37757 glibcxx_cv_func_hypotl_use=yes
37758 else
37759 glibcxx_cv_func_hypotl_use=no
37760 fi
37761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37762 ac_ext=c
37763 ac_cpp='$CPP $CPPFLAGS'
37764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37767
37768
37769 fi
37770
37771 fi
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37773 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37774
37775 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37776 for ac_func in hypotl
37777 do :
37778 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37779 if test "x$ac_cv_func_hypotl" = x""yes; then :
37780 cat >>confdefs.h <<_ACEOF
37781 #define HAVE_HYPOTL 1
37782 _ACEOF
37783
37784 fi
37785 done
37786
37787 else
37788
37789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37790 $as_echo_n "checking for _hypotl declaration... " >&6; }
37791 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37792 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37793 $as_echo_n "(cached) " >&6
37794 else
37795
37796
37797 ac_ext=cpp
37798 ac_cpp='$CXXCPP $CPPFLAGS'
37799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37802
37803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37804 /* end confdefs.h. */
37805 #include <math.h>
37806 int
37807 main ()
37808 {
37809 _hypotl(0, 0);
37810 ;
37811 return 0;
37812 }
37813 _ACEOF
37814 if ac_fn_cxx_try_compile "$LINENO"; then :
37815 glibcxx_cv_func__hypotl_use=yes
37816 else
37817 glibcxx_cv_func__hypotl_use=no
37818 fi
37819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37820 ac_ext=c
37821 ac_cpp='$CPP $CPPFLAGS'
37822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37825
37826
37827 fi
37828
37829 fi
37830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37831 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37832
37833 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37834 for ac_func in _hypotl
37835 do :
37836 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37837 if test "x$ac_cv_func__hypotl" = x""yes; then :
37838 cat >>confdefs.h <<_ACEOF
37839 #define HAVE__HYPOTL 1
37840 _ACEOF
37841
37842 fi
37843 done
37844
37845 fi
37846 fi
37847
37848
37849
37850
37851
37852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37853 $as_echo_n "checking for ldexpl declaration... " >&6; }
37854 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37855 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37856 $as_echo_n "(cached) " >&6
37857 else
37858
37859
37860 ac_ext=cpp
37861 ac_cpp='$CXXCPP $CPPFLAGS'
37862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37865
37866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37867 /* end confdefs.h. */
37868 #include <math.h>
37869 int
37870 main ()
37871 {
37872 ldexpl(0, 0);
37873 ;
37874 return 0;
37875 }
37876 _ACEOF
37877 if ac_fn_cxx_try_compile "$LINENO"; then :
37878 glibcxx_cv_func_ldexpl_use=yes
37879 else
37880 glibcxx_cv_func_ldexpl_use=no
37881 fi
37882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883 ac_ext=c
37884 ac_cpp='$CPP $CPPFLAGS'
37885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37888
37889
37890 fi
37891
37892 fi
37893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37894 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37895
37896 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37897 for ac_func in ldexpl
37898 do :
37899 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37900 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37901 cat >>confdefs.h <<_ACEOF
37902 #define HAVE_LDEXPL 1
37903 _ACEOF
37904
37905 fi
37906 done
37907
37908 else
37909
37910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37911 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37912 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37913 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37914 $as_echo_n "(cached) " >&6
37915 else
37916
37917
37918 ac_ext=cpp
37919 ac_cpp='$CXXCPP $CPPFLAGS'
37920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37923
37924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37925 /* end confdefs.h. */
37926 #include <math.h>
37927 int
37928 main ()
37929 {
37930 _ldexpl(0, 0);
37931 ;
37932 return 0;
37933 }
37934 _ACEOF
37935 if ac_fn_cxx_try_compile "$LINENO"; then :
37936 glibcxx_cv_func__ldexpl_use=yes
37937 else
37938 glibcxx_cv_func__ldexpl_use=no
37939 fi
37940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37941 ac_ext=c
37942 ac_cpp='$CPP $CPPFLAGS'
37943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37946
37947
37948 fi
37949
37950 fi
37951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37952 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37953
37954 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37955 for ac_func in _ldexpl
37956 do :
37957 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37958 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37959 cat >>confdefs.h <<_ACEOF
37960 #define HAVE__LDEXPL 1
37961 _ACEOF
37962
37963 fi
37964 done
37965
37966 fi
37967 fi
37968
37969
37970
37971
37972
37973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37974 $as_echo_n "checking for logl declaration... " >&6; }
37975 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37976 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37977 $as_echo_n "(cached) " >&6
37978 else
37979
37980
37981 ac_ext=cpp
37982 ac_cpp='$CXXCPP $CPPFLAGS'
37983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37986
37987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37988 /* end confdefs.h. */
37989 #include <math.h>
37990 #ifdef HAVE_IEEEFP_H
37991 #include <ieeefp.h>
37992 #endif
37993
37994 int
37995 main ()
37996 {
37997 logl(0);
37998 ;
37999 return 0;
38000 }
38001 _ACEOF
38002 if ac_fn_cxx_try_compile "$LINENO"; then :
38003 glibcxx_cv_func_logl_use=yes
38004 else
38005 glibcxx_cv_func_logl_use=no
38006 fi
38007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38008 ac_ext=c
38009 ac_cpp='$CPP $CPPFLAGS'
38010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38013
38014
38015 fi
38016
38017 fi
38018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38019 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38020
38021 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38022 for ac_func in logl
38023 do :
38024 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38025 if test "x$ac_cv_func_logl" = x""yes; then :
38026 cat >>confdefs.h <<_ACEOF
38027 #define HAVE_LOGL 1
38028 _ACEOF
38029
38030 fi
38031 done
38032
38033 else
38034
38035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38036 $as_echo_n "checking for _logl declaration... " >&6; }
38037 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38038 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38039 $as_echo_n "(cached) " >&6
38040 else
38041
38042
38043 ac_ext=cpp
38044 ac_cpp='$CXXCPP $CPPFLAGS'
38045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38048
38049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38050 /* end confdefs.h. */
38051 #include <math.h>
38052 #ifdef HAVE_IEEEFP_H
38053 #include <ieeefp.h>
38054 #endif
38055
38056 int
38057 main ()
38058 {
38059 _logl(0);
38060 ;
38061 return 0;
38062 }
38063 _ACEOF
38064 if ac_fn_cxx_try_compile "$LINENO"; then :
38065 glibcxx_cv_func__logl_use=yes
38066 else
38067 glibcxx_cv_func__logl_use=no
38068 fi
38069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38070 ac_ext=c
38071 ac_cpp='$CPP $CPPFLAGS'
38072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38075
38076
38077 fi
38078
38079 fi
38080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38081 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38082
38083 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38084 for ac_func in _logl
38085 do :
38086 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38087 if test "x$ac_cv_func__logl" = x""yes; then :
38088 cat >>confdefs.h <<_ACEOF
38089 #define HAVE__LOGL 1
38090 _ACEOF
38091
38092 fi
38093 done
38094
38095 fi
38096 fi
38097
38098
38099
38100
38101
38102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38103 $as_echo_n "checking for log10l declaration... " >&6; }
38104 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38105 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38106 $as_echo_n "(cached) " >&6
38107 else
38108
38109
38110 ac_ext=cpp
38111 ac_cpp='$CXXCPP $CPPFLAGS'
38112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38115
38116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38117 /* end confdefs.h. */
38118 #include <math.h>
38119 #ifdef HAVE_IEEEFP_H
38120 #include <ieeefp.h>
38121 #endif
38122
38123 int
38124 main ()
38125 {
38126 log10l(0);
38127 ;
38128 return 0;
38129 }
38130 _ACEOF
38131 if ac_fn_cxx_try_compile "$LINENO"; then :
38132 glibcxx_cv_func_log10l_use=yes
38133 else
38134 glibcxx_cv_func_log10l_use=no
38135 fi
38136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38137 ac_ext=c
38138 ac_cpp='$CPP $CPPFLAGS'
38139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38142
38143
38144 fi
38145
38146 fi
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38148 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38149
38150 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38151 for ac_func in log10l
38152 do :
38153 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38154 if test "x$ac_cv_func_log10l" = x""yes; then :
38155 cat >>confdefs.h <<_ACEOF
38156 #define HAVE_LOG10L 1
38157 _ACEOF
38158
38159 fi
38160 done
38161
38162 else
38163
38164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38165 $as_echo_n "checking for _log10l declaration... " >&6; }
38166 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38167 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38168 $as_echo_n "(cached) " >&6
38169 else
38170
38171
38172 ac_ext=cpp
38173 ac_cpp='$CXXCPP $CPPFLAGS'
38174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38177
38178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38179 /* end confdefs.h. */
38180 #include <math.h>
38181 #ifdef HAVE_IEEEFP_H
38182 #include <ieeefp.h>
38183 #endif
38184
38185 int
38186 main ()
38187 {
38188 _log10l(0);
38189 ;
38190 return 0;
38191 }
38192 _ACEOF
38193 if ac_fn_cxx_try_compile "$LINENO"; then :
38194 glibcxx_cv_func__log10l_use=yes
38195 else
38196 glibcxx_cv_func__log10l_use=no
38197 fi
38198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38199 ac_ext=c
38200 ac_cpp='$CPP $CPPFLAGS'
38201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38204
38205
38206 fi
38207
38208 fi
38209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38210 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38211
38212 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38213 for ac_func in _log10l
38214 do :
38215 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38216 if test "x$ac_cv_func__log10l" = x""yes; then :
38217 cat >>confdefs.h <<_ACEOF
38218 #define HAVE__LOG10L 1
38219 _ACEOF
38220
38221 fi
38222 done
38223
38224 fi
38225 fi
38226
38227
38228
38229
38230
38231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38232 $as_echo_n "checking for modfl declaration... " >&6; }
38233 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38234 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38235 $as_echo_n "(cached) " >&6
38236 else
38237
38238
38239 ac_ext=cpp
38240 ac_cpp='$CXXCPP $CPPFLAGS'
38241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38244
38245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38246 /* end confdefs.h. */
38247 #include <math.h>
38248 int
38249 main ()
38250 {
38251 modfl(0, 0);
38252 ;
38253 return 0;
38254 }
38255 _ACEOF
38256 if ac_fn_cxx_try_compile "$LINENO"; then :
38257 glibcxx_cv_func_modfl_use=yes
38258 else
38259 glibcxx_cv_func_modfl_use=no
38260 fi
38261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38262 ac_ext=c
38263 ac_cpp='$CPP $CPPFLAGS'
38264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38267
38268
38269 fi
38270
38271 fi
38272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38273 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38274
38275 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38276 for ac_func in modfl
38277 do :
38278 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38279 if test "x$ac_cv_func_modfl" = x""yes; then :
38280 cat >>confdefs.h <<_ACEOF
38281 #define HAVE_MODFL 1
38282 _ACEOF
38283
38284 fi
38285 done
38286
38287 else
38288
38289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38290 $as_echo_n "checking for _modfl declaration... " >&6; }
38291 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38292 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38293 $as_echo_n "(cached) " >&6
38294 else
38295
38296
38297 ac_ext=cpp
38298 ac_cpp='$CXXCPP $CPPFLAGS'
38299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38302
38303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38304 /* end confdefs.h. */
38305 #include <math.h>
38306 int
38307 main ()
38308 {
38309 _modfl(0, 0);
38310 ;
38311 return 0;
38312 }
38313 _ACEOF
38314 if ac_fn_cxx_try_compile "$LINENO"; then :
38315 glibcxx_cv_func__modfl_use=yes
38316 else
38317 glibcxx_cv_func__modfl_use=no
38318 fi
38319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38320 ac_ext=c
38321 ac_cpp='$CPP $CPPFLAGS'
38322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38325
38326
38327 fi
38328
38329 fi
38330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38331 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38332
38333 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38334 for ac_func in _modfl
38335 do :
38336 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38337 if test "x$ac_cv_func__modfl" = x""yes; then :
38338 cat >>confdefs.h <<_ACEOF
38339 #define HAVE__MODFL 1
38340 _ACEOF
38341
38342 fi
38343 done
38344
38345 fi
38346 fi
38347
38348
38349
38350
38351
38352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38353 $as_echo_n "checking for powl declaration... " >&6; }
38354 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38355 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38356 $as_echo_n "(cached) " >&6
38357 else
38358
38359
38360 ac_ext=cpp
38361 ac_cpp='$CXXCPP $CPPFLAGS'
38362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38365
38366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38367 /* end confdefs.h. */
38368 #include <math.h>
38369 int
38370 main ()
38371 {
38372 powl(0, 0);
38373 ;
38374 return 0;
38375 }
38376 _ACEOF
38377 if ac_fn_cxx_try_compile "$LINENO"; then :
38378 glibcxx_cv_func_powl_use=yes
38379 else
38380 glibcxx_cv_func_powl_use=no
38381 fi
38382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38383 ac_ext=c
38384 ac_cpp='$CPP $CPPFLAGS'
38385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38388
38389
38390 fi
38391
38392 fi
38393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38394 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38395
38396 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38397 for ac_func in powl
38398 do :
38399 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38400 if test "x$ac_cv_func_powl" = x""yes; then :
38401 cat >>confdefs.h <<_ACEOF
38402 #define HAVE_POWL 1
38403 _ACEOF
38404
38405 fi
38406 done
38407
38408 else
38409
38410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38411 $as_echo_n "checking for _powl declaration... " >&6; }
38412 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38413 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38414 $as_echo_n "(cached) " >&6
38415 else
38416
38417
38418 ac_ext=cpp
38419 ac_cpp='$CXXCPP $CPPFLAGS'
38420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38423
38424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38425 /* end confdefs.h. */
38426 #include <math.h>
38427 int
38428 main ()
38429 {
38430 _powl(0, 0);
38431 ;
38432 return 0;
38433 }
38434 _ACEOF
38435 if ac_fn_cxx_try_compile "$LINENO"; then :
38436 glibcxx_cv_func__powl_use=yes
38437 else
38438 glibcxx_cv_func__powl_use=no
38439 fi
38440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38441 ac_ext=c
38442 ac_cpp='$CPP $CPPFLAGS'
38443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38446
38447
38448 fi
38449
38450 fi
38451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38452 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38453
38454 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38455 for ac_func in _powl
38456 do :
38457 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38458 if test "x$ac_cv_func__powl" = x""yes; then :
38459 cat >>confdefs.h <<_ACEOF
38460 #define HAVE__POWL 1
38461 _ACEOF
38462
38463 fi
38464 done
38465
38466 fi
38467 fi
38468
38469
38470
38471
38472
38473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38474 $as_echo_n "checking for sqrtl declaration... " >&6; }
38475 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38476 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38477 $as_echo_n "(cached) " >&6
38478 else
38479
38480
38481 ac_ext=cpp
38482 ac_cpp='$CXXCPP $CPPFLAGS'
38483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38486
38487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38488 /* end confdefs.h. */
38489 #include <math.h>
38490 #ifdef HAVE_IEEEFP_H
38491 #include <ieeefp.h>
38492 #endif
38493
38494 int
38495 main ()
38496 {
38497 sqrtl(0);
38498 ;
38499 return 0;
38500 }
38501 _ACEOF
38502 if ac_fn_cxx_try_compile "$LINENO"; then :
38503 glibcxx_cv_func_sqrtl_use=yes
38504 else
38505 glibcxx_cv_func_sqrtl_use=no
38506 fi
38507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38508 ac_ext=c
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38513
38514
38515 fi
38516
38517 fi
38518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38519 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38520
38521 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38522 for ac_func in sqrtl
38523 do :
38524 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38525 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38526 cat >>confdefs.h <<_ACEOF
38527 #define HAVE_SQRTL 1
38528 _ACEOF
38529
38530 fi
38531 done
38532
38533 else
38534
38535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38536 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38537 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38538 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38539 $as_echo_n "(cached) " >&6
38540 else
38541
38542
38543 ac_ext=cpp
38544 ac_cpp='$CXXCPP $CPPFLAGS'
38545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38548
38549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38550 /* end confdefs.h. */
38551 #include <math.h>
38552 #ifdef HAVE_IEEEFP_H
38553 #include <ieeefp.h>
38554 #endif
38555
38556 int
38557 main ()
38558 {
38559 _sqrtl(0);
38560 ;
38561 return 0;
38562 }
38563 _ACEOF
38564 if ac_fn_cxx_try_compile "$LINENO"; then :
38565 glibcxx_cv_func__sqrtl_use=yes
38566 else
38567 glibcxx_cv_func__sqrtl_use=no
38568 fi
38569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38570 ac_ext=c
38571 ac_cpp='$CPP $CPPFLAGS'
38572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38575
38576
38577 fi
38578
38579 fi
38580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38581 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38582
38583 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38584 for ac_func in _sqrtl
38585 do :
38586 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38587 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38588 cat >>confdefs.h <<_ACEOF
38589 #define HAVE__SQRTL 1
38590 _ACEOF
38591
38592 fi
38593 done
38594
38595 fi
38596 fi
38597
38598
38599
38600
38601
38602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38603 $as_echo_n "checking for sincosl declaration... " >&6; }
38604 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38605 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38606 $as_echo_n "(cached) " >&6
38607 else
38608
38609
38610 ac_ext=cpp
38611 ac_cpp='$CXXCPP $CPPFLAGS'
38612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38615
38616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38617 /* end confdefs.h. */
38618 #include <math.h>
38619 int
38620 main ()
38621 {
38622 sincosl(0, 0, 0);
38623 ;
38624 return 0;
38625 }
38626 _ACEOF
38627 if ac_fn_cxx_try_compile "$LINENO"; then :
38628 glibcxx_cv_func_sincosl_use=yes
38629 else
38630 glibcxx_cv_func_sincosl_use=no
38631 fi
38632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38633 ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38638
38639
38640 fi
38641
38642 fi
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38644 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38645
38646 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38647 for ac_func in sincosl
38648 do :
38649 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38650 if test "x$ac_cv_func_sincosl" = x""yes; then :
38651 cat >>confdefs.h <<_ACEOF
38652 #define HAVE_SINCOSL 1
38653 _ACEOF
38654
38655 fi
38656 done
38657
38658 else
38659
38660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38661 $as_echo_n "checking for _sincosl declaration... " >&6; }
38662 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38663 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38664 $as_echo_n "(cached) " >&6
38665 else
38666
38667
38668 ac_ext=cpp
38669 ac_cpp='$CXXCPP $CPPFLAGS'
38670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38673
38674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38675 /* end confdefs.h. */
38676 #include <math.h>
38677 int
38678 main ()
38679 {
38680 _sincosl(0, 0, 0);
38681 ;
38682 return 0;
38683 }
38684 _ACEOF
38685 if ac_fn_cxx_try_compile "$LINENO"; then :
38686 glibcxx_cv_func__sincosl_use=yes
38687 else
38688 glibcxx_cv_func__sincosl_use=no
38689 fi
38690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38691 ac_ext=c
38692 ac_cpp='$CPP $CPPFLAGS'
38693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38696
38697
38698 fi
38699
38700 fi
38701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38702 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38703
38704 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38705 for ac_func in _sincosl
38706 do :
38707 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38708 if test "x$ac_cv_func__sincosl" = x""yes; then :
38709 cat >>confdefs.h <<_ACEOF
38710 #define HAVE__SINCOSL 1
38711 _ACEOF
38712
38713 fi
38714 done
38715
38716 fi
38717 fi
38718
38719
38720
38721
38722
38723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38724 $as_echo_n "checking for finitel declaration... " >&6; }
38725 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38726 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38727 $as_echo_n "(cached) " >&6
38728 else
38729
38730
38731 ac_ext=cpp
38732 ac_cpp='$CXXCPP $CPPFLAGS'
38733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38736
38737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38738 /* end confdefs.h. */
38739 #include <math.h>
38740 #ifdef HAVE_IEEEFP_H
38741 #include <ieeefp.h>
38742 #endif
38743
38744 int
38745 main ()
38746 {
38747 finitel(0);
38748 ;
38749 return 0;
38750 }
38751 _ACEOF
38752 if ac_fn_cxx_try_compile "$LINENO"; then :
38753 glibcxx_cv_func_finitel_use=yes
38754 else
38755 glibcxx_cv_func_finitel_use=no
38756 fi
38757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758 ac_ext=c
38759 ac_cpp='$CPP $CPPFLAGS'
38760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38763
38764
38765 fi
38766
38767 fi
38768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38769 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38770
38771 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38772 for ac_func in finitel
38773 do :
38774 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38775 if test "x$ac_cv_func_finitel" = x""yes; then :
38776 cat >>confdefs.h <<_ACEOF
38777 #define HAVE_FINITEL 1
38778 _ACEOF
38779
38780 fi
38781 done
38782
38783 else
38784
38785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38786 $as_echo_n "checking for _finitel declaration... " >&6; }
38787 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38788 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38789 $as_echo_n "(cached) " >&6
38790 else
38791
38792
38793 ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798
38799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h. */
38801 #include <math.h>
38802 #ifdef HAVE_IEEEFP_H
38803 #include <ieeefp.h>
38804 #endif
38805
38806 int
38807 main ()
38808 {
38809 _finitel(0);
38810 ;
38811 return 0;
38812 }
38813 _ACEOF
38814 if ac_fn_cxx_try_compile "$LINENO"; then :
38815 glibcxx_cv_func__finitel_use=yes
38816 else
38817 glibcxx_cv_func__finitel_use=no
38818 fi
38819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38820 ac_ext=c
38821 ac_cpp='$CPP $CPPFLAGS'
38822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38825
38826
38827 fi
38828
38829 fi
38830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38831 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38832
38833 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38834 for ac_func in _finitel
38835 do :
38836 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38837 if test "x$ac_cv_func__finitel" = x""yes; then :
38838 cat >>confdefs.h <<_ACEOF
38839 #define HAVE__FINITEL 1
38840 _ACEOF
38841
38842 fi
38843 done
38844
38845 fi
38846 fi
38847
38848
38849
38850
38851 LIBS="$ac_save_LIBS"
38852 CXXFLAGS="$ac_save_CXXFLAGS"
38853
38854
38855 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38856 ac_save_CXXFLAGS="$CXXFLAGS"
38857 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38858
38859
38860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38861 $as_echo_n "checking for strtold declaration... " >&6; }
38862 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38863 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38864 $as_echo_n "(cached) " >&6
38865 else
38866
38867
38868 ac_ext=cpp
38869 ac_cpp='$CXXCPP $CPPFLAGS'
38870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38873
38874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38875 /* end confdefs.h. */
38876 #include <stdlib.h>
38877 int
38878 main ()
38879 {
38880 strtold(0, 0);
38881 ;
38882 return 0;
38883 }
38884 _ACEOF
38885 if ac_fn_cxx_try_compile "$LINENO"; then :
38886 glibcxx_cv_func_strtold_use=yes
38887 else
38888 glibcxx_cv_func_strtold_use=no
38889 fi
38890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38891 ac_ext=c
38892 ac_cpp='$CPP $CPPFLAGS'
38893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38896
38897
38898 fi
38899
38900 fi
38901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38902 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38903 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38904 for ac_func in strtold
38905 do :
38906 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38907 if test "x$ac_cv_func_strtold" = x""yes; then :
38908 cat >>confdefs.h <<_ACEOF
38909 #define HAVE_STRTOLD 1
38910 _ACEOF
38911
38912 fi
38913 done
38914
38915 fi
38916
38917
38918
38919
38920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38921 $as_echo_n "checking for strtof declaration... " >&6; }
38922 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38923 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38924 $as_echo_n "(cached) " >&6
38925 else
38926
38927
38928 ac_ext=cpp
38929 ac_cpp='$CXXCPP $CPPFLAGS'
38930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38933
38934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38935 /* end confdefs.h. */
38936 #include <stdlib.h>
38937 int
38938 main ()
38939 {
38940 strtof(0, 0);
38941 ;
38942 return 0;
38943 }
38944 _ACEOF
38945 if ac_fn_cxx_try_compile "$LINENO"; then :
38946 glibcxx_cv_func_strtof_use=yes
38947 else
38948 glibcxx_cv_func_strtof_use=no
38949 fi
38950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38951 ac_ext=c
38952 ac_cpp='$CPP $CPPFLAGS'
38953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38956
38957
38958 fi
38959
38960 fi
38961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38962 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38963 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38964 for ac_func in strtof
38965 do :
38966 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38967 if test "x$ac_cv_func_strtof" = x""yes; then :
38968 cat >>confdefs.h <<_ACEOF
38969 #define HAVE_STRTOF 1
38970 _ACEOF
38971
38972 fi
38973 done
38974
38975 fi
38976
38977
38978
38979
38980 CXXFLAGS="$ac_save_CXXFLAGS"
38981
38982 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38983
38984 # We don't yet support AIX's TLS ABI.
38985 #GCC_CHECK_TLS
38986
38987
38988
38989
38990
38991 am_save_CPPFLAGS="$CPPFLAGS"
38992
38993 for element in $INCICONV; do
38994 haveit=
38995 for x in $CPPFLAGS; do
38996
38997 acl_save_prefix="$prefix"
38998 prefix="$acl_final_prefix"
38999 acl_save_exec_prefix="$exec_prefix"
39000 exec_prefix="$acl_final_exec_prefix"
39001 eval x=\"$x\"
39002 exec_prefix="$acl_save_exec_prefix"
39003 prefix="$acl_save_prefix"
39004
39005 if test "X$x" = "X$element"; then
39006 haveit=yes
39007 break
39008 fi
39009 done
39010 if test -z "$haveit"; then
39011 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39012 fi
39013 done
39014
39015
39016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39017 $as_echo_n "checking for iconv... " >&6; }
39018 if test "${am_cv_func_iconv+set}" = set; then :
39019 $as_echo_n "(cached) " >&6
39020 else
39021
39022 am_cv_func_iconv="no, consider installing GNU libiconv"
39023 am_cv_lib_iconv=no
39024 if test x$gcc_no_link = xyes; then
39025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39026 fi
39027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39028 /* end confdefs.h. */
39029 #include <stdlib.h>
39030 #include <iconv.h>
39031 int
39032 main ()
39033 {
39034 iconv_t cd = iconv_open("","");
39035 iconv(cd,NULL,NULL,NULL,NULL);
39036 iconv_close(cd);
39037 ;
39038 return 0;
39039 }
39040 _ACEOF
39041 if ac_fn_c_try_link "$LINENO"; then :
39042 am_cv_func_iconv=yes
39043 fi
39044 rm -f core conftest.err conftest.$ac_objext \
39045 conftest$ac_exeext conftest.$ac_ext
39046 if test "$am_cv_func_iconv" != yes; then
39047 am_save_LIBS="$LIBS"
39048 LIBS="$LIBS $LIBICONV"
39049 if test x$gcc_no_link = xyes; then
39050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39051 fi
39052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053 /* end confdefs.h. */
39054 #include <stdlib.h>
39055 #include <iconv.h>
39056 int
39057 main ()
39058 {
39059 iconv_t cd = iconv_open("","");
39060 iconv(cd,NULL,NULL,NULL,NULL);
39061 iconv_close(cd);
39062 ;
39063 return 0;
39064 }
39065 _ACEOF
39066 if ac_fn_c_try_link "$LINENO"; then :
39067 am_cv_lib_iconv=yes
39068 am_cv_func_iconv=yes
39069 fi
39070 rm -f core conftest.err conftest.$ac_objext \
39071 conftest$ac_exeext conftest.$ac_ext
39072 LIBS="$am_save_LIBS"
39073 fi
39074
39075 fi
39076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39077 $as_echo "$am_cv_func_iconv" >&6; }
39078 if test "$am_cv_func_iconv" = yes; then
39079
39080 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39081
39082 fi
39083 if test "$am_cv_lib_iconv" = yes; then
39084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39085 $as_echo_n "checking how to link with libiconv... " >&6; }
39086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39087 $as_echo "$LIBICONV" >&6; }
39088 else
39089 CPPFLAGS="$am_save_CPPFLAGS"
39090 LIBICONV=
39091 LTLIBICONV=
39092 fi
39093
39094
39095
39096 if test "$am_cv_func_iconv" = yes; then
39097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39098 $as_echo_n "checking for iconv declaration... " >&6; }
39099 if test "${am_cv_proto_iconv+set}" = set; then :
39100 $as_echo_n "(cached) " >&6
39101 else
39102
39103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39104 /* end confdefs.h. */
39105
39106 #include <stdlib.h>
39107 #include <iconv.h>
39108 extern
39109 #ifdef __cplusplus
39110 "C"
39111 #endif
39112 #if defined(__STDC__) || defined(__cplusplus)
39113 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39114 #else
39115 size_t iconv();
39116 #endif
39117
39118 int
39119 main ()
39120 {
39121
39122 ;
39123 return 0;
39124 }
39125 _ACEOF
39126 if ac_fn_c_try_compile "$LINENO"; then :
39127 am_cv_proto_iconv_arg1=""
39128 else
39129 am_cv_proto_iconv_arg1="const"
39130 fi
39131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39132 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);"
39133 fi
39134
39135 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39137 }$am_cv_proto_iconv" >&5
39138 $as_echo "${ac_t:-
39139 }$am_cv_proto_iconv" >&6; }
39140
39141 cat >>confdefs.h <<_ACEOF
39142 #define ICONV_CONST $am_cv_proto_iconv_arg1
39143 _ACEOF
39144
39145 fi
39146
39147 ;;
39148
39149 *-darwin*)
39150 # Darwin versions vary, but the linker should work in a cross environment,
39151 # so we just check for all the features here.
39152 # Check for available headers.
39153
39154 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39155
39156 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39157 ac_save_CXXFLAGS="$CXXFLAGS"
39158 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39159
39160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39161 $as_echo_n "checking for sin in -lm... " >&6; }
39162 if test "${ac_cv_lib_m_sin+set}" = set; then :
39163 $as_echo_n "(cached) " >&6
39164 else
39165 ac_check_lib_save_LIBS=$LIBS
39166 LIBS="-lm $LIBS"
39167 if test x$gcc_no_link = xyes; then
39168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39169 fi
39170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39171 /* end confdefs.h. */
39172
39173 /* Override any GCC internal prototype to avoid an error.
39174 Use char because int might match the return type of a GCC
39175 builtin and then its argument prototype would still apply. */
39176 #ifdef __cplusplus
39177 extern "C"
39178 #endif
39179 char sin ();
39180 int
39181 main ()
39182 {
39183 return sin ();
39184 ;
39185 return 0;
39186 }
39187 _ACEOF
39188 if ac_fn_c_try_link "$LINENO"; then :
39189 ac_cv_lib_m_sin=yes
39190 else
39191 ac_cv_lib_m_sin=no
39192 fi
39193 rm -f core conftest.err conftest.$ac_objext \
39194 conftest$ac_exeext conftest.$ac_ext
39195 LIBS=$ac_check_lib_save_LIBS
39196 fi
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39198 $as_echo "$ac_cv_lib_m_sin" >&6; }
39199 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39200 libm="-lm"
39201 fi
39202
39203 ac_save_LIBS="$LIBS"
39204 LIBS="$LIBS $libm"
39205
39206
39207
39208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39209 $as_echo_n "checking for isinf declaration... " >&6; }
39210 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39211 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39212 $as_echo_n "(cached) " >&6
39213 else
39214
39215
39216 ac_ext=cpp
39217 ac_cpp='$CXXCPP $CPPFLAGS'
39218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39221
39222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39223 /* end confdefs.h. */
39224 #include <math.h>
39225 #ifdef HAVE_IEEEFP_H
39226 #include <ieeefp.h>
39227 #endif
39228
39229 int
39230 main ()
39231 {
39232 isinf(0);
39233 ;
39234 return 0;
39235 }
39236 _ACEOF
39237 if ac_fn_cxx_try_compile "$LINENO"; then :
39238 glibcxx_cv_func_isinf_use=yes
39239 else
39240 glibcxx_cv_func_isinf_use=no
39241 fi
39242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39243 ac_ext=c
39244 ac_cpp='$CPP $CPPFLAGS'
39245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39248
39249
39250 fi
39251
39252 fi
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39254 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39255
39256 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39257 for ac_func in isinf
39258 do :
39259 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39260 if test "x$ac_cv_func_isinf" = x""yes; then :
39261 cat >>confdefs.h <<_ACEOF
39262 #define HAVE_ISINF 1
39263 _ACEOF
39264
39265 fi
39266 done
39267
39268 else
39269
39270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39271 $as_echo_n "checking for _isinf declaration... " >&6; }
39272 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39273 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39274 $as_echo_n "(cached) " >&6
39275 else
39276
39277
39278 ac_ext=cpp
39279 ac_cpp='$CXXCPP $CPPFLAGS'
39280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283
39284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39285 /* end confdefs.h. */
39286 #include <math.h>
39287 #ifdef HAVE_IEEEFP_H
39288 #include <ieeefp.h>
39289 #endif
39290
39291 int
39292 main ()
39293 {
39294 _isinf(0);
39295 ;
39296 return 0;
39297 }
39298 _ACEOF
39299 if ac_fn_cxx_try_compile "$LINENO"; then :
39300 glibcxx_cv_func__isinf_use=yes
39301 else
39302 glibcxx_cv_func__isinf_use=no
39303 fi
39304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39305 ac_ext=c
39306 ac_cpp='$CPP $CPPFLAGS'
39307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39310
39311
39312 fi
39313
39314 fi
39315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39316 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39317
39318 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39319 for ac_func in _isinf
39320 do :
39321 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39322 if test "x$ac_cv_func__isinf" = x""yes; then :
39323 cat >>confdefs.h <<_ACEOF
39324 #define HAVE__ISINF 1
39325 _ACEOF
39326
39327 fi
39328 done
39329
39330 fi
39331 fi
39332
39333
39334
39335
39336
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39338 $as_echo_n "checking for isnan declaration... " >&6; }
39339 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39340 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39341 $as_echo_n "(cached) " >&6
39342 else
39343
39344
39345 ac_ext=cpp
39346 ac_cpp='$CXXCPP $CPPFLAGS'
39347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39350
39351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39352 /* end confdefs.h. */
39353 #include <math.h>
39354 #ifdef HAVE_IEEEFP_H
39355 #include <ieeefp.h>
39356 #endif
39357
39358 int
39359 main ()
39360 {
39361 isnan(0);
39362 ;
39363 return 0;
39364 }
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func_isnan_use=yes
39368 else
39369 glibcxx_cv_func_isnan_use=no
39370 fi
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39377
39378
39379 fi
39380
39381 fi
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39383 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39384
39385 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39386 for ac_func in isnan
39387 do :
39388 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39389 if test "x$ac_cv_func_isnan" = x""yes; then :
39390 cat >>confdefs.h <<_ACEOF
39391 #define HAVE_ISNAN 1
39392 _ACEOF
39393
39394 fi
39395 done
39396
39397 else
39398
39399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39400 $as_echo_n "checking for _isnan declaration... " >&6; }
39401 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39402 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39403 $as_echo_n "(cached) " >&6
39404 else
39405
39406
39407 ac_ext=cpp
39408 ac_cpp='$CXXCPP $CPPFLAGS'
39409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39412
39413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39414 /* end confdefs.h. */
39415 #include <math.h>
39416 #ifdef HAVE_IEEEFP_H
39417 #include <ieeefp.h>
39418 #endif
39419
39420 int
39421 main ()
39422 {
39423 _isnan(0);
39424 ;
39425 return 0;
39426 }
39427 _ACEOF
39428 if ac_fn_cxx_try_compile "$LINENO"; then :
39429 glibcxx_cv_func__isnan_use=yes
39430 else
39431 glibcxx_cv_func__isnan_use=no
39432 fi
39433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39434 ac_ext=c
39435 ac_cpp='$CPP $CPPFLAGS'
39436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39439
39440
39441 fi
39442
39443 fi
39444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39445 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39446
39447 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39448 for ac_func in _isnan
39449 do :
39450 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39451 if test "x$ac_cv_func__isnan" = x""yes; then :
39452 cat >>confdefs.h <<_ACEOF
39453 #define HAVE__ISNAN 1
39454 _ACEOF
39455
39456 fi
39457 done
39458
39459 fi
39460 fi
39461
39462
39463
39464
39465
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39467 $as_echo_n "checking for finite declaration... " >&6; }
39468 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39469 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39470 $as_echo_n "(cached) " >&6
39471 else
39472
39473
39474 ac_ext=cpp
39475 ac_cpp='$CXXCPP $CPPFLAGS'
39476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39479
39480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481 /* end confdefs.h. */
39482 #include <math.h>
39483 #ifdef HAVE_IEEEFP_H
39484 #include <ieeefp.h>
39485 #endif
39486
39487 int
39488 main ()
39489 {
39490 finite(0);
39491 ;
39492 return 0;
39493 }
39494 _ACEOF
39495 if ac_fn_cxx_try_compile "$LINENO"; then :
39496 glibcxx_cv_func_finite_use=yes
39497 else
39498 glibcxx_cv_func_finite_use=no
39499 fi
39500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39501 ac_ext=c
39502 ac_cpp='$CPP $CPPFLAGS'
39503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39506
39507
39508 fi
39509
39510 fi
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39512 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39513
39514 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39515 for ac_func in finite
39516 do :
39517 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39518 if test "x$ac_cv_func_finite" = x""yes; then :
39519 cat >>confdefs.h <<_ACEOF
39520 #define HAVE_FINITE 1
39521 _ACEOF
39522
39523 fi
39524 done
39525
39526 else
39527
39528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39529 $as_echo_n "checking for _finite declaration... " >&6; }
39530 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39531 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39532 $as_echo_n "(cached) " >&6
39533 else
39534
39535
39536 ac_ext=cpp
39537 ac_cpp='$CXXCPP $CPPFLAGS'
39538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39541
39542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39543 /* end confdefs.h. */
39544 #include <math.h>
39545 #ifdef HAVE_IEEEFP_H
39546 #include <ieeefp.h>
39547 #endif
39548
39549 int
39550 main ()
39551 {
39552 _finite(0);
39553 ;
39554 return 0;
39555 }
39556 _ACEOF
39557 if ac_fn_cxx_try_compile "$LINENO"; then :
39558 glibcxx_cv_func__finite_use=yes
39559 else
39560 glibcxx_cv_func__finite_use=no
39561 fi
39562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39563 ac_ext=c
39564 ac_cpp='$CPP $CPPFLAGS'
39565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39568
39569
39570 fi
39571
39572 fi
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39574 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39575
39576 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39577 for ac_func in _finite
39578 do :
39579 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39580 if test "x$ac_cv_func__finite" = x""yes; then :
39581 cat >>confdefs.h <<_ACEOF
39582 #define HAVE__FINITE 1
39583 _ACEOF
39584
39585 fi
39586 done
39587
39588 fi
39589 fi
39590
39591
39592
39593
39594
39595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39596 $as_echo_n "checking for sincos declaration... " >&6; }
39597 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39598 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39599 $as_echo_n "(cached) " >&6
39600 else
39601
39602
39603 ac_ext=cpp
39604 ac_cpp='$CXXCPP $CPPFLAGS'
39605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39608
39609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39610 /* end confdefs.h. */
39611 #include <math.h>
39612 int
39613 main ()
39614 {
39615 sincos(0, 0, 0);
39616 ;
39617 return 0;
39618 }
39619 _ACEOF
39620 if ac_fn_cxx_try_compile "$LINENO"; then :
39621 glibcxx_cv_func_sincos_use=yes
39622 else
39623 glibcxx_cv_func_sincos_use=no
39624 fi
39625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39626 ac_ext=c
39627 ac_cpp='$CPP $CPPFLAGS'
39628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39631
39632
39633 fi
39634
39635 fi
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39637 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39638
39639 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39640 for ac_func in sincos
39641 do :
39642 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39643 if test "x$ac_cv_func_sincos" = x""yes; then :
39644 cat >>confdefs.h <<_ACEOF
39645 #define HAVE_SINCOS 1
39646 _ACEOF
39647
39648 fi
39649 done
39650
39651 else
39652
39653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39654 $as_echo_n "checking for _sincos declaration... " >&6; }
39655 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39656 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39657 $as_echo_n "(cached) " >&6
39658 else
39659
39660
39661 ac_ext=cpp
39662 ac_cpp='$CXXCPP $CPPFLAGS'
39663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39666
39667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39668 /* end confdefs.h. */
39669 #include <math.h>
39670 int
39671 main ()
39672 {
39673 _sincos(0, 0, 0);
39674 ;
39675 return 0;
39676 }
39677 _ACEOF
39678 if ac_fn_cxx_try_compile "$LINENO"; then :
39679 glibcxx_cv_func__sincos_use=yes
39680 else
39681 glibcxx_cv_func__sincos_use=no
39682 fi
39683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39684 ac_ext=c
39685 ac_cpp='$CPP $CPPFLAGS'
39686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39689
39690
39691 fi
39692
39693 fi
39694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39695 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39696
39697 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39698 for ac_func in _sincos
39699 do :
39700 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39701 if test "x$ac_cv_func__sincos" = x""yes; then :
39702 cat >>confdefs.h <<_ACEOF
39703 #define HAVE__SINCOS 1
39704 _ACEOF
39705
39706 fi
39707 done
39708
39709 fi
39710 fi
39711
39712
39713
39714
39715
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39717 $as_echo_n "checking for fpclass declaration... " >&6; }
39718 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39719 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39720 $as_echo_n "(cached) " >&6
39721 else
39722
39723
39724 ac_ext=cpp
39725 ac_cpp='$CXXCPP $CPPFLAGS'
39726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39729
39730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39731 /* end confdefs.h. */
39732 #include <math.h>
39733 #ifdef HAVE_IEEEFP_H
39734 #include <ieeefp.h>
39735 #endif
39736
39737 int
39738 main ()
39739 {
39740 fpclass(0);
39741 ;
39742 return 0;
39743 }
39744 _ACEOF
39745 if ac_fn_cxx_try_compile "$LINENO"; then :
39746 glibcxx_cv_func_fpclass_use=yes
39747 else
39748 glibcxx_cv_func_fpclass_use=no
39749 fi
39750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39751 ac_ext=c
39752 ac_cpp='$CPP $CPPFLAGS'
39753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39756
39757
39758 fi
39759
39760 fi
39761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39762 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39763
39764 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39765 for ac_func in fpclass
39766 do :
39767 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39768 if test "x$ac_cv_func_fpclass" = x""yes; then :
39769 cat >>confdefs.h <<_ACEOF
39770 #define HAVE_FPCLASS 1
39771 _ACEOF
39772
39773 fi
39774 done
39775
39776 else
39777
39778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39779 $as_echo_n "checking for _fpclass declaration... " >&6; }
39780 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39781 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39782 $as_echo_n "(cached) " >&6
39783 else
39784
39785
39786 ac_ext=cpp
39787 ac_cpp='$CXXCPP $CPPFLAGS'
39788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39791
39792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39793 /* end confdefs.h. */
39794 #include <math.h>
39795 #ifdef HAVE_IEEEFP_H
39796 #include <ieeefp.h>
39797 #endif
39798
39799 int
39800 main ()
39801 {
39802 _fpclass(0);
39803 ;
39804 return 0;
39805 }
39806 _ACEOF
39807 if ac_fn_cxx_try_compile "$LINENO"; then :
39808 glibcxx_cv_func__fpclass_use=yes
39809 else
39810 glibcxx_cv_func__fpclass_use=no
39811 fi
39812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39813 ac_ext=c
39814 ac_cpp='$CPP $CPPFLAGS'
39815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39818
39819
39820 fi
39821
39822 fi
39823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39824 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39825
39826 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39827 for ac_func in _fpclass
39828 do :
39829 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39830 if test "x$ac_cv_func__fpclass" = x""yes; then :
39831 cat >>confdefs.h <<_ACEOF
39832 #define HAVE__FPCLASS 1
39833 _ACEOF
39834
39835 fi
39836 done
39837
39838 fi
39839 fi
39840
39841
39842
39843
39844
39845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39846 $as_echo_n "checking for qfpclass declaration... " >&6; }
39847 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39848 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39849 $as_echo_n "(cached) " >&6
39850 else
39851
39852
39853 ac_ext=cpp
39854 ac_cpp='$CXXCPP $CPPFLAGS'
39855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39858
39859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39860 /* end confdefs.h. */
39861 #include <math.h>
39862 #ifdef HAVE_IEEEFP_H
39863 #include <ieeefp.h>
39864 #endif
39865
39866 int
39867 main ()
39868 {
39869 qfpclass(0);
39870 ;
39871 return 0;
39872 }
39873 _ACEOF
39874 if ac_fn_cxx_try_compile "$LINENO"; then :
39875 glibcxx_cv_func_qfpclass_use=yes
39876 else
39877 glibcxx_cv_func_qfpclass_use=no
39878 fi
39879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39880 ac_ext=c
39881 ac_cpp='$CPP $CPPFLAGS'
39882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39885
39886
39887 fi
39888
39889 fi
39890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39891 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39892
39893 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39894 for ac_func in qfpclass
39895 do :
39896 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39897 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39898 cat >>confdefs.h <<_ACEOF
39899 #define HAVE_QFPCLASS 1
39900 _ACEOF
39901
39902 fi
39903 done
39904
39905 else
39906
39907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39908 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39909 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39910 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39911 $as_echo_n "(cached) " >&6
39912 else
39913
39914
39915 ac_ext=cpp
39916 ac_cpp='$CXXCPP $CPPFLAGS'
39917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39920
39921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39922 /* end confdefs.h. */
39923 #include <math.h>
39924 #ifdef HAVE_IEEEFP_H
39925 #include <ieeefp.h>
39926 #endif
39927
39928 int
39929 main ()
39930 {
39931 _qfpclass(0);
39932 ;
39933 return 0;
39934 }
39935 _ACEOF
39936 if ac_fn_cxx_try_compile "$LINENO"; then :
39937 glibcxx_cv_func__qfpclass_use=yes
39938 else
39939 glibcxx_cv_func__qfpclass_use=no
39940 fi
39941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39942 ac_ext=c
39943 ac_cpp='$CPP $CPPFLAGS'
39944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39947
39948
39949 fi
39950
39951 fi
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39953 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39954
39955 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39956 for ac_func in _qfpclass
39957 do :
39958 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39959 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39960 cat >>confdefs.h <<_ACEOF
39961 #define HAVE__QFPCLASS 1
39962 _ACEOF
39963
39964 fi
39965 done
39966
39967 fi
39968 fi
39969
39970
39971
39972
39973
39974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39975 $as_echo_n "checking for hypot declaration... " >&6; }
39976 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39977 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39978 $as_echo_n "(cached) " >&6
39979 else
39980
39981
39982 ac_ext=cpp
39983 ac_cpp='$CXXCPP $CPPFLAGS'
39984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39987
39988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39989 /* end confdefs.h. */
39990 #include <math.h>
39991 int
39992 main ()
39993 {
39994 hypot(0, 0);
39995 ;
39996 return 0;
39997 }
39998 _ACEOF
39999 if ac_fn_cxx_try_compile "$LINENO"; then :
40000 glibcxx_cv_func_hypot_use=yes
40001 else
40002 glibcxx_cv_func_hypot_use=no
40003 fi
40004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40005 ac_ext=c
40006 ac_cpp='$CPP $CPPFLAGS'
40007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40010
40011
40012 fi
40013
40014 fi
40015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40016 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40017
40018 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40019 for ac_func in hypot
40020 do :
40021 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40022 if test "x$ac_cv_func_hypot" = x""yes; then :
40023 cat >>confdefs.h <<_ACEOF
40024 #define HAVE_HYPOT 1
40025 _ACEOF
40026
40027 fi
40028 done
40029
40030 else
40031
40032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40033 $as_echo_n "checking for _hypot declaration... " >&6; }
40034 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40035 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40036 $as_echo_n "(cached) " >&6
40037 else
40038
40039
40040 ac_ext=cpp
40041 ac_cpp='$CXXCPP $CPPFLAGS'
40042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40045
40046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40047 /* end confdefs.h. */
40048 #include <math.h>
40049 int
40050 main ()
40051 {
40052 _hypot(0, 0);
40053 ;
40054 return 0;
40055 }
40056 _ACEOF
40057 if ac_fn_cxx_try_compile "$LINENO"; then :
40058 glibcxx_cv_func__hypot_use=yes
40059 else
40060 glibcxx_cv_func__hypot_use=no
40061 fi
40062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40063 ac_ext=c
40064 ac_cpp='$CPP $CPPFLAGS'
40065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40068
40069
40070 fi
40071
40072 fi
40073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40074 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40075
40076 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40077 for ac_func in _hypot
40078 do :
40079 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40080 if test "x$ac_cv_func__hypot" = x""yes; then :
40081 cat >>confdefs.h <<_ACEOF
40082 #define HAVE__HYPOT 1
40083 _ACEOF
40084
40085 fi
40086 done
40087
40088 fi
40089 fi
40090
40091
40092
40093
40094
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40096 $as_echo_n "checking for float trig functions... " >&6; }
40097 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40098 $as_echo_n "(cached) " >&6
40099 else
40100
40101
40102 ac_ext=cpp
40103 ac_cpp='$CXXCPP $CPPFLAGS'
40104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40107
40108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40109 /* end confdefs.h. */
40110 #include <math.h>
40111 int
40112 main ()
40113 {
40114 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40115 ;
40116 return 0;
40117 }
40118 _ACEOF
40119 if ac_fn_cxx_try_compile "$LINENO"; then :
40120 glibcxx_cv_func_float_trig_use=yes
40121 else
40122 glibcxx_cv_func_float_trig_use=no
40123 fi
40124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40125 ac_ext=c
40126 ac_cpp='$CPP $CPPFLAGS'
40127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40130
40131 fi
40132
40133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40134 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40135 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40136 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40137 do :
40138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40140 eval as_val=\$$as_ac_var
40141 if test "x$as_val" = x""yes; then :
40142 cat >>confdefs.h <<_ACEOF
40143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40144 _ACEOF
40145
40146 fi
40147 done
40148
40149 else
40150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40151 $as_echo_n "checking for _float trig functions... " >&6; }
40152 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40153 $as_echo_n "(cached) " >&6
40154 else
40155
40156
40157 ac_ext=cpp
40158 ac_cpp='$CXXCPP $CPPFLAGS'
40159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40162
40163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40164 /* end confdefs.h. */
40165 #include <math.h>
40166 int
40167 main ()
40168 {
40169 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40170 ;
40171 return 0;
40172 }
40173 _ACEOF
40174 if ac_fn_cxx_try_compile "$LINENO"; then :
40175 glibcxx_cv_func__float_trig_use=yes
40176 else
40177 glibcxx_cv_func__float_trig_use=no
40178 fi
40179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40180 ac_ext=c
40181 ac_cpp='$CPP $CPPFLAGS'
40182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40185
40186 fi
40187
40188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40189 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40190 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40191 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40192 do :
40193 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40194 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40195 eval as_val=\$$as_ac_var
40196 if test "x$as_val" = x""yes; then :
40197 cat >>confdefs.h <<_ACEOF
40198 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40199 _ACEOF
40200
40201 fi
40202 done
40203
40204 fi
40205 fi
40206
40207
40208
40209
40210
40211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40212 $as_echo_n "checking for float round functions... " >&6; }
40213 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40214 $as_echo_n "(cached) " >&6
40215 else
40216
40217
40218 ac_ext=cpp
40219 ac_cpp='$CXXCPP $CPPFLAGS'
40220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40223
40224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40225 /* end confdefs.h. */
40226 #include <math.h>
40227 int
40228 main ()
40229 {
40230 ceilf (0); floorf (0);
40231 ;
40232 return 0;
40233 }
40234 _ACEOF
40235 if ac_fn_cxx_try_compile "$LINENO"; then :
40236 glibcxx_cv_func_float_round_use=yes
40237 else
40238 glibcxx_cv_func_float_round_use=no
40239 fi
40240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40241 ac_ext=c
40242 ac_cpp='$CPP $CPPFLAGS'
40243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40246
40247 fi
40248
40249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40250 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40251 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40252 for ac_func in ceilf floorf
40253 do :
40254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40255 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40256 eval as_val=\$$as_ac_var
40257 if test "x$as_val" = x""yes; then :
40258 cat >>confdefs.h <<_ACEOF
40259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40260 _ACEOF
40261
40262 fi
40263 done
40264
40265 else
40266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40267 $as_echo_n "checking for _float round functions... " >&6; }
40268 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40269 $as_echo_n "(cached) " >&6
40270 else
40271
40272
40273 ac_ext=cpp
40274 ac_cpp='$CXXCPP $CPPFLAGS'
40275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40278
40279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40280 /* end confdefs.h. */
40281 #include <math.h>
40282 int
40283 main ()
40284 {
40285 _ceilf (0); _floorf (0);
40286 ;
40287 return 0;
40288 }
40289 _ACEOF
40290 if ac_fn_cxx_try_compile "$LINENO"; then :
40291 glibcxx_cv_func__float_round_use=yes
40292 else
40293 glibcxx_cv_func__float_round_use=no
40294 fi
40295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296 ac_ext=c
40297 ac_cpp='$CPP $CPPFLAGS'
40298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40301
40302 fi
40303
40304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40305 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40306 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40307 for ac_func in _ceilf _floorf
40308 do :
40309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40311 eval as_val=\$$as_ac_var
40312 if test "x$as_val" = x""yes; then :
40313 cat >>confdefs.h <<_ACEOF
40314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40315 _ACEOF
40316
40317 fi
40318 done
40319
40320 fi
40321 fi
40322
40323
40324
40325
40326
40327
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40329 $as_echo_n "checking for expf declaration... " >&6; }
40330 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40331 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40332 $as_echo_n "(cached) " >&6
40333 else
40334
40335
40336 ac_ext=cpp
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40341
40342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40343 /* end confdefs.h. */
40344 #include <math.h>
40345 #ifdef HAVE_IEEEFP_H
40346 #include <ieeefp.h>
40347 #endif
40348
40349 int
40350 main ()
40351 {
40352 expf(0);
40353 ;
40354 return 0;
40355 }
40356 _ACEOF
40357 if ac_fn_cxx_try_compile "$LINENO"; then :
40358 glibcxx_cv_func_expf_use=yes
40359 else
40360 glibcxx_cv_func_expf_use=no
40361 fi
40362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40363 ac_ext=c
40364 ac_cpp='$CPP $CPPFLAGS'
40365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40368
40369
40370 fi
40371
40372 fi
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40374 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40375
40376 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40377 for ac_func in expf
40378 do :
40379 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40380 if test "x$ac_cv_func_expf" = x""yes; then :
40381 cat >>confdefs.h <<_ACEOF
40382 #define HAVE_EXPF 1
40383 _ACEOF
40384
40385 fi
40386 done
40387
40388 else
40389
40390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40391 $as_echo_n "checking for _expf declaration... " >&6; }
40392 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40393 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40394 $as_echo_n "(cached) " >&6
40395 else
40396
40397
40398 ac_ext=cpp
40399 ac_cpp='$CXXCPP $CPPFLAGS'
40400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40403
40404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40405 /* end confdefs.h. */
40406 #include <math.h>
40407 #ifdef HAVE_IEEEFP_H
40408 #include <ieeefp.h>
40409 #endif
40410
40411 int
40412 main ()
40413 {
40414 _expf(0);
40415 ;
40416 return 0;
40417 }
40418 _ACEOF
40419 if ac_fn_cxx_try_compile "$LINENO"; then :
40420 glibcxx_cv_func__expf_use=yes
40421 else
40422 glibcxx_cv_func__expf_use=no
40423 fi
40424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40425 ac_ext=c
40426 ac_cpp='$CPP $CPPFLAGS'
40427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40430
40431
40432 fi
40433
40434 fi
40435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40436 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40437
40438 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40439 for ac_func in _expf
40440 do :
40441 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40442 if test "x$ac_cv_func__expf" = x""yes; then :
40443 cat >>confdefs.h <<_ACEOF
40444 #define HAVE__EXPF 1
40445 _ACEOF
40446
40447 fi
40448 done
40449
40450 fi
40451 fi
40452
40453
40454
40455
40456
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40458 $as_echo_n "checking for isnanf declaration... " >&6; }
40459 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40460 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40461 $as_echo_n "(cached) " >&6
40462 else
40463
40464
40465 ac_ext=cpp
40466 ac_cpp='$CXXCPP $CPPFLAGS'
40467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40470
40471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40472 /* end confdefs.h. */
40473 #include <math.h>
40474 #ifdef HAVE_IEEEFP_H
40475 #include <ieeefp.h>
40476 #endif
40477
40478 int
40479 main ()
40480 {
40481 isnanf(0);
40482 ;
40483 return 0;
40484 }
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487 glibcxx_cv_func_isnanf_use=yes
40488 else
40489 glibcxx_cv_func_isnanf_use=no
40490 fi
40491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40492 ac_ext=c
40493 ac_cpp='$CPP $CPPFLAGS'
40494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40497
40498
40499 fi
40500
40501 fi
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40503 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40504
40505 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40506 for ac_func in isnanf
40507 do :
40508 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40509 if test "x$ac_cv_func_isnanf" = x""yes; then :
40510 cat >>confdefs.h <<_ACEOF
40511 #define HAVE_ISNANF 1
40512 _ACEOF
40513
40514 fi
40515 done
40516
40517 else
40518
40519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40520 $as_echo_n "checking for _isnanf declaration... " >&6; }
40521 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40522 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40523 $as_echo_n "(cached) " >&6
40524 else
40525
40526
40527 ac_ext=cpp
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40532
40533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534 /* end confdefs.h. */
40535 #include <math.h>
40536 #ifdef HAVE_IEEEFP_H
40537 #include <ieeefp.h>
40538 #endif
40539
40540 int
40541 main ()
40542 {
40543 _isnanf(0);
40544 ;
40545 return 0;
40546 }
40547 _ACEOF
40548 if ac_fn_cxx_try_compile "$LINENO"; then :
40549 glibcxx_cv_func__isnanf_use=yes
40550 else
40551 glibcxx_cv_func__isnanf_use=no
40552 fi
40553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40554 ac_ext=c
40555 ac_cpp='$CPP $CPPFLAGS'
40556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40559
40560
40561 fi
40562
40563 fi
40564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40565 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40566
40567 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40568 for ac_func in _isnanf
40569 do :
40570 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40571 if test "x$ac_cv_func__isnanf" = x""yes; then :
40572 cat >>confdefs.h <<_ACEOF
40573 #define HAVE__ISNANF 1
40574 _ACEOF
40575
40576 fi
40577 done
40578
40579 fi
40580 fi
40581
40582
40583
40584
40585
40586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40587 $as_echo_n "checking for isinff declaration... " >&6; }
40588 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40589 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40590 $as_echo_n "(cached) " >&6
40591 else
40592
40593
40594 ac_ext=cpp
40595 ac_cpp='$CXXCPP $CPPFLAGS'
40596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40599
40600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40601 /* end confdefs.h. */
40602 #include <math.h>
40603 #ifdef HAVE_IEEEFP_H
40604 #include <ieeefp.h>
40605 #endif
40606
40607 int
40608 main ()
40609 {
40610 isinff(0);
40611 ;
40612 return 0;
40613 }
40614 _ACEOF
40615 if ac_fn_cxx_try_compile "$LINENO"; then :
40616 glibcxx_cv_func_isinff_use=yes
40617 else
40618 glibcxx_cv_func_isinff_use=no
40619 fi
40620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40621 ac_ext=c
40622 ac_cpp='$CPP $CPPFLAGS'
40623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40626
40627
40628 fi
40629
40630 fi
40631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40632 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40633
40634 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40635 for ac_func in isinff
40636 do :
40637 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40638 if test "x$ac_cv_func_isinff" = x""yes; then :
40639 cat >>confdefs.h <<_ACEOF
40640 #define HAVE_ISINFF 1
40641 _ACEOF
40642
40643 fi
40644 done
40645
40646 else
40647
40648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40649 $as_echo_n "checking for _isinff declaration... " >&6; }
40650 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40651 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40652 $as_echo_n "(cached) " >&6
40653 else
40654
40655
40656 ac_ext=cpp
40657 ac_cpp='$CXXCPP $CPPFLAGS'
40658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40661
40662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40663 /* end confdefs.h. */
40664 #include <math.h>
40665 #ifdef HAVE_IEEEFP_H
40666 #include <ieeefp.h>
40667 #endif
40668
40669 int
40670 main ()
40671 {
40672 _isinff(0);
40673 ;
40674 return 0;
40675 }
40676 _ACEOF
40677 if ac_fn_cxx_try_compile "$LINENO"; then :
40678 glibcxx_cv_func__isinff_use=yes
40679 else
40680 glibcxx_cv_func__isinff_use=no
40681 fi
40682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40683 ac_ext=c
40684 ac_cpp='$CPP $CPPFLAGS'
40685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40688
40689
40690 fi
40691
40692 fi
40693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40694 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40695
40696 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40697 for ac_func in _isinff
40698 do :
40699 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40700 if test "x$ac_cv_func__isinff" = x""yes; then :
40701 cat >>confdefs.h <<_ACEOF
40702 #define HAVE__ISINFF 1
40703 _ACEOF
40704
40705 fi
40706 done
40707
40708 fi
40709 fi
40710
40711
40712
40713
40714
40715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40716 $as_echo_n "checking for atan2f declaration... " >&6; }
40717 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40718 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40719 $as_echo_n "(cached) " >&6
40720 else
40721
40722
40723 ac_ext=cpp
40724 ac_cpp='$CXXCPP $CPPFLAGS'
40725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40728
40729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40730 /* end confdefs.h. */
40731 #include <math.h>
40732 int
40733 main ()
40734 {
40735 atan2f(0, 0);
40736 ;
40737 return 0;
40738 }
40739 _ACEOF
40740 if ac_fn_cxx_try_compile "$LINENO"; then :
40741 glibcxx_cv_func_atan2f_use=yes
40742 else
40743 glibcxx_cv_func_atan2f_use=no
40744 fi
40745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40746 ac_ext=c
40747 ac_cpp='$CPP $CPPFLAGS'
40748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40751
40752
40753 fi
40754
40755 fi
40756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40757 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40758
40759 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40760 for ac_func in atan2f
40761 do :
40762 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40763 if test "x$ac_cv_func_atan2f" = x""yes; then :
40764 cat >>confdefs.h <<_ACEOF
40765 #define HAVE_ATAN2F 1
40766 _ACEOF
40767
40768 fi
40769 done
40770
40771 else
40772
40773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40774 $as_echo_n "checking for _atan2f declaration... " >&6; }
40775 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40776 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40777 $as_echo_n "(cached) " >&6
40778 else
40779
40780
40781 ac_ext=cpp
40782 ac_cpp='$CXXCPP $CPPFLAGS'
40783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40786
40787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40788 /* end confdefs.h. */
40789 #include <math.h>
40790 int
40791 main ()
40792 {
40793 _atan2f(0, 0);
40794 ;
40795 return 0;
40796 }
40797 _ACEOF
40798 if ac_fn_cxx_try_compile "$LINENO"; then :
40799 glibcxx_cv_func__atan2f_use=yes
40800 else
40801 glibcxx_cv_func__atan2f_use=no
40802 fi
40803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40804 ac_ext=c
40805 ac_cpp='$CPP $CPPFLAGS'
40806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40809
40810
40811 fi
40812
40813 fi
40814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40815 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40816
40817 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40818 for ac_func in _atan2f
40819 do :
40820 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40821 if test "x$ac_cv_func__atan2f" = x""yes; then :
40822 cat >>confdefs.h <<_ACEOF
40823 #define HAVE__ATAN2F 1
40824 _ACEOF
40825
40826 fi
40827 done
40828
40829 fi
40830 fi
40831
40832
40833
40834
40835
40836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40837 $as_echo_n "checking for fabsf declaration... " >&6; }
40838 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40839 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40840 $as_echo_n "(cached) " >&6
40841 else
40842
40843
40844 ac_ext=cpp
40845 ac_cpp='$CXXCPP $CPPFLAGS'
40846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40849
40850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40851 /* end confdefs.h. */
40852 #include <math.h>
40853 #ifdef HAVE_IEEEFP_H
40854 #include <ieeefp.h>
40855 #endif
40856
40857 int
40858 main ()
40859 {
40860 fabsf(0);
40861 ;
40862 return 0;
40863 }
40864 _ACEOF
40865 if ac_fn_cxx_try_compile "$LINENO"; then :
40866 glibcxx_cv_func_fabsf_use=yes
40867 else
40868 glibcxx_cv_func_fabsf_use=no
40869 fi
40870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40871 ac_ext=c
40872 ac_cpp='$CPP $CPPFLAGS'
40873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40876
40877
40878 fi
40879
40880 fi
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40882 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40883
40884 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40885 for ac_func in fabsf
40886 do :
40887 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40888 if test "x$ac_cv_func_fabsf" = x""yes; then :
40889 cat >>confdefs.h <<_ACEOF
40890 #define HAVE_FABSF 1
40891 _ACEOF
40892
40893 fi
40894 done
40895
40896 else
40897
40898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40899 $as_echo_n "checking for _fabsf declaration... " >&6; }
40900 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40901 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40902 $as_echo_n "(cached) " >&6
40903 else
40904
40905
40906 ac_ext=cpp
40907 ac_cpp='$CXXCPP $CPPFLAGS'
40908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40911
40912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40913 /* end confdefs.h. */
40914 #include <math.h>
40915 #ifdef HAVE_IEEEFP_H
40916 #include <ieeefp.h>
40917 #endif
40918
40919 int
40920 main ()
40921 {
40922 _fabsf(0);
40923 ;
40924 return 0;
40925 }
40926 _ACEOF
40927 if ac_fn_cxx_try_compile "$LINENO"; then :
40928 glibcxx_cv_func__fabsf_use=yes
40929 else
40930 glibcxx_cv_func__fabsf_use=no
40931 fi
40932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40933 ac_ext=c
40934 ac_cpp='$CPP $CPPFLAGS'
40935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40938
40939
40940 fi
40941
40942 fi
40943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40944 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40945
40946 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40947 for ac_func in _fabsf
40948 do :
40949 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40950 if test "x$ac_cv_func__fabsf" = x""yes; then :
40951 cat >>confdefs.h <<_ACEOF
40952 #define HAVE__FABSF 1
40953 _ACEOF
40954
40955 fi
40956 done
40957
40958 fi
40959 fi
40960
40961
40962
40963
40964
40965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40966 $as_echo_n "checking for fmodf declaration... " >&6; }
40967 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40968 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40969 $as_echo_n "(cached) " >&6
40970 else
40971
40972
40973 ac_ext=cpp
40974 ac_cpp='$CXXCPP $CPPFLAGS'
40975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40978
40979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40980 /* end confdefs.h. */
40981 #include <math.h>
40982 int
40983 main ()
40984 {
40985 fmodf(0, 0);
40986 ;
40987 return 0;
40988 }
40989 _ACEOF
40990 if ac_fn_cxx_try_compile "$LINENO"; then :
40991 glibcxx_cv_func_fmodf_use=yes
40992 else
40993 glibcxx_cv_func_fmodf_use=no
40994 fi
40995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40996 ac_ext=c
40997 ac_cpp='$CPP $CPPFLAGS'
40998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41001
41002
41003 fi
41004
41005 fi
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41007 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41008
41009 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41010 for ac_func in fmodf
41011 do :
41012 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41013 if test "x$ac_cv_func_fmodf" = x""yes; then :
41014 cat >>confdefs.h <<_ACEOF
41015 #define HAVE_FMODF 1
41016 _ACEOF
41017
41018 fi
41019 done
41020
41021 else
41022
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41024 $as_echo_n "checking for _fmodf declaration... " >&6; }
41025 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41026 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41027 $as_echo_n "(cached) " >&6
41028 else
41029
41030
41031 ac_ext=cpp
41032 ac_cpp='$CXXCPP $CPPFLAGS'
41033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41036
41037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41038 /* end confdefs.h. */
41039 #include <math.h>
41040 int
41041 main ()
41042 {
41043 _fmodf(0, 0);
41044 ;
41045 return 0;
41046 }
41047 _ACEOF
41048 if ac_fn_cxx_try_compile "$LINENO"; then :
41049 glibcxx_cv_func__fmodf_use=yes
41050 else
41051 glibcxx_cv_func__fmodf_use=no
41052 fi
41053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41054 ac_ext=c
41055 ac_cpp='$CPP $CPPFLAGS'
41056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41059
41060
41061 fi
41062
41063 fi
41064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41065 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41066
41067 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41068 for ac_func in _fmodf
41069 do :
41070 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41071 if test "x$ac_cv_func__fmodf" = x""yes; then :
41072 cat >>confdefs.h <<_ACEOF
41073 #define HAVE__FMODF 1
41074 _ACEOF
41075
41076 fi
41077 done
41078
41079 fi
41080 fi
41081
41082
41083
41084
41085
41086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41087 $as_echo_n "checking for frexpf declaration... " >&6; }
41088 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41089 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41090 $as_echo_n "(cached) " >&6
41091 else
41092
41093
41094 ac_ext=cpp
41095 ac_cpp='$CXXCPP $CPPFLAGS'
41096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41099
41100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41101 /* end confdefs.h. */
41102 #include <math.h>
41103 int
41104 main ()
41105 {
41106 frexpf(0, 0);
41107 ;
41108 return 0;
41109 }
41110 _ACEOF
41111 if ac_fn_cxx_try_compile "$LINENO"; then :
41112 glibcxx_cv_func_frexpf_use=yes
41113 else
41114 glibcxx_cv_func_frexpf_use=no
41115 fi
41116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41117 ac_ext=c
41118 ac_cpp='$CPP $CPPFLAGS'
41119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41122
41123
41124 fi
41125
41126 fi
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41128 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41129
41130 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41131 for ac_func in frexpf
41132 do :
41133 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41134 if test "x$ac_cv_func_frexpf" = x""yes; then :
41135 cat >>confdefs.h <<_ACEOF
41136 #define HAVE_FREXPF 1
41137 _ACEOF
41138
41139 fi
41140 done
41141
41142 else
41143
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41145 $as_echo_n "checking for _frexpf declaration... " >&6; }
41146 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41147 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41148 $as_echo_n "(cached) " >&6
41149 else
41150
41151
41152 ac_ext=cpp
41153 ac_cpp='$CXXCPP $CPPFLAGS'
41154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41157
41158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41159 /* end confdefs.h. */
41160 #include <math.h>
41161 int
41162 main ()
41163 {
41164 _frexpf(0, 0);
41165 ;
41166 return 0;
41167 }
41168 _ACEOF
41169 if ac_fn_cxx_try_compile "$LINENO"; then :
41170 glibcxx_cv_func__frexpf_use=yes
41171 else
41172 glibcxx_cv_func__frexpf_use=no
41173 fi
41174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41175 ac_ext=c
41176 ac_cpp='$CPP $CPPFLAGS'
41177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41180
41181
41182 fi
41183
41184 fi
41185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41186 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41187
41188 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41189 for ac_func in _frexpf
41190 do :
41191 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41192 if test "x$ac_cv_func__frexpf" = x""yes; then :
41193 cat >>confdefs.h <<_ACEOF
41194 #define HAVE__FREXPF 1
41195 _ACEOF
41196
41197 fi
41198 done
41199
41200 fi
41201 fi
41202
41203
41204
41205
41206
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41208 $as_echo_n "checking for hypotf declaration... " >&6; }
41209 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41210 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41211 $as_echo_n "(cached) " >&6
41212 else
41213
41214
41215 ac_ext=cpp
41216 ac_cpp='$CXXCPP $CPPFLAGS'
41217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41220
41221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41222 /* end confdefs.h. */
41223 #include <math.h>
41224 int
41225 main ()
41226 {
41227 hypotf(0, 0);
41228 ;
41229 return 0;
41230 }
41231 _ACEOF
41232 if ac_fn_cxx_try_compile "$LINENO"; then :
41233 glibcxx_cv_func_hypotf_use=yes
41234 else
41235 glibcxx_cv_func_hypotf_use=no
41236 fi
41237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41238 ac_ext=c
41239 ac_cpp='$CPP $CPPFLAGS'
41240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41243
41244
41245 fi
41246
41247 fi
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41249 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41250
41251 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41252 for ac_func in hypotf
41253 do :
41254 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41255 if test "x$ac_cv_func_hypotf" = x""yes; then :
41256 cat >>confdefs.h <<_ACEOF
41257 #define HAVE_HYPOTF 1
41258 _ACEOF
41259
41260 fi
41261 done
41262
41263 else
41264
41265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41266 $as_echo_n "checking for _hypotf declaration... " >&6; }
41267 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41268 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41269 $as_echo_n "(cached) " >&6
41270 else
41271
41272
41273 ac_ext=cpp
41274 ac_cpp='$CXXCPP $CPPFLAGS'
41275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41278
41279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41280 /* end confdefs.h. */
41281 #include <math.h>
41282 int
41283 main ()
41284 {
41285 _hypotf(0, 0);
41286 ;
41287 return 0;
41288 }
41289 _ACEOF
41290 if ac_fn_cxx_try_compile "$LINENO"; then :
41291 glibcxx_cv_func__hypotf_use=yes
41292 else
41293 glibcxx_cv_func__hypotf_use=no
41294 fi
41295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41296 ac_ext=c
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41301
41302
41303 fi
41304
41305 fi
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41307 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41308
41309 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41310 for ac_func in _hypotf
41311 do :
41312 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41313 if test "x$ac_cv_func__hypotf" = x""yes; then :
41314 cat >>confdefs.h <<_ACEOF
41315 #define HAVE__HYPOTF 1
41316 _ACEOF
41317
41318 fi
41319 done
41320
41321 fi
41322 fi
41323
41324
41325
41326
41327
41328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41329 $as_echo_n "checking for ldexpf declaration... " >&6; }
41330 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41331 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41332 $as_echo_n "(cached) " >&6
41333 else
41334
41335
41336 ac_ext=cpp
41337 ac_cpp='$CXXCPP $CPPFLAGS'
41338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41341
41342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41343 /* end confdefs.h. */
41344 #include <math.h>
41345 int
41346 main ()
41347 {
41348 ldexpf(0, 0);
41349 ;
41350 return 0;
41351 }
41352 _ACEOF
41353 if ac_fn_cxx_try_compile "$LINENO"; then :
41354 glibcxx_cv_func_ldexpf_use=yes
41355 else
41356 glibcxx_cv_func_ldexpf_use=no
41357 fi
41358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41359 ac_ext=c
41360 ac_cpp='$CPP $CPPFLAGS'
41361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41364
41365
41366 fi
41367
41368 fi
41369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41370 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41371
41372 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41373 for ac_func in ldexpf
41374 do :
41375 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41376 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41377 cat >>confdefs.h <<_ACEOF
41378 #define HAVE_LDEXPF 1
41379 _ACEOF
41380
41381 fi
41382 done
41383
41384 else
41385
41386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41387 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41388 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41389 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41390 $as_echo_n "(cached) " >&6
41391 else
41392
41393
41394 ac_ext=cpp
41395 ac_cpp='$CXXCPP $CPPFLAGS'
41396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41399
41400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41401 /* end confdefs.h. */
41402 #include <math.h>
41403 int
41404 main ()
41405 {
41406 _ldexpf(0, 0);
41407 ;
41408 return 0;
41409 }
41410 _ACEOF
41411 if ac_fn_cxx_try_compile "$LINENO"; then :
41412 glibcxx_cv_func__ldexpf_use=yes
41413 else
41414 glibcxx_cv_func__ldexpf_use=no
41415 fi
41416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41417 ac_ext=c
41418 ac_cpp='$CPP $CPPFLAGS'
41419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41422
41423
41424 fi
41425
41426 fi
41427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41428 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41429
41430 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41431 for ac_func in _ldexpf
41432 do :
41433 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41434 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41435 cat >>confdefs.h <<_ACEOF
41436 #define HAVE__LDEXPF 1
41437 _ACEOF
41438
41439 fi
41440 done
41441
41442 fi
41443 fi
41444
41445
41446
41447
41448
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41450 $as_echo_n "checking for logf declaration... " >&6; }
41451 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41452 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41453 $as_echo_n "(cached) " >&6
41454 else
41455
41456
41457 ac_ext=cpp
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462
41463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41464 /* end confdefs.h. */
41465 #include <math.h>
41466 #ifdef HAVE_IEEEFP_H
41467 #include <ieeefp.h>
41468 #endif
41469
41470 int
41471 main ()
41472 {
41473 logf(0);
41474 ;
41475 return 0;
41476 }
41477 _ACEOF
41478 if ac_fn_cxx_try_compile "$LINENO"; then :
41479 glibcxx_cv_func_logf_use=yes
41480 else
41481 glibcxx_cv_func_logf_use=no
41482 fi
41483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484 ac_ext=c
41485 ac_cpp='$CPP $CPPFLAGS'
41486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489
41490
41491 fi
41492
41493 fi
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41495 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41496
41497 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41498 for ac_func in logf
41499 do :
41500 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41501 if test "x$ac_cv_func_logf" = x""yes; then :
41502 cat >>confdefs.h <<_ACEOF
41503 #define HAVE_LOGF 1
41504 _ACEOF
41505
41506 fi
41507 done
41508
41509 else
41510
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41512 $as_echo_n "checking for _logf declaration... " >&6; }
41513 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41514 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41515 $as_echo_n "(cached) " >&6
41516 else
41517
41518
41519 ac_ext=cpp
41520 ac_cpp='$CXXCPP $CPPFLAGS'
41521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41524
41525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41526 /* end confdefs.h. */
41527 #include <math.h>
41528 #ifdef HAVE_IEEEFP_H
41529 #include <ieeefp.h>
41530 #endif
41531
41532 int
41533 main ()
41534 {
41535 _logf(0);
41536 ;
41537 return 0;
41538 }
41539 _ACEOF
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541 glibcxx_cv_func__logf_use=yes
41542 else
41543 glibcxx_cv_func__logf_use=no
41544 fi
41545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41546 ac_ext=c
41547 ac_cpp='$CPP $CPPFLAGS'
41548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41551
41552
41553 fi
41554
41555 fi
41556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41557 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41558
41559 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41560 for ac_func in _logf
41561 do :
41562 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41563 if test "x$ac_cv_func__logf" = x""yes; then :
41564 cat >>confdefs.h <<_ACEOF
41565 #define HAVE__LOGF 1
41566 _ACEOF
41567
41568 fi
41569 done
41570
41571 fi
41572 fi
41573
41574
41575
41576
41577
41578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41579 $as_echo_n "checking for log10f declaration... " >&6; }
41580 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41581 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41582 $as_echo_n "(cached) " >&6
41583 else
41584
41585
41586 ac_ext=cpp
41587 ac_cpp='$CXXCPP $CPPFLAGS'
41588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41591
41592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41593 /* end confdefs.h. */
41594 #include <math.h>
41595 #ifdef HAVE_IEEEFP_H
41596 #include <ieeefp.h>
41597 #endif
41598
41599 int
41600 main ()
41601 {
41602 log10f(0);
41603 ;
41604 return 0;
41605 }
41606 _ACEOF
41607 if ac_fn_cxx_try_compile "$LINENO"; then :
41608 glibcxx_cv_func_log10f_use=yes
41609 else
41610 glibcxx_cv_func_log10f_use=no
41611 fi
41612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41613 ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618
41619
41620 fi
41621
41622 fi
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41624 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41625
41626 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41627 for ac_func in log10f
41628 do :
41629 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41630 if test "x$ac_cv_func_log10f" = x""yes; then :
41631 cat >>confdefs.h <<_ACEOF
41632 #define HAVE_LOG10F 1
41633 _ACEOF
41634
41635 fi
41636 done
41637
41638 else
41639
41640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41641 $as_echo_n "checking for _log10f declaration... " >&6; }
41642 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41643 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41644 $as_echo_n "(cached) " >&6
41645 else
41646
41647
41648 ac_ext=cpp
41649 ac_cpp='$CXXCPP $CPPFLAGS'
41650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653
41654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41655 /* end confdefs.h. */
41656 #include <math.h>
41657 #ifdef HAVE_IEEEFP_H
41658 #include <ieeefp.h>
41659 #endif
41660
41661 int
41662 main ()
41663 {
41664 _log10f(0);
41665 ;
41666 return 0;
41667 }
41668 _ACEOF
41669 if ac_fn_cxx_try_compile "$LINENO"; then :
41670 glibcxx_cv_func__log10f_use=yes
41671 else
41672 glibcxx_cv_func__log10f_use=no
41673 fi
41674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41675 ac_ext=c
41676 ac_cpp='$CPP $CPPFLAGS'
41677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41680
41681
41682 fi
41683
41684 fi
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41686 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41687
41688 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41689 for ac_func in _log10f
41690 do :
41691 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41692 if test "x$ac_cv_func__log10f" = x""yes; then :
41693 cat >>confdefs.h <<_ACEOF
41694 #define HAVE__LOG10F 1
41695 _ACEOF
41696
41697 fi
41698 done
41699
41700 fi
41701 fi
41702
41703
41704
41705
41706
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41708 $as_echo_n "checking for modff declaration... " >&6; }
41709 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41710 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41711 $as_echo_n "(cached) " >&6
41712 else
41713
41714
41715 ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41720
41721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h. */
41723 #include <math.h>
41724 int
41725 main ()
41726 {
41727 modff(0, 0);
41728 ;
41729 return 0;
41730 }
41731 _ACEOF
41732 if ac_fn_cxx_try_compile "$LINENO"; then :
41733 glibcxx_cv_func_modff_use=yes
41734 else
41735 glibcxx_cv_func_modff_use=no
41736 fi
41737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41738 ac_ext=c
41739 ac_cpp='$CPP $CPPFLAGS'
41740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41743
41744
41745 fi
41746
41747 fi
41748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41749 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41750
41751 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41752 for ac_func in modff
41753 do :
41754 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41755 if test "x$ac_cv_func_modff" = x""yes; then :
41756 cat >>confdefs.h <<_ACEOF
41757 #define HAVE_MODFF 1
41758 _ACEOF
41759
41760 fi
41761 done
41762
41763 else
41764
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41766 $as_echo_n "checking for _modff declaration... " >&6; }
41767 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41768 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41769 $as_echo_n "(cached) " >&6
41770 else
41771
41772
41773 ac_ext=cpp
41774 ac_cpp='$CXXCPP $CPPFLAGS'
41775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41778
41779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41780 /* end confdefs.h. */
41781 #include <math.h>
41782 int
41783 main ()
41784 {
41785 _modff(0, 0);
41786 ;
41787 return 0;
41788 }
41789 _ACEOF
41790 if ac_fn_cxx_try_compile "$LINENO"; then :
41791 glibcxx_cv_func__modff_use=yes
41792 else
41793 glibcxx_cv_func__modff_use=no
41794 fi
41795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41796 ac_ext=c
41797 ac_cpp='$CPP $CPPFLAGS'
41798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41801
41802
41803 fi
41804
41805 fi
41806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41807 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41808
41809 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41810 for ac_func in _modff
41811 do :
41812 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41813 if test "x$ac_cv_func__modff" = x""yes; then :
41814 cat >>confdefs.h <<_ACEOF
41815 #define HAVE__MODFF 1
41816 _ACEOF
41817
41818 fi
41819 done
41820
41821 fi
41822 fi
41823
41824
41825
41826
41827
41828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41829 $as_echo_n "checking for modf declaration... " >&6; }
41830 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41831 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41832 $as_echo_n "(cached) " >&6
41833 else
41834
41835
41836 ac_ext=cpp
41837 ac_cpp='$CXXCPP $CPPFLAGS'
41838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41841
41842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843 /* end confdefs.h. */
41844 #include <math.h>
41845 int
41846 main ()
41847 {
41848 modf(0, 0);
41849 ;
41850 return 0;
41851 }
41852 _ACEOF
41853 if ac_fn_cxx_try_compile "$LINENO"; then :
41854 glibcxx_cv_func_modf_use=yes
41855 else
41856 glibcxx_cv_func_modf_use=no
41857 fi
41858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41859 ac_ext=c
41860 ac_cpp='$CPP $CPPFLAGS'
41861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41864
41865
41866 fi
41867
41868 fi
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41870 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41871
41872 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41873 for ac_func in modf
41874 do :
41875 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41876 if test "x$ac_cv_func_modf" = x""yes; then :
41877 cat >>confdefs.h <<_ACEOF
41878 #define HAVE_MODF 1
41879 _ACEOF
41880
41881 fi
41882 done
41883
41884 else
41885
41886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41887 $as_echo_n "checking for _modf declaration... " >&6; }
41888 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41889 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41890 $as_echo_n "(cached) " >&6
41891 else
41892
41893
41894 ac_ext=cpp
41895 ac_cpp='$CXXCPP $CPPFLAGS'
41896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41899
41900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41901 /* end confdefs.h. */
41902 #include <math.h>
41903 int
41904 main ()
41905 {
41906 _modf(0, 0);
41907 ;
41908 return 0;
41909 }
41910 _ACEOF
41911 if ac_fn_cxx_try_compile "$LINENO"; then :
41912 glibcxx_cv_func__modf_use=yes
41913 else
41914 glibcxx_cv_func__modf_use=no
41915 fi
41916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41917 ac_ext=c
41918 ac_cpp='$CPP $CPPFLAGS'
41919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41922
41923
41924 fi
41925
41926 fi
41927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41928 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41929
41930 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41931 for ac_func in _modf
41932 do :
41933 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41934 if test "x$ac_cv_func__modf" = x""yes; then :
41935 cat >>confdefs.h <<_ACEOF
41936 #define HAVE__MODF 1
41937 _ACEOF
41938
41939 fi
41940 done
41941
41942 fi
41943 fi
41944
41945
41946
41947
41948
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41950 $as_echo_n "checking for powf declaration... " >&6; }
41951 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41952 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41953 $as_echo_n "(cached) " >&6
41954 else
41955
41956
41957 ac_ext=cpp
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41962
41963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41964 /* end confdefs.h. */
41965 #include <math.h>
41966 int
41967 main ()
41968 {
41969 powf(0, 0);
41970 ;
41971 return 0;
41972 }
41973 _ACEOF
41974 if ac_fn_cxx_try_compile "$LINENO"; then :
41975 glibcxx_cv_func_powf_use=yes
41976 else
41977 glibcxx_cv_func_powf_use=no
41978 fi
41979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41980 ac_ext=c
41981 ac_cpp='$CPP $CPPFLAGS'
41982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41985
41986
41987 fi
41988
41989 fi
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41991 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41992
41993 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41994 for ac_func in powf
41995 do :
41996 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41997 if test "x$ac_cv_func_powf" = x""yes; then :
41998 cat >>confdefs.h <<_ACEOF
41999 #define HAVE_POWF 1
42000 _ACEOF
42001
42002 fi
42003 done
42004
42005 else
42006
42007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42008 $as_echo_n "checking for _powf declaration... " >&6; }
42009 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42010 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42011 $as_echo_n "(cached) " >&6
42012 else
42013
42014
42015 ac_ext=cpp
42016 ac_cpp='$CXXCPP $CPPFLAGS'
42017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42020
42021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42022 /* end confdefs.h. */
42023 #include <math.h>
42024 int
42025 main ()
42026 {
42027 _powf(0, 0);
42028 ;
42029 return 0;
42030 }
42031 _ACEOF
42032 if ac_fn_cxx_try_compile "$LINENO"; then :
42033 glibcxx_cv_func__powf_use=yes
42034 else
42035 glibcxx_cv_func__powf_use=no
42036 fi
42037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42038 ac_ext=c
42039 ac_cpp='$CPP $CPPFLAGS'
42040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42043
42044
42045 fi
42046
42047 fi
42048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42049 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42050
42051 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42052 for ac_func in _powf
42053 do :
42054 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42055 if test "x$ac_cv_func__powf" = x""yes; then :
42056 cat >>confdefs.h <<_ACEOF
42057 #define HAVE__POWF 1
42058 _ACEOF
42059
42060 fi
42061 done
42062
42063 fi
42064 fi
42065
42066
42067
42068
42069
42070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42071 $as_echo_n "checking for sqrtf declaration... " >&6; }
42072 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42073 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42074 $as_echo_n "(cached) " >&6
42075 else
42076
42077
42078 ac_ext=cpp
42079 ac_cpp='$CXXCPP $CPPFLAGS'
42080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42083
42084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42085 /* end confdefs.h. */
42086 #include <math.h>
42087 #ifdef HAVE_IEEEFP_H
42088 #include <ieeefp.h>
42089 #endif
42090
42091 int
42092 main ()
42093 {
42094 sqrtf(0);
42095 ;
42096 return 0;
42097 }
42098 _ACEOF
42099 if ac_fn_cxx_try_compile "$LINENO"; then :
42100 glibcxx_cv_func_sqrtf_use=yes
42101 else
42102 glibcxx_cv_func_sqrtf_use=no
42103 fi
42104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42105 ac_ext=c
42106 ac_cpp='$CPP $CPPFLAGS'
42107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42110
42111
42112 fi
42113
42114 fi
42115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42116 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42117
42118 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42119 for ac_func in sqrtf
42120 do :
42121 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42122 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42123 cat >>confdefs.h <<_ACEOF
42124 #define HAVE_SQRTF 1
42125 _ACEOF
42126
42127 fi
42128 done
42129
42130 else
42131
42132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42133 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42134 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42135 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42136 $as_echo_n "(cached) " >&6
42137 else
42138
42139
42140 ac_ext=cpp
42141 ac_cpp='$CXXCPP $CPPFLAGS'
42142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42145
42146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42147 /* end confdefs.h. */
42148 #include <math.h>
42149 #ifdef HAVE_IEEEFP_H
42150 #include <ieeefp.h>
42151 #endif
42152
42153 int
42154 main ()
42155 {
42156 _sqrtf(0);
42157 ;
42158 return 0;
42159 }
42160 _ACEOF
42161 if ac_fn_cxx_try_compile "$LINENO"; then :
42162 glibcxx_cv_func__sqrtf_use=yes
42163 else
42164 glibcxx_cv_func__sqrtf_use=no
42165 fi
42166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42167 ac_ext=c
42168 ac_cpp='$CPP $CPPFLAGS'
42169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42172
42173
42174 fi
42175
42176 fi
42177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42178 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42179
42180 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42181 for ac_func in _sqrtf
42182 do :
42183 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42184 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42185 cat >>confdefs.h <<_ACEOF
42186 #define HAVE__SQRTF 1
42187 _ACEOF
42188
42189 fi
42190 done
42191
42192 fi
42193 fi
42194
42195
42196
42197
42198
42199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42200 $as_echo_n "checking for sincosf declaration... " >&6; }
42201 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42202 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42203 $as_echo_n "(cached) " >&6
42204 else
42205
42206
42207 ac_ext=cpp
42208 ac_cpp='$CXXCPP $CPPFLAGS'
42209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42212
42213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42214 /* end confdefs.h. */
42215 #include <math.h>
42216 int
42217 main ()
42218 {
42219 sincosf(0, 0, 0);
42220 ;
42221 return 0;
42222 }
42223 _ACEOF
42224 if ac_fn_cxx_try_compile "$LINENO"; then :
42225 glibcxx_cv_func_sincosf_use=yes
42226 else
42227 glibcxx_cv_func_sincosf_use=no
42228 fi
42229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42230 ac_ext=c
42231 ac_cpp='$CPP $CPPFLAGS'
42232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42235
42236
42237 fi
42238
42239 fi
42240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42241 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42242
42243 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42244 for ac_func in sincosf
42245 do :
42246 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42247 if test "x$ac_cv_func_sincosf" = x""yes; then :
42248 cat >>confdefs.h <<_ACEOF
42249 #define HAVE_SINCOSF 1
42250 _ACEOF
42251
42252 fi
42253 done
42254
42255 else
42256
42257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42258 $as_echo_n "checking for _sincosf declaration... " >&6; }
42259 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42260 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42261 $as_echo_n "(cached) " >&6
42262 else
42263
42264
42265 ac_ext=cpp
42266 ac_cpp='$CXXCPP $CPPFLAGS'
42267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42270
42271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42272 /* end confdefs.h. */
42273 #include <math.h>
42274 int
42275 main ()
42276 {
42277 _sincosf(0, 0, 0);
42278 ;
42279 return 0;
42280 }
42281 _ACEOF
42282 if ac_fn_cxx_try_compile "$LINENO"; then :
42283 glibcxx_cv_func__sincosf_use=yes
42284 else
42285 glibcxx_cv_func__sincosf_use=no
42286 fi
42287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42288 ac_ext=c
42289 ac_cpp='$CPP $CPPFLAGS'
42290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42293
42294
42295 fi
42296
42297 fi
42298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42299 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42300
42301 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42302 for ac_func in _sincosf
42303 do :
42304 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42305 if test "x$ac_cv_func__sincosf" = x""yes; then :
42306 cat >>confdefs.h <<_ACEOF
42307 #define HAVE__SINCOSF 1
42308 _ACEOF
42309
42310 fi
42311 done
42312
42313 fi
42314 fi
42315
42316
42317
42318
42319
42320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42321 $as_echo_n "checking for finitef declaration... " >&6; }
42322 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42323 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42324 $as_echo_n "(cached) " >&6
42325 else
42326
42327
42328 ac_ext=cpp
42329 ac_cpp='$CXXCPP $CPPFLAGS'
42330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42333
42334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42335 /* end confdefs.h. */
42336 #include <math.h>
42337 #ifdef HAVE_IEEEFP_H
42338 #include <ieeefp.h>
42339 #endif
42340
42341 int
42342 main ()
42343 {
42344 finitef(0);
42345 ;
42346 return 0;
42347 }
42348 _ACEOF
42349 if ac_fn_cxx_try_compile "$LINENO"; then :
42350 glibcxx_cv_func_finitef_use=yes
42351 else
42352 glibcxx_cv_func_finitef_use=no
42353 fi
42354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42355 ac_ext=c
42356 ac_cpp='$CPP $CPPFLAGS'
42357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42360
42361
42362 fi
42363
42364 fi
42365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42366 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42367
42368 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42369 for ac_func in finitef
42370 do :
42371 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42372 if test "x$ac_cv_func_finitef" = x""yes; then :
42373 cat >>confdefs.h <<_ACEOF
42374 #define HAVE_FINITEF 1
42375 _ACEOF
42376
42377 fi
42378 done
42379
42380 else
42381
42382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42383 $as_echo_n "checking for _finitef declaration... " >&6; }
42384 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42385 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42386 $as_echo_n "(cached) " >&6
42387 else
42388
42389
42390 ac_ext=cpp
42391 ac_cpp='$CXXCPP $CPPFLAGS'
42392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42395
42396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42397 /* end confdefs.h. */
42398 #include <math.h>
42399 #ifdef HAVE_IEEEFP_H
42400 #include <ieeefp.h>
42401 #endif
42402
42403 int
42404 main ()
42405 {
42406 _finitef(0);
42407 ;
42408 return 0;
42409 }
42410 _ACEOF
42411 if ac_fn_cxx_try_compile "$LINENO"; then :
42412 glibcxx_cv_func__finitef_use=yes
42413 else
42414 glibcxx_cv_func__finitef_use=no
42415 fi
42416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_ext=c
42418 ac_cpp='$CPP $CPPFLAGS'
42419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42422
42423
42424 fi
42425
42426 fi
42427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42428 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42429
42430 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42431 for ac_func in _finitef
42432 do :
42433 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42434 if test "x$ac_cv_func__finitef" = x""yes; then :
42435 cat >>confdefs.h <<_ACEOF
42436 #define HAVE__FINITEF 1
42437 _ACEOF
42438
42439 fi
42440 done
42441
42442 fi
42443 fi
42444
42445
42446
42447
42448
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42450 $as_echo_n "checking for long double trig functions... " >&6; }
42451 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42452 $as_echo_n "(cached) " >&6
42453 else
42454
42455
42456 ac_ext=cpp
42457 ac_cpp='$CXXCPP $CPPFLAGS'
42458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42461
42462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42463 /* end confdefs.h. */
42464 #include <math.h>
42465 int
42466 main ()
42467 {
42468 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42469 ;
42470 return 0;
42471 }
42472 _ACEOF
42473 if ac_fn_cxx_try_compile "$LINENO"; then :
42474 glibcxx_cv_func_long_double_trig_use=yes
42475 else
42476 glibcxx_cv_func_long_double_trig_use=no
42477 fi
42478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42479 ac_ext=c
42480 ac_cpp='$CPP $CPPFLAGS'
42481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42484
42485 fi
42486
42487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42488 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42489 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42490 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42491 do :
42492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42494 eval as_val=\$$as_ac_var
42495 if test "x$as_val" = x""yes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42498 _ACEOF
42499
42500 fi
42501 done
42502
42503 else
42504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42505 $as_echo_n "checking for _long double trig functions... " >&6; }
42506 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42507 $as_echo_n "(cached) " >&6
42508 else
42509
42510
42511 ac_ext=cpp
42512 ac_cpp='$CXXCPP $CPPFLAGS'
42513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42516
42517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42518 /* end confdefs.h. */
42519 #include <math.h>
42520 int
42521 main ()
42522 {
42523 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42524 ;
42525 return 0;
42526 }
42527 _ACEOF
42528 if ac_fn_cxx_try_compile "$LINENO"; then :
42529 glibcxx_cv_func__long_double_trig_use=yes
42530 else
42531 glibcxx_cv_func__long_double_trig_use=no
42532 fi
42533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42534 ac_ext=c
42535 ac_cpp='$CPP $CPPFLAGS'
42536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42539
42540 fi
42541
42542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42543 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42544 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42545 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42546 do :
42547 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42548 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42549 eval as_val=\$$as_ac_var
42550 if test "x$as_val" = x""yes; then :
42551 cat >>confdefs.h <<_ACEOF
42552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42553 _ACEOF
42554
42555 fi
42556 done
42557
42558 fi
42559 fi
42560
42561
42562
42563
42564
42565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42566 $as_echo_n "checking for long double round functions... " >&6; }
42567 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42568 $as_echo_n "(cached) " >&6
42569 else
42570
42571
42572 ac_ext=cpp
42573 ac_cpp='$CXXCPP $CPPFLAGS'
42574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42577
42578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42579 /* end confdefs.h. */
42580 #include <math.h>
42581 int
42582 main ()
42583 {
42584 ceill (0); floorl (0);
42585 ;
42586 return 0;
42587 }
42588 _ACEOF
42589 if ac_fn_cxx_try_compile "$LINENO"; then :
42590 glibcxx_cv_func_long_double_round_use=yes
42591 else
42592 glibcxx_cv_func_long_double_round_use=no
42593 fi
42594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42595 ac_ext=c
42596 ac_cpp='$CPP $CPPFLAGS'
42597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42600
42601 fi
42602
42603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42604 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42605 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42606 for ac_func in ceill floorl
42607 do :
42608 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42609 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42610 eval as_val=\$$as_ac_var
42611 if test "x$as_val" = x""yes; then :
42612 cat >>confdefs.h <<_ACEOF
42613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42614 _ACEOF
42615
42616 fi
42617 done
42618
42619 else
42620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42621 $as_echo_n "checking for _long double round functions... " >&6; }
42622 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42623 $as_echo_n "(cached) " >&6
42624 else
42625
42626
42627 ac_ext=cpp
42628 ac_cpp='$CXXCPP $CPPFLAGS'
42629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42632
42633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42634 /* end confdefs.h. */
42635 #include <math.h>
42636 int
42637 main ()
42638 {
42639 _ceill (0); _floorl (0);
42640 ;
42641 return 0;
42642 }
42643 _ACEOF
42644 if ac_fn_cxx_try_compile "$LINENO"; then :
42645 glibcxx_cv_func__long_double_round_use=yes
42646 else
42647 glibcxx_cv_func__long_double_round_use=no
42648 fi
42649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42650 ac_ext=c
42651 ac_cpp='$CPP $CPPFLAGS'
42652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42655
42656 fi
42657
42658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42659 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42660 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42661 for ac_func in _ceill _floorl
42662 do :
42663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42665 eval as_val=\$$as_ac_var
42666 if test "x$as_val" = x""yes; then :
42667 cat >>confdefs.h <<_ACEOF
42668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42669 _ACEOF
42670
42671 fi
42672 done
42673
42674 fi
42675 fi
42676
42677
42678
42679
42680
42681
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42683 $as_echo_n "checking for isnanl declaration... " >&6; }
42684 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42685 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42686 $as_echo_n "(cached) " >&6
42687 else
42688
42689
42690 ac_ext=cpp
42691 ac_cpp='$CXXCPP $CPPFLAGS'
42692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42695
42696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42697 /* end confdefs.h. */
42698 #include <math.h>
42699 #ifdef HAVE_IEEEFP_H
42700 #include <ieeefp.h>
42701 #endif
42702
42703 int
42704 main ()
42705 {
42706 isnanl(0);
42707 ;
42708 return 0;
42709 }
42710 _ACEOF
42711 if ac_fn_cxx_try_compile "$LINENO"; then :
42712 glibcxx_cv_func_isnanl_use=yes
42713 else
42714 glibcxx_cv_func_isnanl_use=no
42715 fi
42716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42717 ac_ext=c
42718 ac_cpp='$CPP $CPPFLAGS'
42719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42722
42723
42724 fi
42725
42726 fi
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42728 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42729
42730 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42731 for ac_func in isnanl
42732 do :
42733 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42734 if test "x$ac_cv_func_isnanl" = x""yes; then :
42735 cat >>confdefs.h <<_ACEOF
42736 #define HAVE_ISNANL 1
42737 _ACEOF
42738
42739 fi
42740 done
42741
42742 else
42743
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42745 $as_echo_n "checking for _isnanl declaration... " >&6; }
42746 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42747 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42748 $as_echo_n "(cached) " >&6
42749 else
42750
42751
42752 ac_ext=cpp
42753 ac_cpp='$CXXCPP $CPPFLAGS'
42754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42757
42758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42759 /* end confdefs.h. */
42760 #include <math.h>
42761 #ifdef HAVE_IEEEFP_H
42762 #include <ieeefp.h>
42763 #endif
42764
42765 int
42766 main ()
42767 {
42768 _isnanl(0);
42769 ;
42770 return 0;
42771 }
42772 _ACEOF
42773 if ac_fn_cxx_try_compile "$LINENO"; then :
42774 glibcxx_cv_func__isnanl_use=yes
42775 else
42776 glibcxx_cv_func__isnanl_use=no
42777 fi
42778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42779 ac_ext=c
42780 ac_cpp='$CPP $CPPFLAGS'
42781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42784
42785
42786 fi
42787
42788 fi
42789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42790 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42791
42792 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42793 for ac_func in _isnanl
42794 do :
42795 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42796 if test "x$ac_cv_func__isnanl" = x""yes; then :
42797 cat >>confdefs.h <<_ACEOF
42798 #define HAVE__ISNANL 1
42799 _ACEOF
42800
42801 fi
42802 done
42803
42804 fi
42805 fi
42806
42807
42808
42809
42810
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42812 $as_echo_n "checking for isinfl declaration... " >&6; }
42813 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42814 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42815 $as_echo_n "(cached) " >&6
42816 else
42817
42818
42819 ac_ext=cpp
42820 ac_cpp='$CXXCPP $CPPFLAGS'
42821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42824
42825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42826 /* end confdefs.h. */
42827 #include <math.h>
42828 #ifdef HAVE_IEEEFP_H
42829 #include <ieeefp.h>
42830 #endif
42831
42832 int
42833 main ()
42834 {
42835 isinfl(0);
42836 ;
42837 return 0;
42838 }
42839 _ACEOF
42840 if ac_fn_cxx_try_compile "$LINENO"; then :
42841 glibcxx_cv_func_isinfl_use=yes
42842 else
42843 glibcxx_cv_func_isinfl_use=no
42844 fi
42845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42846 ac_ext=c
42847 ac_cpp='$CPP $CPPFLAGS'
42848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42851
42852
42853 fi
42854
42855 fi
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42857 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42858
42859 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42860 for ac_func in isinfl
42861 do :
42862 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42863 if test "x$ac_cv_func_isinfl" = x""yes; then :
42864 cat >>confdefs.h <<_ACEOF
42865 #define HAVE_ISINFL 1
42866 _ACEOF
42867
42868 fi
42869 done
42870
42871 else
42872
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42874 $as_echo_n "checking for _isinfl declaration... " >&6; }
42875 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42876 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42877 $as_echo_n "(cached) " >&6
42878 else
42879
42880
42881 ac_ext=cpp
42882 ac_cpp='$CXXCPP $CPPFLAGS'
42883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42886
42887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42888 /* end confdefs.h. */
42889 #include <math.h>
42890 #ifdef HAVE_IEEEFP_H
42891 #include <ieeefp.h>
42892 #endif
42893
42894 int
42895 main ()
42896 {
42897 _isinfl(0);
42898 ;
42899 return 0;
42900 }
42901 _ACEOF
42902 if ac_fn_cxx_try_compile "$LINENO"; then :
42903 glibcxx_cv_func__isinfl_use=yes
42904 else
42905 glibcxx_cv_func__isinfl_use=no
42906 fi
42907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42908 ac_ext=c
42909 ac_cpp='$CPP $CPPFLAGS'
42910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42913
42914
42915 fi
42916
42917 fi
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42919 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42920
42921 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42922 for ac_func in _isinfl
42923 do :
42924 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42925 if test "x$ac_cv_func__isinfl" = x""yes; then :
42926 cat >>confdefs.h <<_ACEOF
42927 #define HAVE__ISINFL 1
42928 _ACEOF
42929
42930 fi
42931 done
42932
42933 fi
42934 fi
42935
42936
42937
42938
42939
42940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42941 $as_echo_n "checking for atan2l declaration... " >&6; }
42942 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42943 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42944 $as_echo_n "(cached) " >&6
42945 else
42946
42947
42948 ac_ext=cpp
42949 ac_cpp='$CXXCPP $CPPFLAGS'
42950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42953
42954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42955 /* end confdefs.h. */
42956 #include <math.h>
42957 int
42958 main ()
42959 {
42960 atan2l(0, 0);
42961 ;
42962 return 0;
42963 }
42964 _ACEOF
42965 if ac_fn_cxx_try_compile "$LINENO"; then :
42966 glibcxx_cv_func_atan2l_use=yes
42967 else
42968 glibcxx_cv_func_atan2l_use=no
42969 fi
42970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42971 ac_ext=c
42972 ac_cpp='$CPP $CPPFLAGS'
42973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42976
42977
42978 fi
42979
42980 fi
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42982 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42983
42984 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42985 for ac_func in atan2l
42986 do :
42987 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42988 if test "x$ac_cv_func_atan2l" = x""yes; then :
42989 cat >>confdefs.h <<_ACEOF
42990 #define HAVE_ATAN2L 1
42991 _ACEOF
42992
42993 fi
42994 done
42995
42996 else
42997
42998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42999 $as_echo_n "checking for _atan2l declaration... " >&6; }
43000 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43001 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43002 $as_echo_n "(cached) " >&6
43003 else
43004
43005
43006 ac_ext=cpp
43007 ac_cpp='$CXXCPP $CPPFLAGS'
43008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43011
43012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43013 /* end confdefs.h. */
43014 #include <math.h>
43015 int
43016 main ()
43017 {
43018 _atan2l(0, 0);
43019 ;
43020 return 0;
43021 }
43022 _ACEOF
43023 if ac_fn_cxx_try_compile "$LINENO"; then :
43024 glibcxx_cv_func__atan2l_use=yes
43025 else
43026 glibcxx_cv_func__atan2l_use=no
43027 fi
43028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43029 ac_ext=c
43030 ac_cpp='$CPP $CPPFLAGS'
43031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43034
43035
43036 fi
43037
43038 fi
43039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43040 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43041
43042 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43043 for ac_func in _atan2l
43044 do :
43045 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43046 if test "x$ac_cv_func__atan2l" = x""yes; then :
43047 cat >>confdefs.h <<_ACEOF
43048 #define HAVE__ATAN2L 1
43049 _ACEOF
43050
43051 fi
43052 done
43053
43054 fi
43055 fi
43056
43057
43058
43059
43060
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43062 $as_echo_n "checking for expl declaration... " >&6; }
43063 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43064 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43065 $as_echo_n "(cached) " >&6
43066 else
43067
43068
43069 ac_ext=cpp
43070 ac_cpp='$CXXCPP $CPPFLAGS'
43071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43074
43075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43076 /* end confdefs.h. */
43077 #include <math.h>
43078 #ifdef HAVE_IEEEFP_H
43079 #include <ieeefp.h>
43080 #endif
43081
43082 int
43083 main ()
43084 {
43085 expl(0);
43086 ;
43087 return 0;
43088 }
43089 _ACEOF
43090 if ac_fn_cxx_try_compile "$LINENO"; then :
43091 glibcxx_cv_func_expl_use=yes
43092 else
43093 glibcxx_cv_func_expl_use=no
43094 fi
43095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43096 ac_ext=c
43097 ac_cpp='$CPP $CPPFLAGS'
43098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101
43102
43103 fi
43104
43105 fi
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43107 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43108
43109 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43110 for ac_func in expl
43111 do :
43112 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43113 if test "x$ac_cv_func_expl" = x""yes; then :
43114 cat >>confdefs.h <<_ACEOF
43115 #define HAVE_EXPL 1
43116 _ACEOF
43117
43118 fi
43119 done
43120
43121 else
43122
43123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43124 $as_echo_n "checking for _expl declaration... " >&6; }
43125 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43126 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43127 $as_echo_n "(cached) " >&6
43128 else
43129
43130
43131 ac_ext=cpp
43132 ac_cpp='$CXXCPP $CPPFLAGS'
43133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43136
43137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43138 /* end confdefs.h. */
43139 #include <math.h>
43140 #ifdef HAVE_IEEEFP_H
43141 #include <ieeefp.h>
43142 #endif
43143
43144 int
43145 main ()
43146 {
43147 _expl(0);
43148 ;
43149 return 0;
43150 }
43151 _ACEOF
43152 if ac_fn_cxx_try_compile "$LINENO"; then :
43153 glibcxx_cv_func__expl_use=yes
43154 else
43155 glibcxx_cv_func__expl_use=no
43156 fi
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43158 ac_ext=c
43159 ac_cpp='$CPP $CPPFLAGS'
43160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43163
43164
43165 fi
43166
43167 fi
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43169 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43170
43171 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43172 for ac_func in _expl
43173 do :
43174 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43175 if test "x$ac_cv_func__expl" = x""yes; then :
43176 cat >>confdefs.h <<_ACEOF
43177 #define HAVE__EXPL 1
43178 _ACEOF
43179
43180 fi
43181 done
43182
43183 fi
43184 fi
43185
43186
43187
43188
43189
43190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43191 $as_echo_n "checking for fabsl declaration... " >&6; }
43192 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43193 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43194 $as_echo_n "(cached) " >&6
43195 else
43196
43197
43198 ac_ext=cpp
43199 ac_cpp='$CXXCPP $CPPFLAGS'
43200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43203
43204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43205 /* end confdefs.h. */
43206 #include <math.h>
43207 #ifdef HAVE_IEEEFP_H
43208 #include <ieeefp.h>
43209 #endif
43210
43211 int
43212 main ()
43213 {
43214 fabsl(0);
43215 ;
43216 return 0;
43217 }
43218 _ACEOF
43219 if ac_fn_cxx_try_compile "$LINENO"; then :
43220 glibcxx_cv_func_fabsl_use=yes
43221 else
43222 glibcxx_cv_func_fabsl_use=no
43223 fi
43224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43225 ac_ext=c
43226 ac_cpp='$CPP $CPPFLAGS'
43227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43230
43231
43232 fi
43233
43234 fi
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43236 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43237
43238 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43239 for ac_func in fabsl
43240 do :
43241 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43242 if test "x$ac_cv_func_fabsl" = x""yes; then :
43243 cat >>confdefs.h <<_ACEOF
43244 #define HAVE_FABSL 1
43245 _ACEOF
43246
43247 fi
43248 done
43249
43250 else
43251
43252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43253 $as_echo_n "checking for _fabsl declaration... " >&6; }
43254 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43255 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43256 $as_echo_n "(cached) " >&6
43257 else
43258
43259
43260 ac_ext=cpp
43261 ac_cpp='$CXXCPP $CPPFLAGS'
43262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43265
43266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43267 /* end confdefs.h. */
43268 #include <math.h>
43269 #ifdef HAVE_IEEEFP_H
43270 #include <ieeefp.h>
43271 #endif
43272
43273 int
43274 main ()
43275 {
43276 _fabsl(0);
43277 ;
43278 return 0;
43279 }
43280 _ACEOF
43281 if ac_fn_cxx_try_compile "$LINENO"; then :
43282 glibcxx_cv_func__fabsl_use=yes
43283 else
43284 glibcxx_cv_func__fabsl_use=no
43285 fi
43286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43287 ac_ext=c
43288 ac_cpp='$CPP $CPPFLAGS'
43289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43292
43293
43294 fi
43295
43296 fi
43297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43298 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43299
43300 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43301 for ac_func in _fabsl
43302 do :
43303 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43304 if test "x$ac_cv_func__fabsl" = x""yes; then :
43305 cat >>confdefs.h <<_ACEOF
43306 #define HAVE__FABSL 1
43307 _ACEOF
43308
43309 fi
43310 done
43311
43312 fi
43313 fi
43314
43315
43316
43317
43318
43319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43320 $as_echo_n "checking for fmodl declaration... " >&6; }
43321 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43322 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43323 $as_echo_n "(cached) " >&6
43324 else
43325
43326
43327 ac_ext=cpp
43328 ac_cpp='$CXXCPP $CPPFLAGS'
43329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43332
43333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43334 /* end confdefs.h. */
43335 #include <math.h>
43336 int
43337 main ()
43338 {
43339 fmodl(0, 0);
43340 ;
43341 return 0;
43342 }
43343 _ACEOF
43344 if ac_fn_cxx_try_compile "$LINENO"; then :
43345 glibcxx_cv_func_fmodl_use=yes
43346 else
43347 glibcxx_cv_func_fmodl_use=no
43348 fi
43349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43350 ac_ext=c
43351 ac_cpp='$CPP $CPPFLAGS'
43352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43355
43356
43357 fi
43358
43359 fi
43360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43361 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43362
43363 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43364 for ac_func in fmodl
43365 do :
43366 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43367 if test "x$ac_cv_func_fmodl" = x""yes; then :
43368 cat >>confdefs.h <<_ACEOF
43369 #define HAVE_FMODL 1
43370 _ACEOF
43371
43372 fi
43373 done
43374
43375 else
43376
43377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43378 $as_echo_n "checking for _fmodl declaration... " >&6; }
43379 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43380 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43381 $as_echo_n "(cached) " >&6
43382 else
43383
43384
43385 ac_ext=cpp
43386 ac_cpp='$CXXCPP $CPPFLAGS'
43387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43390
43391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43392 /* end confdefs.h. */
43393 #include <math.h>
43394 int
43395 main ()
43396 {
43397 _fmodl(0, 0);
43398 ;
43399 return 0;
43400 }
43401 _ACEOF
43402 if ac_fn_cxx_try_compile "$LINENO"; then :
43403 glibcxx_cv_func__fmodl_use=yes
43404 else
43405 glibcxx_cv_func__fmodl_use=no
43406 fi
43407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43408 ac_ext=c
43409 ac_cpp='$CPP $CPPFLAGS'
43410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43413
43414
43415 fi
43416
43417 fi
43418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43419 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43420
43421 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43422 for ac_func in _fmodl
43423 do :
43424 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43425 if test "x$ac_cv_func__fmodl" = x""yes; then :
43426 cat >>confdefs.h <<_ACEOF
43427 #define HAVE__FMODL 1
43428 _ACEOF
43429
43430 fi
43431 done
43432
43433 fi
43434 fi
43435
43436
43437
43438
43439
43440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43441 $as_echo_n "checking for frexpl declaration... " >&6; }
43442 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43443 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43444 $as_echo_n "(cached) " >&6
43445 else
43446
43447
43448 ac_ext=cpp
43449 ac_cpp='$CXXCPP $CPPFLAGS'
43450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43453
43454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43455 /* end confdefs.h. */
43456 #include <math.h>
43457 int
43458 main ()
43459 {
43460 frexpl(0, 0);
43461 ;
43462 return 0;
43463 }
43464 _ACEOF
43465 if ac_fn_cxx_try_compile "$LINENO"; then :
43466 glibcxx_cv_func_frexpl_use=yes
43467 else
43468 glibcxx_cv_func_frexpl_use=no
43469 fi
43470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43471 ac_ext=c
43472 ac_cpp='$CPP $CPPFLAGS'
43473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43476
43477
43478 fi
43479
43480 fi
43481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43482 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43483
43484 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43485 for ac_func in frexpl
43486 do :
43487 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43488 if test "x$ac_cv_func_frexpl" = x""yes; then :
43489 cat >>confdefs.h <<_ACEOF
43490 #define HAVE_FREXPL 1
43491 _ACEOF
43492
43493 fi
43494 done
43495
43496 else
43497
43498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43499 $as_echo_n "checking for _frexpl declaration... " >&6; }
43500 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43501 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43502 $as_echo_n "(cached) " >&6
43503 else
43504
43505
43506 ac_ext=cpp
43507 ac_cpp='$CXXCPP $CPPFLAGS'
43508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43511
43512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43513 /* end confdefs.h. */
43514 #include <math.h>
43515 int
43516 main ()
43517 {
43518 _frexpl(0, 0);
43519 ;
43520 return 0;
43521 }
43522 _ACEOF
43523 if ac_fn_cxx_try_compile "$LINENO"; then :
43524 glibcxx_cv_func__frexpl_use=yes
43525 else
43526 glibcxx_cv_func__frexpl_use=no
43527 fi
43528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43529 ac_ext=c
43530 ac_cpp='$CPP $CPPFLAGS'
43531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43534
43535
43536 fi
43537
43538 fi
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43540 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43541
43542 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43543 for ac_func in _frexpl
43544 do :
43545 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43546 if test "x$ac_cv_func__frexpl" = x""yes; then :
43547 cat >>confdefs.h <<_ACEOF
43548 #define HAVE__FREXPL 1
43549 _ACEOF
43550
43551 fi
43552 done
43553
43554 fi
43555 fi
43556
43557
43558
43559
43560
43561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43562 $as_echo_n "checking for hypotl declaration... " >&6; }
43563 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43564 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43565 $as_echo_n "(cached) " >&6
43566 else
43567
43568
43569 ac_ext=cpp
43570 ac_cpp='$CXXCPP $CPPFLAGS'
43571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43574
43575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43576 /* end confdefs.h. */
43577 #include <math.h>
43578 int
43579 main ()
43580 {
43581 hypotl(0, 0);
43582 ;
43583 return 0;
43584 }
43585 _ACEOF
43586 if ac_fn_cxx_try_compile "$LINENO"; then :
43587 glibcxx_cv_func_hypotl_use=yes
43588 else
43589 glibcxx_cv_func_hypotl_use=no
43590 fi
43591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43592 ac_ext=c
43593 ac_cpp='$CPP $CPPFLAGS'
43594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43597
43598
43599 fi
43600
43601 fi
43602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43603 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43604
43605 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43606 for ac_func in hypotl
43607 do :
43608 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43609 if test "x$ac_cv_func_hypotl" = x""yes; then :
43610 cat >>confdefs.h <<_ACEOF
43611 #define HAVE_HYPOTL 1
43612 _ACEOF
43613
43614 fi
43615 done
43616
43617 else
43618
43619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43620 $as_echo_n "checking for _hypotl declaration... " >&6; }
43621 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43622 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43623 $as_echo_n "(cached) " >&6
43624 else
43625
43626
43627 ac_ext=cpp
43628 ac_cpp='$CXXCPP $CPPFLAGS'
43629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43632
43633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43634 /* end confdefs.h. */
43635 #include <math.h>
43636 int
43637 main ()
43638 {
43639 _hypotl(0, 0);
43640 ;
43641 return 0;
43642 }
43643 _ACEOF
43644 if ac_fn_cxx_try_compile "$LINENO"; then :
43645 glibcxx_cv_func__hypotl_use=yes
43646 else
43647 glibcxx_cv_func__hypotl_use=no
43648 fi
43649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43650 ac_ext=c
43651 ac_cpp='$CPP $CPPFLAGS'
43652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43655
43656
43657 fi
43658
43659 fi
43660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43661 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43662
43663 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43664 for ac_func in _hypotl
43665 do :
43666 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43667 if test "x$ac_cv_func__hypotl" = x""yes; then :
43668 cat >>confdefs.h <<_ACEOF
43669 #define HAVE__HYPOTL 1
43670 _ACEOF
43671
43672 fi
43673 done
43674
43675 fi
43676 fi
43677
43678
43679
43680
43681
43682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43683 $as_echo_n "checking for ldexpl declaration... " >&6; }
43684 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43685 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43686 $as_echo_n "(cached) " >&6
43687 else
43688
43689
43690 ac_ext=cpp
43691 ac_cpp='$CXXCPP $CPPFLAGS'
43692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43695
43696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43697 /* end confdefs.h. */
43698 #include <math.h>
43699 int
43700 main ()
43701 {
43702 ldexpl(0, 0);
43703 ;
43704 return 0;
43705 }
43706 _ACEOF
43707 if ac_fn_cxx_try_compile "$LINENO"; then :
43708 glibcxx_cv_func_ldexpl_use=yes
43709 else
43710 glibcxx_cv_func_ldexpl_use=no
43711 fi
43712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43713 ac_ext=c
43714 ac_cpp='$CPP $CPPFLAGS'
43715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43718
43719
43720 fi
43721
43722 fi
43723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43724 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43725
43726 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43727 for ac_func in ldexpl
43728 do :
43729 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43730 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43731 cat >>confdefs.h <<_ACEOF
43732 #define HAVE_LDEXPL 1
43733 _ACEOF
43734
43735 fi
43736 done
43737
43738 else
43739
43740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43741 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43742 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43743 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43744 $as_echo_n "(cached) " >&6
43745 else
43746
43747
43748 ac_ext=cpp
43749 ac_cpp='$CXXCPP $CPPFLAGS'
43750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43753
43754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43755 /* end confdefs.h. */
43756 #include <math.h>
43757 int
43758 main ()
43759 {
43760 _ldexpl(0, 0);
43761 ;
43762 return 0;
43763 }
43764 _ACEOF
43765 if ac_fn_cxx_try_compile "$LINENO"; then :
43766 glibcxx_cv_func__ldexpl_use=yes
43767 else
43768 glibcxx_cv_func__ldexpl_use=no
43769 fi
43770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43771 ac_ext=c
43772 ac_cpp='$CPP $CPPFLAGS'
43773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43776
43777
43778 fi
43779
43780 fi
43781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43782 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43783
43784 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43785 for ac_func in _ldexpl
43786 do :
43787 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43788 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43789 cat >>confdefs.h <<_ACEOF
43790 #define HAVE__LDEXPL 1
43791 _ACEOF
43792
43793 fi
43794 done
43795
43796 fi
43797 fi
43798
43799
43800
43801
43802
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43804 $as_echo_n "checking for logl declaration... " >&6; }
43805 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43806 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43807 $as_echo_n "(cached) " >&6
43808 else
43809
43810
43811 ac_ext=cpp
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43816
43817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43818 /* end confdefs.h. */
43819 #include <math.h>
43820 #ifdef HAVE_IEEEFP_H
43821 #include <ieeefp.h>
43822 #endif
43823
43824 int
43825 main ()
43826 {
43827 logl(0);
43828 ;
43829 return 0;
43830 }
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833 glibcxx_cv_func_logl_use=yes
43834 else
43835 glibcxx_cv_func_logl_use=no
43836 fi
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838 ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43843
43844
43845 fi
43846
43847 fi
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43849 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43850
43851 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43852 for ac_func in logl
43853 do :
43854 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43855 if test "x$ac_cv_func_logl" = x""yes; then :
43856 cat >>confdefs.h <<_ACEOF
43857 #define HAVE_LOGL 1
43858 _ACEOF
43859
43860 fi
43861 done
43862
43863 else
43864
43865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43866 $as_echo_n "checking for _logl declaration... " >&6; }
43867 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43868 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43869 $as_echo_n "(cached) " >&6
43870 else
43871
43872
43873 ac_ext=cpp
43874 ac_cpp='$CXXCPP $CPPFLAGS'
43875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43878
43879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43880 /* end confdefs.h. */
43881 #include <math.h>
43882 #ifdef HAVE_IEEEFP_H
43883 #include <ieeefp.h>
43884 #endif
43885
43886 int
43887 main ()
43888 {
43889 _logl(0);
43890 ;
43891 return 0;
43892 }
43893 _ACEOF
43894 if ac_fn_cxx_try_compile "$LINENO"; then :
43895 glibcxx_cv_func__logl_use=yes
43896 else
43897 glibcxx_cv_func__logl_use=no
43898 fi
43899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43900 ac_ext=c
43901 ac_cpp='$CPP $CPPFLAGS'
43902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43905
43906
43907 fi
43908
43909 fi
43910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43911 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43912
43913 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43914 for ac_func in _logl
43915 do :
43916 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43917 if test "x$ac_cv_func__logl" = x""yes; then :
43918 cat >>confdefs.h <<_ACEOF
43919 #define HAVE__LOGL 1
43920 _ACEOF
43921
43922 fi
43923 done
43924
43925 fi
43926 fi
43927
43928
43929
43930
43931
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43933 $as_echo_n "checking for log10l declaration... " >&6; }
43934 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43935 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43936 $as_echo_n "(cached) " >&6
43937 else
43938
43939
43940 ac_ext=cpp
43941 ac_cpp='$CXXCPP $CPPFLAGS'
43942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43945
43946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43947 /* end confdefs.h. */
43948 #include <math.h>
43949 #ifdef HAVE_IEEEFP_H
43950 #include <ieeefp.h>
43951 #endif
43952
43953 int
43954 main ()
43955 {
43956 log10l(0);
43957 ;
43958 return 0;
43959 }
43960 _ACEOF
43961 if ac_fn_cxx_try_compile "$LINENO"; then :
43962 glibcxx_cv_func_log10l_use=yes
43963 else
43964 glibcxx_cv_func_log10l_use=no
43965 fi
43966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43967 ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43972
43973
43974 fi
43975
43976 fi
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43978 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43979
43980 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43981 for ac_func in log10l
43982 do :
43983 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43984 if test "x$ac_cv_func_log10l" = x""yes; then :
43985 cat >>confdefs.h <<_ACEOF
43986 #define HAVE_LOG10L 1
43987 _ACEOF
43988
43989 fi
43990 done
43991
43992 else
43993
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43995 $as_echo_n "checking for _log10l declaration... " >&6; }
43996 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43997 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43998 $as_echo_n "(cached) " >&6
43999 else
44000
44001
44002 ac_ext=cpp
44003 ac_cpp='$CXXCPP $CPPFLAGS'
44004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44007
44008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44009 /* end confdefs.h. */
44010 #include <math.h>
44011 #ifdef HAVE_IEEEFP_H
44012 #include <ieeefp.h>
44013 #endif
44014
44015 int
44016 main ()
44017 {
44018 _log10l(0);
44019 ;
44020 return 0;
44021 }
44022 _ACEOF
44023 if ac_fn_cxx_try_compile "$LINENO"; then :
44024 glibcxx_cv_func__log10l_use=yes
44025 else
44026 glibcxx_cv_func__log10l_use=no
44027 fi
44028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44029 ac_ext=c
44030 ac_cpp='$CPP $CPPFLAGS'
44031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44034
44035
44036 fi
44037
44038 fi
44039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44040 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44041
44042 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44043 for ac_func in _log10l
44044 do :
44045 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44046 if test "x$ac_cv_func__log10l" = x""yes; then :
44047 cat >>confdefs.h <<_ACEOF
44048 #define HAVE__LOG10L 1
44049 _ACEOF
44050
44051 fi
44052 done
44053
44054 fi
44055 fi
44056
44057
44058
44059
44060
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44062 $as_echo_n "checking for modfl declaration... " >&6; }
44063 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44064 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44065 $as_echo_n "(cached) " >&6
44066 else
44067
44068
44069 ac_ext=cpp
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44074
44075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44076 /* end confdefs.h. */
44077 #include <math.h>
44078 int
44079 main ()
44080 {
44081 modfl(0, 0);
44082 ;
44083 return 0;
44084 }
44085 _ACEOF
44086 if ac_fn_cxx_try_compile "$LINENO"; then :
44087 glibcxx_cv_func_modfl_use=yes
44088 else
44089 glibcxx_cv_func_modfl_use=no
44090 fi
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44092 ac_ext=c
44093 ac_cpp='$CPP $CPPFLAGS'
44094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44097
44098
44099 fi
44100
44101 fi
44102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44103 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44104
44105 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44106 for ac_func in modfl
44107 do :
44108 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44109 if test "x$ac_cv_func_modfl" = x""yes; then :
44110 cat >>confdefs.h <<_ACEOF
44111 #define HAVE_MODFL 1
44112 _ACEOF
44113
44114 fi
44115 done
44116
44117 else
44118
44119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44120 $as_echo_n "checking for _modfl declaration... " >&6; }
44121 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44122 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44123 $as_echo_n "(cached) " >&6
44124 else
44125
44126
44127 ac_ext=cpp
44128 ac_cpp='$CXXCPP $CPPFLAGS'
44129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44132
44133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44134 /* end confdefs.h. */
44135 #include <math.h>
44136 int
44137 main ()
44138 {
44139 _modfl(0, 0);
44140 ;
44141 return 0;
44142 }
44143 _ACEOF
44144 if ac_fn_cxx_try_compile "$LINENO"; then :
44145 glibcxx_cv_func__modfl_use=yes
44146 else
44147 glibcxx_cv_func__modfl_use=no
44148 fi
44149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44150 ac_ext=c
44151 ac_cpp='$CPP $CPPFLAGS'
44152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44155
44156
44157 fi
44158
44159 fi
44160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44161 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44162
44163 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44164 for ac_func in _modfl
44165 do :
44166 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44167 if test "x$ac_cv_func__modfl" = x""yes; then :
44168 cat >>confdefs.h <<_ACEOF
44169 #define HAVE__MODFL 1
44170 _ACEOF
44171
44172 fi
44173 done
44174
44175 fi
44176 fi
44177
44178
44179
44180
44181
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44183 $as_echo_n "checking for powl declaration... " >&6; }
44184 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44185 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44186 $as_echo_n "(cached) " >&6
44187 else
44188
44189
44190 ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44195
44196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h. */
44198 #include <math.h>
44199 int
44200 main ()
44201 {
44202 powl(0, 0);
44203 ;
44204 return 0;
44205 }
44206 _ACEOF
44207 if ac_fn_cxx_try_compile "$LINENO"; then :
44208 glibcxx_cv_func_powl_use=yes
44209 else
44210 glibcxx_cv_func_powl_use=no
44211 fi
44212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44213 ac_ext=c
44214 ac_cpp='$CPP $CPPFLAGS'
44215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44218
44219
44220 fi
44221
44222 fi
44223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44224 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44225
44226 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44227 for ac_func in powl
44228 do :
44229 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44230 if test "x$ac_cv_func_powl" = x""yes; then :
44231 cat >>confdefs.h <<_ACEOF
44232 #define HAVE_POWL 1
44233 _ACEOF
44234
44235 fi
44236 done
44237
44238 else
44239
44240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44241 $as_echo_n "checking for _powl declaration... " >&6; }
44242 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44243 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44244 $as_echo_n "(cached) " >&6
44245 else
44246
44247
44248 ac_ext=cpp
44249 ac_cpp='$CXXCPP $CPPFLAGS'
44250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44253
44254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44255 /* end confdefs.h. */
44256 #include <math.h>
44257 int
44258 main ()
44259 {
44260 _powl(0, 0);
44261 ;
44262 return 0;
44263 }
44264 _ACEOF
44265 if ac_fn_cxx_try_compile "$LINENO"; then :
44266 glibcxx_cv_func__powl_use=yes
44267 else
44268 glibcxx_cv_func__powl_use=no
44269 fi
44270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44271 ac_ext=c
44272 ac_cpp='$CPP $CPPFLAGS'
44273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44276
44277
44278 fi
44279
44280 fi
44281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44282 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44283
44284 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44285 for ac_func in _powl
44286 do :
44287 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44288 if test "x$ac_cv_func__powl" = x""yes; then :
44289 cat >>confdefs.h <<_ACEOF
44290 #define HAVE__POWL 1
44291 _ACEOF
44292
44293 fi
44294 done
44295
44296 fi
44297 fi
44298
44299
44300
44301
44302
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44304 $as_echo_n "checking for sqrtl declaration... " >&6; }
44305 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44306 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44307 $as_echo_n "(cached) " >&6
44308 else
44309
44310
44311 ac_ext=cpp
44312 ac_cpp='$CXXCPP $CPPFLAGS'
44313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44316
44317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44318 /* end confdefs.h. */
44319 #include <math.h>
44320 #ifdef HAVE_IEEEFP_H
44321 #include <ieeefp.h>
44322 #endif
44323
44324 int
44325 main ()
44326 {
44327 sqrtl(0);
44328 ;
44329 return 0;
44330 }
44331 _ACEOF
44332 if ac_fn_cxx_try_compile "$LINENO"; then :
44333 glibcxx_cv_func_sqrtl_use=yes
44334 else
44335 glibcxx_cv_func_sqrtl_use=no
44336 fi
44337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44338 ac_ext=c
44339 ac_cpp='$CPP $CPPFLAGS'
44340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44343
44344
44345 fi
44346
44347 fi
44348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44349 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44350
44351 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44352 for ac_func in sqrtl
44353 do :
44354 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44355 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44356 cat >>confdefs.h <<_ACEOF
44357 #define HAVE_SQRTL 1
44358 _ACEOF
44359
44360 fi
44361 done
44362
44363 else
44364
44365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44366 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44367 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44368 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44369 $as_echo_n "(cached) " >&6
44370 else
44371
44372
44373 ac_ext=cpp
44374 ac_cpp='$CXXCPP $CPPFLAGS'
44375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44378
44379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44380 /* end confdefs.h. */
44381 #include <math.h>
44382 #ifdef HAVE_IEEEFP_H
44383 #include <ieeefp.h>
44384 #endif
44385
44386 int
44387 main ()
44388 {
44389 _sqrtl(0);
44390 ;
44391 return 0;
44392 }
44393 _ACEOF
44394 if ac_fn_cxx_try_compile "$LINENO"; then :
44395 glibcxx_cv_func__sqrtl_use=yes
44396 else
44397 glibcxx_cv_func__sqrtl_use=no
44398 fi
44399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44400 ac_ext=c
44401 ac_cpp='$CPP $CPPFLAGS'
44402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44405
44406
44407 fi
44408
44409 fi
44410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44411 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44412
44413 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44414 for ac_func in _sqrtl
44415 do :
44416 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44417 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44418 cat >>confdefs.h <<_ACEOF
44419 #define HAVE__SQRTL 1
44420 _ACEOF
44421
44422 fi
44423 done
44424
44425 fi
44426 fi
44427
44428
44429
44430
44431
44432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44433 $as_echo_n "checking for sincosl declaration... " >&6; }
44434 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44435 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44436 $as_echo_n "(cached) " >&6
44437 else
44438
44439
44440 ac_ext=cpp
44441 ac_cpp='$CXXCPP $CPPFLAGS'
44442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44445
44446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44447 /* end confdefs.h. */
44448 #include <math.h>
44449 int
44450 main ()
44451 {
44452 sincosl(0, 0, 0);
44453 ;
44454 return 0;
44455 }
44456 _ACEOF
44457 if ac_fn_cxx_try_compile "$LINENO"; then :
44458 glibcxx_cv_func_sincosl_use=yes
44459 else
44460 glibcxx_cv_func_sincosl_use=no
44461 fi
44462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44463 ac_ext=c
44464 ac_cpp='$CPP $CPPFLAGS'
44465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44468
44469
44470 fi
44471
44472 fi
44473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44474 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44475
44476 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44477 for ac_func in sincosl
44478 do :
44479 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44480 if test "x$ac_cv_func_sincosl" = x""yes; then :
44481 cat >>confdefs.h <<_ACEOF
44482 #define HAVE_SINCOSL 1
44483 _ACEOF
44484
44485 fi
44486 done
44487
44488 else
44489
44490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44491 $as_echo_n "checking for _sincosl declaration... " >&6; }
44492 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44493 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44494 $as_echo_n "(cached) " >&6
44495 else
44496
44497
44498 ac_ext=cpp
44499 ac_cpp='$CXXCPP $CPPFLAGS'
44500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44503
44504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44505 /* end confdefs.h. */
44506 #include <math.h>
44507 int
44508 main ()
44509 {
44510 _sincosl(0, 0, 0);
44511 ;
44512 return 0;
44513 }
44514 _ACEOF
44515 if ac_fn_cxx_try_compile "$LINENO"; then :
44516 glibcxx_cv_func__sincosl_use=yes
44517 else
44518 glibcxx_cv_func__sincosl_use=no
44519 fi
44520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44521 ac_ext=c
44522 ac_cpp='$CPP $CPPFLAGS'
44523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44526
44527
44528 fi
44529
44530 fi
44531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44532 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44533
44534 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44535 for ac_func in _sincosl
44536 do :
44537 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44538 if test "x$ac_cv_func__sincosl" = x""yes; then :
44539 cat >>confdefs.h <<_ACEOF
44540 #define HAVE__SINCOSL 1
44541 _ACEOF
44542
44543 fi
44544 done
44545
44546 fi
44547 fi
44548
44549
44550
44551
44552
44553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44554 $as_echo_n "checking for finitel declaration... " >&6; }
44555 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44556 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44557 $as_echo_n "(cached) " >&6
44558 else
44559
44560
44561 ac_ext=cpp
44562 ac_cpp='$CXXCPP $CPPFLAGS'
44563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44566
44567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44568 /* end confdefs.h. */
44569 #include <math.h>
44570 #ifdef HAVE_IEEEFP_H
44571 #include <ieeefp.h>
44572 #endif
44573
44574 int
44575 main ()
44576 {
44577 finitel(0);
44578 ;
44579 return 0;
44580 }
44581 _ACEOF
44582 if ac_fn_cxx_try_compile "$LINENO"; then :
44583 glibcxx_cv_func_finitel_use=yes
44584 else
44585 glibcxx_cv_func_finitel_use=no
44586 fi
44587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44588 ac_ext=c
44589 ac_cpp='$CPP $CPPFLAGS'
44590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44593
44594
44595 fi
44596
44597 fi
44598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44599 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44600
44601 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44602 for ac_func in finitel
44603 do :
44604 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44605 if test "x$ac_cv_func_finitel" = x""yes; then :
44606 cat >>confdefs.h <<_ACEOF
44607 #define HAVE_FINITEL 1
44608 _ACEOF
44609
44610 fi
44611 done
44612
44613 else
44614
44615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44616 $as_echo_n "checking for _finitel declaration... " >&6; }
44617 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44618 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44619 $as_echo_n "(cached) " >&6
44620 else
44621
44622
44623 ac_ext=cpp
44624 ac_cpp='$CXXCPP $CPPFLAGS'
44625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44628
44629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44630 /* end confdefs.h. */
44631 #include <math.h>
44632 #ifdef HAVE_IEEEFP_H
44633 #include <ieeefp.h>
44634 #endif
44635
44636 int
44637 main ()
44638 {
44639 _finitel(0);
44640 ;
44641 return 0;
44642 }
44643 _ACEOF
44644 if ac_fn_cxx_try_compile "$LINENO"; then :
44645 glibcxx_cv_func__finitel_use=yes
44646 else
44647 glibcxx_cv_func__finitel_use=no
44648 fi
44649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44650 ac_ext=c
44651 ac_cpp='$CPP $CPPFLAGS'
44652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44655
44656
44657 fi
44658
44659 fi
44660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44661 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44662
44663 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44664 for ac_func in _finitel
44665 do :
44666 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44667 if test "x$ac_cv_func__finitel" = x""yes; then :
44668 cat >>confdefs.h <<_ACEOF
44669 #define HAVE__FINITEL 1
44670 _ACEOF
44671
44672 fi
44673 done
44674
44675 fi
44676 fi
44677
44678
44679
44680
44681 LIBS="$ac_save_LIBS"
44682 CXXFLAGS="$ac_save_CXXFLAGS"
44683
44684
44685 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44686 ac_save_CXXFLAGS="$CXXFLAGS"
44687 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44688
44689
44690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44691 $as_echo_n "checking for strtold declaration... " >&6; }
44692 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44693 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44694 $as_echo_n "(cached) " >&6
44695 else
44696
44697
44698 ac_ext=cpp
44699 ac_cpp='$CXXCPP $CPPFLAGS'
44700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44703
44704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44705 /* end confdefs.h. */
44706 #include <stdlib.h>
44707 int
44708 main ()
44709 {
44710 strtold(0, 0);
44711 ;
44712 return 0;
44713 }
44714 _ACEOF
44715 if ac_fn_cxx_try_compile "$LINENO"; then :
44716 glibcxx_cv_func_strtold_use=yes
44717 else
44718 glibcxx_cv_func_strtold_use=no
44719 fi
44720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44721 ac_ext=c
44722 ac_cpp='$CPP $CPPFLAGS'
44723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44726
44727
44728 fi
44729
44730 fi
44731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44732 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44733 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44734 for ac_func in strtold
44735 do :
44736 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44737 if test "x$ac_cv_func_strtold" = x""yes; then :
44738 cat >>confdefs.h <<_ACEOF
44739 #define HAVE_STRTOLD 1
44740 _ACEOF
44741
44742 fi
44743 done
44744
44745 fi
44746
44747
44748
44749
44750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44751 $as_echo_n "checking for strtof declaration... " >&6; }
44752 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44753 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44754 $as_echo_n "(cached) " >&6
44755 else
44756
44757
44758 ac_ext=cpp
44759 ac_cpp='$CXXCPP $CPPFLAGS'
44760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44763
44764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44765 /* end confdefs.h. */
44766 #include <stdlib.h>
44767 int
44768 main ()
44769 {
44770 strtof(0, 0);
44771 ;
44772 return 0;
44773 }
44774 _ACEOF
44775 if ac_fn_cxx_try_compile "$LINENO"; then :
44776 glibcxx_cv_func_strtof_use=yes
44777 else
44778 glibcxx_cv_func_strtof_use=no
44779 fi
44780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44781 ac_ext=c
44782 ac_cpp='$CPP $CPPFLAGS'
44783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44786
44787
44788 fi
44789
44790 fi
44791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44792 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44793 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44794 for ac_func in strtof
44795 do :
44796 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44797 if test "x$ac_cv_func_strtof" = x""yes; then :
44798 cat >>confdefs.h <<_ACEOF
44799 #define HAVE_STRTOF 1
44800 _ACEOF
44801
44802 fi
44803 done
44804
44805 fi
44806
44807
44808
44809
44810 CXXFLAGS="$ac_save_CXXFLAGS"
44811
44812 ;;
44813
44814 *djgpp)
44815 # GLIBCXX_CHECK_MATH_SUPPORT
44816 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44817
44818 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44819
44820 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44821
44822 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44823
44824 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44825
44826 ;;
44827
44828 *-freebsd*)
44829 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44830
44831
44832 # If we're not using GNU ld, then there's no point in even trying these
44833 # tests. Check for that first. We should have already tested for gld
44834 # by now (in libtool), but require it now just to be safe...
44835 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44836 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44837
44838
44839
44840 # The name set by libtool depends on the version of libtool. Shame on us
44841 # for depending on an impl detail, but c'est la vie. Older versions used
44842 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44843 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44844 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44845 # set (hence we're using an older libtool), then set it.
44846 if test x${with_gnu_ld+set} != xset; then
44847 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44848 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44849 with_gnu_ld=no
44850 else
44851 with_gnu_ld=$ac_cv_prog_gnu_ld
44852 fi
44853 fi
44854
44855 # Start by getting the version number. I think the libtool test already
44856 # does some of this, but throws away the result.
44857 glibcxx_ld_is_gold=no
44858 if test x"$with_gnu_ld" = x"yes"; then
44859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44860 $as_echo_n "checking for ld version... " >&6; }
44861
44862 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44863 glibcxx_ld_is_gold=yes
44864 fi
44865 ldver=`$LD --version 2>/dev/null |
44866 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'`
44867
44868 glibcxx_gnu_ld_version=`echo $ldver | \
44869 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44871 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44872 fi
44873
44874 # Set --gc-sections.
44875 glibcxx_have_gc_sections=no
44876 if test "$glibcxx_ld_is_gold" = "yes"; then
44877 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44878 glibcxx_have_gc_sections=yes
44879 fi
44880 else
44881 glibcxx_gcsections_min_ld=21602
44882 if test x"$with_gnu_ld" = x"yes" &&
44883 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44884 glibcxx_have_gc_sections=yes
44885 fi
44886 fi
44887 if test "$glibcxx_have_gc_sections" = "yes"; then
44888 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44889 # NB: This flag only works reliably after 2.16.1. Configure tests
44890 # for this are difficult, so hard wire a value that should work.
44891
44892 ac_test_CFLAGS="${CFLAGS+set}"
44893 ac_save_CFLAGS="$CFLAGS"
44894 CFLAGS='-Wl,--gc-sections'
44895
44896 # Check for -Wl,--gc-sections
44897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44898 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44899 if test x$gcc_no_link = xyes; then
44900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44901 fi
44902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44903 /* end confdefs.h. */
44904 int one(void) { return 1; }
44905 int two(void) { return 2; }
44906
44907 int
44908 main ()
44909 {
44910 two();
44911 ;
44912 return 0;
44913 }
44914 _ACEOF
44915 if ac_fn_c_try_link "$LINENO"; then :
44916 ac_gcsections=yes
44917 else
44918 ac_gcsections=no
44919 fi
44920 rm -f core conftest.err conftest.$ac_objext \
44921 conftest$ac_exeext conftest.$ac_ext
44922 if test "$ac_gcsections" = "yes"; then
44923 rm -f conftest.c
44924 touch conftest.c
44925 if $CC -c conftest.c; then
44926 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44927 grep "Warning: gc-sections option ignored" > /dev/null; then
44928 ac_gcsections=no
44929 fi
44930 fi
44931 rm -f conftest.c conftest.o conftest
44932 fi
44933 if test "$ac_gcsections" = "yes"; then
44934 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44935 fi
44936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44937 $as_echo "$ac_gcsections" >&6; }
44938
44939 if test "$ac_test_CFLAGS" = set; then
44940 CFLAGS="$ac_save_CFLAGS"
44941 else
44942 # this is the suspicious part
44943 CFLAGS=''
44944 fi
44945 fi
44946
44947 # Set -z,relro.
44948 # Note this is only for shared objects.
44949 ac_ld_relro=no
44950 if test x"$with_gnu_ld" = x"yes"; then
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44952 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44953 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44954 if test -n "$cxx_z_relo"; then
44955 OPT_LDFLAGS="-Wl,-z,relro"
44956 ac_ld_relro=yes
44957 fi
44958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44959 $as_echo "$ac_ld_relro" >&6; }
44960 fi
44961
44962 # Set linker optimization flags.
44963 if test x"$with_gnu_ld" = x"yes"; then
44964 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44965 fi
44966
44967
44968
44969
44970 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44971
44972 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44973
44974 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44975
44976 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44977
44978 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44979
44980 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44981
44982 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44983
44984 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44985
44986 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44987
44988
44989 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44990
44991 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44992
44993 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44994
44995 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44996
44997 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44998
44999 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45000
45001 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45002
45003 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45004
45005 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45006
45007 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45008
45009 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45010
45011 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45012
45013 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45014
45015 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45016
45017 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45018
45019 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45020
45021 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45022
45023 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45024
45025 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45026
45027 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45028
45029 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45030
45031 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45032
45033 if test x"long_double_math_on_this_cpu" = x"yes"; then
45034 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45035
45036 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45037
45038 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45039
45040 fi
45041 ;;
45042 *-hpux*)
45043 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45044
45045
45046 # If we're not using GNU ld, then there's no point in even trying these
45047 # tests. Check for that first. We should have already tested for gld
45048 # by now (in libtool), but require it now just to be safe...
45049 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45050 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45051
45052
45053
45054 # The name set by libtool depends on the version of libtool. Shame on us
45055 # for depending on an impl detail, but c'est la vie. Older versions used
45056 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45057 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45058 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45059 # set (hence we're using an older libtool), then set it.
45060 if test x${with_gnu_ld+set} != xset; then
45061 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45062 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45063 with_gnu_ld=no
45064 else
45065 with_gnu_ld=$ac_cv_prog_gnu_ld
45066 fi
45067 fi
45068
45069 # Start by getting the version number. I think the libtool test already
45070 # does some of this, but throws away the result.
45071 glibcxx_ld_is_gold=no
45072 if test x"$with_gnu_ld" = x"yes"; then
45073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45074 $as_echo_n "checking for ld version... " >&6; }
45075
45076 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45077 glibcxx_ld_is_gold=yes
45078 fi
45079 ldver=`$LD --version 2>/dev/null |
45080 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'`
45081
45082 glibcxx_gnu_ld_version=`echo $ldver | \
45083 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45085 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45086 fi
45087
45088 # Set --gc-sections.
45089 glibcxx_have_gc_sections=no
45090 if test "$glibcxx_ld_is_gold" = "yes"; then
45091 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45092 glibcxx_have_gc_sections=yes
45093 fi
45094 else
45095 glibcxx_gcsections_min_ld=21602
45096 if test x"$with_gnu_ld" = x"yes" &&
45097 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45098 glibcxx_have_gc_sections=yes
45099 fi
45100 fi
45101 if test "$glibcxx_have_gc_sections" = "yes"; then
45102 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45103 # NB: This flag only works reliably after 2.16.1. Configure tests
45104 # for this are difficult, so hard wire a value that should work.
45105
45106 ac_test_CFLAGS="${CFLAGS+set}"
45107 ac_save_CFLAGS="$CFLAGS"
45108 CFLAGS='-Wl,--gc-sections'
45109
45110 # Check for -Wl,--gc-sections
45111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45112 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45113 if test x$gcc_no_link = xyes; then
45114 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45115 fi
45116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45117 /* end confdefs.h. */
45118 int one(void) { return 1; }
45119 int two(void) { return 2; }
45120
45121 int
45122 main ()
45123 {
45124 two();
45125 ;
45126 return 0;
45127 }
45128 _ACEOF
45129 if ac_fn_c_try_link "$LINENO"; then :
45130 ac_gcsections=yes
45131 else
45132 ac_gcsections=no
45133 fi
45134 rm -f core conftest.err conftest.$ac_objext \
45135 conftest$ac_exeext conftest.$ac_ext
45136 if test "$ac_gcsections" = "yes"; then
45137 rm -f conftest.c
45138 touch conftest.c
45139 if $CC -c conftest.c; then
45140 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45141 grep "Warning: gc-sections option ignored" > /dev/null; then
45142 ac_gcsections=no
45143 fi
45144 fi
45145 rm -f conftest.c conftest.o conftest
45146 fi
45147 if test "$ac_gcsections" = "yes"; then
45148 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45149 fi
45150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45151 $as_echo "$ac_gcsections" >&6; }
45152
45153 if test "$ac_test_CFLAGS" = set; then
45154 CFLAGS="$ac_save_CFLAGS"
45155 else
45156 # this is the suspicious part
45157 CFLAGS=''
45158 fi
45159 fi
45160
45161 # Set -z,relro.
45162 # Note this is only for shared objects.
45163 ac_ld_relro=no
45164 if test x"$with_gnu_ld" = x"yes"; then
45165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45166 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45167 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45168 if test -n "$cxx_z_relo"; then
45169 OPT_LDFLAGS="-Wl,-z,relro"
45170 ac_ld_relro=yes
45171 fi
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45173 $as_echo "$ac_ld_relro" >&6; }
45174 fi
45175
45176 # Set linker optimization flags.
45177 if test x"$with_gnu_ld" = x"yes"; then
45178 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45179 fi
45180
45181
45182
45183
45184
45185 # GLIBCXX_CHECK_MATH_SUPPORT
45186 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45187
45188 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45189
45190 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45191
45192 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45193
45194 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45195
45196 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45197
45198 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45199
45200 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45201
45202 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45203
45204 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45205
45206 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45207
45208 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45209
45210 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45211
45212 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45213
45214 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45215
45216 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45217
45218 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45219
45220 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45221
45222 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45223
45224 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45225
45226 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45227
45228
45229 # GLIBCXX_CHECK_STDLIB_SUPPORT
45230 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45231
45232
45233
45234
45235 # Check whether --enable-tls was given.
45236 if test "${enable_tls+set}" = set; then :
45237 enableval=$enable_tls;
45238 case "$enableval" in
45239 yes|no) ;;
45240 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45241 esac
45242
45243 else
45244 enable_tls=yes
45245 fi
45246
45247
45248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45249 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45250 if test "${gcc_cv_have_tls+set}" = set; then :
45251 $as_echo_n "(cached) " >&6
45252 else
45253
45254 if test "$cross_compiling" = yes; then :
45255 if test x$gcc_no_link = xyes; then
45256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45257 fi
45258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45259 /* end confdefs.h. */
45260 __thread int a; int b; int main() { return a = b; }
45261 _ACEOF
45262 if ac_fn_c_try_link "$LINENO"; then :
45263 chktls_save_LDFLAGS="$LDFLAGS"
45264 case $host in
45265 *-*-linux*)
45266 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45267 ;;
45268 esac
45269 chktls_save_CFLAGS="$CFLAGS"
45270 CFLAGS="-fPIC $CFLAGS"
45271 if test x$gcc_no_link = xyes; then
45272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45273 fi
45274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45275 /* end confdefs.h. */
45276 int f() { return 0; }
45277 _ACEOF
45278 if ac_fn_c_try_link "$LINENO"; then :
45279 if test x$gcc_no_link = xyes; then
45280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45281 fi
45282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45283 /* end confdefs.h. */
45284 __thread int a; int b; int f() { return a = b; }
45285 _ACEOF
45286 if ac_fn_c_try_link "$LINENO"; then :
45287 gcc_cv_have_tls=yes
45288 else
45289 gcc_cv_have_tls=no
45290 fi
45291 rm -f core conftest.err conftest.$ac_objext \
45292 conftest$ac_exeext conftest.$ac_ext
45293 else
45294 gcc_cv_have_tls=yes
45295 fi
45296 rm -f core conftest.err conftest.$ac_objext \
45297 conftest$ac_exeext conftest.$ac_ext
45298 CFLAGS="$chktls_save_CFLAGS"
45299 LDFLAGS="$chktls_save_LDFLAGS"
45300 else
45301 gcc_cv_have_tls=no
45302 fi
45303 rm -f core conftest.err conftest.$ac_objext \
45304 conftest$ac_exeext conftest.$ac_ext
45305
45306
45307 else
45308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45309 /* end confdefs.h. */
45310 __thread int a; int b; int main() { return a = b; }
45311 _ACEOF
45312 if ac_fn_c_try_run "$LINENO"; then :
45313 chktls_save_LDFLAGS="$LDFLAGS"
45314 LDFLAGS="-static $LDFLAGS"
45315 if test x$gcc_no_link = xyes; then
45316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45317 fi
45318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45319 /* end confdefs.h. */
45320 int main() { return 0; }
45321 _ACEOF
45322 if ac_fn_c_try_link "$LINENO"; then :
45323 if test "$cross_compiling" = yes; then :
45324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45326 as_fn_error "cannot run test program while cross compiling
45327 See \`config.log' for more details." "$LINENO" 5; }
45328 else
45329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45330 /* end confdefs.h. */
45331 __thread int a; int b; int main() { return a = b; }
45332 _ACEOF
45333 if ac_fn_c_try_run "$LINENO"; then :
45334 gcc_cv_have_tls=yes
45335 else
45336 gcc_cv_have_tls=no
45337 fi
45338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45339 conftest.$ac_objext conftest.beam conftest.$ac_ext
45340 fi
45341
45342 else
45343 gcc_cv_have_tls=yes
45344 fi
45345 rm -f core conftest.err conftest.$ac_objext \
45346 conftest$ac_exeext conftest.$ac_ext
45347 LDFLAGS="$chktls_save_LDFLAGS"
45348 if test $gcc_cv_have_tls = yes; then
45349 chktls_save_CFLAGS="$CFLAGS"
45350 thread_CFLAGS=failed
45351 for flag in '' '-pthread' '-lpthread'; do
45352 CFLAGS="$flag $chktls_save_CFLAGS"
45353 if test x$gcc_no_link = xyes; then
45354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45355 fi
45356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45357 /* end confdefs.h. */
45358 #include <pthread.h>
45359 void *g(void *d) { return NULL; }
45360 int
45361 main ()
45362 {
45363 pthread_t t; pthread_create(&t,NULL,g,NULL);
45364 ;
45365 return 0;
45366 }
45367 _ACEOF
45368 if ac_fn_c_try_link "$LINENO"; then :
45369 thread_CFLAGS="$flag"
45370 fi
45371 rm -f core conftest.err conftest.$ac_objext \
45372 conftest$ac_exeext conftest.$ac_ext
45373 if test "X$thread_CFLAGS" != Xfailed; then
45374 break
45375 fi
45376 done
45377 CFLAGS="$chktls_save_CFLAGS"
45378 if test "X$thread_CFLAGS" != Xfailed; then
45379 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45380 if test "$cross_compiling" = yes; then :
45381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45383 as_fn_error "cannot run test program while cross compiling
45384 See \`config.log' for more details." "$LINENO" 5; }
45385 else
45386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45387 /* end confdefs.h. */
45388 #include <pthread.h>
45389 __thread int a;
45390 static int *volatile a_in_other_thread;
45391 static void *
45392 thread_func (void *arg)
45393 {
45394 a_in_other_thread = &a;
45395 return (void *)0;
45396 }
45397 int
45398 main ()
45399 {
45400 pthread_t thread;
45401 void *thread_retval;
45402 int *volatile a_in_main_thread;
45403 a_in_main_thread = &a;
45404 if (pthread_create (&thread, (pthread_attr_t *)0,
45405 thread_func, (void *)0))
45406 return 0;
45407 if (pthread_join (thread, &thread_retval))
45408 return 0;
45409 return (a_in_other_thread == a_in_main_thread);
45410 ;
45411 return 0;
45412 }
45413 _ACEOF
45414 if ac_fn_c_try_run "$LINENO"; then :
45415 gcc_cv_have_tls=yes
45416 else
45417 gcc_cv_have_tls=no
45418 fi
45419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45420 conftest.$ac_objext conftest.beam conftest.$ac_ext
45421 fi
45422
45423 CFLAGS="$chktls_save_CFLAGS"
45424 fi
45425 fi
45426 else
45427 gcc_cv_have_tls=no
45428 fi
45429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45430 conftest.$ac_objext conftest.beam conftest.$ac_ext
45431 fi
45432
45433 fi
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45435 $as_echo "$gcc_cv_have_tls" >&6; }
45436 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45437
45438 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45439
45440 fi
45441 case "$target" in
45442 *-hpux10*)
45443 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45444
45445 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45446
45447 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45448
45449 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45450
45451 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45452
45453 ;;
45454 esac
45455 ;;
45456 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45457
45458 # All these tests are for C++; save the language and the compiler flags.
45459 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45460 # found in GLIBCXX_CONFIGURE.
45461
45462 ac_ext=cpp
45463 ac_cpp='$CXXCPP $CPPFLAGS'
45464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45467
45468 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45469 ac_save_CXXFLAGS="$CXXFLAGS"
45470
45471 # Check for maintainer-mode bits.
45472 if test x"$USE_MAINTAINER_MODE" = xno; then
45473 WERROR=''
45474 else
45475 WERROR='-Werror'
45476 fi
45477
45478 # Check for -ffunction-sections -fdata-sections
45479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45480 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45481 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45483 /* end confdefs.h. */
45484 int foo; void bar() { };
45485 int
45486 main ()
45487 {
45488
45489 ;
45490 return 0;
45491 }
45492 _ACEOF
45493 if ac_fn_cxx_try_compile "$LINENO"; then :
45494 ac_fdsections=yes
45495 else
45496 ac_fdsections=no
45497 fi
45498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45499 if test "$ac_test_CXXFLAGS" = set; then
45500 CXXFLAGS="$ac_save_CXXFLAGS"
45501 else
45502 # this is the suspicious part
45503 CXXFLAGS=''
45504 fi
45505 if test x"$ac_fdsections" = x"yes"; then
45506 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45507 fi
45508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45509 $as_echo "$ac_fdsections" >&6; }
45510
45511 ac_ext=c
45512 ac_cpp='$CPP $CPPFLAGS'
45513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45516
45517
45518
45519
45520
45521 # If we're not using GNU ld, then there's no point in even trying these
45522 # tests. Check for that first. We should have already tested for gld
45523 # by now (in libtool), but require it now just to be safe...
45524 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45525 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45526
45527
45528
45529 # The name set by libtool depends on the version of libtool. Shame on us
45530 # for depending on an impl detail, but c'est la vie. Older versions used
45531 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45532 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45533 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45534 # set (hence we're using an older libtool), then set it.
45535 if test x${with_gnu_ld+set} != xset; then
45536 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45537 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45538 with_gnu_ld=no
45539 else
45540 with_gnu_ld=$ac_cv_prog_gnu_ld
45541 fi
45542 fi
45543
45544 # Start by getting the version number. I think the libtool test already
45545 # does some of this, but throws away the result.
45546 glibcxx_ld_is_gold=no
45547 if test x"$with_gnu_ld" = x"yes"; then
45548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45549 $as_echo_n "checking for ld version... " >&6; }
45550
45551 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45552 glibcxx_ld_is_gold=yes
45553 fi
45554 ldver=`$LD --version 2>/dev/null |
45555 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'`
45556
45557 glibcxx_gnu_ld_version=`echo $ldver | \
45558 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45560 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45561 fi
45562
45563 # Set --gc-sections.
45564 glibcxx_have_gc_sections=no
45565 if test "$glibcxx_ld_is_gold" = "yes"; then
45566 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45567 glibcxx_have_gc_sections=yes
45568 fi
45569 else
45570 glibcxx_gcsections_min_ld=21602
45571 if test x"$with_gnu_ld" = x"yes" &&
45572 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45573 glibcxx_have_gc_sections=yes
45574 fi
45575 fi
45576 if test "$glibcxx_have_gc_sections" = "yes"; then
45577 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45578 # NB: This flag only works reliably after 2.16.1. Configure tests
45579 # for this are difficult, so hard wire a value that should work.
45580
45581 ac_test_CFLAGS="${CFLAGS+set}"
45582 ac_save_CFLAGS="$CFLAGS"
45583 CFLAGS='-Wl,--gc-sections'
45584
45585 # Check for -Wl,--gc-sections
45586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45587 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45588 if test x$gcc_no_link = xyes; then
45589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45590 fi
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45593 int one(void) { return 1; }
45594 int two(void) { return 2; }
45595
45596 int
45597 main ()
45598 {
45599 two();
45600 ;
45601 return 0;
45602 }
45603 _ACEOF
45604 if ac_fn_c_try_link "$LINENO"; then :
45605 ac_gcsections=yes
45606 else
45607 ac_gcsections=no
45608 fi
45609 rm -f core conftest.err conftest.$ac_objext \
45610 conftest$ac_exeext conftest.$ac_ext
45611 if test "$ac_gcsections" = "yes"; then
45612 rm -f conftest.c
45613 touch conftest.c
45614 if $CC -c conftest.c; then
45615 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45616 grep "Warning: gc-sections option ignored" > /dev/null; then
45617 ac_gcsections=no
45618 fi
45619 fi
45620 rm -f conftest.c conftest.o conftest
45621 fi
45622 if test "$ac_gcsections" = "yes"; then
45623 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45624 fi
45625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45626 $as_echo "$ac_gcsections" >&6; }
45627
45628 if test "$ac_test_CFLAGS" = set; then
45629 CFLAGS="$ac_save_CFLAGS"
45630 else
45631 # this is the suspicious part
45632 CFLAGS=''
45633 fi
45634 fi
45635
45636 # Set -z,relro.
45637 # Note this is only for shared objects.
45638 ac_ld_relro=no
45639 if test x"$with_gnu_ld" = x"yes"; then
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45641 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45642 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45643 if test -n "$cxx_z_relo"; then
45644 OPT_LDFLAGS="-Wl,-z,relro"
45645 ac_ld_relro=yes
45646 fi
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45648 $as_echo "$ac_ld_relro" >&6; }
45649 fi
45650
45651 # Set linker optimization flags.
45652 if test x"$with_gnu_ld" = x"yes"; then
45653 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45654 fi
45655
45656
45657
45658
45659
45660 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45661 ac_save_CXXFLAGS="$CXXFLAGS"
45662 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45663
45664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45665 $as_echo_n "checking for sin in -lm... " >&6; }
45666 if test "${ac_cv_lib_m_sin+set}" = set; then :
45667 $as_echo_n "(cached) " >&6
45668 else
45669 ac_check_lib_save_LIBS=$LIBS
45670 LIBS="-lm $LIBS"
45671 if test x$gcc_no_link = xyes; then
45672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45673 fi
45674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45675 /* end confdefs.h. */
45676
45677 /* Override any GCC internal prototype to avoid an error.
45678 Use char because int might match the return type of a GCC
45679 builtin and then its argument prototype would still apply. */
45680 #ifdef __cplusplus
45681 extern "C"
45682 #endif
45683 char sin ();
45684 int
45685 main ()
45686 {
45687 return sin ();
45688 ;
45689 return 0;
45690 }
45691 _ACEOF
45692 if ac_fn_c_try_link "$LINENO"; then :
45693 ac_cv_lib_m_sin=yes
45694 else
45695 ac_cv_lib_m_sin=no
45696 fi
45697 rm -f core conftest.err conftest.$ac_objext \
45698 conftest$ac_exeext conftest.$ac_ext
45699 LIBS=$ac_check_lib_save_LIBS
45700 fi
45701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45702 $as_echo "$ac_cv_lib_m_sin" >&6; }
45703 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45704 libm="-lm"
45705 fi
45706
45707 ac_save_LIBS="$LIBS"
45708 LIBS="$LIBS $libm"
45709
45710
45711
45712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45713 $as_echo_n "checking for isinf declaration... " >&6; }
45714 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45715 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45716 $as_echo_n "(cached) " >&6
45717 else
45718
45719
45720 ac_ext=cpp
45721 ac_cpp='$CXXCPP $CPPFLAGS'
45722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45725
45726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45727 /* end confdefs.h. */
45728 #include <math.h>
45729 #ifdef HAVE_IEEEFP_H
45730 #include <ieeefp.h>
45731 #endif
45732
45733 int
45734 main ()
45735 {
45736 isinf(0);
45737 ;
45738 return 0;
45739 }
45740 _ACEOF
45741 if ac_fn_cxx_try_compile "$LINENO"; then :
45742 glibcxx_cv_func_isinf_use=yes
45743 else
45744 glibcxx_cv_func_isinf_use=no
45745 fi
45746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45747 ac_ext=c
45748 ac_cpp='$CPP $CPPFLAGS'
45749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45752
45753
45754 fi
45755
45756 fi
45757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45758 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45759
45760 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45761 for ac_func in isinf
45762 do :
45763 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45764 if test "x$ac_cv_func_isinf" = x""yes; then :
45765 cat >>confdefs.h <<_ACEOF
45766 #define HAVE_ISINF 1
45767 _ACEOF
45768
45769 fi
45770 done
45771
45772 else
45773
45774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45775 $as_echo_n "checking for _isinf declaration... " >&6; }
45776 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45777 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45778 $as_echo_n "(cached) " >&6
45779 else
45780
45781
45782 ac_ext=cpp
45783 ac_cpp='$CXXCPP $CPPFLAGS'
45784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45787
45788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45789 /* end confdefs.h. */
45790 #include <math.h>
45791 #ifdef HAVE_IEEEFP_H
45792 #include <ieeefp.h>
45793 #endif
45794
45795 int
45796 main ()
45797 {
45798 _isinf(0);
45799 ;
45800 return 0;
45801 }
45802 _ACEOF
45803 if ac_fn_cxx_try_compile "$LINENO"; then :
45804 glibcxx_cv_func__isinf_use=yes
45805 else
45806 glibcxx_cv_func__isinf_use=no
45807 fi
45808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45809 ac_ext=c
45810 ac_cpp='$CPP $CPPFLAGS'
45811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45814
45815
45816 fi
45817
45818 fi
45819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45820 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45821
45822 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45823 for ac_func in _isinf
45824 do :
45825 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45826 if test "x$ac_cv_func__isinf" = x""yes; then :
45827 cat >>confdefs.h <<_ACEOF
45828 #define HAVE__ISINF 1
45829 _ACEOF
45830
45831 fi
45832 done
45833
45834 fi
45835 fi
45836
45837
45838
45839
45840
45841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45842 $as_echo_n "checking for isnan declaration... " >&6; }
45843 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45844 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45845 $as_echo_n "(cached) " >&6
45846 else
45847
45848
45849 ac_ext=cpp
45850 ac_cpp='$CXXCPP $CPPFLAGS'
45851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45854
45855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45856 /* end confdefs.h. */
45857 #include <math.h>
45858 #ifdef HAVE_IEEEFP_H
45859 #include <ieeefp.h>
45860 #endif
45861
45862 int
45863 main ()
45864 {
45865 isnan(0);
45866 ;
45867 return 0;
45868 }
45869 _ACEOF
45870 if ac_fn_cxx_try_compile "$LINENO"; then :
45871 glibcxx_cv_func_isnan_use=yes
45872 else
45873 glibcxx_cv_func_isnan_use=no
45874 fi
45875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45876 ac_ext=c
45877 ac_cpp='$CPP $CPPFLAGS'
45878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45881
45882
45883 fi
45884
45885 fi
45886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45887 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45888
45889 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45890 for ac_func in isnan
45891 do :
45892 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45893 if test "x$ac_cv_func_isnan" = x""yes; then :
45894 cat >>confdefs.h <<_ACEOF
45895 #define HAVE_ISNAN 1
45896 _ACEOF
45897
45898 fi
45899 done
45900
45901 else
45902
45903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45904 $as_echo_n "checking for _isnan declaration... " >&6; }
45905 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45906 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45907 $as_echo_n "(cached) " >&6
45908 else
45909
45910
45911 ac_ext=cpp
45912 ac_cpp='$CXXCPP $CPPFLAGS'
45913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45916
45917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45918 /* end confdefs.h. */
45919 #include <math.h>
45920 #ifdef HAVE_IEEEFP_H
45921 #include <ieeefp.h>
45922 #endif
45923
45924 int
45925 main ()
45926 {
45927 _isnan(0);
45928 ;
45929 return 0;
45930 }
45931 _ACEOF
45932 if ac_fn_cxx_try_compile "$LINENO"; then :
45933 glibcxx_cv_func__isnan_use=yes
45934 else
45935 glibcxx_cv_func__isnan_use=no
45936 fi
45937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45938 ac_ext=c
45939 ac_cpp='$CPP $CPPFLAGS'
45940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45943
45944
45945 fi
45946
45947 fi
45948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45949 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45950
45951 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45952 for ac_func in _isnan
45953 do :
45954 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45955 if test "x$ac_cv_func__isnan" = x""yes; then :
45956 cat >>confdefs.h <<_ACEOF
45957 #define HAVE__ISNAN 1
45958 _ACEOF
45959
45960 fi
45961 done
45962
45963 fi
45964 fi
45965
45966
45967
45968
45969
45970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45971 $as_echo_n "checking for finite declaration... " >&6; }
45972 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45973 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45974 $as_echo_n "(cached) " >&6
45975 else
45976
45977
45978 ac_ext=cpp
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45983
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h. */
45986 #include <math.h>
45987 #ifdef HAVE_IEEEFP_H
45988 #include <ieeefp.h>
45989 #endif
45990
45991 int
45992 main ()
45993 {
45994 finite(0);
45995 ;
45996 return 0;
45997 }
45998 _ACEOF
45999 if ac_fn_cxx_try_compile "$LINENO"; then :
46000 glibcxx_cv_func_finite_use=yes
46001 else
46002 glibcxx_cv_func_finite_use=no
46003 fi
46004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46005 ac_ext=c
46006 ac_cpp='$CPP $CPPFLAGS'
46007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46010
46011
46012 fi
46013
46014 fi
46015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46016 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46017
46018 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46019 for ac_func in finite
46020 do :
46021 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46022 if test "x$ac_cv_func_finite" = x""yes; then :
46023 cat >>confdefs.h <<_ACEOF
46024 #define HAVE_FINITE 1
46025 _ACEOF
46026
46027 fi
46028 done
46029
46030 else
46031
46032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46033 $as_echo_n "checking for _finite declaration... " >&6; }
46034 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46035 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46036 $as_echo_n "(cached) " >&6
46037 else
46038
46039
46040 ac_ext=cpp
46041 ac_cpp='$CXXCPP $CPPFLAGS'
46042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46045
46046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46047 /* end confdefs.h. */
46048 #include <math.h>
46049 #ifdef HAVE_IEEEFP_H
46050 #include <ieeefp.h>
46051 #endif
46052
46053 int
46054 main ()
46055 {
46056 _finite(0);
46057 ;
46058 return 0;
46059 }
46060 _ACEOF
46061 if ac_fn_cxx_try_compile "$LINENO"; then :
46062 glibcxx_cv_func__finite_use=yes
46063 else
46064 glibcxx_cv_func__finite_use=no
46065 fi
46066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46067 ac_ext=c
46068 ac_cpp='$CPP $CPPFLAGS'
46069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46072
46073
46074 fi
46075
46076 fi
46077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46078 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46079
46080 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46081 for ac_func in _finite
46082 do :
46083 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46084 if test "x$ac_cv_func__finite" = x""yes; then :
46085 cat >>confdefs.h <<_ACEOF
46086 #define HAVE__FINITE 1
46087 _ACEOF
46088
46089 fi
46090 done
46091
46092 fi
46093 fi
46094
46095
46096
46097
46098
46099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46100 $as_echo_n "checking for sincos declaration... " >&6; }
46101 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46102 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46103 $as_echo_n "(cached) " >&6
46104 else
46105
46106
46107 ac_ext=cpp
46108 ac_cpp='$CXXCPP $CPPFLAGS'
46109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46112
46113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46114 /* end confdefs.h. */
46115 #include <math.h>
46116 int
46117 main ()
46118 {
46119 sincos(0, 0, 0);
46120 ;
46121 return 0;
46122 }
46123 _ACEOF
46124 if ac_fn_cxx_try_compile "$LINENO"; then :
46125 glibcxx_cv_func_sincos_use=yes
46126 else
46127 glibcxx_cv_func_sincos_use=no
46128 fi
46129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46130 ac_ext=c
46131 ac_cpp='$CPP $CPPFLAGS'
46132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46135
46136
46137 fi
46138
46139 fi
46140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46141 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46142
46143 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46144 for ac_func in sincos
46145 do :
46146 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46147 if test "x$ac_cv_func_sincos" = x""yes; then :
46148 cat >>confdefs.h <<_ACEOF
46149 #define HAVE_SINCOS 1
46150 _ACEOF
46151
46152 fi
46153 done
46154
46155 else
46156
46157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46158 $as_echo_n "checking for _sincos declaration... " >&6; }
46159 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46160 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46161 $as_echo_n "(cached) " >&6
46162 else
46163
46164
46165 ac_ext=cpp
46166 ac_cpp='$CXXCPP $CPPFLAGS'
46167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46170
46171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46172 /* end confdefs.h. */
46173 #include <math.h>
46174 int
46175 main ()
46176 {
46177 _sincos(0, 0, 0);
46178 ;
46179 return 0;
46180 }
46181 _ACEOF
46182 if ac_fn_cxx_try_compile "$LINENO"; then :
46183 glibcxx_cv_func__sincos_use=yes
46184 else
46185 glibcxx_cv_func__sincos_use=no
46186 fi
46187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46188 ac_ext=c
46189 ac_cpp='$CPP $CPPFLAGS'
46190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46193
46194
46195 fi
46196
46197 fi
46198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46199 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46200
46201 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46202 for ac_func in _sincos
46203 do :
46204 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46205 if test "x$ac_cv_func__sincos" = x""yes; then :
46206 cat >>confdefs.h <<_ACEOF
46207 #define HAVE__SINCOS 1
46208 _ACEOF
46209
46210 fi
46211 done
46212
46213 fi
46214 fi
46215
46216
46217
46218
46219
46220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46221 $as_echo_n "checking for fpclass declaration... " >&6; }
46222 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46223 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46224 $as_echo_n "(cached) " >&6
46225 else
46226
46227
46228 ac_ext=cpp
46229 ac_cpp='$CXXCPP $CPPFLAGS'
46230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46233
46234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46235 /* end confdefs.h. */
46236 #include <math.h>
46237 #ifdef HAVE_IEEEFP_H
46238 #include <ieeefp.h>
46239 #endif
46240
46241 int
46242 main ()
46243 {
46244 fpclass(0);
46245 ;
46246 return 0;
46247 }
46248 _ACEOF
46249 if ac_fn_cxx_try_compile "$LINENO"; then :
46250 glibcxx_cv_func_fpclass_use=yes
46251 else
46252 glibcxx_cv_func_fpclass_use=no
46253 fi
46254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46255 ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46260
46261
46262 fi
46263
46264 fi
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46266 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46267
46268 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46269 for ac_func in fpclass
46270 do :
46271 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46272 if test "x$ac_cv_func_fpclass" = x""yes; then :
46273 cat >>confdefs.h <<_ACEOF
46274 #define HAVE_FPCLASS 1
46275 _ACEOF
46276
46277 fi
46278 done
46279
46280 else
46281
46282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46283 $as_echo_n "checking for _fpclass declaration... " >&6; }
46284 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46285 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46286 $as_echo_n "(cached) " >&6
46287 else
46288
46289
46290 ac_ext=cpp
46291 ac_cpp='$CXXCPP $CPPFLAGS'
46292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46295
46296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46297 /* end confdefs.h. */
46298 #include <math.h>
46299 #ifdef HAVE_IEEEFP_H
46300 #include <ieeefp.h>
46301 #endif
46302
46303 int
46304 main ()
46305 {
46306 _fpclass(0);
46307 ;
46308 return 0;
46309 }
46310 _ACEOF
46311 if ac_fn_cxx_try_compile "$LINENO"; then :
46312 glibcxx_cv_func__fpclass_use=yes
46313 else
46314 glibcxx_cv_func__fpclass_use=no
46315 fi
46316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46317 ac_ext=c
46318 ac_cpp='$CPP $CPPFLAGS'
46319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46322
46323
46324 fi
46325
46326 fi
46327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46328 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46329
46330 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46331 for ac_func in _fpclass
46332 do :
46333 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46334 if test "x$ac_cv_func__fpclass" = x""yes; then :
46335 cat >>confdefs.h <<_ACEOF
46336 #define HAVE__FPCLASS 1
46337 _ACEOF
46338
46339 fi
46340 done
46341
46342 fi
46343 fi
46344
46345
46346
46347
46348
46349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46350 $as_echo_n "checking for qfpclass declaration... " >&6; }
46351 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46352 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46353 $as_echo_n "(cached) " >&6
46354 else
46355
46356
46357 ac_ext=cpp
46358 ac_cpp='$CXXCPP $CPPFLAGS'
46359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46362
46363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46364 /* end confdefs.h. */
46365 #include <math.h>
46366 #ifdef HAVE_IEEEFP_H
46367 #include <ieeefp.h>
46368 #endif
46369
46370 int
46371 main ()
46372 {
46373 qfpclass(0);
46374 ;
46375 return 0;
46376 }
46377 _ACEOF
46378 if ac_fn_cxx_try_compile "$LINENO"; then :
46379 glibcxx_cv_func_qfpclass_use=yes
46380 else
46381 glibcxx_cv_func_qfpclass_use=no
46382 fi
46383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46384 ac_ext=c
46385 ac_cpp='$CPP $CPPFLAGS'
46386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46389
46390
46391 fi
46392
46393 fi
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46395 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46396
46397 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46398 for ac_func in qfpclass
46399 do :
46400 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46401 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46402 cat >>confdefs.h <<_ACEOF
46403 #define HAVE_QFPCLASS 1
46404 _ACEOF
46405
46406 fi
46407 done
46408
46409 else
46410
46411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46412 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46413 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46414 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46415 $as_echo_n "(cached) " >&6
46416 else
46417
46418
46419 ac_ext=cpp
46420 ac_cpp='$CXXCPP $CPPFLAGS'
46421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46424
46425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46426 /* end confdefs.h. */
46427 #include <math.h>
46428 #ifdef HAVE_IEEEFP_H
46429 #include <ieeefp.h>
46430 #endif
46431
46432 int
46433 main ()
46434 {
46435 _qfpclass(0);
46436 ;
46437 return 0;
46438 }
46439 _ACEOF
46440 if ac_fn_cxx_try_compile "$LINENO"; then :
46441 glibcxx_cv_func__qfpclass_use=yes
46442 else
46443 glibcxx_cv_func__qfpclass_use=no
46444 fi
46445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46446 ac_ext=c
46447 ac_cpp='$CPP $CPPFLAGS'
46448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46451
46452
46453 fi
46454
46455 fi
46456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46457 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46458
46459 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46460 for ac_func in _qfpclass
46461 do :
46462 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46463 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46464 cat >>confdefs.h <<_ACEOF
46465 #define HAVE__QFPCLASS 1
46466 _ACEOF
46467
46468 fi
46469 done
46470
46471 fi
46472 fi
46473
46474
46475
46476
46477
46478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46479 $as_echo_n "checking for hypot declaration... " >&6; }
46480 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46481 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46482 $as_echo_n "(cached) " >&6
46483 else
46484
46485
46486 ac_ext=cpp
46487 ac_cpp='$CXXCPP $CPPFLAGS'
46488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46491
46492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46493 /* end confdefs.h. */
46494 #include <math.h>
46495 int
46496 main ()
46497 {
46498 hypot(0, 0);
46499 ;
46500 return 0;
46501 }
46502 _ACEOF
46503 if ac_fn_cxx_try_compile "$LINENO"; then :
46504 glibcxx_cv_func_hypot_use=yes
46505 else
46506 glibcxx_cv_func_hypot_use=no
46507 fi
46508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46509 ac_ext=c
46510 ac_cpp='$CPP $CPPFLAGS'
46511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46514
46515
46516 fi
46517
46518 fi
46519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46520 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46521
46522 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46523 for ac_func in hypot
46524 do :
46525 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46526 if test "x$ac_cv_func_hypot" = x""yes; then :
46527 cat >>confdefs.h <<_ACEOF
46528 #define HAVE_HYPOT 1
46529 _ACEOF
46530
46531 fi
46532 done
46533
46534 else
46535
46536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46537 $as_echo_n "checking for _hypot declaration... " >&6; }
46538 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46539 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46540 $as_echo_n "(cached) " >&6
46541 else
46542
46543
46544 ac_ext=cpp
46545 ac_cpp='$CXXCPP $CPPFLAGS'
46546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46549
46550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46551 /* end confdefs.h. */
46552 #include <math.h>
46553 int
46554 main ()
46555 {
46556 _hypot(0, 0);
46557 ;
46558 return 0;
46559 }
46560 _ACEOF
46561 if ac_fn_cxx_try_compile "$LINENO"; then :
46562 glibcxx_cv_func__hypot_use=yes
46563 else
46564 glibcxx_cv_func__hypot_use=no
46565 fi
46566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46567 ac_ext=c
46568 ac_cpp='$CPP $CPPFLAGS'
46569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46572
46573
46574 fi
46575
46576 fi
46577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46578 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46579
46580 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46581 for ac_func in _hypot
46582 do :
46583 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46584 if test "x$ac_cv_func__hypot" = x""yes; then :
46585 cat >>confdefs.h <<_ACEOF
46586 #define HAVE__HYPOT 1
46587 _ACEOF
46588
46589 fi
46590 done
46591
46592 fi
46593 fi
46594
46595
46596
46597
46598
46599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46600 $as_echo_n "checking for float trig functions... " >&6; }
46601 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46602 $as_echo_n "(cached) " >&6
46603 else
46604
46605
46606 ac_ext=cpp
46607 ac_cpp='$CXXCPP $CPPFLAGS'
46608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46611
46612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46613 /* end confdefs.h. */
46614 #include <math.h>
46615 int
46616 main ()
46617 {
46618 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46619 ;
46620 return 0;
46621 }
46622 _ACEOF
46623 if ac_fn_cxx_try_compile "$LINENO"; then :
46624 glibcxx_cv_func_float_trig_use=yes
46625 else
46626 glibcxx_cv_func_float_trig_use=no
46627 fi
46628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46629 ac_ext=c
46630 ac_cpp='$CPP $CPPFLAGS'
46631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46634
46635 fi
46636
46637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46638 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46639 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46640 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46641 do :
46642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46644 eval as_val=\$$as_ac_var
46645 if test "x$as_val" = x""yes; then :
46646 cat >>confdefs.h <<_ACEOF
46647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46648 _ACEOF
46649
46650 fi
46651 done
46652
46653 else
46654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46655 $as_echo_n "checking for _float trig functions... " >&6; }
46656 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46657 $as_echo_n "(cached) " >&6
46658 else
46659
46660
46661 ac_ext=cpp
46662 ac_cpp='$CXXCPP $CPPFLAGS'
46663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46666
46667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46668 /* end confdefs.h. */
46669 #include <math.h>
46670 int
46671 main ()
46672 {
46673 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46674 ;
46675 return 0;
46676 }
46677 _ACEOF
46678 if ac_fn_cxx_try_compile "$LINENO"; then :
46679 glibcxx_cv_func__float_trig_use=yes
46680 else
46681 glibcxx_cv_func__float_trig_use=no
46682 fi
46683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46684 ac_ext=c
46685 ac_cpp='$CPP $CPPFLAGS'
46686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46689
46690 fi
46691
46692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46693 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46694 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46695 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46696 do :
46697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46699 eval as_val=\$$as_ac_var
46700 if test "x$as_val" = x""yes; then :
46701 cat >>confdefs.h <<_ACEOF
46702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46703 _ACEOF
46704
46705 fi
46706 done
46707
46708 fi
46709 fi
46710
46711
46712
46713
46714
46715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46716 $as_echo_n "checking for float round functions... " >&6; }
46717 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46718 $as_echo_n "(cached) " >&6
46719 else
46720
46721
46722 ac_ext=cpp
46723 ac_cpp='$CXXCPP $CPPFLAGS'
46724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46727
46728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46729 /* end confdefs.h. */
46730 #include <math.h>
46731 int
46732 main ()
46733 {
46734 ceilf (0); floorf (0);
46735 ;
46736 return 0;
46737 }
46738 _ACEOF
46739 if ac_fn_cxx_try_compile "$LINENO"; then :
46740 glibcxx_cv_func_float_round_use=yes
46741 else
46742 glibcxx_cv_func_float_round_use=no
46743 fi
46744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46745 ac_ext=c
46746 ac_cpp='$CPP $CPPFLAGS'
46747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46750
46751 fi
46752
46753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46754 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46755 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46756 for ac_func in ceilf floorf
46757 do :
46758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46760 eval as_val=\$$as_ac_var
46761 if test "x$as_val" = x""yes; then :
46762 cat >>confdefs.h <<_ACEOF
46763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46764 _ACEOF
46765
46766 fi
46767 done
46768
46769 else
46770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46771 $as_echo_n "checking for _float round functions... " >&6; }
46772 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46773 $as_echo_n "(cached) " >&6
46774 else
46775
46776
46777 ac_ext=cpp
46778 ac_cpp='$CXXCPP $CPPFLAGS'
46779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46782
46783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46784 /* end confdefs.h. */
46785 #include <math.h>
46786 int
46787 main ()
46788 {
46789 _ceilf (0); _floorf (0);
46790 ;
46791 return 0;
46792 }
46793 _ACEOF
46794 if ac_fn_cxx_try_compile "$LINENO"; then :
46795 glibcxx_cv_func__float_round_use=yes
46796 else
46797 glibcxx_cv_func__float_round_use=no
46798 fi
46799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46800 ac_ext=c
46801 ac_cpp='$CPP $CPPFLAGS'
46802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46805
46806 fi
46807
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46809 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46810 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46811 for ac_func in _ceilf _floorf
46812 do :
46813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46815 eval as_val=\$$as_ac_var
46816 if test "x$as_val" = x""yes; then :
46817 cat >>confdefs.h <<_ACEOF
46818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46819 _ACEOF
46820
46821 fi
46822 done
46823
46824 fi
46825 fi
46826
46827
46828
46829
46830
46831
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46833 $as_echo_n "checking for expf declaration... " >&6; }
46834 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46835 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46836 $as_echo_n "(cached) " >&6
46837 else
46838
46839
46840 ac_ext=cpp
46841 ac_cpp='$CXXCPP $CPPFLAGS'
46842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46845
46846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46847 /* end confdefs.h. */
46848 #include <math.h>
46849 #ifdef HAVE_IEEEFP_H
46850 #include <ieeefp.h>
46851 #endif
46852
46853 int
46854 main ()
46855 {
46856 expf(0);
46857 ;
46858 return 0;
46859 }
46860 _ACEOF
46861 if ac_fn_cxx_try_compile "$LINENO"; then :
46862 glibcxx_cv_func_expf_use=yes
46863 else
46864 glibcxx_cv_func_expf_use=no
46865 fi
46866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46867 ac_ext=c
46868 ac_cpp='$CPP $CPPFLAGS'
46869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46872
46873
46874 fi
46875
46876 fi
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46878 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46879
46880 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46881 for ac_func in expf
46882 do :
46883 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46884 if test "x$ac_cv_func_expf" = x""yes; then :
46885 cat >>confdefs.h <<_ACEOF
46886 #define HAVE_EXPF 1
46887 _ACEOF
46888
46889 fi
46890 done
46891
46892 else
46893
46894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46895 $as_echo_n "checking for _expf declaration... " >&6; }
46896 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46897 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46898 $as_echo_n "(cached) " >&6
46899 else
46900
46901
46902 ac_ext=cpp
46903 ac_cpp='$CXXCPP $CPPFLAGS'
46904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46907
46908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46909 /* end confdefs.h. */
46910 #include <math.h>
46911 #ifdef HAVE_IEEEFP_H
46912 #include <ieeefp.h>
46913 #endif
46914
46915 int
46916 main ()
46917 {
46918 _expf(0);
46919 ;
46920 return 0;
46921 }
46922 _ACEOF
46923 if ac_fn_cxx_try_compile "$LINENO"; then :
46924 glibcxx_cv_func__expf_use=yes
46925 else
46926 glibcxx_cv_func__expf_use=no
46927 fi
46928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46929 ac_ext=c
46930 ac_cpp='$CPP $CPPFLAGS'
46931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46934
46935
46936 fi
46937
46938 fi
46939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46940 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46941
46942 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46943 for ac_func in _expf
46944 do :
46945 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46946 if test "x$ac_cv_func__expf" = x""yes; then :
46947 cat >>confdefs.h <<_ACEOF
46948 #define HAVE__EXPF 1
46949 _ACEOF
46950
46951 fi
46952 done
46953
46954 fi
46955 fi
46956
46957
46958
46959
46960
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46962 $as_echo_n "checking for isnanf declaration... " >&6; }
46963 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46964 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46965 $as_echo_n "(cached) " >&6
46966 else
46967
46968
46969 ac_ext=cpp
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46974
46975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h. */
46977 #include <math.h>
46978 #ifdef HAVE_IEEEFP_H
46979 #include <ieeefp.h>
46980 #endif
46981
46982 int
46983 main ()
46984 {
46985 isnanf(0);
46986 ;
46987 return 0;
46988 }
46989 _ACEOF
46990 if ac_fn_cxx_try_compile "$LINENO"; then :
46991 glibcxx_cv_func_isnanf_use=yes
46992 else
46993 glibcxx_cv_func_isnanf_use=no
46994 fi
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46996 ac_ext=c
46997 ac_cpp='$CPP $CPPFLAGS'
46998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47001
47002
47003 fi
47004
47005 fi
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47007 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47008
47009 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47010 for ac_func in isnanf
47011 do :
47012 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47013 if test "x$ac_cv_func_isnanf" = x""yes; then :
47014 cat >>confdefs.h <<_ACEOF
47015 #define HAVE_ISNANF 1
47016 _ACEOF
47017
47018 fi
47019 done
47020
47021 else
47022
47023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47024 $as_echo_n "checking for _isnanf declaration... " >&6; }
47025 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47026 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47027 $as_echo_n "(cached) " >&6
47028 else
47029
47030
47031 ac_ext=cpp
47032 ac_cpp='$CXXCPP $CPPFLAGS'
47033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47036
47037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47038 /* end confdefs.h. */
47039 #include <math.h>
47040 #ifdef HAVE_IEEEFP_H
47041 #include <ieeefp.h>
47042 #endif
47043
47044 int
47045 main ()
47046 {
47047 _isnanf(0);
47048 ;
47049 return 0;
47050 }
47051 _ACEOF
47052 if ac_fn_cxx_try_compile "$LINENO"; then :
47053 glibcxx_cv_func__isnanf_use=yes
47054 else
47055 glibcxx_cv_func__isnanf_use=no
47056 fi
47057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47058 ac_ext=c
47059 ac_cpp='$CPP $CPPFLAGS'
47060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47063
47064
47065 fi
47066
47067 fi
47068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47069 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47070
47071 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47072 for ac_func in _isnanf
47073 do :
47074 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47075 if test "x$ac_cv_func__isnanf" = x""yes; then :
47076 cat >>confdefs.h <<_ACEOF
47077 #define HAVE__ISNANF 1
47078 _ACEOF
47079
47080 fi
47081 done
47082
47083 fi
47084 fi
47085
47086
47087
47088
47089
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47091 $as_echo_n "checking for isinff declaration... " >&6; }
47092 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47093 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47094 $as_echo_n "(cached) " >&6
47095 else
47096
47097
47098 ac_ext=cpp
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103
47104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47105 /* end confdefs.h. */
47106 #include <math.h>
47107 #ifdef HAVE_IEEEFP_H
47108 #include <ieeefp.h>
47109 #endif
47110
47111 int
47112 main ()
47113 {
47114 isinff(0);
47115 ;
47116 return 0;
47117 }
47118 _ACEOF
47119 if ac_fn_cxx_try_compile "$LINENO"; then :
47120 glibcxx_cv_func_isinff_use=yes
47121 else
47122 glibcxx_cv_func_isinff_use=no
47123 fi
47124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47125 ac_ext=c
47126 ac_cpp='$CPP $CPPFLAGS'
47127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47130
47131
47132 fi
47133
47134 fi
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47136 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47137
47138 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47139 for ac_func in isinff
47140 do :
47141 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47142 if test "x$ac_cv_func_isinff" = x""yes; then :
47143 cat >>confdefs.h <<_ACEOF
47144 #define HAVE_ISINFF 1
47145 _ACEOF
47146
47147 fi
47148 done
47149
47150 else
47151
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47153 $as_echo_n "checking for _isinff declaration... " >&6; }
47154 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47155 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47156 $as_echo_n "(cached) " >&6
47157 else
47158
47159
47160 ac_ext=cpp
47161 ac_cpp='$CXXCPP $CPPFLAGS'
47162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47165
47166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47167 /* end confdefs.h. */
47168 #include <math.h>
47169 #ifdef HAVE_IEEEFP_H
47170 #include <ieeefp.h>
47171 #endif
47172
47173 int
47174 main ()
47175 {
47176 _isinff(0);
47177 ;
47178 return 0;
47179 }
47180 _ACEOF
47181 if ac_fn_cxx_try_compile "$LINENO"; then :
47182 glibcxx_cv_func__isinff_use=yes
47183 else
47184 glibcxx_cv_func__isinff_use=no
47185 fi
47186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47187 ac_ext=c
47188 ac_cpp='$CPP $CPPFLAGS'
47189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47192
47193
47194 fi
47195
47196 fi
47197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47198 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47199
47200 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47201 for ac_func in _isinff
47202 do :
47203 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47204 if test "x$ac_cv_func__isinff" = x""yes; then :
47205 cat >>confdefs.h <<_ACEOF
47206 #define HAVE__ISINFF 1
47207 _ACEOF
47208
47209 fi
47210 done
47211
47212 fi
47213 fi
47214
47215
47216
47217
47218
47219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47220 $as_echo_n "checking for atan2f declaration... " >&6; }
47221 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47222 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47223 $as_echo_n "(cached) " >&6
47224 else
47225
47226
47227 ac_ext=cpp
47228 ac_cpp='$CXXCPP $CPPFLAGS'
47229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47232
47233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47234 /* end confdefs.h. */
47235 #include <math.h>
47236 int
47237 main ()
47238 {
47239 atan2f(0, 0);
47240 ;
47241 return 0;
47242 }
47243 _ACEOF
47244 if ac_fn_cxx_try_compile "$LINENO"; then :
47245 glibcxx_cv_func_atan2f_use=yes
47246 else
47247 glibcxx_cv_func_atan2f_use=no
47248 fi
47249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47250 ac_ext=c
47251 ac_cpp='$CPP $CPPFLAGS'
47252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47255
47256
47257 fi
47258
47259 fi
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47261 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47262
47263 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47264 for ac_func in atan2f
47265 do :
47266 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47267 if test "x$ac_cv_func_atan2f" = x""yes; then :
47268 cat >>confdefs.h <<_ACEOF
47269 #define HAVE_ATAN2F 1
47270 _ACEOF
47271
47272 fi
47273 done
47274
47275 else
47276
47277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47278 $as_echo_n "checking for _atan2f declaration... " >&6; }
47279 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47280 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47281 $as_echo_n "(cached) " >&6
47282 else
47283
47284
47285 ac_ext=cpp
47286 ac_cpp='$CXXCPP $CPPFLAGS'
47287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47290
47291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47292 /* end confdefs.h. */
47293 #include <math.h>
47294 int
47295 main ()
47296 {
47297 _atan2f(0, 0);
47298 ;
47299 return 0;
47300 }
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303 glibcxx_cv_func__atan2f_use=yes
47304 else
47305 glibcxx_cv_func__atan2f_use=no
47306 fi
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308 ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47313
47314
47315 fi
47316
47317 fi
47318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47319 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47320
47321 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47322 for ac_func in _atan2f
47323 do :
47324 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47325 if test "x$ac_cv_func__atan2f" = x""yes; then :
47326 cat >>confdefs.h <<_ACEOF
47327 #define HAVE__ATAN2F 1
47328 _ACEOF
47329
47330 fi
47331 done
47332
47333 fi
47334 fi
47335
47336
47337
47338
47339
47340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47341 $as_echo_n "checking for fabsf declaration... " >&6; }
47342 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47343 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47344 $as_echo_n "(cached) " >&6
47345 else
47346
47347
47348 ac_ext=cpp
47349 ac_cpp='$CXXCPP $CPPFLAGS'
47350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47353
47354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47355 /* end confdefs.h. */
47356 #include <math.h>
47357 #ifdef HAVE_IEEEFP_H
47358 #include <ieeefp.h>
47359 #endif
47360
47361 int
47362 main ()
47363 {
47364 fabsf(0);
47365 ;
47366 return 0;
47367 }
47368 _ACEOF
47369 if ac_fn_cxx_try_compile "$LINENO"; then :
47370 glibcxx_cv_func_fabsf_use=yes
47371 else
47372 glibcxx_cv_func_fabsf_use=no
47373 fi
47374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47375 ac_ext=c
47376 ac_cpp='$CPP $CPPFLAGS'
47377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47380
47381
47382 fi
47383
47384 fi
47385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47386 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47387
47388 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47389 for ac_func in fabsf
47390 do :
47391 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47392 if test "x$ac_cv_func_fabsf" = x""yes; then :
47393 cat >>confdefs.h <<_ACEOF
47394 #define HAVE_FABSF 1
47395 _ACEOF
47396
47397 fi
47398 done
47399
47400 else
47401
47402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47403 $as_echo_n "checking for _fabsf declaration... " >&6; }
47404 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47405 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47406 $as_echo_n "(cached) " >&6
47407 else
47408
47409
47410 ac_ext=cpp
47411 ac_cpp='$CXXCPP $CPPFLAGS'
47412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47415
47416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47417 /* end confdefs.h. */
47418 #include <math.h>
47419 #ifdef HAVE_IEEEFP_H
47420 #include <ieeefp.h>
47421 #endif
47422
47423 int
47424 main ()
47425 {
47426 _fabsf(0);
47427 ;
47428 return 0;
47429 }
47430 _ACEOF
47431 if ac_fn_cxx_try_compile "$LINENO"; then :
47432 glibcxx_cv_func__fabsf_use=yes
47433 else
47434 glibcxx_cv_func__fabsf_use=no
47435 fi
47436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47437 ac_ext=c
47438 ac_cpp='$CPP $CPPFLAGS'
47439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47442
47443
47444 fi
47445
47446 fi
47447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47448 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47449
47450 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47451 for ac_func in _fabsf
47452 do :
47453 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47454 if test "x$ac_cv_func__fabsf" = x""yes; then :
47455 cat >>confdefs.h <<_ACEOF
47456 #define HAVE__FABSF 1
47457 _ACEOF
47458
47459 fi
47460 done
47461
47462 fi
47463 fi
47464
47465
47466
47467
47468
47469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47470 $as_echo_n "checking for fmodf declaration... " >&6; }
47471 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47472 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47473 $as_echo_n "(cached) " >&6
47474 else
47475
47476
47477 ac_ext=cpp
47478 ac_cpp='$CXXCPP $CPPFLAGS'
47479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47482
47483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47484 /* end confdefs.h. */
47485 #include <math.h>
47486 int
47487 main ()
47488 {
47489 fmodf(0, 0);
47490 ;
47491 return 0;
47492 }
47493 _ACEOF
47494 if ac_fn_cxx_try_compile "$LINENO"; then :
47495 glibcxx_cv_func_fmodf_use=yes
47496 else
47497 glibcxx_cv_func_fmodf_use=no
47498 fi
47499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47500 ac_ext=c
47501 ac_cpp='$CPP $CPPFLAGS'
47502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47505
47506
47507 fi
47508
47509 fi
47510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47511 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47512
47513 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47514 for ac_func in fmodf
47515 do :
47516 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47517 if test "x$ac_cv_func_fmodf" = x""yes; then :
47518 cat >>confdefs.h <<_ACEOF
47519 #define HAVE_FMODF 1
47520 _ACEOF
47521
47522 fi
47523 done
47524
47525 else
47526
47527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47528 $as_echo_n "checking for _fmodf declaration... " >&6; }
47529 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47530 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47531 $as_echo_n "(cached) " >&6
47532 else
47533
47534
47535 ac_ext=cpp
47536 ac_cpp='$CXXCPP $CPPFLAGS'
47537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47540
47541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47542 /* end confdefs.h. */
47543 #include <math.h>
47544 int
47545 main ()
47546 {
47547 _fmodf(0, 0);
47548 ;
47549 return 0;
47550 }
47551 _ACEOF
47552 if ac_fn_cxx_try_compile "$LINENO"; then :
47553 glibcxx_cv_func__fmodf_use=yes
47554 else
47555 glibcxx_cv_func__fmodf_use=no
47556 fi
47557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47558 ac_ext=c
47559 ac_cpp='$CPP $CPPFLAGS'
47560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47563
47564
47565 fi
47566
47567 fi
47568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47569 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47570
47571 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47572 for ac_func in _fmodf
47573 do :
47574 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47575 if test "x$ac_cv_func__fmodf" = x""yes; then :
47576 cat >>confdefs.h <<_ACEOF
47577 #define HAVE__FMODF 1
47578 _ACEOF
47579
47580 fi
47581 done
47582
47583 fi
47584 fi
47585
47586
47587
47588
47589
47590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47591 $as_echo_n "checking for frexpf declaration... " >&6; }
47592 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47593 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47594 $as_echo_n "(cached) " >&6
47595 else
47596
47597
47598 ac_ext=cpp
47599 ac_cpp='$CXXCPP $CPPFLAGS'
47600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47603
47604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47605 /* end confdefs.h. */
47606 #include <math.h>
47607 int
47608 main ()
47609 {
47610 frexpf(0, 0);
47611 ;
47612 return 0;
47613 }
47614 _ACEOF
47615 if ac_fn_cxx_try_compile "$LINENO"; then :
47616 glibcxx_cv_func_frexpf_use=yes
47617 else
47618 glibcxx_cv_func_frexpf_use=no
47619 fi
47620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47621 ac_ext=c
47622 ac_cpp='$CPP $CPPFLAGS'
47623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47626
47627
47628 fi
47629
47630 fi
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47632 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47633
47634 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47635 for ac_func in frexpf
47636 do :
47637 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47638 if test "x$ac_cv_func_frexpf" = x""yes; then :
47639 cat >>confdefs.h <<_ACEOF
47640 #define HAVE_FREXPF 1
47641 _ACEOF
47642
47643 fi
47644 done
47645
47646 else
47647
47648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47649 $as_echo_n "checking for _frexpf declaration... " >&6; }
47650 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47651 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47652 $as_echo_n "(cached) " >&6
47653 else
47654
47655
47656 ac_ext=cpp
47657 ac_cpp='$CXXCPP $CPPFLAGS'
47658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47661
47662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47663 /* end confdefs.h. */
47664 #include <math.h>
47665 int
47666 main ()
47667 {
47668 _frexpf(0, 0);
47669 ;
47670 return 0;
47671 }
47672 _ACEOF
47673 if ac_fn_cxx_try_compile "$LINENO"; then :
47674 glibcxx_cv_func__frexpf_use=yes
47675 else
47676 glibcxx_cv_func__frexpf_use=no
47677 fi
47678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47679 ac_ext=c
47680 ac_cpp='$CPP $CPPFLAGS'
47681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47684
47685
47686 fi
47687
47688 fi
47689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47690 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47691
47692 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47693 for ac_func in _frexpf
47694 do :
47695 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47696 if test "x$ac_cv_func__frexpf" = x""yes; then :
47697 cat >>confdefs.h <<_ACEOF
47698 #define HAVE__FREXPF 1
47699 _ACEOF
47700
47701 fi
47702 done
47703
47704 fi
47705 fi
47706
47707
47708
47709
47710
47711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47712 $as_echo_n "checking for hypotf declaration... " >&6; }
47713 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47714 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47715 $as_echo_n "(cached) " >&6
47716 else
47717
47718
47719 ac_ext=cpp
47720 ac_cpp='$CXXCPP $CPPFLAGS'
47721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47724
47725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47726 /* end confdefs.h. */
47727 #include <math.h>
47728 int
47729 main ()
47730 {
47731 hypotf(0, 0);
47732 ;
47733 return 0;
47734 }
47735 _ACEOF
47736 if ac_fn_cxx_try_compile "$LINENO"; then :
47737 glibcxx_cv_func_hypotf_use=yes
47738 else
47739 glibcxx_cv_func_hypotf_use=no
47740 fi
47741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47742 ac_ext=c
47743 ac_cpp='$CPP $CPPFLAGS'
47744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47747
47748
47749 fi
47750
47751 fi
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47753 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47754
47755 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47756 for ac_func in hypotf
47757 do :
47758 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47759 if test "x$ac_cv_func_hypotf" = x""yes; then :
47760 cat >>confdefs.h <<_ACEOF
47761 #define HAVE_HYPOTF 1
47762 _ACEOF
47763
47764 fi
47765 done
47766
47767 else
47768
47769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47770 $as_echo_n "checking for _hypotf declaration... " >&6; }
47771 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47772 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47773 $as_echo_n "(cached) " >&6
47774 else
47775
47776
47777 ac_ext=cpp
47778 ac_cpp='$CXXCPP $CPPFLAGS'
47779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47782
47783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47784 /* end confdefs.h. */
47785 #include <math.h>
47786 int
47787 main ()
47788 {
47789 _hypotf(0, 0);
47790 ;
47791 return 0;
47792 }
47793 _ACEOF
47794 if ac_fn_cxx_try_compile "$LINENO"; then :
47795 glibcxx_cv_func__hypotf_use=yes
47796 else
47797 glibcxx_cv_func__hypotf_use=no
47798 fi
47799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47800 ac_ext=c
47801 ac_cpp='$CPP $CPPFLAGS'
47802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47805
47806
47807 fi
47808
47809 fi
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47811 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47812
47813 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47814 for ac_func in _hypotf
47815 do :
47816 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47817 if test "x$ac_cv_func__hypotf" = x""yes; then :
47818 cat >>confdefs.h <<_ACEOF
47819 #define HAVE__HYPOTF 1
47820 _ACEOF
47821
47822 fi
47823 done
47824
47825 fi
47826 fi
47827
47828
47829
47830
47831
47832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47833 $as_echo_n "checking for ldexpf declaration... " >&6; }
47834 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47835 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47836 $as_echo_n "(cached) " >&6
47837 else
47838
47839
47840 ac_ext=cpp
47841 ac_cpp='$CXXCPP $CPPFLAGS'
47842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47845
47846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47847 /* end confdefs.h. */
47848 #include <math.h>
47849 int
47850 main ()
47851 {
47852 ldexpf(0, 0);
47853 ;
47854 return 0;
47855 }
47856 _ACEOF
47857 if ac_fn_cxx_try_compile "$LINENO"; then :
47858 glibcxx_cv_func_ldexpf_use=yes
47859 else
47860 glibcxx_cv_func_ldexpf_use=no
47861 fi
47862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47863 ac_ext=c
47864 ac_cpp='$CPP $CPPFLAGS'
47865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47868
47869
47870 fi
47871
47872 fi
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47874 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47875
47876 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47877 for ac_func in ldexpf
47878 do :
47879 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47880 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47881 cat >>confdefs.h <<_ACEOF
47882 #define HAVE_LDEXPF 1
47883 _ACEOF
47884
47885 fi
47886 done
47887
47888 else
47889
47890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47891 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47892 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47893 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47894 $as_echo_n "(cached) " >&6
47895 else
47896
47897
47898 ac_ext=cpp
47899 ac_cpp='$CXXCPP $CPPFLAGS'
47900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47903
47904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47905 /* end confdefs.h. */
47906 #include <math.h>
47907 int
47908 main ()
47909 {
47910 _ldexpf(0, 0);
47911 ;
47912 return 0;
47913 }
47914 _ACEOF
47915 if ac_fn_cxx_try_compile "$LINENO"; then :
47916 glibcxx_cv_func__ldexpf_use=yes
47917 else
47918 glibcxx_cv_func__ldexpf_use=no
47919 fi
47920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47921 ac_ext=c
47922 ac_cpp='$CPP $CPPFLAGS'
47923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926
47927
47928 fi
47929
47930 fi
47931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47932 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47933
47934 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47935 for ac_func in _ldexpf
47936 do :
47937 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47938 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47939 cat >>confdefs.h <<_ACEOF
47940 #define HAVE__LDEXPF 1
47941 _ACEOF
47942
47943 fi
47944 done
47945
47946 fi
47947 fi
47948
47949
47950
47951
47952
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47954 $as_echo_n "checking for logf declaration... " >&6; }
47955 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47956 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47957 $as_echo_n "(cached) " >&6
47958 else
47959
47960
47961 ac_ext=cpp
47962 ac_cpp='$CXXCPP $CPPFLAGS'
47963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47966
47967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47968 /* end confdefs.h. */
47969 #include <math.h>
47970 #ifdef HAVE_IEEEFP_H
47971 #include <ieeefp.h>
47972 #endif
47973
47974 int
47975 main ()
47976 {
47977 logf(0);
47978 ;
47979 return 0;
47980 }
47981 _ACEOF
47982 if ac_fn_cxx_try_compile "$LINENO"; then :
47983 glibcxx_cv_func_logf_use=yes
47984 else
47985 glibcxx_cv_func_logf_use=no
47986 fi
47987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47988 ac_ext=c
47989 ac_cpp='$CPP $CPPFLAGS'
47990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993
47994
47995 fi
47996
47997 fi
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47999 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48000
48001 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48002 for ac_func in logf
48003 do :
48004 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48005 if test "x$ac_cv_func_logf" = x""yes; then :
48006 cat >>confdefs.h <<_ACEOF
48007 #define HAVE_LOGF 1
48008 _ACEOF
48009
48010 fi
48011 done
48012
48013 else
48014
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48016 $as_echo_n "checking for _logf declaration... " >&6; }
48017 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48018 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48019 $as_echo_n "(cached) " >&6
48020 else
48021
48022
48023 ac_ext=cpp
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48028
48029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h. */
48031 #include <math.h>
48032 #ifdef HAVE_IEEEFP_H
48033 #include <ieeefp.h>
48034 #endif
48035
48036 int
48037 main ()
48038 {
48039 _logf(0);
48040 ;
48041 return 0;
48042 }
48043 _ACEOF
48044 if ac_fn_cxx_try_compile "$LINENO"; then :
48045 glibcxx_cv_func__logf_use=yes
48046 else
48047 glibcxx_cv_func__logf_use=no
48048 fi
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48050 ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48055
48056
48057 fi
48058
48059 fi
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48061 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48062
48063 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48064 for ac_func in _logf
48065 do :
48066 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48067 if test "x$ac_cv_func__logf" = x""yes; then :
48068 cat >>confdefs.h <<_ACEOF
48069 #define HAVE__LOGF 1
48070 _ACEOF
48071
48072 fi
48073 done
48074
48075 fi
48076 fi
48077
48078
48079
48080
48081
48082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48083 $as_echo_n "checking for log10f declaration... " >&6; }
48084 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48085 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48086 $as_echo_n "(cached) " >&6
48087 else
48088
48089
48090 ac_ext=cpp
48091 ac_cpp='$CXXCPP $CPPFLAGS'
48092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48095
48096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48097 /* end confdefs.h. */
48098 #include <math.h>
48099 #ifdef HAVE_IEEEFP_H
48100 #include <ieeefp.h>
48101 #endif
48102
48103 int
48104 main ()
48105 {
48106 log10f(0);
48107 ;
48108 return 0;
48109 }
48110 _ACEOF
48111 if ac_fn_cxx_try_compile "$LINENO"; then :
48112 glibcxx_cv_func_log10f_use=yes
48113 else
48114 glibcxx_cv_func_log10f_use=no
48115 fi
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48117 ac_ext=c
48118 ac_cpp='$CPP $CPPFLAGS'
48119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48122
48123
48124 fi
48125
48126 fi
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48128 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48129
48130 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48131 for ac_func in log10f
48132 do :
48133 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48134 if test "x$ac_cv_func_log10f" = x""yes; then :
48135 cat >>confdefs.h <<_ACEOF
48136 #define HAVE_LOG10F 1
48137 _ACEOF
48138
48139 fi
48140 done
48141
48142 else
48143
48144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48145 $as_echo_n "checking for _log10f declaration... " >&6; }
48146 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48147 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48148 $as_echo_n "(cached) " >&6
48149 else
48150
48151
48152 ac_ext=cpp
48153 ac_cpp='$CXXCPP $CPPFLAGS'
48154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48157
48158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48159 /* end confdefs.h. */
48160 #include <math.h>
48161 #ifdef HAVE_IEEEFP_H
48162 #include <ieeefp.h>
48163 #endif
48164
48165 int
48166 main ()
48167 {
48168 _log10f(0);
48169 ;
48170 return 0;
48171 }
48172 _ACEOF
48173 if ac_fn_cxx_try_compile "$LINENO"; then :
48174 glibcxx_cv_func__log10f_use=yes
48175 else
48176 glibcxx_cv_func__log10f_use=no
48177 fi
48178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48179 ac_ext=c
48180 ac_cpp='$CPP $CPPFLAGS'
48181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48184
48185
48186 fi
48187
48188 fi
48189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48190 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48191
48192 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48193 for ac_func in _log10f
48194 do :
48195 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48196 if test "x$ac_cv_func__log10f" = x""yes; then :
48197 cat >>confdefs.h <<_ACEOF
48198 #define HAVE__LOG10F 1
48199 _ACEOF
48200
48201 fi
48202 done
48203
48204 fi
48205 fi
48206
48207
48208
48209
48210
48211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48212 $as_echo_n "checking for modff declaration... " >&6; }
48213 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48214 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48215 $as_echo_n "(cached) " >&6
48216 else
48217
48218
48219 ac_ext=cpp
48220 ac_cpp='$CXXCPP $CPPFLAGS'
48221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48224
48225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48226 /* end confdefs.h. */
48227 #include <math.h>
48228 int
48229 main ()
48230 {
48231 modff(0, 0);
48232 ;
48233 return 0;
48234 }
48235 _ACEOF
48236 if ac_fn_cxx_try_compile "$LINENO"; then :
48237 glibcxx_cv_func_modff_use=yes
48238 else
48239 glibcxx_cv_func_modff_use=no
48240 fi
48241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48242 ac_ext=c
48243 ac_cpp='$CPP $CPPFLAGS'
48244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48247
48248
48249 fi
48250
48251 fi
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48253 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48254
48255 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48256 for ac_func in modff
48257 do :
48258 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48259 if test "x$ac_cv_func_modff" = x""yes; then :
48260 cat >>confdefs.h <<_ACEOF
48261 #define HAVE_MODFF 1
48262 _ACEOF
48263
48264 fi
48265 done
48266
48267 else
48268
48269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48270 $as_echo_n "checking for _modff declaration... " >&6; }
48271 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48272 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48273 $as_echo_n "(cached) " >&6
48274 else
48275
48276
48277 ac_ext=cpp
48278 ac_cpp='$CXXCPP $CPPFLAGS'
48279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48282
48283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48284 /* end confdefs.h. */
48285 #include <math.h>
48286 int
48287 main ()
48288 {
48289 _modff(0, 0);
48290 ;
48291 return 0;
48292 }
48293 _ACEOF
48294 if ac_fn_cxx_try_compile "$LINENO"; then :
48295 glibcxx_cv_func__modff_use=yes
48296 else
48297 glibcxx_cv_func__modff_use=no
48298 fi
48299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48300 ac_ext=c
48301 ac_cpp='$CPP $CPPFLAGS'
48302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48305
48306
48307 fi
48308
48309 fi
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48311 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48312
48313 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48314 for ac_func in _modff
48315 do :
48316 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48317 if test "x$ac_cv_func__modff" = x""yes; then :
48318 cat >>confdefs.h <<_ACEOF
48319 #define HAVE__MODFF 1
48320 _ACEOF
48321
48322 fi
48323 done
48324
48325 fi
48326 fi
48327
48328
48329
48330
48331
48332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48333 $as_echo_n "checking for modf declaration... " >&6; }
48334 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48335 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48336 $as_echo_n "(cached) " >&6
48337 else
48338
48339
48340 ac_ext=cpp
48341 ac_cpp='$CXXCPP $CPPFLAGS'
48342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48345
48346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48347 /* end confdefs.h. */
48348 #include <math.h>
48349 int
48350 main ()
48351 {
48352 modf(0, 0);
48353 ;
48354 return 0;
48355 }
48356 _ACEOF
48357 if ac_fn_cxx_try_compile "$LINENO"; then :
48358 glibcxx_cv_func_modf_use=yes
48359 else
48360 glibcxx_cv_func_modf_use=no
48361 fi
48362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48363 ac_ext=c
48364 ac_cpp='$CPP $CPPFLAGS'
48365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48368
48369
48370 fi
48371
48372 fi
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48374 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48375
48376 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48377 for ac_func in modf
48378 do :
48379 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48380 if test "x$ac_cv_func_modf" = x""yes; then :
48381 cat >>confdefs.h <<_ACEOF
48382 #define HAVE_MODF 1
48383 _ACEOF
48384
48385 fi
48386 done
48387
48388 else
48389
48390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48391 $as_echo_n "checking for _modf declaration... " >&6; }
48392 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48393 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48394 $as_echo_n "(cached) " >&6
48395 else
48396
48397
48398 ac_ext=cpp
48399 ac_cpp='$CXXCPP $CPPFLAGS'
48400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48403
48404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48405 /* end confdefs.h. */
48406 #include <math.h>
48407 int
48408 main ()
48409 {
48410 _modf(0, 0);
48411 ;
48412 return 0;
48413 }
48414 _ACEOF
48415 if ac_fn_cxx_try_compile "$LINENO"; then :
48416 glibcxx_cv_func__modf_use=yes
48417 else
48418 glibcxx_cv_func__modf_use=no
48419 fi
48420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48421 ac_ext=c
48422 ac_cpp='$CPP $CPPFLAGS'
48423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48426
48427
48428 fi
48429
48430 fi
48431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48432 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48433
48434 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48435 for ac_func in _modf
48436 do :
48437 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48438 if test "x$ac_cv_func__modf" = x""yes; then :
48439 cat >>confdefs.h <<_ACEOF
48440 #define HAVE__MODF 1
48441 _ACEOF
48442
48443 fi
48444 done
48445
48446 fi
48447 fi
48448
48449
48450
48451
48452
48453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48454 $as_echo_n "checking for powf declaration... " >&6; }
48455 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48456 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48457 $as_echo_n "(cached) " >&6
48458 else
48459
48460
48461 ac_ext=cpp
48462 ac_cpp='$CXXCPP $CPPFLAGS'
48463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48466
48467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48468 /* end confdefs.h. */
48469 #include <math.h>
48470 int
48471 main ()
48472 {
48473 powf(0, 0);
48474 ;
48475 return 0;
48476 }
48477 _ACEOF
48478 if ac_fn_cxx_try_compile "$LINENO"; then :
48479 glibcxx_cv_func_powf_use=yes
48480 else
48481 glibcxx_cv_func_powf_use=no
48482 fi
48483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48484 ac_ext=c
48485 ac_cpp='$CPP $CPPFLAGS'
48486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48489
48490
48491 fi
48492
48493 fi
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48495 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48496
48497 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48498 for ac_func in powf
48499 do :
48500 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48501 if test "x$ac_cv_func_powf" = x""yes; then :
48502 cat >>confdefs.h <<_ACEOF
48503 #define HAVE_POWF 1
48504 _ACEOF
48505
48506 fi
48507 done
48508
48509 else
48510
48511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48512 $as_echo_n "checking for _powf declaration... " >&6; }
48513 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48514 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48515 $as_echo_n "(cached) " >&6
48516 else
48517
48518
48519 ac_ext=cpp
48520 ac_cpp='$CXXCPP $CPPFLAGS'
48521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48524
48525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48526 /* end confdefs.h. */
48527 #include <math.h>
48528 int
48529 main ()
48530 {
48531 _powf(0, 0);
48532 ;
48533 return 0;
48534 }
48535 _ACEOF
48536 if ac_fn_cxx_try_compile "$LINENO"; then :
48537 glibcxx_cv_func__powf_use=yes
48538 else
48539 glibcxx_cv_func__powf_use=no
48540 fi
48541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48542 ac_ext=c
48543 ac_cpp='$CPP $CPPFLAGS'
48544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48547
48548
48549 fi
48550
48551 fi
48552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48553 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48554
48555 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48556 for ac_func in _powf
48557 do :
48558 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48559 if test "x$ac_cv_func__powf" = x""yes; then :
48560 cat >>confdefs.h <<_ACEOF
48561 #define HAVE__POWF 1
48562 _ACEOF
48563
48564 fi
48565 done
48566
48567 fi
48568 fi
48569
48570
48571
48572
48573
48574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48575 $as_echo_n "checking for sqrtf declaration... " >&6; }
48576 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48577 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48578 $as_echo_n "(cached) " >&6
48579 else
48580
48581
48582 ac_ext=cpp
48583 ac_cpp='$CXXCPP $CPPFLAGS'
48584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48587
48588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48589 /* end confdefs.h. */
48590 #include <math.h>
48591 #ifdef HAVE_IEEEFP_H
48592 #include <ieeefp.h>
48593 #endif
48594
48595 int
48596 main ()
48597 {
48598 sqrtf(0);
48599 ;
48600 return 0;
48601 }
48602 _ACEOF
48603 if ac_fn_cxx_try_compile "$LINENO"; then :
48604 glibcxx_cv_func_sqrtf_use=yes
48605 else
48606 glibcxx_cv_func_sqrtf_use=no
48607 fi
48608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48609 ac_ext=c
48610 ac_cpp='$CPP $CPPFLAGS'
48611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48614
48615
48616 fi
48617
48618 fi
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48620 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48621
48622 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48623 for ac_func in sqrtf
48624 do :
48625 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48626 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48627 cat >>confdefs.h <<_ACEOF
48628 #define HAVE_SQRTF 1
48629 _ACEOF
48630
48631 fi
48632 done
48633
48634 else
48635
48636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48637 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48638 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48639 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48640 $as_echo_n "(cached) " >&6
48641 else
48642
48643
48644 ac_ext=cpp
48645 ac_cpp='$CXXCPP $CPPFLAGS'
48646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48649
48650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48651 /* end confdefs.h. */
48652 #include <math.h>
48653 #ifdef HAVE_IEEEFP_H
48654 #include <ieeefp.h>
48655 #endif
48656
48657 int
48658 main ()
48659 {
48660 _sqrtf(0);
48661 ;
48662 return 0;
48663 }
48664 _ACEOF
48665 if ac_fn_cxx_try_compile "$LINENO"; then :
48666 glibcxx_cv_func__sqrtf_use=yes
48667 else
48668 glibcxx_cv_func__sqrtf_use=no
48669 fi
48670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48671 ac_ext=c
48672 ac_cpp='$CPP $CPPFLAGS'
48673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48676
48677
48678 fi
48679
48680 fi
48681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48682 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48683
48684 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48685 for ac_func in _sqrtf
48686 do :
48687 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48688 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48689 cat >>confdefs.h <<_ACEOF
48690 #define HAVE__SQRTF 1
48691 _ACEOF
48692
48693 fi
48694 done
48695
48696 fi
48697 fi
48698
48699
48700
48701
48702
48703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48704 $as_echo_n "checking for sincosf declaration... " >&6; }
48705 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48706 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48707 $as_echo_n "(cached) " >&6
48708 else
48709
48710
48711 ac_ext=cpp
48712 ac_cpp='$CXXCPP $CPPFLAGS'
48713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48716
48717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48718 /* end confdefs.h. */
48719 #include <math.h>
48720 int
48721 main ()
48722 {
48723 sincosf(0, 0, 0);
48724 ;
48725 return 0;
48726 }
48727 _ACEOF
48728 if ac_fn_cxx_try_compile "$LINENO"; then :
48729 glibcxx_cv_func_sincosf_use=yes
48730 else
48731 glibcxx_cv_func_sincosf_use=no
48732 fi
48733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48734 ac_ext=c
48735 ac_cpp='$CPP $CPPFLAGS'
48736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48739
48740
48741 fi
48742
48743 fi
48744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48745 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48746
48747 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48748 for ac_func in sincosf
48749 do :
48750 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48751 if test "x$ac_cv_func_sincosf" = x""yes; then :
48752 cat >>confdefs.h <<_ACEOF
48753 #define HAVE_SINCOSF 1
48754 _ACEOF
48755
48756 fi
48757 done
48758
48759 else
48760
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48762 $as_echo_n "checking for _sincosf declaration... " >&6; }
48763 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48764 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48765 $as_echo_n "(cached) " >&6
48766 else
48767
48768
48769 ac_ext=cpp
48770 ac_cpp='$CXXCPP $CPPFLAGS'
48771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48774
48775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48776 /* end confdefs.h. */
48777 #include <math.h>
48778 int
48779 main ()
48780 {
48781 _sincosf(0, 0, 0);
48782 ;
48783 return 0;
48784 }
48785 _ACEOF
48786 if ac_fn_cxx_try_compile "$LINENO"; then :
48787 glibcxx_cv_func__sincosf_use=yes
48788 else
48789 glibcxx_cv_func__sincosf_use=no
48790 fi
48791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48792 ac_ext=c
48793 ac_cpp='$CPP $CPPFLAGS'
48794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48797
48798
48799 fi
48800
48801 fi
48802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48803 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48804
48805 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48806 for ac_func in _sincosf
48807 do :
48808 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48809 if test "x$ac_cv_func__sincosf" = x""yes; then :
48810 cat >>confdefs.h <<_ACEOF
48811 #define HAVE__SINCOSF 1
48812 _ACEOF
48813
48814 fi
48815 done
48816
48817 fi
48818 fi
48819
48820
48821
48822
48823
48824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48825 $as_echo_n "checking for finitef declaration... " >&6; }
48826 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48827 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48828 $as_echo_n "(cached) " >&6
48829 else
48830
48831
48832 ac_ext=cpp
48833 ac_cpp='$CXXCPP $CPPFLAGS'
48834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48837
48838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48839 /* end confdefs.h. */
48840 #include <math.h>
48841 #ifdef HAVE_IEEEFP_H
48842 #include <ieeefp.h>
48843 #endif
48844
48845 int
48846 main ()
48847 {
48848 finitef(0);
48849 ;
48850 return 0;
48851 }
48852 _ACEOF
48853 if ac_fn_cxx_try_compile "$LINENO"; then :
48854 glibcxx_cv_func_finitef_use=yes
48855 else
48856 glibcxx_cv_func_finitef_use=no
48857 fi
48858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48859 ac_ext=c
48860 ac_cpp='$CPP $CPPFLAGS'
48861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48864
48865
48866 fi
48867
48868 fi
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48870 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48871
48872 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48873 for ac_func in finitef
48874 do :
48875 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48876 if test "x$ac_cv_func_finitef" = x""yes; then :
48877 cat >>confdefs.h <<_ACEOF
48878 #define HAVE_FINITEF 1
48879 _ACEOF
48880
48881 fi
48882 done
48883
48884 else
48885
48886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48887 $as_echo_n "checking for _finitef declaration... " >&6; }
48888 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48889 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48890 $as_echo_n "(cached) " >&6
48891 else
48892
48893
48894 ac_ext=cpp
48895 ac_cpp='$CXXCPP $CPPFLAGS'
48896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48899
48900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48901 /* end confdefs.h. */
48902 #include <math.h>
48903 #ifdef HAVE_IEEEFP_H
48904 #include <ieeefp.h>
48905 #endif
48906
48907 int
48908 main ()
48909 {
48910 _finitef(0);
48911 ;
48912 return 0;
48913 }
48914 _ACEOF
48915 if ac_fn_cxx_try_compile "$LINENO"; then :
48916 glibcxx_cv_func__finitef_use=yes
48917 else
48918 glibcxx_cv_func__finitef_use=no
48919 fi
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921 ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48926
48927
48928 fi
48929
48930 fi
48931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48932 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48933
48934 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48935 for ac_func in _finitef
48936 do :
48937 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48938 if test "x$ac_cv_func__finitef" = x""yes; then :
48939 cat >>confdefs.h <<_ACEOF
48940 #define HAVE__FINITEF 1
48941 _ACEOF
48942
48943 fi
48944 done
48945
48946 fi
48947 fi
48948
48949
48950
48951
48952
48953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48954 $as_echo_n "checking for long double trig functions... " >&6; }
48955 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48956 $as_echo_n "(cached) " >&6
48957 else
48958
48959
48960 ac_ext=cpp
48961 ac_cpp='$CXXCPP $CPPFLAGS'
48962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48965
48966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48967 /* end confdefs.h. */
48968 #include <math.h>
48969 int
48970 main ()
48971 {
48972 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48973 ;
48974 return 0;
48975 }
48976 _ACEOF
48977 if ac_fn_cxx_try_compile "$LINENO"; then :
48978 glibcxx_cv_func_long_double_trig_use=yes
48979 else
48980 glibcxx_cv_func_long_double_trig_use=no
48981 fi
48982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48983 ac_ext=c
48984 ac_cpp='$CPP $CPPFLAGS'
48985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48988
48989 fi
48990
48991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48992 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48993 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48994 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48995 do :
48996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48998 eval as_val=\$$as_ac_var
48999 if test "x$as_val" = x""yes; then :
49000 cat >>confdefs.h <<_ACEOF
49001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49002 _ACEOF
49003
49004 fi
49005 done
49006
49007 else
49008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49009 $as_echo_n "checking for _long double trig functions... " >&6; }
49010 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49011 $as_echo_n "(cached) " >&6
49012 else
49013
49014
49015 ac_ext=cpp
49016 ac_cpp='$CXXCPP $CPPFLAGS'
49017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49020
49021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49022 /* end confdefs.h. */
49023 #include <math.h>
49024 int
49025 main ()
49026 {
49027 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49028 ;
49029 return 0;
49030 }
49031 _ACEOF
49032 if ac_fn_cxx_try_compile "$LINENO"; then :
49033 glibcxx_cv_func__long_double_trig_use=yes
49034 else
49035 glibcxx_cv_func__long_double_trig_use=no
49036 fi
49037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49038 ac_ext=c
49039 ac_cpp='$CPP $CPPFLAGS'
49040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49043
49044 fi
49045
49046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49047 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49048 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49049 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49050 do :
49051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49053 eval as_val=\$$as_ac_var
49054 if test "x$as_val" = x""yes; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49057 _ACEOF
49058
49059 fi
49060 done
49061
49062 fi
49063 fi
49064
49065
49066
49067
49068
49069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49070 $as_echo_n "checking for long double round functions... " >&6; }
49071 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49072 $as_echo_n "(cached) " >&6
49073 else
49074
49075
49076 ac_ext=cpp
49077 ac_cpp='$CXXCPP $CPPFLAGS'
49078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49081
49082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49083 /* end confdefs.h. */
49084 #include <math.h>
49085 int
49086 main ()
49087 {
49088 ceill (0); floorl (0);
49089 ;
49090 return 0;
49091 }
49092 _ACEOF
49093 if ac_fn_cxx_try_compile "$LINENO"; then :
49094 glibcxx_cv_func_long_double_round_use=yes
49095 else
49096 glibcxx_cv_func_long_double_round_use=no
49097 fi
49098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49099 ac_ext=c
49100 ac_cpp='$CPP $CPPFLAGS'
49101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49104
49105 fi
49106
49107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49108 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49109 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49110 for ac_func in ceill floorl
49111 do :
49112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49114 eval as_val=\$$as_ac_var
49115 if test "x$as_val" = x""yes; then :
49116 cat >>confdefs.h <<_ACEOF
49117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49118 _ACEOF
49119
49120 fi
49121 done
49122
49123 else
49124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49125 $as_echo_n "checking for _long double round functions... " >&6; }
49126 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49127 $as_echo_n "(cached) " >&6
49128 else
49129
49130
49131 ac_ext=cpp
49132 ac_cpp='$CXXCPP $CPPFLAGS'
49133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49136
49137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49138 /* end confdefs.h. */
49139 #include <math.h>
49140 int
49141 main ()
49142 {
49143 _ceill (0); _floorl (0);
49144 ;
49145 return 0;
49146 }
49147 _ACEOF
49148 if ac_fn_cxx_try_compile "$LINENO"; then :
49149 glibcxx_cv_func__long_double_round_use=yes
49150 else
49151 glibcxx_cv_func__long_double_round_use=no
49152 fi
49153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49154 ac_ext=c
49155 ac_cpp='$CPP $CPPFLAGS'
49156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49159
49160 fi
49161
49162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49163 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49164 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49165 for ac_func in _ceill _floorl
49166 do :
49167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49169 eval as_val=\$$as_ac_var
49170 if test "x$as_val" = x""yes; then :
49171 cat >>confdefs.h <<_ACEOF
49172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49173 _ACEOF
49174
49175 fi
49176 done
49177
49178 fi
49179 fi
49180
49181
49182
49183
49184
49185
49186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49187 $as_echo_n "checking for isnanl declaration... " >&6; }
49188 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49189 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49190 $as_echo_n "(cached) " >&6
49191 else
49192
49193
49194 ac_ext=cpp
49195 ac_cpp='$CXXCPP $CPPFLAGS'
49196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49199
49200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49201 /* end confdefs.h. */
49202 #include <math.h>
49203 #ifdef HAVE_IEEEFP_H
49204 #include <ieeefp.h>
49205 #endif
49206
49207 int
49208 main ()
49209 {
49210 isnanl(0);
49211 ;
49212 return 0;
49213 }
49214 _ACEOF
49215 if ac_fn_cxx_try_compile "$LINENO"; then :
49216 glibcxx_cv_func_isnanl_use=yes
49217 else
49218 glibcxx_cv_func_isnanl_use=no
49219 fi
49220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49221 ac_ext=c
49222 ac_cpp='$CPP $CPPFLAGS'
49223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49226
49227
49228 fi
49229
49230 fi
49231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49232 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49233
49234 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49235 for ac_func in isnanl
49236 do :
49237 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49238 if test "x$ac_cv_func_isnanl" = x""yes; then :
49239 cat >>confdefs.h <<_ACEOF
49240 #define HAVE_ISNANL 1
49241 _ACEOF
49242
49243 fi
49244 done
49245
49246 else
49247
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49249 $as_echo_n "checking for _isnanl declaration... " >&6; }
49250 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49251 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49252 $as_echo_n "(cached) " >&6
49253 else
49254
49255
49256 ac_ext=cpp
49257 ac_cpp='$CXXCPP $CPPFLAGS'
49258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49261
49262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49263 /* end confdefs.h. */
49264 #include <math.h>
49265 #ifdef HAVE_IEEEFP_H
49266 #include <ieeefp.h>
49267 #endif
49268
49269 int
49270 main ()
49271 {
49272 _isnanl(0);
49273 ;
49274 return 0;
49275 }
49276 _ACEOF
49277 if ac_fn_cxx_try_compile "$LINENO"; then :
49278 glibcxx_cv_func__isnanl_use=yes
49279 else
49280 glibcxx_cv_func__isnanl_use=no
49281 fi
49282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49283 ac_ext=c
49284 ac_cpp='$CPP $CPPFLAGS'
49285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49288
49289
49290 fi
49291
49292 fi
49293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49294 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49295
49296 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49297 for ac_func in _isnanl
49298 do :
49299 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49300 if test "x$ac_cv_func__isnanl" = x""yes; then :
49301 cat >>confdefs.h <<_ACEOF
49302 #define HAVE__ISNANL 1
49303 _ACEOF
49304
49305 fi
49306 done
49307
49308 fi
49309 fi
49310
49311
49312
49313
49314
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49316 $as_echo_n "checking for isinfl declaration... " >&6; }
49317 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49318 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49319 $as_echo_n "(cached) " >&6
49320 else
49321
49322
49323 ac_ext=cpp
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328
49329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49330 /* end confdefs.h. */
49331 #include <math.h>
49332 #ifdef HAVE_IEEEFP_H
49333 #include <ieeefp.h>
49334 #endif
49335
49336 int
49337 main ()
49338 {
49339 isinfl(0);
49340 ;
49341 return 0;
49342 }
49343 _ACEOF
49344 if ac_fn_cxx_try_compile "$LINENO"; then :
49345 glibcxx_cv_func_isinfl_use=yes
49346 else
49347 glibcxx_cv_func_isinfl_use=no
49348 fi
49349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49350 ac_ext=c
49351 ac_cpp='$CPP $CPPFLAGS'
49352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355
49356
49357 fi
49358
49359 fi
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49361 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49362
49363 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49364 for ac_func in isinfl
49365 do :
49366 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49367 if test "x$ac_cv_func_isinfl" = x""yes; then :
49368 cat >>confdefs.h <<_ACEOF
49369 #define HAVE_ISINFL 1
49370 _ACEOF
49371
49372 fi
49373 done
49374
49375 else
49376
49377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49378 $as_echo_n "checking for _isinfl declaration... " >&6; }
49379 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49380 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49381 $as_echo_n "(cached) " >&6
49382 else
49383
49384
49385 ac_ext=cpp
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49390
49391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h. */
49393 #include <math.h>
49394 #ifdef HAVE_IEEEFP_H
49395 #include <ieeefp.h>
49396 #endif
49397
49398 int
49399 main ()
49400 {
49401 _isinfl(0);
49402 ;
49403 return 0;
49404 }
49405 _ACEOF
49406 if ac_fn_cxx_try_compile "$LINENO"; then :
49407 glibcxx_cv_func__isinfl_use=yes
49408 else
49409 glibcxx_cv_func__isinfl_use=no
49410 fi
49411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49412 ac_ext=c
49413 ac_cpp='$CPP $CPPFLAGS'
49414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49417
49418
49419 fi
49420
49421 fi
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49423 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49424
49425 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49426 for ac_func in _isinfl
49427 do :
49428 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49429 if test "x$ac_cv_func__isinfl" = x""yes; then :
49430 cat >>confdefs.h <<_ACEOF
49431 #define HAVE__ISINFL 1
49432 _ACEOF
49433
49434 fi
49435 done
49436
49437 fi
49438 fi
49439
49440
49441
49442
49443
49444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49445 $as_echo_n "checking for atan2l declaration... " >&6; }
49446 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49447 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49448 $as_echo_n "(cached) " >&6
49449 else
49450
49451
49452 ac_ext=cpp
49453 ac_cpp='$CXXCPP $CPPFLAGS'
49454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49457
49458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49459 /* end confdefs.h. */
49460 #include <math.h>
49461 int
49462 main ()
49463 {
49464 atan2l(0, 0);
49465 ;
49466 return 0;
49467 }
49468 _ACEOF
49469 if ac_fn_cxx_try_compile "$LINENO"; then :
49470 glibcxx_cv_func_atan2l_use=yes
49471 else
49472 glibcxx_cv_func_atan2l_use=no
49473 fi
49474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49475 ac_ext=c
49476 ac_cpp='$CPP $CPPFLAGS'
49477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49480
49481
49482 fi
49483
49484 fi
49485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49486 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49487
49488 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49489 for ac_func in atan2l
49490 do :
49491 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49492 if test "x$ac_cv_func_atan2l" = x""yes; then :
49493 cat >>confdefs.h <<_ACEOF
49494 #define HAVE_ATAN2L 1
49495 _ACEOF
49496
49497 fi
49498 done
49499
49500 else
49501
49502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49503 $as_echo_n "checking for _atan2l declaration... " >&6; }
49504 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49505 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49506 $as_echo_n "(cached) " >&6
49507 else
49508
49509
49510 ac_ext=cpp
49511 ac_cpp='$CXXCPP $CPPFLAGS'
49512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49515
49516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49517 /* end confdefs.h. */
49518 #include <math.h>
49519 int
49520 main ()
49521 {
49522 _atan2l(0, 0);
49523 ;
49524 return 0;
49525 }
49526 _ACEOF
49527 if ac_fn_cxx_try_compile "$LINENO"; then :
49528 glibcxx_cv_func__atan2l_use=yes
49529 else
49530 glibcxx_cv_func__atan2l_use=no
49531 fi
49532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49533 ac_ext=c
49534 ac_cpp='$CPP $CPPFLAGS'
49535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49538
49539
49540 fi
49541
49542 fi
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49544 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49545
49546 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49547 for ac_func in _atan2l
49548 do :
49549 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49550 if test "x$ac_cv_func__atan2l" = x""yes; then :
49551 cat >>confdefs.h <<_ACEOF
49552 #define HAVE__ATAN2L 1
49553 _ACEOF
49554
49555 fi
49556 done
49557
49558 fi
49559 fi
49560
49561
49562
49563
49564
49565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49566 $as_echo_n "checking for expl declaration... " >&6; }
49567 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49568 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49569 $as_echo_n "(cached) " >&6
49570 else
49571
49572
49573 ac_ext=cpp
49574 ac_cpp='$CXXCPP $CPPFLAGS'
49575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49578
49579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49580 /* end confdefs.h. */
49581 #include <math.h>
49582 #ifdef HAVE_IEEEFP_H
49583 #include <ieeefp.h>
49584 #endif
49585
49586 int
49587 main ()
49588 {
49589 expl(0);
49590 ;
49591 return 0;
49592 }
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595 glibcxx_cv_func_expl_use=yes
49596 else
49597 glibcxx_cv_func_expl_use=no
49598 fi
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600 ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605
49606
49607 fi
49608
49609 fi
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49611 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49612
49613 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49614 for ac_func in expl
49615 do :
49616 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49617 if test "x$ac_cv_func_expl" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define HAVE_EXPL 1
49620 _ACEOF
49621
49622 fi
49623 done
49624
49625 else
49626
49627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49628 $as_echo_n "checking for _expl declaration... " >&6; }
49629 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49630 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49631 $as_echo_n "(cached) " >&6
49632 else
49633
49634
49635 ac_ext=cpp
49636 ac_cpp='$CXXCPP $CPPFLAGS'
49637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49640
49641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49642 /* end confdefs.h. */
49643 #include <math.h>
49644 #ifdef HAVE_IEEEFP_H
49645 #include <ieeefp.h>
49646 #endif
49647
49648 int
49649 main ()
49650 {
49651 _expl(0);
49652 ;
49653 return 0;
49654 }
49655 _ACEOF
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657 glibcxx_cv_func__expl_use=yes
49658 else
49659 glibcxx_cv_func__expl_use=no
49660 fi
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662 ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49667
49668
49669 fi
49670
49671 fi
49672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49673 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49674
49675 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49676 for ac_func in _expl
49677 do :
49678 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49679 if test "x$ac_cv_func__expl" = x""yes; then :
49680 cat >>confdefs.h <<_ACEOF
49681 #define HAVE__EXPL 1
49682 _ACEOF
49683
49684 fi
49685 done
49686
49687 fi
49688 fi
49689
49690
49691
49692
49693
49694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49695 $as_echo_n "checking for fabsl declaration... " >&6; }
49696 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49697 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49698 $as_echo_n "(cached) " >&6
49699 else
49700
49701
49702 ac_ext=cpp
49703 ac_cpp='$CXXCPP $CPPFLAGS'
49704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49707
49708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49709 /* end confdefs.h. */
49710 #include <math.h>
49711 #ifdef HAVE_IEEEFP_H
49712 #include <ieeefp.h>
49713 #endif
49714
49715 int
49716 main ()
49717 {
49718 fabsl(0);
49719 ;
49720 return 0;
49721 }
49722 _ACEOF
49723 if ac_fn_cxx_try_compile "$LINENO"; then :
49724 glibcxx_cv_func_fabsl_use=yes
49725 else
49726 glibcxx_cv_func_fabsl_use=no
49727 fi
49728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49729 ac_ext=c
49730 ac_cpp='$CPP $CPPFLAGS'
49731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49734
49735
49736 fi
49737
49738 fi
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49740 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49741
49742 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49743 for ac_func in fabsl
49744 do :
49745 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49746 if test "x$ac_cv_func_fabsl" = x""yes; then :
49747 cat >>confdefs.h <<_ACEOF
49748 #define HAVE_FABSL 1
49749 _ACEOF
49750
49751 fi
49752 done
49753
49754 else
49755
49756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49757 $as_echo_n "checking for _fabsl declaration... " >&6; }
49758 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49759 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49760 $as_echo_n "(cached) " >&6
49761 else
49762
49763
49764 ac_ext=cpp
49765 ac_cpp='$CXXCPP $CPPFLAGS'
49766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49769
49770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49771 /* end confdefs.h. */
49772 #include <math.h>
49773 #ifdef HAVE_IEEEFP_H
49774 #include <ieeefp.h>
49775 #endif
49776
49777 int
49778 main ()
49779 {
49780 _fabsl(0);
49781 ;
49782 return 0;
49783 }
49784 _ACEOF
49785 if ac_fn_cxx_try_compile "$LINENO"; then :
49786 glibcxx_cv_func__fabsl_use=yes
49787 else
49788 glibcxx_cv_func__fabsl_use=no
49789 fi
49790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49791 ac_ext=c
49792 ac_cpp='$CPP $CPPFLAGS'
49793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49796
49797
49798 fi
49799
49800 fi
49801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49802 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49803
49804 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49805 for ac_func in _fabsl
49806 do :
49807 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49808 if test "x$ac_cv_func__fabsl" = x""yes; then :
49809 cat >>confdefs.h <<_ACEOF
49810 #define HAVE__FABSL 1
49811 _ACEOF
49812
49813 fi
49814 done
49815
49816 fi
49817 fi
49818
49819
49820
49821
49822
49823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49824 $as_echo_n "checking for fmodl declaration... " >&6; }
49825 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49826 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49827 $as_echo_n "(cached) " >&6
49828 else
49829
49830
49831 ac_ext=cpp
49832 ac_cpp='$CXXCPP $CPPFLAGS'
49833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49836
49837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49838 /* end confdefs.h. */
49839 #include <math.h>
49840 int
49841 main ()
49842 {
49843 fmodl(0, 0);
49844 ;
49845 return 0;
49846 }
49847 _ACEOF
49848 if ac_fn_cxx_try_compile "$LINENO"; then :
49849 glibcxx_cv_func_fmodl_use=yes
49850 else
49851 glibcxx_cv_func_fmodl_use=no
49852 fi
49853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49854 ac_ext=c
49855 ac_cpp='$CPP $CPPFLAGS'
49856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49859
49860
49861 fi
49862
49863 fi
49864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49865 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49866
49867 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49868 for ac_func in fmodl
49869 do :
49870 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49871 if test "x$ac_cv_func_fmodl" = x""yes; then :
49872 cat >>confdefs.h <<_ACEOF
49873 #define HAVE_FMODL 1
49874 _ACEOF
49875
49876 fi
49877 done
49878
49879 else
49880
49881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49882 $as_echo_n "checking for _fmodl declaration... " >&6; }
49883 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49884 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49885 $as_echo_n "(cached) " >&6
49886 else
49887
49888
49889 ac_ext=cpp
49890 ac_cpp='$CXXCPP $CPPFLAGS'
49891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49894
49895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49896 /* end confdefs.h. */
49897 #include <math.h>
49898 int
49899 main ()
49900 {
49901 _fmodl(0, 0);
49902 ;
49903 return 0;
49904 }
49905 _ACEOF
49906 if ac_fn_cxx_try_compile "$LINENO"; then :
49907 glibcxx_cv_func__fmodl_use=yes
49908 else
49909 glibcxx_cv_func__fmodl_use=no
49910 fi
49911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49912 ac_ext=c
49913 ac_cpp='$CPP $CPPFLAGS'
49914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49917
49918
49919 fi
49920
49921 fi
49922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49923 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49924
49925 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49926 for ac_func in _fmodl
49927 do :
49928 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49929 if test "x$ac_cv_func__fmodl" = x""yes; then :
49930 cat >>confdefs.h <<_ACEOF
49931 #define HAVE__FMODL 1
49932 _ACEOF
49933
49934 fi
49935 done
49936
49937 fi
49938 fi
49939
49940
49941
49942
49943
49944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49945 $as_echo_n "checking for frexpl declaration... " >&6; }
49946 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49947 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49948 $as_echo_n "(cached) " >&6
49949 else
49950
49951
49952 ac_ext=cpp
49953 ac_cpp='$CXXCPP $CPPFLAGS'
49954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49957
49958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49959 /* end confdefs.h. */
49960 #include <math.h>
49961 int
49962 main ()
49963 {
49964 frexpl(0, 0);
49965 ;
49966 return 0;
49967 }
49968 _ACEOF
49969 if ac_fn_cxx_try_compile "$LINENO"; then :
49970 glibcxx_cv_func_frexpl_use=yes
49971 else
49972 glibcxx_cv_func_frexpl_use=no
49973 fi
49974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49975 ac_ext=c
49976 ac_cpp='$CPP $CPPFLAGS'
49977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49980
49981
49982 fi
49983
49984 fi
49985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49986 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49987
49988 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49989 for ac_func in frexpl
49990 do :
49991 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49992 if test "x$ac_cv_func_frexpl" = x""yes; then :
49993 cat >>confdefs.h <<_ACEOF
49994 #define HAVE_FREXPL 1
49995 _ACEOF
49996
49997 fi
49998 done
49999
50000 else
50001
50002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50003 $as_echo_n "checking for _frexpl declaration... " >&6; }
50004 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50005 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50006 $as_echo_n "(cached) " >&6
50007 else
50008
50009
50010 ac_ext=cpp
50011 ac_cpp='$CXXCPP $CPPFLAGS'
50012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50015
50016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50017 /* end confdefs.h. */
50018 #include <math.h>
50019 int
50020 main ()
50021 {
50022 _frexpl(0, 0);
50023 ;
50024 return 0;
50025 }
50026 _ACEOF
50027 if ac_fn_cxx_try_compile "$LINENO"; then :
50028 glibcxx_cv_func__frexpl_use=yes
50029 else
50030 glibcxx_cv_func__frexpl_use=no
50031 fi
50032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50033 ac_ext=c
50034 ac_cpp='$CPP $CPPFLAGS'
50035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50038
50039
50040 fi
50041
50042 fi
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50044 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50045
50046 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50047 for ac_func in _frexpl
50048 do :
50049 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50050 if test "x$ac_cv_func__frexpl" = x""yes; then :
50051 cat >>confdefs.h <<_ACEOF
50052 #define HAVE__FREXPL 1
50053 _ACEOF
50054
50055 fi
50056 done
50057
50058 fi
50059 fi
50060
50061
50062
50063
50064
50065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50066 $as_echo_n "checking for hypotl declaration... " >&6; }
50067 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50068 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50069 $as_echo_n "(cached) " >&6
50070 else
50071
50072
50073 ac_ext=cpp
50074 ac_cpp='$CXXCPP $CPPFLAGS'
50075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50078
50079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50080 /* end confdefs.h. */
50081 #include <math.h>
50082 int
50083 main ()
50084 {
50085 hypotl(0, 0);
50086 ;
50087 return 0;
50088 }
50089 _ACEOF
50090 if ac_fn_cxx_try_compile "$LINENO"; then :
50091 glibcxx_cv_func_hypotl_use=yes
50092 else
50093 glibcxx_cv_func_hypotl_use=no
50094 fi
50095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50096 ac_ext=c
50097 ac_cpp='$CPP $CPPFLAGS'
50098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50101
50102
50103 fi
50104
50105 fi
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50107 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50108
50109 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50110 for ac_func in hypotl
50111 do :
50112 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50113 if test "x$ac_cv_func_hypotl" = x""yes; then :
50114 cat >>confdefs.h <<_ACEOF
50115 #define HAVE_HYPOTL 1
50116 _ACEOF
50117
50118 fi
50119 done
50120
50121 else
50122
50123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50124 $as_echo_n "checking for _hypotl declaration... " >&6; }
50125 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50126 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50127 $as_echo_n "(cached) " >&6
50128 else
50129
50130
50131 ac_ext=cpp
50132 ac_cpp='$CXXCPP $CPPFLAGS'
50133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50136
50137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50138 /* end confdefs.h. */
50139 #include <math.h>
50140 int
50141 main ()
50142 {
50143 _hypotl(0, 0);
50144 ;
50145 return 0;
50146 }
50147 _ACEOF
50148 if ac_fn_cxx_try_compile "$LINENO"; then :
50149 glibcxx_cv_func__hypotl_use=yes
50150 else
50151 glibcxx_cv_func__hypotl_use=no
50152 fi
50153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50154 ac_ext=c
50155 ac_cpp='$CPP $CPPFLAGS'
50156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50159
50160
50161 fi
50162
50163 fi
50164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50165 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50166
50167 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50168 for ac_func in _hypotl
50169 do :
50170 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50171 if test "x$ac_cv_func__hypotl" = x""yes; then :
50172 cat >>confdefs.h <<_ACEOF
50173 #define HAVE__HYPOTL 1
50174 _ACEOF
50175
50176 fi
50177 done
50178
50179 fi
50180 fi
50181
50182
50183
50184
50185
50186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50187 $as_echo_n "checking for ldexpl declaration... " >&6; }
50188 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50189 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50190 $as_echo_n "(cached) " >&6
50191 else
50192
50193
50194 ac_ext=cpp
50195 ac_cpp='$CXXCPP $CPPFLAGS'
50196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50199
50200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50201 /* end confdefs.h. */
50202 #include <math.h>
50203 int
50204 main ()
50205 {
50206 ldexpl(0, 0);
50207 ;
50208 return 0;
50209 }
50210 _ACEOF
50211 if ac_fn_cxx_try_compile "$LINENO"; then :
50212 glibcxx_cv_func_ldexpl_use=yes
50213 else
50214 glibcxx_cv_func_ldexpl_use=no
50215 fi
50216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50217 ac_ext=c
50218 ac_cpp='$CPP $CPPFLAGS'
50219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50222
50223
50224 fi
50225
50226 fi
50227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50228 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50229
50230 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50231 for ac_func in ldexpl
50232 do :
50233 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50234 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50235 cat >>confdefs.h <<_ACEOF
50236 #define HAVE_LDEXPL 1
50237 _ACEOF
50238
50239 fi
50240 done
50241
50242 else
50243
50244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50245 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50246 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50247 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50248 $as_echo_n "(cached) " >&6
50249 else
50250
50251
50252 ac_ext=cpp
50253 ac_cpp='$CXXCPP $CPPFLAGS'
50254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50257
50258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50259 /* end confdefs.h. */
50260 #include <math.h>
50261 int
50262 main ()
50263 {
50264 _ldexpl(0, 0);
50265 ;
50266 return 0;
50267 }
50268 _ACEOF
50269 if ac_fn_cxx_try_compile "$LINENO"; then :
50270 glibcxx_cv_func__ldexpl_use=yes
50271 else
50272 glibcxx_cv_func__ldexpl_use=no
50273 fi
50274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50275 ac_ext=c
50276 ac_cpp='$CPP $CPPFLAGS'
50277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50280
50281
50282 fi
50283
50284 fi
50285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50286 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50287
50288 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50289 for ac_func in _ldexpl
50290 do :
50291 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50292 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50293 cat >>confdefs.h <<_ACEOF
50294 #define HAVE__LDEXPL 1
50295 _ACEOF
50296
50297 fi
50298 done
50299
50300 fi
50301 fi
50302
50303
50304
50305
50306
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50308 $as_echo_n "checking for logl declaration... " >&6; }
50309 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50310 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50311 $as_echo_n "(cached) " >&6
50312 else
50313
50314
50315 ac_ext=cpp
50316 ac_cpp='$CXXCPP $CPPFLAGS'
50317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50320
50321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50322 /* end confdefs.h. */
50323 #include <math.h>
50324 #ifdef HAVE_IEEEFP_H
50325 #include <ieeefp.h>
50326 #endif
50327
50328 int
50329 main ()
50330 {
50331 logl(0);
50332 ;
50333 return 0;
50334 }
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337 glibcxx_cv_func_logl_use=yes
50338 else
50339 glibcxx_cv_func_logl_use=no
50340 fi
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50347
50348
50349 fi
50350
50351 fi
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50353 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50354
50355 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50356 for ac_func in logl
50357 do :
50358 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50359 if test "x$ac_cv_func_logl" = x""yes; then :
50360 cat >>confdefs.h <<_ACEOF
50361 #define HAVE_LOGL 1
50362 _ACEOF
50363
50364 fi
50365 done
50366
50367 else
50368
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50370 $as_echo_n "checking for _logl declaration... " >&6; }
50371 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50372 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50373 $as_echo_n "(cached) " >&6
50374 else
50375
50376
50377 ac_ext=cpp
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50382
50383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50384 /* end confdefs.h. */
50385 #include <math.h>
50386 #ifdef HAVE_IEEEFP_H
50387 #include <ieeefp.h>
50388 #endif
50389
50390 int
50391 main ()
50392 {
50393 _logl(0);
50394 ;
50395 return 0;
50396 }
50397 _ACEOF
50398 if ac_fn_cxx_try_compile "$LINENO"; then :
50399 glibcxx_cv_func__logl_use=yes
50400 else
50401 glibcxx_cv_func__logl_use=no
50402 fi
50403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50404 ac_ext=c
50405 ac_cpp='$CPP $CPPFLAGS'
50406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50409
50410
50411 fi
50412
50413 fi
50414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50415 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50416
50417 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50418 for ac_func in _logl
50419 do :
50420 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50421 if test "x$ac_cv_func__logl" = x""yes; then :
50422 cat >>confdefs.h <<_ACEOF
50423 #define HAVE__LOGL 1
50424 _ACEOF
50425
50426 fi
50427 done
50428
50429 fi
50430 fi
50431
50432
50433
50434
50435
50436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50437 $as_echo_n "checking for log10l declaration... " >&6; }
50438 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50439 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50440 $as_echo_n "(cached) " >&6
50441 else
50442
50443
50444 ac_ext=cpp
50445 ac_cpp='$CXXCPP $CPPFLAGS'
50446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50449
50450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50451 /* end confdefs.h. */
50452 #include <math.h>
50453 #ifdef HAVE_IEEEFP_H
50454 #include <ieeefp.h>
50455 #endif
50456
50457 int
50458 main ()
50459 {
50460 log10l(0);
50461 ;
50462 return 0;
50463 }
50464 _ACEOF
50465 if ac_fn_cxx_try_compile "$LINENO"; then :
50466 glibcxx_cv_func_log10l_use=yes
50467 else
50468 glibcxx_cv_func_log10l_use=no
50469 fi
50470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50471 ac_ext=c
50472 ac_cpp='$CPP $CPPFLAGS'
50473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50476
50477
50478 fi
50479
50480 fi
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50482 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50483
50484 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50485 for ac_func in log10l
50486 do :
50487 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50488 if test "x$ac_cv_func_log10l" = x""yes; then :
50489 cat >>confdefs.h <<_ACEOF
50490 #define HAVE_LOG10L 1
50491 _ACEOF
50492
50493 fi
50494 done
50495
50496 else
50497
50498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50499 $as_echo_n "checking for _log10l declaration... " >&6; }
50500 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50501 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50502 $as_echo_n "(cached) " >&6
50503 else
50504
50505
50506 ac_ext=cpp
50507 ac_cpp='$CXXCPP $CPPFLAGS'
50508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50511
50512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50513 /* end confdefs.h. */
50514 #include <math.h>
50515 #ifdef HAVE_IEEEFP_H
50516 #include <ieeefp.h>
50517 #endif
50518
50519 int
50520 main ()
50521 {
50522 _log10l(0);
50523 ;
50524 return 0;
50525 }
50526 _ACEOF
50527 if ac_fn_cxx_try_compile "$LINENO"; then :
50528 glibcxx_cv_func__log10l_use=yes
50529 else
50530 glibcxx_cv_func__log10l_use=no
50531 fi
50532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50533 ac_ext=c
50534 ac_cpp='$CPP $CPPFLAGS'
50535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50538
50539
50540 fi
50541
50542 fi
50543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50544 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50545
50546 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50547 for ac_func in _log10l
50548 do :
50549 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50550 if test "x$ac_cv_func__log10l" = x""yes; then :
50551 cat >>confdefs.h <<_ACEOF
50552 #define HAVE__LOG10L 1
50553 _ACEOF
50554
50555 fi
50556 done
50557
50558 fi
50559 fi
50560
50561
50562
50563
50564
50565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50566 $as_echo_n "checking for modfl declaration... " >&6; }
50567 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50568 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50569 $as_echo_n "(cached) " >&6
50570 else
50571
50572
50573 ac_ext=cpp
50574 ac_cpp='$CXXCPP $CPPFLAGS'
50575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50578
50579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50580 /* end confdefs.h. */
50581 #include <math.h>
50582 int
50583 main ()
50584 {
50585 modfl(0, 0);
50586 ;
50587 return 0;
50588 }
50589 _ACEOF
50590 if ac_fn_cxx_try_compile "$LINENO"; then :
50591 glibcxx_cv_func_modfl_use=yes
50592 else
50593 glibcxx_cv_func_modfl_use=no
50594 fi
50595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50596 ac_ext=c
50597 ac_cpp='$CPP $CPPFLAGS'
50598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50601
50602
50603 fi
50604
50605 fi
50606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50607 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50608
50609 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50610 for ac_func in modfl
50611 do :
50612 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50613 if test "x$ac_cv_func_modfl" = x""yes; then :
50614 cat >>confdefs.h <<_ACEOF
50615 #define HAVE_MODFL 1
50616 _ACEOF
50617
50618 fi
50619 done
50620
50621 else
50622
50623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50624 $as_echo_n "checking for _modfl declaration... " >&6; }
50625 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50626 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50627 $as_echo_n "(cached) " >&6
50628 else
50629
50630
50631 ac_ext=cpp
50632 ac_cpp='$CXXCPP $CPPFLAGS'
50633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50636
50637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50638 /* end confdefs.h. */
50639 #include <math.h>
50640 int
50641 main ()
50642 {
50643 _modfl(0, 0);
50644 ;
50645 return 0;
50646 }
50647 _ACEOF
50648 if ac_fn_cxx_try_compile "$LINENO"; then :
50649 glibcxx_cv_func__modfl_use=yes
50650 else
50651 glibcxx_cv_func__modfl_use=no
50652 fi
50653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654 ac_ext=c
50655 ac_cpp='$CPP $CPPFLAGS'
50656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50659
50660
50661 fi
50662
50663 fi
50664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50665 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50666
50667 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50668 for ac_func in _modfl
50669 do :
50670 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50671 if test "x$ac_cv_func__modfl" = x""yes; then :
50672 cat >>confdefs.h <<_ACEOF
50673 #define HAVE__MODFL 1
50674 _ACEOF
50675
50676 fi
50677 done
50678
50679 fi
50680 fi
50681
50682
50683
50684
50685
50686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50687 $as_echo_n "checking for powl declaration... " >&6; }
50688 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50689 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50690 $as_echo_n "(cached) " >&6
50691 else
50692
50693
50694 ac_ext=cpp
50695 ac_cpp='$CXXCPP $CPPFLAGS'
50696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50699
50700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50701 /* end confdefs.h. */
50702 #include <math.h>
50703 int
50704 main ()
50705 {
50706 powl(0, 0);
50707 ;
50708 return 0;
50709 }
50710 _ACEOF
50711 if ac_fn_cxx_try_compile "$LINENO"; then :
50712 glibcxx_cv_func_powl_use=yes
50713 else
50714 glibcxx_cv_func_powl_use=no
50715 fi
50716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50717 ac_ext=c
50718 ac_cpp='$CPP $CPPFLAGS'
50719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50722
50723
50724 fi
50725
50726 fi
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50728 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50729
50730 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50731 for ac_func in powl
50732 do :
50733 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50734 if test "x$ac_cv_func_powl" = x""yes; then :
50735 cat >>confdefs.h <<_ACEOF
50736 #define HAVE_POWL 1
50737 _ACEOF
50738
50739 fi
50740 done
50741
50742 else
50743
50744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50745 $as_echo_n "checking for _powl declaration... " >&6; }
50746 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50747 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50748 $as_echo_n "(cached) " >&6
50749 else
50750
50751
50752 ac_ext=cpp
50753 ac_cpp='$CXXCPP $CPPFLAGS'
50754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50757
50758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50759 /* end confdefs.h. */
50760 #include <math.h>
50761 int
50762 main ()
50763 {
50764 _powl(0, 0);
50765 ;
50766 return 0;
50767 }
50768 _ACEOF
50769 if ac_fn_cxx_try_compile "$LINENO"; then :
50770 glibcxx_cv_func__powl_use=yes
50771 else
50772 glibcxx_cv_func__powl_use=no
50773 fi
50774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50775 ac_ext=c
50776 ac_cpp='$CPP $CPPFLAGS'
50777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50780
50781
50782 fi
50783
50784 fi
50785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50786 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50787
50788 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50789 for ac_func in _powl
50790 do :
50791 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50792 if test "x$ac_cv_func__powl" = x""yes; then :
50793 cat >>confdefs.h <<_ACEOF
50794 #define HAVE__POWL 1
50795 _ACEOF
50796
50797 fi
50798 done
50799
50800 fi
50801 fi
50802
50803
50804
50805
50806
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50808 $as_echo_n "checking for sqrtl declaration... " >&6; }
50809 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50810 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50811 $as_echo_n "(cached) " >&6
50812 else
50813
50814
50815 ac_ext=cpp
50816 ac_cpp='$CXXCPP $CPPFLAGS'
50817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50820
50821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50822 /* end confdefs.h. */
50823 #include <math.h>
50824 #ifdef HAVE_IEEEFP_H
50825 #include <ieeefp.h>
50826 #endif
50827
50828 int
50829 main ()
50830 {
50831 sqrtl(0);
50832 ;
50833 return 0;
50834 }
50835 _ACEOF
50836 if ac_fn_cxx_try_compile "$LINENO"; then :
50837 glibcxx_cv_func_sqrtl_use=yes
50838 else
50839 glibcxx_cv_func_sqrtl_use=no
50840 fi
50841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50842 ac_ext=c
50843 ac_cpp='$CPP $CPPFLAGS'
50844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50847
50848
50849 fi
50850
50851 fi
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50853 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50854
50855 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50856 for ac_func in sqrtl
50857 do :
50858 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50859 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50860 cat >>confdefs.h <<_ACEOF
50861 #define HAVE_SQRTL 1
50862 _ACEOF
50863
50864 fi
50865 done
50866
50867 else
50868
50869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50870 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50871 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50872 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50873 $as_echo_n "(cached) " >&6
50874 else
50875
50876
50877 ac_ext=cpp
50878 ac_cpp='$CXXCPP $CPPFLAGS'
50879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50882
50883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50884 /* end confdefs.h. */
50885 #include <math.h>
50886 #ifdef HAVE_IEEEFP_H
50887 #include <ieeefp.h>
50888 #endif
50889
50890 int
50891 main ()
50892 {
50893 _sqrtl(0);
50894 ;
50895 return 0;
50896 }
50897 _ACEOF
50898 if ac_fn_cxx_try_compile "$LINENO"; then :
50899 glibcxx_cv_func__sqrtl_use=yes
50900 else
50901 glibcxx_cv_func__sqrtl_use=no
50902 fi
50903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50904 ac_ext=c
50905 ac_cpp='$CPP $CPPFLAGS'
50906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50909
50910
50911 fi
50912
50913 fi
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50915 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50916
50917 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50918 for ac_func in _sqrtl
50919 do :
50920 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50921 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50922 cat >>confdefs.h <<_ACEOF
50923 #define HAVE__SQRTL 1
50924 _ACEOF
50925
50926 fi
50927 done
50928
50929 fi
50930 fi
50931
50932
50933
50934
50935
50936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50937 $as_echo_n "checking for sincosl declaration... " >&6; }
50938 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50939 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50940 $as_echo_n "(cached) " >&6
50941 else
50942
50943
50944 ac_ext=cpp
50945 ac_cpp='$CXXCPP $CPPFLAGS'
50946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50949
50950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50951 /* end confdefs.h. */
50952 #include <math.h>
50953 int
50954 main ()
50955 {
50956 sincosl(0, 0, 0);
50957 ;
50958 return 0;
50959 }
50960 _ACEOF
50961 if ac_fn_cxx_try_compile "$LINENO"; then :
50962 glibcxx_cv_func_sincosl_use=yes
50963 else
50964 glibcxx_cv_func_sincosl_use=no
50965 fi
50966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50967 ac_ext=c
50968 ac_cpp='$CPP $CPPFLAGS'
50969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50972
50973
50974 fi
50975
50976 fi
50977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50978 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50979
50980 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50981 for ac_func in sincosl
50982 do :
50983 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50984 if test "x$ac_cv_func_sincosl" = x""yes; then :
50985 cat >>confdefs.h <<_ACEOF
50986 #define HAVE_SINCOSL 1
50987 _ACEOF
50988
50989 fi
50990 done
50991
50992 else
50993
50994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50995 $as_echo_n "checking for _sincosl declaration... " >&6; }
50996 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50997 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50998 $as_echo_n "(cached) " >&6
50999 else
51000
51001
51002 ac_ext=cpp
51003 ac_cpp='$CXXCPP $CPPFLAGS'
51004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51007
51008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51009 /* end confdefs.h. */
51010 #include <math.h>
51011 int
51012 main ()
51013 {
51014 _sincosl(0, 0, 0);
51015 ;
51016 return 0;
51017 }
51018 _ACEOF
51019 if ac_fn_cxx_try_compile "$LINENO"; then :
51020 glibcxx_cv_func__sincosl_use=yes
51021 else
51022 glibcxx_cv_func__sincosl_use=no
51023 fi
51024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51025 ac_ext=c
51026 ac_cpp='$CPP $CPPFLAGS'
51027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51030
51031
51032 fi
51033
51034 fi
51035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51036 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51037
51038 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51039 for ac_func in _sincosl
51040 do :
51041 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51042 if test "x$ac_cv_func__sincosl" = x""yes; then :
51043 cat >>confdefs.h <<_ACEOF
51044 #define HAVE__SINCOSL 1
51045 _ACEOF
51046
51047 fi
51048 done
51049
51050 fi
51051 fi
51052
51053
51054
51055
51056
51057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51058 $as_echo_n "checking for finitel declaration... " >&6; }
51059 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51060 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51061 $as_echo_n "(cached) " >&6
51062 else
51063
51064
51065 ac_ext=cpp
51066 ac_cpp='$CXXCPP $CPPFLAGS'
51067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51070
51071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51072 /* end confdefs.h. */
51073 #include <math.h>
51074 #ifdef HAVE_IEEEFP_H
51075 #include <ieeefp.h>
51076 #endif
51077
51078 int
51079 main ()
51080 {
51081 finitel(0);
51082 ;
51083 return 0;
51084 }
51085 _ACEOF
51086 if ac_fn_cxx_try_compile "$LINENO"; then :
51087 glibcxx_cv_func_finitel_use=yes
51088 else
51089 glibcxx_cv_func_finitel_use=no
51090 fi
51091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51092 ac_ext=c
51093 ac_cpp='$CPP $CPPFLAGS'
51094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51097
51098
51099 fi
51100
51101 fi
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51103 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51104
51105 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51106 for ac_func in finitel
51107 do :
51108 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51109 if test "x$ac_cv_func_finitel" = x""yes; then :
51110 cat >>confdefs.h <<_ACEOF
51111 #define HAVE_FINITEL 1
51112 _ACEOF
51113
51114 fi
51115 done
51116
51117 else
51118
51119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51120 $as_echo_n "checking for _finitel declaration... " >&6; }
51121 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51122 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51123 $as_echo_n "(cached) " >&6
51124 else
51125
51126
51127 ac_ext=cpp
51128 ac_cpp='$CXXCPP $CPPFLAGS'
51129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51132
51133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51134 /* end confdefs.h. */
51135 #include <math.h>
51136 #ifdef HAVE_IEEEFP_H
51137 #include <ieeefp.h>
51138 #endif
51139
51140 int
51141 main ()
51142 {
51143 _finitel(0);
51144 ;
51145 return 0;
51146 }
51147 _ACEOF
51148 if ac_fn_cxx_try_compile "$LINENO"; then :
51149 glibcxx_cv_func__finitel_use=yes
51150 else
51151 glibcxx_cv_func__finitel_use=no
51152 fi
51153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51154 ac_ext=c
51155 ac_cpp='$CPP $CPPFLAGS'
51156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51159
51160
51161 fi
51162
51163 fi
51164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51165 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51166
51167 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51168 for ac_func in _finitel
51169 do :
51170 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51171 if test "x$ac_cv_func__finitel" = x""yes; then :
51172 cat >>confdefs.h <<_ACEOF
51173 #define HAVE__FINITEL 1
51174 _ACEOF
51175
51176 fi
51177 done
51178
51179 fi
51180 fi
51181
51182
51183
51184
51185 LIBS="$ac_save_LIBS"
51186 CXXFLAGS="$ac_save_CXXFLAGS"
51187
51188
51189 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51190 ac_save_CXXFLAGS="$CXXFLAGS"
51191 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51192
51193
51194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51195 $as_echo_n "checking for strtold declaration... " >&6; }
51196 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51197 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51198 $as_echo_n "(cached) " >&6
51199 else
51200
51201
51202 ac_ext=cpp
51203 ac_cpp='$CXXCPP $CPPFLAGS'
51204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51207
51208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51209 /* end confdefs.h. */
51210 #include <stdlib.h>
51211 int
51212 main ()
51213 {
51214 strtold(0, 0);
51215 ;
51216 return 0;
51217 }
51218 _ACEOF
51219 if ac_fn_cxx_try_compile "$LINENO"; then :
51220 glibcxx_cv_func_strtold_use=yes
51221 else
51222 glibcxx_cv_func_strtold_use=no
51223 fi
51224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51225 ac_ext=c
51226 ac_cpp='$CPP $CPPFLAGS'
51227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51230
51231
51232 fi
51233
51234 fi
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51236 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51237 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51238 for ac_func in strtold
51239 do :
51240 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51241 if test "x$ac_cv_func_strtold" = x""yes; then :
51242 cat >>confdefs.h <<_ACEOF
51243 #define HAVE_STRTOLD 1
51244 _ACEOF
51245
51246 fi
51247 done
51248
51249 fi
51250
51251
51252
51253
51254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51255 $as_echo_n "checking for strtof declaration... " >&6; }
51256 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51257 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51258 $as_echo_n "(cached) " >&6
51259 else
51260
51261
51262 ac_ext=cpp
51263 ac_cpp='$CXXCPP $CPPFLAGS'
51264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51267
51268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51269 /* end confdefs.h. */
51270 #include <stdlib.h>
51271 int
51272 main ()
51273 {
51274 strtof(0, 0);
51275 ;
51276 return 0;
51277 }
51278 _ACEOF
51279 if ac_fn_cxx_try_compile "$LINENO"; then :
51280 glibcxx_cv_func_strtof_use=yes
51281 else
51282 glibcxx_cv_func_strtof_use=no
51283 fi
51284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51285 ac_ext=c
51286 ac_cpp='$CPP $CPPFLAGS'
51287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51290
51291
51292 fi
51293
51294 fi
51295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51296 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51297 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51298 for ac_func in strtof
51299 do :
51300 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51301 if test "x$ac_cv_func_strtof" = x""yes; then :
51302 cat >>confdefs.h <<_ACEOF
51303 #define HAVE_STRTOF 1
51304 _ACEOF
51305
51306 fi
51307 done
51308
51309 fi
51310
51311
51312
51313
51314 CXXFLAGS="$ac_save_CXXFLAGS"
51315
51316 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51317
51318
51319
51320 # Check whether --enable-tls was given.
51321 if test "${enable_tls+set}" = set; then :
51322 enableval=$enable_tls;
51323 case "$enableval" in
51324 yes|no) ;;
51325 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51326 esac
51327
51328 else
51329 enable_tls=yes
51330 fi
51331
51332
51333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51334 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51335 if test "${gcc_cv_have_tls+set}" = set; then :
51336 $as_echo_n "(cached) " >&6
51337 else
51338
51339 if test "$cross_compiling" = yes; then :
51340 if test x$gcc_no_link = xyes; then
51341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51342 fi
51343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51344 /* end confdefs.h. */
51345 __thread int a; int b; int main() { return a = b; }
51346 _ACEOF
51347 if ac_fn_c_try_link "$LINENO"; then :
51348 chktls_save_LDFLAGS="$LDFLAGS"
51349 case $host in
51350 *-*-linux*)
51351 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51352 ;;
51353 esac
51354 chktls_save_CFLAGS="$CFLAGS"
51355 CFLAGS="-fPIC $CFLAGS"
51356 if test x$gcc_no_link = xyes; then
51357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51358 fi
51359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51360 /* end confdefs.h. */
51361 int f() { return 0; }
51362 _ACEOF
51363 if ac_fn_c_try_link "$LINENO"; then :
51364 if test x$gcc_no_link = xyes; then
51365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51366 fi
51367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51368 /* end confdefs.h. */
51369 __thread int a; int b; int f() { return a = b; }
51370 _ACEOF
51371 if ac_fn_c_try_link "$LINENO"; then :
51372 gcc_cv_have_tls=yes
51373 else
51374 gcc_cv_have_tls=no
51375 fi
51376 rm -f core conftest.err conftest.$ac_objext \
51377 conftest$ac_exeext conftest.$ac_ext
51378 else
51379 gcc_cv_have_tls=yes
51380 fi
51381 rm -f core conftest.err conftest.$ac_objext \
51382 conftest$ac_exeext conftest.$ac_ext
51383 CFLAGS="$chktls_save_CFLAGS"
51384 LDFLAGS="$chktls_save_LDFLAGS"
51385 else
51386 gcc_cv_have_tls=no
51387 fi
51388 rm -f core conftest.err conftest.$ac_objext \
51389 conftest$ac_exeext conftest.$ac_ext
51390
51391
51392 else
51393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51394 /* end confdefs.h. */
51395 __thread int a; int b; int main() { return a = b; }
51396 _ACEOF
51397 if ac_fn_c_try_run "$LINENO"; then :
51398 chktls_save_LDFLAGS="$LDFLAGS"
51399 LDFLAGS="-static $LDFLAGS"
51400 if test x$gcc_no_link = xyes; then
51401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51402 fi
51403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51404 /* end confdefs.h. */
51405 int main() { return 0; }
51406 _ACEOF
51407 if ac_fn_c_try_link "$LINENO"; then :
51408 if test "$cross_compiling" = yes; then :
51409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51411 as_fn_error "cannot run test program while cross compiling
51412 See \`config.log' for more details." "$LINENO" 5; }
51413 else
51414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51415 /* end confdefs.h. */
51416 __thread int a; int b; int main() { return a = b; }
51417 _ACEOF
51418 if ac_fn_c_try_run "$LINENO"; then :
51419 gcc_cv_have_tls=yes
51420 else
51421 gcc_cv_have_tls=no
51422 fi
51423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51424 conftest.$ac_objext conftest.beam conftest.$ac_ext
51425 fi
51426
51427 else
51428 gcc_cv_have_tls=yes
51429 fi
51430 rm -f core conftest.err conftest.$ac_objext \
51431 conftest$ac_exeext conftest.$ac_ext
51432 LDFLAGS="$chktls_save_LDFLAGS"
51433 if test $gcc_cv_have_tls = yes; then
51434 chktls_save_CFLAGS="$CFLAGS"
51435 thread_CFLAGS=failed
51436 for flag in '' '-pthread' '-lpthread'; do
51437 CFLAGS="$flag $chktls_save_CFLAGS"
51438 if test x$gcc_no_link = xyes; then
51439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51440 fi
51441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51442 /* end confdefs.h. */
51443 #include <pthread.h>
51444 void *g(void *d) { return NULL; }
51445 int
51446 main ()
51447 {
51448 pthread_t t; pthread_create(&t,NULL,g,NULL);
51449 ;
51450 return 0;
51451 }
51452 _ACEOF
51453 if ac_fn_c_try_link "$LINENO"; then :
51454 thread_CFLAGS="$flag"
51455 fi
51456 rm -f core conftest.err conftest.$ac_objext \
51457 conftest$ac_exeext conftest.$ac_ext
51458 if test "X$thread_CFLAGS" != Xfailed; then
51459 break
51460 fi
51461 done
51462 CFLAGS="$chktls_save_CFLAGS"
51463 if test "X$thread_CFLAGS" != Xfailed; then
51464 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51465 if test "$cross_compiling" = yes; then :
51466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51467 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51468 as_fn_error "cannot run test program while cross compiling
51469 See \`config.log' for more details." "$LINENO" 5; }
51470 else
51471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51472 /* end confdefs.h. */
51473 #include <pthread.h>
51474 __thread int a;
51475 static int *volatile a_in_other_thread;
51476 static void *
51477 thread_func (void *arg)
51478 {
51479 a_in_other_thread = &a;
51480 return (void *)0;
51481 }
51482 int
51483 main ()
51484 {
51485 pthread_t thread;
51486 void *thread_retval;
51487 int *volatile a_in_main_thread;
51488 a_in_main_thread = &a;
51489 if (pthread_create (&thread, (pthread_attr_t *)0,
51490 thread_func, (void *)0))
51491 return 0;
51492 if (pthread_join (thread, &thread_retval))
51493 return 0;
51494 return (a_in_other_thread == a_in_main_thread);
51495 ;
51496 return 0;
51497 }
51498 _ACEOF
51499 if ac_fn_c_try_run "$LINENO"; then :
51500 gcc_cv_have_tls=yes
51501 else
51502 gcc_cv_have_tls=no
51503 fi
51504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51505 conftest.$ac_objext conftest.beam conftest.$ac_ext
51506 fi
51507
51508 CFLAGS="$chktls_save_CFLAGS"
51509 fi
51510 fi
51511 else
51512 gcc_cv_have_tls=no
51513 fi
51514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51515 conftest.$ac_objext conftest.beam conftest.$ac_ext
51516 fi
51517
51518 fi
51519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51520 $as_echo "$gcc_cv_have_tls" >&6; }
51521 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51522
51523 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51524
51525 fi
51526
51527
51528
51529
51530
51531 am_save_CPPFLAGS="$CPPFLAGS"
51532
51533 for element in $INCICONV; do
51534 haveit=
51535 for x in $CPPFLAGS; do
51536
51537 acl_save_prefix="$prefix"
51538 prefix="$acl_final_prefix"
51539 acl_save_exec_prefix="$exec_prefix"
51540 exec_prefix="$acl_final_exec_prefix"
51541 eval x=\"$x\"
51542 exec_prefix="$acl_save_exec_prefix"
51543 prefix="$acl_save_prefix"
51544
51545 if test "X$x" = "X$element"; then
51546 haveit=yes
51547 break
51548 fi
51549 done
51550 if test -z "$haveit"; then
51551 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51552 fi
51553 done
51554
51555
51556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51557 $as_echo_n "checking for iconv... " >&6; }
51558 if test "${am_cv_func_iconv+set}" = set; then :
51559 $as_echo_n "(cached) " >&6
51560 else
51561
51562 am_cv_func_iconv="no, consider installing GNU libiconv"
51563 am_cv_lib_iconv=no
51564 if test x$gcc_no_link = xyes; then
51565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51566 fi
51567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51568 /* end confdefs.h. */
51569 #include <stdlib.h>
51570 #include <iconv.h>
51571 int
51572 main ()
51573 {
51574 iconv_t cd = iconv_open("","");
51575 iconv(cd,NULL,NULL,NULL,NULL);
51576 iconv_close(cd);
51577 ;
51578 return 0;
51579 }
51580 _ACEOF
51581 if ac_fn_c_try_link "$LINENO"; then :
51582 am_cv_func_iconv=yes
51583 fi
51584 rm -f core conftest.err conftest.$ac_objext \
51585 conftest$ac_exeext conftest.$ac_ext
51586 if test "$am_cv_func_iconv" != yes; then
51587 am_save_LIBS="$LIBS"
51588 LIBS="$LIBS $LIBICONV"
51589 if test x$gcc_no_link = xyes; then
51590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51591 fi
51592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51593 /* end confdefs.h. */
51594 #include <stdlib.h>
51595 #include <iconv.h>
51596 int
51597 main ()
51598 {
51599 iconv_t cd = iconv_open("","");
51600 iconv(cd,NULL,NULL,NULL,NULL);
51601 iconv_close(cd);
51602 ;
51603 return 0;
51604 }
51605 _ACEOF
51606 if ac_fn_c_try_link "$LINENO"; then :
51607 am_cv_lib_iconv=yes
51608 am_cv_func_iconv=yes
51609 fi
51610 rm -f core conftest.err conftest.$ac_objext \
51611 conftest$ac_exeext conftest.$ac_ext
51612 LIBS="$am_save_LIBS"
51613 fi
51614
51615 fi
51616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51617 $as_echo "$am_cv_func_iconv" >&6; }
51618 if test "$am_cv_func_iconv" = yes; then
51619
51620 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51621
51622 fi
51623 if test "$am_cv_lib_iconv" = yes; then
51624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51625 $as_echo_n "checking how to link with libiconv... " >&6; }
51626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51627 $as_echo "$LIBICONV" >&6; }
51628 else
51629 CPPFLAGS="$am_save_CPPFLAGS"
51630 LIBICONV=
51631 LTLIBICONV=
51632 fi
51633
51634
51635
51636 if test "$am_cv_func_iconv" = yes; then
51637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51638 $as_echo_n "checking for iconv declaration... " >&6; }
51639 if test "${am_cv_proto_iconv+set}" = set; then :
51640 $as_echo_n "(cached) " >&6
51641 else
51642
51643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51644 /* end confdefs.h. */
51645
51646 #include <stdlib.h>
51647 #include <iconv.h>
51648 extern
51649 #ifdef __cplusplus
51650 "C"
51651 #endif
51652 #if defined(__STDC__) || defined(__cplusplus)
51653 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51654 #else
51655 size_t iconv();
51656 #endif
51657
51658 int
51659 main ()
51660 {
51661
51662 ;
51663 return 0;
51664 }
51665 _ACEOF
51666 if ac_fn_c_try_compile "$LINENO"; then :
51667 am_cv_proto_iconv_arg1=""
51668 else
51669 am_cv_proto_iconv_arg1="const"
51670 fi
51671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51672 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);"
51673 fi
51674
51675 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51677 }$am_cv_proto_iconv" >&5
51678 $as_echo "${ac_t:-
51679 }$am_cv_proto_iconv" >&6; }
51680
51681 cat >>confdefs.h <<_ACEOF
51682 #define ICONV_CONST $am_cv_proto_iconv_arg1
51683 _ACEOF
51684
51685 fi
51686
51687 ;;
51688 *-mingw32*)
51689
51690 # If we're not using GNU ld, then there's no point in even trying these
51691 # tests. Check for that first. We should have already tested for gld
51692 # by now (in libtool), but require it now just to be safe...
51693 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51694 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51695
51696
51697
51698 # The name set by libtool depends on the version of libtool. Shame on us
51699 # for depending on an impl detail, but c'est la vie. Older versions used
51700 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51701 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51702 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51703 # set (hence we're using an older libtool), then set it.
51704 if test x${with_gnu_ld+set} != xset; then
51705 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51706 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51707 with_gnu_ld=no
51708 else
51709 with_gnu_ld=$ac_cv_prog_gnu_ld
51710 fi
51711 fi
51712
51713 # Start by getting the version number. I think the libtool test already
51714 # does some of this, but throws away the result.
51715 glibcxx_ld_is_gold=no
51716 if test x"$with_gnu_ld" = x"yes"; then
51717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51718 $as_echo_n "checking for ld version... " >&6; }
51719
51720 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51721 glibcxx_ld_is_gold=yes
51722 fi
51723 ldver=`$LD --version 2>/dev/null |
51724 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'`
51725
51726 glibcxx_gnu_ld_version=`echo $ldver | \
51727 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51729 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51730 fi
51731
51732 # Set --gc-sections.
51733 glibcxx_have_gc_sections=no
51734 if test "$glibcxx_ld_is_gold" = "yes"; then
51735 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51736 glibcxx_have_gc_sections=yes
51737 fi
51738 else
51739 glibcxx_gcsections_min_ld=21602
51740 if test x"$with_gnu_ld" = x"yes" &&
51741 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51742 glibcxx_have_gc_sections=yes
51743 fi
51744 fi
51745 if test "$glibcxx_have_gc_sections" = "yes"; then
51746 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51747 # NB: This flag only works reliably after 2.16.1. Configure tests
51748 # for this are difficult, so hard wire a value that should work.
51749
51750 ac_test_CFLAGS="${CFLAGS+set}"
51751 ac_save_CFLAGS="$CFLAGS"
51752 CFLAGS='-Wl,--gc-sections'
51753
51754 # Check for -Wl,--gc-sections
51755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51756 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51757 if test x$gcc_no_link = xyes; then
51758 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51759 fi
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 int one(void) { return 1; }
51763 int two(void) { return 2; }
51764
51765 int
51766 main ()
51767 {
51768 two();
51769 ;
51770 return 0;
51771 }
51772 _ACEOF
51773 if ac_fn_c_try_link "$LINENO"; then :
51774 ac_gcsections=yes
51775 else
51776 ac_gcsections=no
51777 fi
51778 rm -f core conftest.err conftest.$ac_objext \
51779 conftest$ac_exeext conftest.$ac_ext
51780 if test "$ac_gcsections" = "yes"; then
51781 rm -f conftest.c
51782 touch conftest.c
51783 if $CC -c conftest.c; then
51784 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51785 grep "Warning: gc-sections option ignored" > /dev/null; then
51786 ac_gcsections=no
51787 fi
51788 fi
51789 rm -f conftest.c conftest.o conftest
51790 fi
51791 if test "$ac_gcsections" = "yes"; then
51792 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51793 fi
51794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51795 $as_echo "$ac_gcsections" >&6; }
51796
51797 if test "$ac_test_CFLAGS" = set; then
51798 CFLAGS="$ac_save_CFLAGS"
51799 else
51800 # this is the suspicious part
51801 CFLAGS=''
51802 fi
51803 fi
51804
51805 # Set -z,relro.
51806 # Note this is only for shared objects.
51807 ac_ld_relro=no
51808 if test x"$with_gnu_ld" = x"yes"; then
51809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51810 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51811 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51812 if test -n "$cxx_z_relo"; then
51813 OPT_LDFLAGS="-Wl,-z,relro"
51814 ac_ld_relro=yes
51815 fi
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51817 $as_echo "$ac_ld_relro" >&6; }
51818 fi
51819
51820 # Set linker optimization flags.
51821 if test x"$with_gnu_ld" = x"yes"; then
51822 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51823 fi
51824
51825
51826
51827
51828
51829 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51830 ac_save_CXXFLAGS="$CXXFLAGS"
51831 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51832
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51834 $as_echo_n "checking for sin in -lm... " >&6; }
51835 if test "${ac_cv_lib_m_sin+set}" = set; then :
51836 $as_echo_n "(cached) " >&6
51837 else
51838 ac_check_lib_save_LIBS=$LIBS
51839 LIBS="-lm $LIBS"
51840 if test x$gcc_no_link = xyes; then
51841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51842 fi
51843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51844 /* end confdefs.h. */
51845
51846 /* Override any GCC internal prototype to avoid an error.
51847 Use char because int might match the return type of a GCC
51848 builtin and then its argument prototype would still apply. */
51849 #ifdef __cplusplus
51850 extern "C"
51851 #endif
51852 char sin ();
51853 int
51854 main ()
51855 {
51856 return sin ();
51857 ;
51858 return 0;
51859 }
51860 _ACEOF
51861 if ac_fn_c_try_link "$LINENO"; then :
51862 ac_cv_lib_m_sin=yes
51863 else
51864 ac_cv_lib_m_sin=no
51865 fi
51866 rm -f core conftest.err conftest.$ac_objext \
51867 conftest$ac_exeext conftest.$ac_ext
51868 LIBS=$ac_check_lib_save_LIBS
51869 fi
51870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51871 $as_echo "$ac_cv_lib_m_sin" >&6; }
51872 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51873 libm="-lm"
51874 fi
51875
51876 ac_save_LIBS="$LIBS"
51877 LIBS="$LIBS $libm"
51878
51879
51880
51881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51882 $as_echo_n "checking for isinf declaration... " >&6; }
51883 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51884 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51885 $as_echo_n "(cached) " >&6
51886 else
51887
51888
51889 ac_ext=cpp
51890 ac_cpp='$CXXCPP $CPPFLAGS'
51891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51894
51895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51896 /* end confdefs.h. */
51897 #include <math.h>
51898 #ifdef HAVE_IEEEFP_H
51899 #include <ieeefp.h>
51900 #endif
51901
51902 int
51903 main ()
51904 {
51905 isinf(0);
51906 ;
51907 return 0;
51908 }
51909 _ACEOF
51910 if ac_fn_cxx_try_compile "$LINENO"; then :
51911 glibcxx_cv_func_isinf_use=yes
51912 else
51913 glibcxx_cv_func_isinf_use=no
51914 fi
51915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51916 ac_ext=c
51917 ac_cpp='$CPP $CPPFLAGS'
51918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51921
51922
51923 fi
51924
51925 fi
51926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51927 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51928
51929 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51930 for ac_func in isinf
51931 do :
51932 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51933 if test "x$ac_cv_func_isinf" = x""yes; then :
51934 cat >>confdefs.h <<_ACEOF
51935 #define HAVE_ISINF 1
51936 _ACEOF
51937
51938 fi
51939 done
51940
51941 else
51942
51943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51944 $as_echo_n "checking for _isinf declaration... " >&6; }
51945 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51946 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51947 $as_echo_n "(cached) " >&6
51948 else
51949
51950
51951 ac_ext=cpp
51952 ac_cpp='$CXXCPP $CPPFLAGS'
51953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51956
51957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51958 /* end confdefs.h. */
51959 #include <math.h>
51960 #ifdef HAVE_IEEEFP_H
51961 #include <ieeefp.h>
51962 #endif
51963
51964 int
51965 main ()
51966 {
51967 _isinf(0);
51968 ;
51969 return 0;
51970 }
51971 _ACEOF
51972 if ac_fn_cxx_try_compile "$LINENO"; then :
51973 glibcxx_cv_func__isinf_use=yes
51974 else
51975 glibcxx_cv_func__isinf_use=no
51976 fi
51977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51978 ac_ext=c
51979 ac_cpp='$CPP $CPPFLAGS'
51980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51983
51984
51985 fi
51986
51987 fi
51988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51989 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51990
51991 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51992 for ac_func in _isinf
51993 do :
51994 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51995 if test "x$ac_cv_func__isinf" = x""yes; then :
51996 cat >>confdefs.h <<_ACEOF
51997 #define HAVE__ISINF 1
51998 _ACEOF
51999
52000 fi
52001 done
52002
52003 fi
52004 fi
52005
52006
52007
52008
52009
52010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52011 $as_echo_n "checking for isnan declaration... " >&6; }
52012 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52013 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52014 $as_echo_n "(cached) " >&6
52015 else
52016
52017
52018 ac_ext=cpp
52019 ac_cpp='$CXXCPP $CPPFLAGS'
52020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52023
52024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52025 /* end confdefs.h. */
52026 #include <math.h>
52027 #ifdef HAVE_IEEEFP_H
52028 #include <ieeefp.h>
52029 #endif
52030
52031 int
52032 main ()
52033 {
52034 isnan(0);
52035 ;
52036 return 0;
52037 }
52038 _ACEOF
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040 glibcxx_cv_func_isnan_use=yes
52041 else
52042 glibcxx_cv_func_isnan_use=no
52043 fi
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045 ac_ext=c
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52050
52051
52052 fi
52053
52054 fi
52055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52056 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52057
52058 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52059 for ac_func in isnan
52060 do :
52061 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52062 if test "x$ac_cv_func_isnan" = x""yes; then :
52063 cat >>confdefs.h <<_ACEOF
52064 #define HAVE_ISNAN 1
52065 _ACEOF
52066
52067 fi
52068 done
52069
52070 else
52071
52072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52073 $as_echo_n "checking for _isnan declaration... " >&6; }
52074 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52075 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52076 $as_echo_n "(cached) " >&6
52077 else
52078
52079
52080 ac_ext=cpp
52081 ac_cpp='$CXXCPP $CPPFLAGS'
52082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52085
52086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52087 /* end confdefs.h. */
52088 #include <math.h>
52089 #ifdef HAVE_IEEEFP_H
52090 #include <ieeefp.h>
52091 #endif
52092
52093 int
52094 main ()
52095 {
52096 _isnan(0);
52097 ;
52098 return 0;
52099 }
52100 _ACEOF
52101 if ac_fn_cxx_try_compile "$LINENO"; then :
52102 glibcxx_cv_func__isnan_use=yes
52103 else
52104 glibcxx_cv_func__isnan_use=no
52105 fi
52106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52107 ac_ext=c
52108 ac_cpp='$CPP $CPPFLAGS'
52109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52112
52113
52114 fi
52115
52116 fi
52117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52118 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52119
52120 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52121 for ac_func in _isnan
52122 do :
52123 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52124 if test "x$ac_cv_func__isnan" = x""yes; then :
52125 cat >>confdefs.h <<_ACEOF
52126 #define HAVE__ISNAN 1
52127 _ACEOF
52128
52129 fi
52130 done
52131
52132 fi
52133 fi
52134
52135
52136
52137
52138
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52140 $as_echo_n "checking for finite declaration... " >&6; }
52141 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52142 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52143 $as_echo_n "(cached) " >&6
52144 else
52145
52146
52147 ac_ext=cpp
52148 ac_cpp='$CXXCPP $CPPFLAGS'
52149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52152
52153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52154 /* end confdefs.h. */
52155 #include <math.h>
52156 #ifdef HAVE_IEEEFP_H
52157 #include <ieeefp.h>
52158 #endif
52159
52160 int
52161 main ()
52162 {
52163 finite(0);
52164 ;
52165 return 0;
52166 }
52167 _ACEOF
52168 if ac_fn_cxx_try_compile "$LINENO"; then :
52169 glibcxx_cv_func_finite_use=yes
52170 else
52171 glibcxx_cv_func_finite_use=no
52172 fi
52173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52174 ac_ext=c
52175 ac_cpp='$CPP $CPPFLAGS'
52176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52179
52180
52181 fi
52182
52183 fi
52184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52185 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52186
52187 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52188 for ac_func in finite
52189 do :
52190 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52191 if test "x$ac_cv_func_finite" = x""yes; then :
52192 cat >>confdefs.h <<_ACEOF
52193 #define HAVE_FINITE 1
52194 _ACEOF
52195
52196 fi
52197 done
52198
52199 else
52200
52201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52202 $as_echo_n "checking for _finite declaration... " >&6; }
52203 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52204 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52205 $as_echo_n "(cached) " >&6
52206 else
52207
52208
52209 ac_ext=cpp
52210 ac_cpp='$CXXCPP $CPPFLAGS'
52211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52214
52215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52216 /* end confdefs.h. */
52217 #include <math.h>
52218 #ifdef HAVE_IEEEFP_H
52219 #include <ieeefp.h>
52220 #endif
52221
52222 int
52223 main ()
52224 {
52225 _finite(0);
52226 ;
52227 return 0;
52228 }
52229 _ACEOF
52230 if ac_fn_cxx_try_compile "$LINENO"; then :
52231 glibcxx_cv_func__finite_use=yes
52232 else
52233 glibcxx_cv_func__finite_use=no
52234 fi
52235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52236 ac_ext=c
52237 ac_cpp='$CPP $CPPFLAGS'
52238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52241
52242
52243 fi
52244
52245 fi
52246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52247 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52248
52249 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52250 for ac_func in _finite
52251 do :
52252 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52253 if test "x$ac_cv_func__finite" = x""yes; then :
52254 cat >>confdefs.h <<_ACEOF
52255 #define HAVE__FINITE 1
52256 _ACEOF
52257
52258 fi
52259 done
52260
52261 fi
52262 fi
52263
52264
52265
52266
52267
52268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52269 $as_echo_n "checking for sincos declaration... " >&6; }
52270 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52271 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52272 $as_echo_n "(cached) " >&6
52273 else
52274
52275
52276 ac_ext=cpp
52277 ac_cpp='$CXXCPP $CPPFLAGS'
52278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52281
52282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52283 /* end confdefs.h. */
52284 #include <math.h>
52285 int
52286 main ()
52287 {
52288 sincos(0, 0, 0);
52289 ;
52290 return 0;
52291 }
52292 _ACEOF
52293 if ac_fn_cxx_try_compile "$LINENO"; then :
52294 glibcxx_cv_func_sincos_use=yes
52295 else
52296 glibcxx_cv_func_sincos_use=no
52297 fi
52298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52299 ac_ext=c
52300 ac_cpp='$CPP $CPPFLAGS'
52301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52304
52305
52306 fi
52307
52308 fi
52309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52310 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52311
52312 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52313 for ac_func in sincos
52314 do :
52315 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52316 if test "x$ac_cv_func_sincos" = x""yes; then :
52317 cat >>confdefs.h <<_ACEOF
52318 #define HAVE_SINCOS 1
52319 _ACEOF
52320
52321 fi
52322 done
52323
52324 else
52325
52326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52327 $as_echo_n "checking for _sincos declaration... " >&6; }
52328 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52329 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52330 $as_echo_n "(cached) " >&6
52331 else
52332
52333
52334 ac_ext=cpp
52335 ac_cpp='$CXXCPP $CPPFLAGS'
52336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52339
52340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52341 /* end confdefs.h. */
52342 #include <math.h>
52343 int
52344 main ()
52345 {
52346 _sincos(0, 0, 0);
52347 ;
52348 return 0;
52349 }
52350 _ACEOF
52351 if ac_fn_cxx_try_compile "$LINENO"; then :
52352 glibcxx_cv_func__sincos_use=yes
52353 else
52354 glibcxx_cv_func__sincos_use=no
52355 fi
52356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52357 ac_ext=c
52358 ac_cpp='$CPP $CPPFLAGS'
52359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52362
52363
52364 fi
52365
52366 fi
52367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52368 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52369
52370 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52371 for ac_func in _sincos
52372 do :
52373 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52374 if test "x$ac_cv_func__sincos" = x""yes; then :
52375 cat >>confdefs.h <<_ACEOF
52376 #define HAVE__SINCOS 1
52377 _ACEOF
52378
52379 fi
52380 done
52381
52382 fi
52383 fi
52384
52385
52386
52387
52388
52389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52390 $as_echo_n "checking for fpclass declaration... " >&6; }
52391 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52392 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52393 $as_echo_n "(cached) " >&6
52394 else
52395
52396
52397 ac_ext=cpp
52398 ac_cpp='$CXXCPP $CPPFLAGS'
52399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52402
52403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52404 /* end confdefs.h. */
52405 #include <math.h>
52406 #ifdef HAVE_IEEEFP_H
52407 #include <ieeefp.h>
52408 #endif
52409
52410 int
52411 main ()
52412 {
52413 fpclass(0);
52414 ;
52415 return 0;
52416 }
52417 _ACEOF
52418 if ac_fn_cxx_try_compile "$LINENO"; then :
52419 glibcxx_cv_func_fpclass_use=yes
52420 else
52421 glibcxx_cv_func_fpclass_use=no
52422 fi
52423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52424 ac_ext=c
52425 ac_cpp='$CPP $CPPFLAGS'
52426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52429
52430
52431 fi
52432
52433 fi
52434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52435 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52436
52437 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52438 for ac_func in fpclass
52439 do :
52440 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52441 if test "x$ac_cv_func_fpclass" = x""yes; then :
52442 cat >>confdefs.h <<_ACEOF
52443 #define HAVE_FPCLASS 1
52444 _ACEOF
52445
52446 fi
52447 done
52448
52449 else
52450
52451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52452 $as_echo_n "checking for _fpclass declaration... " >&6; }
52453 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52454 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52455 $as_echo_n "(cached) " >&6
52456 else
52457
52458
52459 ac_ext=cpp
52460 ac_cpp='$CXXCPP $CPPFLAGS'
52461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52464
52465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52466 /* end confdefs.h. */
52467 #include <math.h>
52468 #ifdef HAVE_IEEEFP_H
52469 #include <ieeefp.h>
52470 #endif
52471
52472 int
52473 main ()
52474 {
52475 _fpclass(0);
52476 ;
52477 return 0;
52478 }
52479 _ACEOF
52480 if ac_fn_cxx_try_compile "$LINENO"; then :
52481 glibcxx_cv_func__fpclass_use=yes
52482 else
52483 glibcxx_cv_func__fpclass_use=no
52484 fi
52485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52486 ac_ext=c
52487 ac_cpp='$CPP $CPPFLAGS'
52488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52491
52492
52493 fi
52494
52495 fi
52496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52497 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52498
52499 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52500 for ac_func in _fpclass
52501 do :
52502 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52503 if test "x$ac_cv_func__fpclass" = x""yes; then :
52504 cat >>confdefs.h <<_ACEOF
52505 #define HAVE__FPCLASS 1
52506 _ACEOF
52507
52508 fi
52509 done
52510
52511 fi
52512 fi
52513
52514
52515
52516
52517
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52519 $as_echo_n "checking for qfpclass declaration... " >&6; }
52520 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52521 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52522 $as_echo_n "(cached) " >&6
52523 else
52524
52525
52526 ac_ext=cpp
52527 ac_cpp='$CXXCPP $CPPFLAGS'
52528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52531
52532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52533 /* end confdefs.h. */
52534 #include <math.h>
52535 #ifdef HAVE_IEEEFP_H
52536 #include <ieeefp.h>
52537 #endif
52538
52539 int
52540 main ()
52541 {
52542 qfpclass(0);
52543 ;
52544 return 0;
52545 }
52546 _ACEOF
52547 if ac_fn_cxx_try_compile "$LINENO"; then :
52548 glibcxx_cv_func_qfpclass_use=yes
52549 else
52550 glibcxx_cv_func_qfpclass_use=no
52551 fi
52552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52553 ac_ext=c
52554 ac_cpp='$CPP $CPPFLAGS'
52555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52558
52559
52560 fi
52561
52562 fi
52563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52564 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52565
52566 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52567 for ac_func in qfpclass
52568 do :
52569 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52570 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52571 cat >>confdefs.h <<_ACEOF
52572 #define HAVE_QFPCLASS 1
52573 _ACEOF
52574
52575 fi
52576 done
52577
52578 else
52579
52580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52581 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52582 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52583 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52584 $as_echo_n "(cached) " >&6
52585 else
52586
52587
52588 ac_ext=cpp
52589 ac_cpp='$CXXCPP $CPPFLAGS'
52590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52593
52594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52595 /* end confdefs.h. */
52596 #include <math.h>
52597 #ifdef HAVE_IEEEFP_H
52598 #include <ieeefp.h>
52599 #endif
52600
52601 int
52602 main ()
52603 {
52604 _qfpclass(0);
52605 ;
52606 return 0;
52607 }
52608 _ACEOF
52609 if ac_fn_cxx_try_compile "$LINENO"; then :
52610 glibcxx_cv_func__qfpclass_use=yes
52611 else
52612 glibcxx_cv_func__qfpclass_use=no
52613 fi
52614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52615 ac_ext=c
52616 ac_cpp='$CPP $CPPFLAGS'
52617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52620
52621
52622 fi
52623
52624 fi
52625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52626 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52627
52628 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52629 for ac_func in _qfpclass
52630 do :
52631 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52632 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52633 cat >>confdefs.h <<_ACEOF
52634 #define HAVE__QFPCLASS 1
52635 _ACEOF
52636
52637 fi
52638 done
52639
52640 fi
52641 fi
52642
52643
52644
52645
52646
52647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52648 $as_echo_n "checking for hypot declaration... " >&6; }
52649 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52650 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52651 $as_echo_n "(cached) " >&6
52652 else
52653
52654
52655 ac_ext=cpp
52656 ac_cpp='$CXXCPP $CPPFLAGS'
52657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52660
52661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52662 /* end confdefs.h. */
52663 #include <math.h>
52664 int
52665 main ()
52666 {
52667 hypot(0, 0);
52668 ;
52669 return 0;
52670 }
52671 _ACEOF
52672 if ac_fn_cxx_try_compile "$LINENO"; then :
52673 glibcxx_cv_func_hypot_use=yes
52674 else
52675 glibcxx_cv_func_hypot_use=no
52676 fi
52677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52678 ac_ext=c
52679 ac_cpp='$CPP $CPPFLAGS'
52680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52683
52684
52685 fi
52686
52687 fi
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52689 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52690
52691 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52692 for ac_func in hypot
52693 do :
52694 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52695 if test "x$ac_cv_func_hypot" = x""yes; then :
52696 cat >>confdefs.h <<_ACEOF
52697 #define HAVE_HYPOT 1
52698 _ACEOF
52699
52700 fi
52701 done
52702
52703 else
52704
52705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52706 $as_echo_n "checking for _hypot declaration... " >&6; }
52707 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52708 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52709 $as_echo_n "(cached) " >&6
52710 else
52711
52712
52713 ac_ext=cpp
52714 ac_cpp='$CXXCPP $CPPFLAGS'
52715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52718
52719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52720 /* end confdefs.h. */
52721 #include <math.h>
52722 int
52723 main ()
52724 {
52725 _hypot(0, 0);
52726 ;
52727 return 0;
52728 }
52729 _ACEOF
52730 if ac_fn_cxx_try_compile "$LINENO"; then :
52731 glibcxx_cv_func__hypot_use=yes
52732 else
52733 glibcxx_cv_func__hypot_use=no
52734 fi
52735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52736 ac_ext=c
52737 ac_cpp='$CPP $CPPFLAGS'
52738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52741
52742
52743 fi
52744
52745 fi
52746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52747 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52748
52749 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52750 for ac_func in _hypot
52751 do :
52752 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52753 if test "x$ac_cv_func__hypot" = x""yes; then :
52754 cat >>confdefs.h <<_ACEOF
52755 #define HAVE__HYPOT 1
52756 _ACEOF
52757
52758 fi
52759 done
52760
52761 fi
52762 fi
52763
52764
52765
52766
52767
52768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52769 $as_echo_n "checking for float trig functions... " >&6; }
52770 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52771 $as_echo_n "(cached) " >&6
52772 else
52773
52774
52775 ac_ext=cpp
52776 ac_cpp='$CXXCPP $CPPFLAGS'
52777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52780
52781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52782 /* end confdefs.h. */
52783 #include <math.h>
52784 int
52785 main ()
52786 {
52787 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52788 ;
52789 return 0;
52790 }
52791 _ACEOF
52792 if ac_fn_cxx_try_compile "$LINENO"; then :
52793 glibcxx_cv_func_float_trig_use=yes
52794 else
52795 glibcxx_cv_func_float_trig_use=no
52796 fi
52797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52798 ac_ext=c
52799 ac_cpp='$CPP $CPPFLAGS'
52800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52803
52804 fi
52805
52806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52807 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52808 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52809 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52810 do :
52811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52813 eval as_val=\$$as_ac_var
52814 if test "x$as_val" = x""yes; then :
52815 cat >>confdefs.h <<_ACEOF
52816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52817 _ACEOF
52818
52819 fi
52820 done
52821
52822 else
52823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52824 $as_echo_n "checking for _float trig functions... " >&6; }
52825 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52826 $as_echo_n "(cached) " >&6
52827 else
52828
52829
52830 ac_ext=cpp
52831 ac_cpp='$CXXCPP $CPPFLAGS'
52832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52835
52836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52837 /* end confdefs.h. */
52838 #include <math.h>
52839 int
52840 main ()
52841 {
52842 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52843 ;
52844 return 0;
52845 }
52846 _ACEOF
52847 if ac_fn_cxx_try_compile "$LINENO"; then :
52848 glibcxx_cv_func__float_trig_use=yes
52849 else
52850 glibcxx_cv_func__float_trig_use=no
52851 fi
52852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52853 ac_ext=c
52854 ac_cpp='$CPP $CPPFLAGS'
52855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52858
52859 fi
52860
52861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52862 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52863 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52864 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52865 do :
52866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52868 eval as_val=\$$as_ac_var
52869 if test "x$as_val" = x""yes; then :
52870 cat >>confdefs.h <<_ACEOF
52871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52872 _ACEOF
52873
52874 fi
52875 done
52876
52877 fi
52878 fi
52879
52880
52881
52882
52883
52884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52885 $as_echo_n "checking for float round functions... " >&6; }
52886 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52887 $as_echo_n "(cached) " >&6
52888 else
52889
52890
52891 ac_ext=cpp
52892 ac_cpp='$CXXCPP $CPPFLAGS'
52893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52896
52897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52898 /* end confdefs.h. */
52899 #include <math.h>
52900 int
52901 main ()
52902 {
52903 ceilf (0); floorf (0);
52904 ;
52905 return 0;
52906 }
52907 _ACEOF
52908 if ac_fn_cxx_try_compile "$LINENO"; then :
52909 glibcxx_cv_func_float_round_use=yes
52910 else
52911 glibcxx_cv_func_float_round_use=no
52912 fi
52913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52914 ac_ext=c
52915 ac_cpp='$CPP $CPPFLAGS'
52916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52919
52920 fi
52921
52922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52923 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52924 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52925 for ac_func in ceilf floorf
52926 do :
52927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52929 eval as_val=\$$as_ac_var
52930 if test "x$as_val" = x""yes; then :
52931 cat >>confdefs.h <<_ACEOF
52932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52933 _ACEOF
52934
52935 fi
52936 done
52937
52938 else
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52940 $as_echo_n "checking for _float round functions... " >&6; }
52941 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52942 $as_echo_n "(cached) " >&6
52943 else
52944
52945
52946 ac_ext=cpp
52947 ac_cpp='$CXXCPP $CPPFLAGS'
52948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52951
52952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52953 /* end confdefs.h. */
52954 #include <math.h>
52955 int
52956 main ()
52957 {
52958 _ceilf (0); _floorf (0);
52959 ;
52960 return 0;
52961 }
52962 _ACEOF
52963 if ac_fn_cxx_try_compile "$LINENO"; then :
52964 glibcxx_cv_func__float_round_use=yes
52965 else
52966 glibcxx_cv_func__float_round_use=no
52967 fi
52968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52969 ac_ext=c
52970 ac_cpp='$CPP $CPPFLAGS'
52971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52974
52975 fi
52976
52977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52978 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52979 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52980 for ac_func in _ceilf _floorf
52981 do :
52982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52984 eval as_val=\$$as_ac_var
52985 if test "x$as_val" = x""yes; then :
52986 cat >>confdefs.h <<_ACEOF
52987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52988 _ACEOF
52989
52990 fi
52991 done
52992
52993 fi
52994 fi
52995
52996
52997
52998
52999
53000
53001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53002 $as_echo_n "checking for expf declaration... " >&6; }
53003 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53004 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53005 $as_echo_n "(cached) " >&6
53006 else
53007
53008
53009 ac_ext=cpp
53010 ac_cpp='$CXXCPP $CPPFLAGS'
53011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53014
53015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53016 /* end confdefs.h. */
53017 #include <math.h>
53018 #ifdef HAVE_IEEEFP_H
53019 #include <ieeefp.h>
53020 #endif
53021
53022 int
53023 main ()
53024 {
53025 expf(0);
53026 ;
53027 return 0;
53028 }
53029 _ACEOF
53030 if ac_fn_cxx_try_compile "$LINENO"; then :
53031 glibcxx_cv_func_expf_use=yes
53032 else
53033 glibcxx_cv_func_expf_use=no
53034 fi
53035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53036 ac_ext=c
53037 ac_cpp='$CPP $CPPFLAGS'
53038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53041
53042
53043 fi
53044
53045 fi
53046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53047 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53048
53049 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53050 for ac_func in expf
53051 do :
53052 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53053 if test "x$ac_cv_func_expf" = x""yes; then :
53054 cat >>confdefs.h <<_ACEOF
53055 #define HAVE_EXPF 1
53056 _ACEOF
53057
53058 fi
53059 done
53060
53061 else
53062
53063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53064 $as_echo_n "checking for _expf declaration... " >&6; }
53065 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53066 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53067 $as_echo_n "(cached) " >&6
53068 else
53069
53070
53071 ac_ext=cpp
53072 ac_cpp='$CXXCPP $CPPFLAGS'
53073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53076
53077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53078 /* end confdefs.h. */
53079 #include <math.h>
53080 #ifdef HAVE_IEEEFP_H
53081 #include <ieeefp.h>
53082 #endif
53083
53084 int
53085 main ()
53086 {
53087 _expf(0);
53088 ;
53089 return 0;
53090 }
53091 _ACEOF
53092 if ac_fn_cxx_try_compile "$LINENO"; then :
53093 glibcxx_cv_func__expf_use=yes
53094 else
53095 glibcxx_cv_func__expf_use=no
53096 fi
53097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53098 ac_ext=c
53099 ac_cpp='$CPP $CPPFLAGS'
53100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53103
53104
53105 fi
53106
53107 fi
53108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53109 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53110
53111 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53112 for ac_func in _expf
53113 do :
53114 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53115 if test "x$ac_cv_func__expf" = x""yes; then :
53116 cat >>confdefs.h <<_ACEOF
53117 #define HAVE__EXPF 1
53118 _ACEOF
53119
53120 fi
53121 done
53122
53123 fi
53124 fi
53125
53126
53127
53128
53129
53130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53131 $as_echo_n "checking for isnanf declaration... " >&6; }
53132 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53133 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53134 $as_echo_n "(cached) " >&6
53135 else
53136
53137
53138 ac_ext=cpp
53139 ac_cpp='$CXXCPP $CPPFLAGS'
53140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53143
53144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53145 /* end confdefs.h. */
53146 #include <math.h>
53147 #ifdef HAVE_IEEEFP_H
53148 #include <ieeefp.h>
53149 #endif
53150
53151 int
53152 main ()
53153 {
53154 isnanf(0);
53155 ;
53156 return 0;
53157 }
53158 _ACEOF
53159 if ac_fn_cxx_try_compile "$LINENO"; then :
53160 glibcxx_cv_func_isnanf_use=yes
53161 else
53162 glibcxx_cv_func_isnanf_use=no
53163 fi
53164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53165 ac_ext=c
53166 ac_cpp='$CPP $CPPFLAGS'
53167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53170
53171
53172 fi
53173
53174 fi
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53176 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53177
53178 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53179 for ac_func in isnanf
53180 do :
53181 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53182 if test "x$ac_cv_func_isnanf" = x""yes; then :
53183 cat >>confdefs.h <<_ACEOF
53184 #define HAVE_ISNANF 1
53185 _ACEOF
53186
53187 fi
53188 done
53189
53190 else
53191
53192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53193 $as_echo_n "checking for _isnanf declaration... " >&6; }
53194 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53195 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53196 $as_echo_n "(cached) " >&6
53197 else
53198
53199
53200 ac_ext=cpp
53201 ac_cpp='$CXXCPP $CPPFLAGS'
53202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53205
53206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53207 /* end confdefs.h. */
53208 #include <math.h>
53209 #ifdef HAVE_IEEEFP_H
53210 #include <ieeefp.h>
53211 #endif
53212
53213 int
53214 main ()
53215 {
53216 _isnanf(0);
53217 ;
53218 return 0;
53219 }
53220 _ACEOF
53221 if ac_fn_cxx_try_compile "$LINENO"; then :
53222 glibcxx_cv_func__isnanf_use=yes
53223 else
53224 glibcxx_cv_func__isnanf_use=no
53225 fi
53226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53227 ac_ext=c
53228 ac_cpp='$CPP $CPPFLAGS'
53229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53232
53233
53234 fi
53235
53236 fi
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53238 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53239
53240 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53241 for ac_func in _isnanf
53242 do :
53243 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53244 if test "x$ac_cv_func__isnanf" = x""yes; then :
53245 cat >>confdefs.h <<_ACEOF
53246 #define HAVE__ISNANF 1
53247 _ACEOF
53248
53249 fi
53250 done
53251
53252 fi
53253 fi
53254
53255
53256
53257
53258
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53260 $as_echo_n "checking for isinff declaration... " >&6; }
53261 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53262 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53263 $as_echo_n "(cached) " >&6
53264 else
53265
53266
53267 ac_ext=cpp
53268 ac_cpp='$CXXCPP $CPPFLAGS'
53269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53272
53273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53274 /* end confdefs.h. */
53275 #include <math.h>
53276 #ifdef HAVE_IEEEFP_H
53277 #include <ieeefp.h>
53278 #endif
53279
53280 int
53281 main ()
53282 {
53283 isinff(0);
53284 ;
53285 return 0;
53286 }
53287 _ACEOF
53288 if ac_fn_cxx_try_compile "$LINENO"; then :
53289 glibcxx_cv_func_isinff_use=yes
53290 else
53291 glibcxx_cv_func_isinff_use=no
53292 fi
53293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53294 ac_ext=c
53295 ac_cpp='$CPP $CPPFLAGS'
53296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53299
53300
53301 fi
53302
53303 fi
53304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53305 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53306
53307 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53308 for ac_func in isinff
53309 do :
53310 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53311 if test "x$ac_cv_func_isinff" = x""yes; then :
53312 cat >>confdefs.h <<_ACEOF
53313 #define HAVE_ISINFF 1
53314 _ACEOF
53315
53316 fi
53317 done
53318
53319 else
53320
53321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53322 $as_echo_n "checking for _isinff declaration... " >&6; }
53323 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53324 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53325 $as_echo_n "(cached) " >&6
53326 else
53327
53328
53329 ac_ext=cpp
53330 ac_cpp='$CXXCPP $CPPFLAGS'
53331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53334
53335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53336 /* end confdefs.h. */
53337 #include <math.h>
53338 #ifdef HAVE_IEEEFP_H
53339 #include <ieeefp.h>
53340 #endif
53341
53342 int
53343 main ()
53344 {
53345 _isinff(0);
53346 ;
53347 return 0;
53348 }
53349 _ACEOF
53350 if ac_fn_cxx_try_compile "$LINENO"; then :
53351 glibcxx_cv_func__isinff_use=yes
53352 else
53353 glibcxx_cv_func__isinff_use=no
53354 fi
53355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53356 ac_ext=c
53357 ac_cpp='$CPP $CPPFLAGS'
53358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53361
53362
53363 fi
53364
53365 fi
53366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53367 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53368
53369 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53370 for ac_func in _isinff
53371 do :
53372 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53373 if test "x$ac_cv_func__isinff" = x""yes; then :
53374 cat >>confdefs.h <<_ACEOF
53375 #define HAVE__ISINFF 1
53376 _ACEOF
53377
53378 fi
53379 done
53380
53381 fi
53382 fi
53383
53384
53385
53386
53387
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53389 $as_echo_n "checking for atan2f declaration... " >&6; }
53390 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53391 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53392 $as_echo_n "(cached) " >&6
53393 else
53394
53395
53396 ac_ext=cpp
53397 ac_cpp='$CXXCPP $CPPFLAGS'
53398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53401
53402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53403 /* end confdefs.h. */
53404 #include <math.h>
53405 int
53406 main ()
53407 {
53408 atan2f(0, 0);
53409 ;
53410 return 0;
53411 }
53412 _ACEOF
53413 if ac_fn_cxx_try_compile "$LINENO"; then :
53414 glibcxx_cv_func_atan2f_use=yes
53415 else
53416 glibcxx_cv_func_atan2f_use=no
53417 fi
53418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53419 ac_ext=c
53420 ac_cpp='$CPP $CPPFLAGS'
53421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53424
53425
53426 fi
53427
53428 fi
53429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53430 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53431
53432 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53433 for ac_func in atan2f
53434 do :
53435 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53436 if test "x$ac_cv_func_atan2f" = x""yes; then :
53437 cat >>confdefs.h <<_ACEOF
53438 #define HAVE_ATAN2F 1
53439 _ACEOF
53440
53441 fi
53442 done
53443
53444 else
53445
53446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53447 $as_echo_n "checking for _atan2f declaration... " >&6; }
53448 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53449 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53450 $as_echo_n "(cached) " >&6
53451 else
53452
53453
53454 ac_ext=cpp
53455 ac_cpp='$CXXCPP $CPPFLAGS'
53456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53459
53460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53461 /* end confdefs.h. */
53462 #include <math.h>
53463 int
53464 main ()
53465 {
53466 _atan2f(0, 0);
53467 ;
53468 return 0;
53469 }
53470 _ACEOF
53471 if ac_fn_cxx_try_compile "$LINENO"; then :
53472 glibcxx_cv_func__atan2f_use=yes
53473 else
53474 glibcxx_cv_func__atan2f_use=no
53475 fi
53476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53477 ac_ext=c
53478 ac_cpp='$CPP $CPPFLAGS'
53479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53482
53483
53484 fi
53485
53486 fi
53487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53488 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53489
53490 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53491 for ac_func in _atan2f
53492 do :
53493 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53494 if test "x$ac_cv_func__atan2f" = x""yes; then :
53495 cat >>confdefs.h <<_ACEOF
53496 #define HAVE__ATAN2F 1
53497 _ACEOF
53498
53499 fi
53500 done
53501
53502 fi
53503 fi
53504
53505
53506
53507
53508
53509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53510 $as_echo_n "checking for fabsf declaration... " >&6; }
53511 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53512 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53513 $as_echo_n "(cached) " >&6
53514 else
53515
53516
53517 ac_ext=cpp
53518 ac_cpp='$CXXCPP $CPPFLAGS'
53519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53522
53523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53524 /* end confdefs.h. */
53525 #include <math.h>
53526 #ifdef HAVE_IEEEFP_H
53527 #include <ieeefp.h>
53528 #endif
53529
53530 int
53531 main ()
53532 {
53533 fabsf(0);
53534 ;
53535 return 0;
53536 }
53537 _ACEOF
53538 if ac_fn_cxx_try_compile "$LINENO"; then :
53539 glibcxx_cv_func_fabsf_use=yes
53540 else
53541 glibcxx_cv_func_fabsf_use=no
53542 fi
53543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53544 ac_ext=c
53545 ac_cpp='$CPP $CPPFLAGS'
53546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53549
53550
53551 fi
53552
53553 fi
53554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53555 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53556
53557 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53558 for ac_func in fabsf
53559 do :
53560 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53561 if test "x$ac_cv_func_fabsf" = x""yes; then :
53562 cat >>confdefs.h <<_ACEOF
53563 #define HAVE_FABSF 1
53564 _ACEOF
53565
53566 fi
53567 done
53568
53569 else
53570
53571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53572 $as_echo_n "checking for _fabsf declaration... " >&6; }
53573 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53574 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53575 $as_echo_n "(cached) " >&6
53576 else
53577
53578
53579 ac_ext=cpp
53580 ac_cpp='$CXXCPP $CPPFLAGS'
53581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53584
53585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53586 /* end confdefs.h. */
53587 #include <math.h>
53588 #ifdef HAVE_IEEEFP_H
53589 #include <ieeefp.h>
53590 #endif
53591
53592 int
53593 main ()
53594 {
53595 _fabsf(0);
53596 ;
53597 return 0;
53598 }
53599 _ACEOF
53600 if ac_fn_cxx_try_compile "$LINENO"; then :
53601 glibcxx_cv_func__fabsf_use=yes
53602 else
53603 glibcxx_cv_func__fabsf_use=no
53604 fi
53605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53606 ac_ext=c
53607 ac_cpp='$CPP $CPPFLAGS'
53608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53611
53612
53613 fi
53614
53615 fi
53616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53617 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53618
53619 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53620 for ac_func in _fabsf
53621 do :
53622 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53623 if test "x$ac_cv_func__fabsf" = x""yes; then :
53624 cat >>confdefs.h <<_ACEOF
53625 #define HAVE__FABSF 1
53626 _ACEOF
53627
53628 fi
53629 done
53630
53631 fi
53632 fi
53633
53634
53635
53636
53637
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53639 $as_echo_n "checking for fmodf declaration... " >&6; }
53640 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53641 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53642 $as_echo_n "(cached) " >&6
53643 else
53644
53645
53646 ac_ext=cpp
53647 ac_cpp='$CXXCPP $CPPFLAGS'
53648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53651
53652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53653 /* end confdefs.h. */
53654 #include <math.h>
53655 int
53656 main ()
53657 {
53658 fmodf(0, 0);
53659 ;
53660 return 0;
53661 }
53662 _ACEOF
53663 if ac_fn_cxx_try_compile "$LINENO"; then :
53664 glibcxx_cv_func_fmodf_use=yes
53665 else
53666 glibcxx_cv_func_fmodf_use=no
53667 fi
53668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53669 ac_ext=c
53670 ac_cpp='$CPP $CPPFLAGS'
53671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53674
53675
53676 fi
53677
53678 fi
53679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53680 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53681
53682 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53683 for ac_func in fmodf
53684 do :
53685 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53686 if test "x$ac_cv_func_fmodf" = x""yes; then :
53687 cat >>confdefs.h <<_ACEOF
53688 #define HAVE_FMODF 1
53689 _ACEOF
53690
53691 fi
53692 done
53693
53694 else
53695
53696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53697 $as_echo_n "checking for _fmodf declaration... " >&6; }
53698 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53699 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53700 $as_echo_n "(cached) " >&6
53701 else
53702
53703
53704 ac_ext=cpp
53705 ac_cpp='$CXXCPP $CPPFLAGS'
53706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53709
53710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53711 /* end confdefs.h. */
53712 #include <math.h>
53713 int
53714 main ()
53715 {
53716 _fmodf(0, 0);
53717 ;
53718 return 0;
53719 }
53720 _ACEOF
53721 if ac_fn_cxx_try_compile "$LINENO"; then :
53722 glibcxx_cv_func__fmodf_use=yes
53723 else
53724 glibcxx_cv_func__fmodf_use=no
53725 fi
53726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53727 ac_ext=c
53728 ac_cpp='$CPP $CPPFLAGS'
53729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53732
53733
53734 fi
53735
53736 fi
53737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53738 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53739
53740 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53741 for ac_func in _fmodf
53742 do :
53743 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53744 if test "x$ac_cv_func__fmodf" = x""yes; then :
53745 cat >>confdefs.h <<_ACEOF
53746 #define HAVE__FMODF 1
53747 _ACEOF
53748
53749 fi
53750 done
53751
53752 fi
53753 fi
53754
53755
53756
53757
53758
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53760 $as_echo_n "checking for frexpf declaration... " >&6; }
53761 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53762 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53763 $as_echo_n "(cached) " >&6
53764 else
53765
53766
53767 ac_ext=cpp
53768 ac_cpp='$CXXCPP $CPPFLAGS'
53769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53772
53773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53774 /* end confdefs.h. */
53775 #include <math.h>
53776 int
53777 main ()
53778 {
53779 frexpf(0, 0);
53780 ;
53781 return 0;
53782 }
53783 _ACEOF
53784 if ac_fn_cxx_try_compile "$LINENO"; then :
53785 glibcxx_cv_func_frexpf_use=yes
53786 else
53787 glibcxx_cv_func_frexpf_use=no
53788 fi
53789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53790 ac_ext=c
53791 ac_cpp='$CPP $CPPFLAGS'
53792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53795
53796
53797 fi
53798
53799 fi
53800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53801 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53802
53803 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53804 for ac_func in frexpf
53805 do :
53806 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53807 if test "x$ac_cv_func_frexpf" = x""yes; then :
53808 cat >>confdefs.h <<_ACEOF
53809 #define HAVE_FREXPF 1
53810 _ACEOF
53811
53812 fi
53813 done
53814
53815 else
53816
53817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53818 $as_echo_n "checking for _frexpf declaration... " >&6; }
53819 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53820 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53821 $as_echo_n "(cached) " >&6
53822 else
53823
53824
53825 ac_ext=cpp
53826 ac_cpp='$CXXCPP $CPPFLAGS'
53827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53830
53831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53832 /* end confdefs.h. */
53833 #include <math.h>
53834 int
53835 main ()
53836 {
53837 _frexpf(0, 0);
53838 ;
53839 return 0;
53840 }
53841 _ACEOF
53842 if ac_fn_cxx_try_compile "$LINENO"; then :
53843 glibcxx_cv_func__frexpf_use=yes
53844 else
53845 glibcxx_cv_func__frexpf_use=no
53846 fi
53847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53848 ac_ext=c
53849 ac_cpp='$CPP $CPPFLAGS'
53850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53853
53854
53855 fi
53856
53857 fi
53858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53859 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53860
53861 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53862 for ac_func in _frexpf
53863 do :
53864 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53865 if test "x$ac_cv_func__frexpf" = x""yes; then :
53866 cat >>confdefs.h <<_ACEOF
53867 #define HAVE__FREXPF 1
53868 _ACEOF
53869
53870 fi
53871 done
53872
53873 fi
53874 fi
53875
53876
53877
53878
53879
53880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53881 $as_echo_n "checking for hypotf declaration... " >&6; }
53882 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53883 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53884 $as_echo_n "(cached) " >&6
53885 else
53886
53887
53888 ac_ext=cpp
53889 ac_cpp='$CXXCPP $CPPFLAGS'
53890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53893
53894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53895 /* end confdefs.h. */
53896 #include <math.h>
53897 int
53898 main ()
53899 {
53900 hypotf(0, 0);
53901 ;
53902 return 0;
53903 }
53904 _ACEOF
53905 if ac_fn_cxx_try_compile "$LINENO"; then :
53906 glibcxx_cv_func_hypotf_use=yes
53907 else
53908 glibcxx_cv_func_hypotf_use=no
53909 fi
53910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53911 ac_ext=c
53912 ac_cpp='$CPP $CPPFLAGS'
53913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53916
53917
53918 fi
53919
53920 fi
53921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53922 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53923
53924 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53925 for ac_func in hypotf
53926 do :
53927 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53928 if test "x$ac_cv_func_hypotf" = x""yes; then :
53929 cat >>confdefs.h <<_ACEOF
53930 #define HAVE_HYPOTF 1
53931 _ACEOF
53932
53933 fi
53934 done
53935
53936 else
53937
53938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53939 $as_echo_n "checking for _hypotf declaration... " >&6; }
53940 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53941 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53942 $as_echo_n "(cached) " >&6
53943 else
53944
53945
53946 ac_ext=cpp
53947 ac_cpp='$CXXCPP $CPPFLAGS'
53948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53951
53952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53953 /* end confdefs.h. */
53954 #include <math.h>
53955 int
53956 main ()
53957 {
53958 _hypotf(0, 0);
53959 ;
53960 return 0;
53961 }
53962 _ACEOF
53963 if ac_fn_cxx_try_compile "$LINENO"; then :
53964 glibcxx_cv_func__hypotf_use=yes
53965 else
53966 glibcxx_cv_func__hypotf_use=no
53967 fi
53968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53969 ac_ext=c
53970 ac_cpp='$CPP $CPPFLAGS'
53971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53974
53975
53976 fi
53977
53978 fi
53979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53980 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53981
53982 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53983 for ac_func in _hypotf
53984 do :
53985 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53986 if test "x$ac_cv_func__hypotf" = x""yes; then :
53987 cat >>confdefs.h <<_ACEOF
53988 #define HAVE__HYPOTF 1
53989 _ACEOF
53990
53991 fi
53992 done
53993
53994 fi
53995 fi
53996
53997
53998
53999
54000
54001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54002 $as_echo_n "checking for ldexpf declaration... " >&6; }
54003 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54004 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54005 $as_echo_n "(cached) " >&6
54006 else
54007
54008
54009 ac_ext=cpp
54010 ac_cpp='$CXXCPP $CPPFLAGS'
54011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54014
54015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54016 /* end confdefs.h. */
54017 #include <math.h>
54018 int
54019 main ()
54020 {
54021 ldexpf(0, 0);
54022 ;
54023 return 0;
54024 }
54025 _ACEOF
54026 if ac_fn_cxx_try_compile "$LINENO"; then :
54027 glibcxx_cv_func_ldexpf_use=yes
54028 else
54029 glibcxx_cv_func_ldexpf_use=no
54030 fi
54031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54032 ac_ext=c
54033 ac_cpp='$CPP $CPPFLAGS'
54034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54037
54038
54039 fi
54040
54041 fi
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54043 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54044
54045 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54046 for ac_func in ldexpf
54047 do :
54048 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54049 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54050 cat >>confdefs.h <<_ACEOF
54051 #define HAVE_LDEXPF 1
54052 _ACEOF
54053
54054 fi
54055 done
54056
54057 else
54058
54059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54060 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54061 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54062 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54063 $as_echo_n "(cached) " >&6
54064 else
54065
54066
54067 ac_ext=cpp
54068 ac_cpp='$CXXCPP $CPPFLAGS'
54069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54072
54073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54074 /* end confdefs.h. */
54075 #include <math.h>
54076 int
54077 main ()
54078 {
54079 _ldexpf(0, 0);
54080 ;
54081 return 0;
54082 }
54083 _ACEOF
54084 if ac_fn_cxx_try_compile "$LINENO"; then :
54085 glibcxx_cv_func__ldexpf_use=yes
54086 else
54087 glibcxx_cv_func__ldexpf_use=no
54088 fi
54089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54090 ac_ext=c
54091 ac_cpp='$CPP $CPPFLAGS'
54092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54095
54096
54097 fi
54098
54099 fi
54100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54101 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54102
54103 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54104 for ac_func in _ldexpf
54105 do :
54106 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54107 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54108 cat >>confdefs.h <<_ACEOF
54109 #define HAVE__LDEXPF 1
54110 _ACEOF
54111
54112 fi
54113 done
54114
54115 fi
54116 fi
54117
54118
54119
54120
54121
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54123 $as_echo_n "checking for logf declaration... " >&6; }
54124 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54125 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54126 $as_echo_n "(cached) " >&6
54127 else
54128
54129
54130 ac_ext=cpp
54131 ac_cpp='$CXXCPP $CPPFLAGS'
54132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54135
54136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54137 /* end confdefs.h. */
54138 #include <math.h>
54139 #ifdef HAVE_IEEEFP_H
54140 #include <ieeefp.h>
54141 #endif
54142
54143 int
54144 main ()
54145 {
54146 logf(0);
54147 ;
54148 return 0;
54149 }
54150 _ACEOF
54151 if ac_fn_cxx_try_compile "$LINENO"; then :
54152 glibcxx_cv_func_logf_use=yes
54153 else
54154 glibcxx_cv_func_logf_use=no
54155 fi
54156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54157 ac_ext=c
54158 ac_cpp='$CPP $CPPFLAGS'
54159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54162
54163
54164 fi
54165
54166 fi
54167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54168 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54169
54170 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54171 for ac_func in logf
54172 do :
54173 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54174 if test "x$ac_cv_func_logf" = x""yes; then :
54175 cat >>confdefs.h <<_ACEOF
54176 #define HAVE_LOGF 1
54177 _ACEOF
54178
54179 fi
54180 done
54181
54182 else
54183
54184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54185 $as_echo_n "checking for _logf declaration... " >&6; }
54186 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54187 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54188 $as_echo_n "(cached) " >&6
54189 else
54190
54191
54192 ac_ext=cpp
54193 ac_cpp='$CXXCPP $CPPFLAGS'
54194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54197
54198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54199 /* end confdefs.h. */
54200 #include <math.h>
54201 #ifdef HAVE_IEEEFP_H
54202 #include <ieeefp.h>
54203 #endif
54204
54205 int
54206 main ()
54207 {
54208 _logf(0);
54209 ;
54210 return 0;
54211 }
54212 _ACEOF
54213 if ac_fn_cxx_try_compile "$LINENO"; then :
54214 glibcxx_cv_func__logf_use=yes
54215 else
54216 glibcxx_cv_func__logf_use=no
54217 fi
54218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54219 ac_ext=c
54220 ac_cpp='$CPP $CPPFLAGS'
54221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54224
54225
54226 fi
54227
54228 fi
54229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54230 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54231
54232 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54233 for ac_func in _logf
54234 do :
54235 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54236 if test "x$ac_cv_func__logf" = x""yes; then :
54237 cat >>confdefs.h <<_ACEOF
54238 #define HAVE__LOGF 1
54239 _ACEOF
54240
54241 fi
54242 done
54243
54244 fi
54245 fi
54246
54247
54248
54249
54250
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54252 $as_echo_n "checking for log10f declaration... " >&6; }
54253 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54254 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54255 $as_echo_n "(cached) " >&6
54256 else
54257
54258
54259 ac_ext=cpp
54260 ac_cpp='$CXXCPP $CPPFLAGS'
54261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54264
54265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54266 /* end confdefs.h. */
54267 #include <math.h>
54268 #ifdef HAVE_IEEEFP_H
54269 #include <ieeefp.h>
54270 #endif
54271
54272 int
54273 main ()
54274 {
54275 log10f(0);
54276 ;
54277 return 0;
54278 }
54279 _ACEOF
54280 if ac_fn_cxx_try_compile "$LINENO"; then :
54281 glibcxx_cv_func_log10f_use=yes
54282 else
54283 glibcxx_cv_func_log10f_use=no
54284 fi
54285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54286 ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291
54292
54293 fi
54294
54295 fi
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54297 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54298
54299 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54300 for ac_func in log10f
54301 do :
54302 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54303 if test "x$ac_cv_func_log10f" = x""yes; then :
54304 cat >>confdefs.h <<_ACEOF
54305 #define HAVE_LOG10F 1
54306 _ACEOF
54307
54308 fi
54309 done
54310
54311 else
54312
54313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54314 $as_echo_n "checking for _log10f declaration... " >&6; }
54315 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54316 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54317 $as_echo_n "(cached) " >&6
54318 else
54319
54320
54321 ac_ext=cpp
54322 ac_cpp='$CXXCPP $CPPFLAGS'
54323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54326
54327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54328 /* end confdefs.h. */
54329 #include <math.h>
54330 #ifdef HAVE_IEEEFP_H
54331 #include <ieeefp.h>
54332 #endif
54333
54334 int
54335 main ()
54336 {
54337 _log10f(0);
54338 ;
54339 return 0;
54340 }
54341 _ACEOF
54342 if ac_fn_cxx_try_compile "$LINENO"; then :
54343 glibcxx_cv_func__log10f_use=yes
54344 else
54345 glibcxx_cv_func__log10f_use=no
54346 fi
54347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54348 ac_ext=c
54349 ac_cpp='$CPP $CPPFLAGS'
54350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54353
54354
54355 fi
54356
54357 fi
54358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54359 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54360
54361 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54362 for ac_func in _log10f
54363 do :
54364 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54365 if test "x$ac_cv_func__log10f" = x""yes; then :
54366 cat >>confdefs.h <<_ACEOF
54367 #define HAVE__LOG10F 1
54368 _ACEOF
54369
54370 fi
54371 done
54372
54373 fi
54374 fi
54375
54376
54377
54378
54379
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54381 $as_echo_n "checking for modff declaration... " >&6; }
54382 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54383 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54384 $as_echo_n "(cached) " >&6
54385 else
54386
54387
54388 ac_ext=cpp
54389 ac_cpp='$CXXCPP $CPPFLAGS'
54390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54393
54394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54395 /* end confdefs.h. */
54396 #include <math.h>
54397 int
54398 main ()
54399 {
54400 modff(0, 0);
54401 ;
54402 return 0;
54403 }
54404 _ACEOF
54405 if ac_fn_cxx_try_compile "$LINENO"; then :
54406 glibcxx_cv_func_modff_use=yes
54407 else
54408 glibcxx_cv_func_modff_use=no
54409 fi
54410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54411 ac_ext=c
54412 ac_cpp='$CPP $CPPFLAGS'
54413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54416
54417
54418 fi
54419
54420 fi
54421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54422 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54423
54424 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54425 for ac_func in modff
54426 do :
54427 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54428 if test "x$ac_cv_func_modff" = x""yes; then :
54429 cat >>confdefs.h <<_ACEOF
54430 #define HAVE_MODFF 1
54431 _ACEOF
54432
54433 fi
54434 done
54435
54436 else
54437
54438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54439 $as_echo_n "checking for _modff declaration... " >&6; }
54440 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54441 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54442 $as_echo_n "(cached) " >&6
54443 else
54444
54445
54446 ac_ext=cpp
54447 ac_cpp='$CXXCPP $CPPFLAGS'
54448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54451
54452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54453 /* end confdefs.h. */
54454 #include <math.h>
54455 int
54456 main ()
54457 {
54458 _modff(0, 0);
54459 ;
54460 return 0;
54461 }
54462 _ACEOF
54463 if ac_fn_cxx_try_compile "$LINENO"; then :
54464 glibcxx_cv_func__modff_use=yes
54465 else
54466 glibcxx_cv_func__modff_use=no
54467 fi
54468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54469 ac_ext=c
54470 ac_cpp='$CPP $CPPFLAGS'
54471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54474
54475
54476 fi
54477
54478 fi
54479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54480 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54481
54482 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54483 for ac_func in _modff
54484 do :
54485 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54486 if test "x$ac_cv_func__modff" = x""yes; then :
54487 cat >>confdefs.h <<_ACEOF
54488 #define HAVE__MODFF 1
54489 _ACEOF
54490
54491 fi
54492 done
54493
54494 fi
54495 fi
54496
54497
54498
54499
54500
54501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54502 $as_echo_n "checking for modf declaration... " >&6; }
54503 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54504 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54505 $as_echo_n "(cached) " >&6
54506 else
54507
54508
54509 ac_ext=cpp
54510 ac_cpp='$CXXCPP $CPPFLAGS'
54511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54514
54515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54516 /* end confdefs.h. */
54517 #include <math.h>
54518 int
54519 main ()
54520 {
54521 modf(0, 0);
54522 ;
54523 return 0;
54524 }
54525 _ACEOF
54526 if ac_fn_cxx_try_compile "$LINENO"; then :
54527 glibcxx_cv_func_modf_use=yes
54528 else
54529 glibcxx_cv_func_modf_use=no
54530 fi
54531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54532 ac_ext=c
54533 ac_cpp='$CPP $CPPFLAGS'
54534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54537
54538
54539 fi
54540
54541 fi
54542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54543 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54544
54545 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54546 for ac_func in modf
54547 do :
54548 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54549 if test "x$ac_cv_func_modf" = x""yes; then :
54550 cat >>confdefs.h <<_ACEOF
54551 #define HAVE_MODF 1
54552 _ACEOF
54553
54554 fi
54555 done
54556
54557 else
54558
54559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54560 $as_echo_n "checking for _modf declaration... " >&6; }
54561 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54562 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54563 $as_echo_n "(cached) " >&6
54564 else
54565
54566
54567 ac_ext=cpp
54568 ac_cpp='$CXXCPP $CPPFLAGS'
54569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54572
54573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54574 /* end confdefs.h. */
54575 #include <math.h>
54576 int
54577 main ()
54578 {
54579 _modf(0, 0);
54580 ;
54581 return 0;
54582 }
54583 _ACEOF
54584 if ac_fn_cxx_try_compile "$LINENO"; then :
54585 glibcxx_cv_func__modf_use=yes
54586 else
54587 glibcxx_cv_func__modf_use=no
54588 fi
54589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54590 ac_ext=c
54591 ac_cpp='$CPP $CPPFLAGS'
54592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54595
54596
54597 fi
54598
54599 fi
54600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54601 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54602
54603 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54604 for ac_func in _modf
54605 do :
54606 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54607 if test "x$ac_cv_func__modf" = x""yes; then :
54608 cat >>confdefs.h <<_ACEOF
54609 #define HAVE__MODF 1
54610 _ACEOF
54611
54612 fi
54613 done
54614
54615 fi
54616 fi
54617
54618
54619
54620
54621
54622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54623 $as_echo_n "checking for powf declaration... " >&6; }
54624 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54625 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54626 $as_echo_n "(cached) " >&6
54627 else
54628
54629
54630 ac_ext=cpp
54631 ac_cpp='$CXXCPP $CPPFLAGS'
54632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54635
54636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54637 /* end confdefs.h. */
54638 #include <math.h>
54639 int
54640 main ()
54641 {
54642 powf(0, 0);
54643 ;
54644 return 0;
54645 }
54646 _ACEOF
54647 if ac_fn_cxx_try_compile "$LINENO"; then :
54648 glibcxx_cv_func_powf_use=yes
54649 else
54650 glibcxx_cv_func_powf_use=no
54651 fi
54652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54653 ac_ext=c
54654 ac_cpp='$CPP $CPPFLAGS'
54655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54658
54659
54660 fi
54661
54662 fi
54663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54664 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54665
54666 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54667 for ac_func in powf
54668 do :
54669 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54670 if test "x$ac_cv_func_powf" = x""yes; then :
54671 cat >>confdefs.h <<_ACEOF
54672 #define HAVE_POWF 1
54673 _ACEOF
54674
54675 fi
54676 done
54677
54678 else
54679
54680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54681 $as_echo_n "checking for _powf declaration... " >&6; }
54682 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54683 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54684 $as_echo_n "(cached) " >&6
54685 else
54686
54687
54688 ac_ext=cpp
54689 ac_cpp='$CXXCPP $CPPFLAGS'
54690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54693
54694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54695 /* end confdefs.h. */
54696 #include <math.h>
54697 int
54698 main ()
54699 {
54700 _powf(0, 0);
54701 ;
54702 return 0;
54703 }
54704 _ACEOF
54705 if ac_fn_cxx_try_compile "$LINENO"; then :
54706 glibcxx_cv_func__powf_use=yes
54707 else
54708 glibcxx_cv_func__powf_use=no
54709 fi
54710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54711 ac_ext=c
54712 ac_cpp='$CPP $CPPFLAGS'
54713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54716
54717
54718 fi
54719
54720 fi
54721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54722 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54723
54724 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54725 for ac_func in _powf
54726 do :
54727 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54728 if test "x$ac_cv_func__powf" = x""yes; then :
54729 cat >>confdefs.h <<_ACEOF
54730 #define HAVE__POWF 1
54731 _ACEOF
54732
54733 fi
54734 done
54735
54736 fi
54737 fi
54738
54739
54740
54741
54742
54743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54744 $as_echo_n "checking for sqrtf declaration... " >&6; }
54745 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54746 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54747 $as_echo_n "(cached) " >&6
54748 else
54749
54750
54751 ac_ext=cpp
54752 ac_cpp='$CXXCPP $CPPFLAGS'
54753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54756
54757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54758 /* end confdefs.h. */
54759 #include <math.h>
54760 #ifdef HAVE_IEEEFP_H
54761 #include <ieeefp.h>
54762 #endif
54763
54764 int
54765 main ()
54766 {
54767 sqrtf(0);
54768 ;
54769 return 0;
54770 }
54771 _ACEOF
54772 if ac_fn_cxx_try_compile "$LINENO"; then :
54773 glibcxx_cv_func_sqrtf_use=yes
54774 else
54775 glibcxx_cv_func_sqrtf_use=no
54776 fi
54777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54778 ac_ext=c
54779 ac_cpp='$CPP $CPPFLAGS'
54780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54783
54784
54785 fi
54786
54787 fi
54788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54789 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54790
54791 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54792 for ac_func in sqrtf
54793 do :
54794 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54795 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54796 cat >>confdefs.h <<_ACEOF
54797 #define HAVE_SQRTF 1
54798 _ACEOF
54799
54800 fi
54801 done
54802
54803 else
54804
54805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54806 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54807 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54808 if test "${glibcxx_cv_func__sqrtf_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 #ifdef HAVE_IEEEFP_H
54823 #include <ieeefp.h>
54824 #endif
54825
54826 int
54827 main ()
54828 {
54829 _sqrtf(0);
54830 ;
54831 return 0;
54832 }
54833 _ACEOF
54834 if ac_fn_cxx_try_compile "$LINENO"; then :
54835 glibcxx_cv_func__sqrtf_use=yes
54836 else
54837 glibcxx_cv_func__sqrtf_use=no
54838 fi
54839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54840 ac_ext=c
54841 ac_cpp='$CPP $CPPFLAGS'
54842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54845
54846
54847 fi
54848
54849 fi
54850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54851 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54852
54853 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54854 for ac_func in _sqrtf
54855 do :
54856 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54857 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54858 cat >>confdefs.h <<_ACEOF
54859 #define HAVE__SQRTF 1
54860 _ACEOF
54861
54862 fi
54863 done
54864
54865 fi
54866 fi
54867
54868
54869
54870
54871
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54873 $as_echo_n "checking for sincosf declaration... " >&6; }
54874 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54875 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54876 $as_echo_n "(cached) " >&6
54877 else
54878
54879
54880 ac_ext=cpp
54881 ac_cpp='$CXXCPP $CPPFLAGS'
54882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54885
54886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54887 /* end confdefs.h. */
54888 #include <math.h>
54889 int
54890 main ()
54891 {
54892 sincosf(0, 0, 0);
54893 ;
54894 return 0;
54895 }
54896 _ACEOF
54897 if ac_fn_cxx_try_compile "$LINENO"; then :
54898 glibcxx_cv_func_sincosf_use=yes
54899 else
54900 glibcxx_cv_func_sincosf_use=no
54901 fi
54902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54903 ac_ext=c
54904 ac_cpp='$CPP $CPPFLAGS'
54905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54908
54909
54910 fi
54911
54912 fi
54913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54914 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54915
54916 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54917 for ac_func in sincosf
54918 do :
54919 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54920 if test "x$ac_cv_func_sincosf" = x""yes; then :
54921 cat >>confdefs.h <<_ACEOF
54922 #define HAVE_SINCOSF 1
54923 _ACEOF
54924
54925 fi
54926 done
54927
54928 else
54929
54930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54931 $as_echo_n "checking for _sincosf declaration... " >&6; }
54932 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54933 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54934 $as_echo_n "(cached) " >&6
54935 else
54936
54937
54938 ac_ext=cpp
54939 ac_cpp='$CXXCPP $CPPFLAGS'
54940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54943
54944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54945 /* end confdefs.h. */
54946 #include <math.h>
54947 int
54948 main ()
54949 {
54950 _sincosf(0, 0, 0);
54951 ;
54952 return 0;
54953 }
54954 _ACEOF
54955 if ac_fn_cxx_try_compile "$LINENO"; then :
54956 glibcxx_cv_func__sincosf_use=yes
54957 else
54958 glibcxx_cv_func__sincosf_use=no
54959 fi
54960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54961 ac_ext=c
54962 ac_cpp='$CPP $CPPFLAGS'
54963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54966
54967
54968 fi
54969
54970 fi
54971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54972 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54973
54974 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54975 for ac_func in _sincosf
54976 do :
54977 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54978 if test "x$ac_cv_func__sincosf" = x""yes; then :
54979 cat >>confdefs.h <<_ACEOF
54980 #define HAVE__SINCOSF 1
54981 _ACEOF
54982
54983 fi
54984 done
54985
54986 fi
54987 fi
54988
54989
54990
54991
54992
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54994 $as_echo_n "checking for finitef declaration... " >&6; }
54995 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54996 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54997 $as_echo_n "(cached) " >&6
54998 else
54999
55000
55001 ac_ext=cpp
55002 ac_cpp='$CXXCPP $CPPFLAGS'
55003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55006
55007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55008 /* end confdefs.h. */
55009 #include <math.h>
55010 #ifdef HAVE_IEEEFP_H
55011 #include <ieeefp.h>
55012 #endif
55013
55014 int
55015 main ()
55016 {
55017 finitef(0);
55018 ;
55019 return 0;
55020 }
55021 _ACEOF
55022 if ac_fn_cxx_try_compile "$LINENO"; then :
55023 glibcxx_cv_func_finitef_use=yes
55024 else
55025 glibcxx_cv_func_finitef_use=no
55026 fi
55027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55028 ac_ext=c
55029 ac_cpp='$CPP $CPPFLAGS'
55030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55033
55034
55035 fi
55036
55037 fi
55038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55039 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55040
55041 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55042 for ac_func in finitef
55043 do :
55044 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55045 if test "x$ac_cv_func_finitef" = x""yes; then :
55046 cat >>confdefs.h <<_ACEOF
55047 #define HAVE_FINITEF 1
55048 _ACEOF
55049
55050 fi
55051 done
55052
55053 else
55054
55055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55056 $as_echo_n "checking for _finitef declaration... " >&6; }
55057 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55058 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55059 $as_echo_n "(cached) " >&6
55060 else
55061
55062
55063 ac_ext=cpp
55064 ac_cpp='$CXXCPP $CPPFLAGS'
55065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55068
55069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55070 /* end confdefs.h. */
55071 #include <math.h>
55072 #ifdef HAVE_IEEEFP_H
55073 #include <ieeefp.h>
55074 #endif
55075
55076 int
55077 main ()
55078 {
55079 _finitef(0);
55080 ;
55081 return 0;
55082 }
55083 _ACEOF
55084 if ac_fn_cxx_try_compile "$LINENO"; then :
55085 glibcxx_cv_func__finitef_use=yes
55086 else
55087 glibcxx_cv_func__finitef_use=no
55088 fi
55089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55090 ac_ext=c
55091 ac_cpp='$CPP $CPPFLAGS'
55092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55095
55096
55097 fi
55098
55099 fi
55100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55101 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55102
55103 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55104 for ac_func in _finitef
55105 do :
55106 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55107 if test "x$ac_cv_func__finitef" = x""yes; then :
55108 cat >>confdefs.h <<_ACEOF
55109 #define HAVE__FINITEF 1
55110 _ACEOF
55111
55112 fi
55113 done
55114
55115 fi
55116 fi
55117
55118
55119
55120
55121
55122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55123 $as_echo_n "checking for long double trig functions... " >&6; }
55124 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55125 $as_echo_n "(cached) " >&6
55126 else
55127
55128
55129 ac_ext=cpp
55130 ac_cpp='$CXXCPP $CPPFLAGS'
55131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55134
55135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55136 /* end confdefs.h. */
55137 #include <math.h>
55138 int
55139 main ()
55140 {
55141 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55142 ;
55143 return 0;
55144 }
55145 _ACEOF
55146 if ac_fn_cxx_try_compile "$LINENO"; then :
55147 glibcxx_cv_func_long_double_trig_use=yes
55148 else
55149 glibcxx_cv_func_long_double_trig_use=no
55150 fi
55151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55152 ac_ext=c
55153 ac_cpp='$CPP $CPPFLAGS'
55154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55157
55158 fi
55159
55160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55161 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55162 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55163 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55164 do :
55165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55167 eval as_val=\$$as_ac_var
55168 if test "x$as_val" = x""yes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55171 _ACEOF
55172
55173 fi
55174 done
55175
55176 else
55177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55178 $as_echo_n "checking for _long double trig functions... " >&6; }
55179 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55180 $as_echo_n "(cached) " >&6
55181 else
55182
55183
55184 ac_ext=cpp
55185 ac_cpp='$CXXCPP $CPPFLAGS'
55186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55189
55190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55191 /* end confdefs.h. */
55192 #include <math.h>
55193 int
55194 main ()
55195 {
55196 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55197 ;
55198 return 0;
55199 }
55200 _ACEOF
55201 if ac_fn_cxx_try_compile "$LINENO"; then :
55202 glibcxx_cv_func__long_double_trig_use=yes
55203 else
55204 glibcxx_cv_func__long_double_trig_use=no
55205 fi
55206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55207 ac_ext=c
55208 ac_cpp='$CPP $CPPFLAGS'
55209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55212
55213 fi
55214
55215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55216 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55217 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55218 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55219 do :
55220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55222 eval as_val=\$$as_ac_var
55223 if test "x$as_val" = x""yes; then :
55224 cat >>confdefs.h <<_ACEOF
55225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55226 _ACEOF
55227
55228 fi
55229 done
55230
55231 fi
55232 fi
55233
55234
55235
55236
55237
55238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55239 $as_echo_n "checking for long double round functions... " >&6; }
55240 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55241 $as_echo_n "(cached) " >&6
55242 else
55243
55244
55245 ac_ext=cpp
55246 ac_cpp='$CXXCPP $CPPFLAGS'
55247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55250
55251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55252 /* end confdefs.h. */
55253 #include <math.h>
55254 int
55255 main ()
55256 {
55257 ceill (0); floorl (0);
55258 ;
55259 return 0;
55260 }
55261 _ACEOF
55262 if ac_fn_cxx_try_compile "$LINENO"; then :
55263 glibcxx_cv_func_long_double_round_use=yes
55264 else
55265 glibcxx_cv_func_long_double_round_use=no
55266 fi
55267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55268 ac_ext=c
55269 ac_cpp='$CPP $CPPFLAGS'
55270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55273
55274 fi
55275
55276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55277 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55278 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55279 for ac_func in ceill floorl
55280 do :
55281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55283 eval as_val=\$$as_ac_var
55284 if test "x$as_val" = x""yes; then :
55285 cat >>confdefs.h <<_ACEOF
55286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55287 _ACEOF
55288
55289 fi
55290 done
55291
55292 else
55293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55294 $as_echo_n "checking for _long double round functions... " >&6; }
55295 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55296 $as_echo_n "(cached) " >&6
55297 else
55298
55299
55300 ac_ext=cpp
55301 ac_cpp='$CXXCPP $CPPFLAGS'
55302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55305
55306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55307 /* end confdefs.h. */
55308 #include <math.h>
55309 int
55310 main ()
55311 {
55312 _ceill (0); _floorl (0);
55313 ;
55314 return 0;
55315 }
55316 _ACEOF
55317 if ac_fn_cxx_try_compile "$LINENO"; then :
55318 glibcxx_cv_func__long_double_round_use=yes
55319 else
55320 glibcxx_cv_func__long_double_round_use=no
55321 fi
55322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55323 ac_ext=c
55324 ac_cpp='$CPP $CPPFLAGS'
55325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55328
55329 fi
55330
55331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55332 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55333 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55334 for ac_func in _ceill _floorl
55335 do :
55336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55338 eval as_val=\$$as_ac_var
55339 if test "x$as_val" = x""yes; then :
55340 cat >>confdefs.h <<_ACEOF
55341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55342 _ACEOF
55343
55344 fi
55345 done
55346
55347 fi
55348 fi
55349
55350
55351
55352
55353
55354
55355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55356 $as_echo_n "checking for isnanl declaration... " >&6; }
55357 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55358 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55359 $as_echo_n "(cached) " >&6
55360 else
55361
55362
55363 ac_ext=cpp
55364 ac_cpp='$CXXCPP $CPPFLAGS'
55365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55368
55369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55370 /* end confdefs.h. */
55371 #include <math.h>
55372 #ifdef HAVE_IEEEFP_H
55373 #include <ieeefp.h>
55374 #endif
55375
55376 int
55377 main ()
55378 {
55379 isnanl(0);
55380 ;
55381 return 0;
55382 }
55383 _ACEOF
55384 if ac_fn_cxx_try_compile "$LINENO"; then :
55385 glibcxx_cv_func_isnanl_use=yes
55386 else
55387 glibcxx_cv_func_isnanl_use=no
55388 fi
55389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55390 ac_ext=c
55391 ac_cpp='$CPP $CPPFLAGS'
55392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55395
55396
55397 fi
55398
55399 fi
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55401 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55402
55403 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55404 for ac_func in isnanl
55405 do :
55406 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55407 if test "x$ac_cv_func_isnanl" = x""yes; then :
55408 cat >>confdefs.h <<_ACEOF
55409 #define HAVE_ISNANL 1
55410 _ACEOF
55411
55412 fi
55413 done
55414
55415 else
55416
55417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55418 $as_echo_n "checking for _isnanl declaration... " >&6; }
55419 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55420 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55421 $as_echo_n "(cached) " >&6
55422 else
55423
55424
55425 ac_ext=cpp
55426 ac_cpp='$CXXCPP $CPPFLAGS'
55427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55430
55431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55432 /* end confdefs.h. */
55433 #include <math.h>
55434 #ifdef HAVE_IEEEFP_H
55435 #include <ieeefp.h>
55436 #endif
55437
55438 int
55439 main ()
55440 {
55441 _isnanl(0);
55442 ;
55443 return 0;
55444 }
55445 _ACEOF
55446 if ac_fn_cxx_try_compile "$LINENO"; then :
55447 glibcxx_cv_func__isnanl_use=yes
55448 else
55449 glibcxx_cv_func__isnanl_use=no
55450 fi
55451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55452 ac_ext=c
55453 ac_cpp='$CPP $CPPFLAGS'
55454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55457
55458
55459 fi
55460
55461 fi
55462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55463 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55464
55465 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55466 for ac_func in _isnanl
55467 do :
55468 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55469 if test "x$ac_cv_func__isnanl" = x""yes; then :
55470 cat >>confdefs.h <<_ACEOF
55471 #define HAVE__ISNANL 1
55472 _ACEOF
55473
55474 fi
55475 done
55476
55477 fi
55478 fi
55479
55480
55481
55482
55483
55484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55485 $as_echo_n "checking for isinfl declaration... " >&6; }
55486 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55487 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55488 $as_echo_n "(cached) " >&6
55489 else
55490
55491
55492 ac_ext=cpp
55493 ac_cpp='$CXXCPP $CPPFLAGS'
55494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55497
55498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55499 /* end confdefs.h. */
55500 #include <math.h>
55501 #ifdef HAVE_IEEEFP_H
55502 #include <ieeefp.h>
55503 #endif
55504
55505 int
55506 main ()
55507 {
55508 isinfl(0);
55509 ;
55510 return 0;
55511 }
55512 _ACEOF
55513 if ac_fn_cxx_try_compile "$LINENO"; then :
55514 glibcxx_cv_func_isinfl_use=yes
55515 else
55516 glibcxx_cv_func_isinfl_use=no
55517 fi
55518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55519 ac_ext=c
55520 ac_cpp='$CPP $CPPFLAGS'
55521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55524
55525
55526 fi
55527
55528 fi
55529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55530 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55531
55532 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55533 for ac_func in isinfl
55534 do :
55535 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55536 if test "x$ac_cv_func_isinfl" = x""yes; then :
55537 cat >>confdefs.h <<_ACEOF
55538 #define HAVE_ISINFL 1
55539 _ACEOF
55540
55541 fi
55542 done
55543
55544 else
55545
55546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55547 $as_echo_n "checking for _isinfl declaration... " >&6; }
55548 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55549 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55550 $as_echo_n "(cached) " >&6
55551 else
55552
55553
55554 ac_ext=cpp
55555 ac_cpp='$CXXCPP $CPPFLAGS'
55556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55559
55560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55561 /* end confdefs.h. */
55562 #include <math.h>
55563 #ifdef HAVE_IEEEFP_H
55564 #include <ieeefp.h>
55565 #endif
55566
55567 int
55568 main ()
55569 {
55570 _isinfl(0);
55571 ;
55572 return 0;
55573 }
55574 _ACEOF
55575 if ac_fn_cxx_try_compile "$LINENO"; then :
55576 glibcxx_cv_func__isinfl_use=yes
55577 else
55578 glibcxx_cv_func__isinfl_use=no
55579 fi
55580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55581 ac_ext=c
55582 ac_cpp='$CPP $CPPFLAGS'
55583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55586
55587
55588 fi
55589
55590 fi
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55592 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55593
55594 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55595 for ac_func in _isinfl
55596 do :
55597 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55598 if test "x$ac_cv_func__isinfl" = x""yes; then :
55599 cat >>confdefs.h <<_ACEOF
55600 #define HAVE__ISINFL 1
55601 _ACEOF
55602
55603 fi
55604 done
55605
55606 fi
55607 fi
55608
55609
55610
55611
55612
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55614 $as_echo_n "checking for atan2l declaration... " >&6; }
55615 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55616 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55617 $as_echo_n "(cached) " >&6
55618 else
55619
55620
55621 ac_ext=cpp
55622 ac_cpp='$CXXCPP $CPPFLAGS'
55623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55626
55627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55628 /* end confdefs.h. */
55629 #include <math.h>
55630 int
55631 main ()
55632 {
55633 atan2l(0, 0);
55634 ;
55635 return 0;
55636 }
55637 _ACEOF
55638 if ac_fn_cxx_try_compile "$LINENO"; then :
55639 glibcxx_cv_func_atan2l_use=yes
55640 else
55641 glibcxx_cv_func_atan2l_use=no
55642 fi
55643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55644 ac_ext=c
55645 ac_cpp='$CPP $CPPFLAGS'
55646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55649
55650
55651 fi
55652
55653 fi
55654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55655 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55656
55657 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55658 for ac_func in atan2l
55659 do :
55660 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55661 if test "x$ac_cv_func_atan2l" = x""yes; then :
55662 cat >>confdefs.h <<_ACEOF
55663 #define HAVE_ATAN2L 1
55664 _ACEOF
55665
55666 fi
55667 done
55668
55669 else
55670
55671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55672 $as_echo_n "checking for _atan2l declaration... " >&6; }
55673 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55674 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55675 $as_echo_n "(cached) " >&6
55676 else
55677
55678
55679 ac_ext=cpp
55680 ac_cpp='$CXXCPP $CPPFLAGS'
55681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55684
55685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55686 /* end confdefs.h. */
55687 #include <math.h>
55688 int
55689 main ()
55690 {
55691 _atan2l(0, 0);
55692 ;
55693 return 0;
55694 }
55695 _ACEOF
55696 if ac_fn_cxx_try_compile "$LINENO"; then :
55697 glibcxx_cv_func__atan2l_use=yes
55698 else
55699 glibcxx_cv_func__atan2l_use=no
55700 fi
55701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55702 ac_ext=c
55703 ac_cpp='$CPP $CPPFLAGS'
55704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55707
55708
55709 fi
55710
55711 fi
55712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55713 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55714
55715 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55716 for ac_func in _atan2l
55717 do :
55718 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55719 if test "x$ac_cv_func__atan2l" = x""yes; then :
55720 cat >>confdefs.h <<_ACEOF
55721 #define HAVE__ATAN2L 1
55722 _ACEOF
55723
55724 fi
55725 done
55726
55727 fi
55728 fi
55729
55730
55731
55732
55733
55734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55735 $as_echo_n "checking for expl declaration... " >&6; }
55736 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55737 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55738 $as_echo_n "(cached) " >&6
55739 else
55740
55741
55742 ac_ext=cpp
55743 ac_cpp='$CXXCPP $CPPFLAGS'
55744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55747
55748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55749 /* end confdefs.h. */
55750 #include <math.h>
55751 #ifdef HAVE_IEEEFP_H
55752 #include <ieeefp.h>
55753 #endif
55754
55755 int
55756 main ()
55757 {
55758 expl(0);
55759 ;
55760 return 0;
55761 }
55762 _ACEOF
55763 if ac_fn_cxx_try_compile "$LINENO"; then :
55764 glibcxx_cv_func_expl_use=yes
55765 else
55766 glibcxx_cv_func_expl_use=no
55767 fi
55768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55769 ac_ext=c
55770 ac_cpp='$CPP $CPPFLAGS'
55771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55774
55775
55776 fi
55777
55778 fi
55779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55780 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55781
55782 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55783 for ac_func in expl
55784 do :
55785 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55786 if test "x$ac_cv_func_expl" = x""yes; then :
55787 cat >>confdefs.h <<_ACEOF
55788 #define HAVE_EXPL 1
55789 _ACEOF
55790
55791 fi
55792 done
55793
55794 else
55795
55796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55797 $as_echo_n "checking for _expl declaration... " >&6; }
55798 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55799 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55800 $as_echo_n "(cached) " >&6
55801 else
55802
55803
55804 ac_ext=cpp
55805 ac_cpp='$CXXCPP $CPPFLAGS'
55806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55809
55810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55811 /* end confdefs.h. */
55812 #include <math.h>
55813 #ifdef HAVE_IEEEFP_H
55814 #include <ieeefp.h>
55815 #endif
55816
55817 int
55818 main ()
55819 {
55820 _expl(0);
55821 ;
55822 return 0;
55823 }
55824 _ACEOF
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826 glibcxx_cv_func__expl_use=yes
55827 else
55828 glibcxx_cv_func__expl_use=no
55829 fi
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55831 ac_ext=c
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55836
55837
55838 fi
55839
55840 fi
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55842 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55843
55844 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55845 for ac_func in _expl
55846 do :
55847 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55848 if test "x$ac_cv_func__expl" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define HAVE__EXPL 1
55851 _ACEOF
55852
55853 fi
55854 done
55855
55856 fi
55857 fi
55858
55859
55860
55861
55862
55863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55864 $as_echo_n "checking for fabsl declaration... " >&6; }
55865 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55866 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55867 $as_echo_n "(cached) " >&6
55868 else
55869
55870
55871 ac_ext=cpp
55872 ac_cpp='$CXXCPP $CPPFLAGS'
55873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55876
55877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55878 /* end confdefs.h. */
55879 #include <math.h>
55880 #ifdef HAVE_IEEEFP_H
55881 #include <ieeefp.h>
55882 #endif
55883
55884 int
55885 main ()
55886 {
55887 fabsl(0);
55888 ;
55889 return 0;
55890 }
55891 _ACEOF
55892 if ac_fn_cxx_try_compile "$LINENO"; then :
55893 glibcxx_cv_func_fabsl_use=yes
55894 else
55895 glibcxx_cv_func_fabsl_use=no
55896 fi
55897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55898 ac_ext=c
55899 ac_cpp='$CPP $CPPFLAGS'
55900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903
55904
55905 fi
55906
55907 fi
55908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55909 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55910
55911 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55912 for ac_func in fabsl
55913 do :
55914 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55915 if test "x$ac_cv_func_fabsl" = x""yes; then :
55916 cat >>confdefs.h <<_ACEOF
55917 #define HAVE_FABSL 1
55918 _ACEOF
55919
55920 fi
55921 done
55922
55923 else
55924
55925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55926 $as_echo_n "checking for _fabsl declaration... " >&6; }
55927 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55928 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55929 $as_echo_n "(cached) " >&6
55930 else
55931
55932
55933 ac_ext=cpp
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55938
55939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55940 /* end confdefs.h. */
55941 #include <math.h>
55942 #ifdef HAVE_IEEEFP_H
55943 #include <ieeefp.h>
55944 #endif
55945
55946 int
55947 main ()
55948 {
55949 _fabsl(0);
55950 ;
55951 return 0;
55952 }
55953 _ACEOF
55954 if ac_fn_cxx_try_compile "$LINENO"; then :
55955 glibcxx_cv_func__fabsl_use=yes
55956 else
55957 glibcxx_cv_func__fabsl_use=no
55958 fi
55959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55960 ac_ext=c
55961 ac_cpp='$CPP $CPPFLAGS'
55962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55965
55966
55967 fi
55968
55969 fi
55970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55971 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55972
55973 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55974 for ac_func in _fabsl
55975 do :
55976 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55977 if test "x$ac_cv_func__fabsl" = x""yes; then :
55978 cat >>confdefs.h <<_ACEOF
55979 #define HAVE__FABSL 1
55980 _ACEOF
55981
55982 fi
55983 done
55984
55985 fi
55986 fi
55987
55988
55989
55990
55991
55992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55993 $as_echo_n "checking for fmodl declaration... " >&6; }
55994 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55995 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55996 $as_echo_n "(cached) " >&6
55997 else
55998
55999
56000 ac_ext=cpp
56001 ac_cpp='$CXXCPP $CPPFLAGS'
56002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56005
56006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56007 /* end confdefs.h. */
56008 #include <math.h>
56009 int
56010 main ()
56011 {
56012 fmodl(0, 0);
56013 ;
56014 return 0;
56015 }
56016 _ACEOF
56017 if ac_fn_cxx_try_compile "$LINENO"; then :
56018 glibcxx_cv_func_fmodl_use=yes
56019 else
56020 glibcxx_cv_func_fmodl_use=no
56021 fi
56022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56023 ac_ext=c
56024 ac_cpp='$CPP $CPPFLAGS'
56025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56028
56029
56030 fi
56031
56032 fi
56033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56034 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56035
56036 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56037 for ac_func in fmodl
56038 do :
56039 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56040 if test "x$ac_cv_func_fmodl" = x""yes; then :
56041 cat >>confdefs.h <<_ACEOF
56042 #define HAVE_FMODL 1
56043 _ACEOF
56044
56045 fi
56046 done
56047
56048 else
56049
56050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56051 $as_echo_n "checking for _fmodl declaration... " >&6; }
56052 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56053 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56054 $as_echo_n "(cached) " >&6
56055 else
56056
56057
56058 ac_ext=cpp
56059 ac_cpp='$CXXCPP $CPPFLAGS'
56060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56063
56064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56065 /* end confdefs.h. */
56066 #include <math.h>
56067 int
56068 main ()
56069 {
56070 _fmodl(0, 0);
56071 ;
56072 return 0;
56073 }
56074 _ACEOF
56075 if ac_fn_cxx_try_compile "$LINENO"; then :
56076 glibcxx_cv_func__fmodl_use=yes
56077 else
56078 glibcxx_cv_func__fmodl_use=no
56079 fi
56080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56081 ac_ext=c
56082 ac_cpp='$CPP $CPPFLAGS'
56083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56086
56087
56088 fi
56089
56090 fi
56091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56092 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56093
56094 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56095 for ac_func in _fmodl
56096 do :
56097 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56098 if test "x$ac_cv_func__fmodl" = x""yes; then :
56099 cat >>confdefs.h <<_ACEOF
56100 #define HAVE__FMODL 1
56101 _ACEOF
56102
56103 fi
56104 done
56105
56106 fi
56107 fi
56108
56109
56110
56111
56112
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56114 $as_echo_n "checking for frexpl declaration... " >&6; }
56115 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56116 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56117 $as_echo_n "(cached) " >&6
56118 else
56119
56120
56121 ac_ext=cpp
56122 ac_cpp='$CXXCPP $CPPFLAGS'
56123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56126
56127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56128 /* end confdefs.h. */
56129 #include <math.h>
56130 int
56131 main ()
56132 {
56133 frexpl(0, 0);
56134 ;
56135 return 0;
56136 }
56137 _ACEOF
56138 if ac_fn_cxx_try_compile "$LINENO"; then :
56139 glibcxx_cv_func_frexpl_use=yes
56140 else
56141 glibcxx_cv_func_frexpl_use=no
56142 fi
56143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56144 ac_ext=c
56145 ac_cpp='$CPP $CPPFLAGS'
56146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56149
56150
56151 fi
56152
56153 fi
56154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56155 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56156
56157 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56158 for ac_func in frexpl
56159 do :
56160 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56161 if test "x$ac_cv_func_frexpl" = x""yes; then :
56162 cat >>confdefs.h <<_ACEOF
56163 #define HAVE_FREXPL 1
56164 _ACEOF
56165
56166 fi
56167 done
56168
56169 else
56170
56171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56172 $as_echo_n "checking for _frexpl declaration... " >&6; }
56173 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56174 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56175 $as_echo_n "(cached) " >&6
56176 else
56177
56178
56179 ac_ext=cpp
56180 ac_cpp='$CXXCPP $CPPFLAGS'
56181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56184
56185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56186 /* end confdefs.h. */
56187 #include <math.h>
56188 int
56189 main ()
56190 {
56191 _frexpl(0, 0);
56192 ;
56193 return 0;
56194 }
56195 _ACEOF
56196 if ac_fn_cxx_try_compile "$LINENO"; then :
56197 glibcxx_cv_func__frexpl_use=yes
56198 else
56199 glibcxx_cv_func__frexpl_use=no
56200 fi
56201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56202 ac_ext=c
56203 ac_cpp='$CPP $CPPFLAGS'
56204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56207
56208
56209 fi
56210
56211 fi
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56213 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56214
56215 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56216 for ac_func in _frexpl
56217 do :
56218 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56219 if test "x$ac_cv_func__frexpl" = x""yes; then :
56220 cat >>confdefs.h <<_ACEOF
56221 #define HAVE__FREXPL 1
56222 _ACEOF
56223
56224 fi
56225 done
56226
56227 fi
56228 fi
56229
56230
56231
56232
56233
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56235 $as_echo_n "checking for hypotl declaration... " >&6; }
56236 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56237 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56238 $as_echo_n "(cached) " >&6
56239 else
56240
56241
56242 ac_ext=cpp
56243 ac_cpp='$CXXCPP $CPPFLAGS'
56244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56247
56248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56249 /* end confdefs.h. */
56250 #include <math.h>
56251 int
56252 main ()
56253 {
56254 hypotl(0, 0);
56255 ;
56256 return 0;
56257 }
56258 _ACEOF
56259 if ac_fn_cxx_try_compile "$LINENO"; then :
56260 glibcxx_cv_func_hypotl_use=yes
56261 else
56262 glibcxx_cv_func_hypotl_use=no
56263 fi
56264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56265 ac_ext=c
56266 ac_cpp='$CPP $CPPFLAGS'
56267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56270
56271
56272 fi
56273
56274 fi
56275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56276 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56277
56278 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56279 for ac_func in hypotl
56280 do :
56281 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56282 if test "x$ac_cv_func_hypotl" = x""yes; then :
56283 cat >>confdefs.h <<_ACEOF
56284 #define HAVE_HYPOTL 1
56285 _ACEOF
56286
56287 fi
56288 done
56289
56290 else
56291
56292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56293 $as_echo_n "checking for _hypotl declaration... " >&6; }
56294 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56295 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56296 $as_echo_n "(cached) " >&6
56297 else
56298
56299
56300 ac_ext=cpp
56301 ac_cpp='$CXXCPP $CPPFLAGS'
56302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56305
56306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56307 /* end confdefs.h. */
56308 #include <math.h>
56309 int
56310 main ()
56311 {
56312 _hypotl(0, 0);
56313 ;
56314 return 0;
56315 }
56316 _ACEOF
56317 if ac_fn_cxx_try_compile "$LINENO"; then :
56318 glibcxx_cv_func__hypotl_use=yes
56319 else
56320 glibcxx_cv_func__hypotl_use=no
56321 fi
56322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56323 ac_ext=c
56324 ac_cpp='$CPP $CPPFLAGS'
56325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56328
56329
56330 fi
56331
56332 fi
56333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56334 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56335
56336 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56337 for ac_func in _hypotl
56338 do :
56339 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56340 if test "x$ac_cv_func__hypotl" = x""yes; then :
56341 cat >>confdefs.h <<_ACEOF
56342 #define HAVE__HYPOTL 1
56343 _ACEOF
56344
56345 fi
56346 done
56347
56348 fi
56349 fi
56350
56351
56352
56353
56354
56355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56356 $as_echo_n "checking for ldexpl declaration... " >&6; }
56357 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56358 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56359 $as_echo_n "(cached) " >&6
56360 else
56361
56362
56363 ac_ext=cpp
56364 ac_cpp='$CXXCPP $CPPFLAGS'
56365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56368
56369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56370 /* end confdefs.h. */
56371 #include <math.h>
56372 int
56373 main ()
56374 {
56375 ldexpl(0, 0);
56376 ;
56377 return 0;
56378 }
56379 _ACEOF
56380 if ac_fn_cxx_try_compile "$LINENO"; then :
56381 glibcxx_cv_func_ldexpl_use=yes
56382 else
56383 glibcxx_cv_func_ldexpl_use=no
56384 fi
56385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56386 ac_ext=c
56387 ac_cpp='$CPP $CPPFLAGS'
56388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56391
56392
56393 fi
56394
56395 fi
56396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56397 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56398
56399 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56400 for ac_func in ldexpl
56401 do :
56402 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56403 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56404 cat >>confdefs.h <<_ACEOF
56405 #define HAVE_LDEXPL 1
56406 _ACEOF
56407
56408 fi
56409 done
56410
56411 else
56412
56413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56414 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56415 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56416 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56417 $as_echo_n "(cached) " >&6
56418 else
56419
56420
56421 ac_ext=cpp
56422 ac_cpp='$CXXCPP $CPPFLAGS'
56423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56426
56427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56428 /* end confdefs.h. */
56429 #include <math.h>
56430 int
56431 main ()
56432 {
56433 _ldexpl(0, 0);
56434 ;
56435 return 0;
56436 }
56437 _ACEOF
56438 if ac_fn_cxx_try_compile "$LINENO"; then :
56439 glibcxx_cv_func__ldexpl_use=yes
56440 else
56441 glibcxx_cv_func__ldexpl_use=no
56442 fi
56443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56444 ac_ext=c
56445 ac_cpp='$CPP $CPPFLAGS'
56446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56449
56450
56451 fi
56452
56453 fi
56454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56455 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56456
56457 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56458 for ac_func in _ldexpl
56459 do :
56460 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56461 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56462 cat >>confdefs.h <<_ACEOF
56463 #define HAVE__LDEXPL 1
56464 _ACEOF
56465
56466 fi
56467 done
56468
56469 fi
56470 fi
56471
56472
56473
56474
56475
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56477 $as_echo_n "checking for logl declaration... " >&6; }
56478 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56479 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56480 $as_echo_n "(cached) " >&6
56481 else
56482
56483
56484 ac_ext=cpp
56485 ac_cpp='$CXXCPP $CPPFLAGS'
56486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56489
56490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56491 /* end confdefs.h. */
56492 #include <math.h>
56493 #ifdef HAVE_IEEEFP_H
56494 #include <ieeefp.h>
56495 #endif
56496
56497 int
56498 main ()
56499 {
56500 logl(0);
56501 ;
56502 return 0;
56503 }
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func_logl_use=yes
56507 else
56508 glibcxx_cv_func_logl_use=no
56509 fi
56510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56516
56517
56518 fi
56519
56520 fi
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56522 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56523
56524 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56525 for ac_func in logl
56526 do :
56527 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56528 if test "x$ac_cv_func_logl" = x""yes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE_LOGL 1
56531 _ACEOF
56532
56533 fi
56534 done
56535
56536 else
56537
56538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56539 $as_echo_n "checking for _logl declaration... " >&6; }
56540 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56541 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56542 $as_echo_n "(cached) " >&6
56543 else
56544
56545
56546 ac_ext=cpp
56547 ac_cpp='$CXXCPP $CPPFLAGS'
56548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56551
56552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56553 /* end confdefs.h. */
56554 #include <math.h>
56555 #ifdef HAVE_IEEEFP_H
56556 #include <ieeefp.h>
56557 #endif
56558
56559 int
56560 main ()
56561 {
56562 _logl(0);
56563 ;
56564 return 0;
56565 }
56566 _ACEOF
56567 if ac_fn_cxx_try_compile "$LINENO"; then :
56568 glibcxx_cv_func__logl_use=yes
56569 else
56570 glibcxx_cv_func__logl_use=no
56571 fi
56572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56573 ac_ext=c
56574 ac_cpp='$CPP $CPPFLAGS'
56575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56578
56579
56580 fi
56581
56582 fi
56583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56584 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56585
56586 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56587 for ac_func in _logl
56588 do :
56589 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56590 if test "x$ac_cv_func__logl" = x""yes; then :
56591 cat >>confdefs.h <<_ACEOF
56592 #define HAVE__LOGL 1
56593 _ACEOF
56594
56595 fi
56596 done
56597
56598 fi
56599 fi
56600
56601
56602
56603
56604
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56606 $as_echo_n "checking for log10l declaration... " >&6; }
56607 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56608 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56609 $as_echo_n "(cached) " >&6
56610 else
56611
56612
56613 ac_ext=cpp
56614 ac_cpp='$CXXCPP $CPPFLAGS'
56615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56618
56619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56620 /* end confdefs.h. */
56621 #include <math.h>
56622 #ifdef HAVE_IEEEFP_H
56623 #include <ieeefp.h>
56624 #endif
56625
56626 int
56627 main ()
56628 {
56629 log10l(0);
56630 ;
56631 return 0;
56632 }
56633 _ACEOF
56634 if ac_fn_cxx_try_compile "$LINENO"; then :
56635 glibcxx_cv_func_log10l_use=yes
56636 else
56637 glibcxx_cv_func_log10l_use=no
56638 fi
56639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56640 ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56645
56646
56647 fi
56648
56649 fi
56650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56651 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56652
56653 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56654 for ac_func in log10l
56655 do :
56656 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56657 if test "x$ac_cv_func_log10l" = x""yes; then :
56658 cat >>confdefs.h <<_ACEOF
56659 #define HAVE_LOG10L 1
56660 _ACEOF
56661
56662 fi
56663 done
56664
56665 else
56666
56667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56668 $as_echo_n "checking for _log10l declaration... " >&6; }
56669 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56670 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56671 $as_echo_n "(cached) " >&6
56672 else
56673
56674
56675 ac_ext=cpp
56676 ac_cpp='$CXXCPP $CPPFLAGS'
56677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56680
56681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56682 /* end confdefs.h. */
56683 #include <math.h>
56684 #ifdef HAVE_IEEEFP_H
56685 #include <ieeefp.h>
56686 #endif
56687
56688 int
56689 main ()
56690 {
56691 _log10l(0);
56692 ;
56693 return 0;
56694 }
56695 _ACEOF
56696 if ac_fn_cxx_try_compile "$LINENO"; then :
56697 glibcxx_cv_func__log10l_use=yes
56698 else
56699 glibcxx_cv_func__log10l_use=no
56700 fi
56701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56702 ac_ext=c
56703 ac_cpp='$CPP $CPPFLAGS'
56704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56707
56708
56709 fi
56710
56711 fi
56712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56713 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56714
56715 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56716 for ac_func in _log10l
56717 do :
56718 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56719 if test "x$ac_cv_func__log10l" = x""yes; then :
56720 cat >>confdefs.h <<_ACEOF
56721 #define HAVE__LOG10L 1
56722 _ACEOF
56723
56724 fi
56725 done
56726
56727 fi
56728 fi
56729
56730
56731
56732
56733
56734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56735 $as_echo_n "checking for modfl declaration... " >&6; }
56736 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56737 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56738 $as_echo_n "(cached) " >&6
56739 else
56740
56741
56742 ac_ext=cpp
56743 ac_cpp='$CXXCPP $CPPFLAGS'
56744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56747
56748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56749 /* end confdefs.h. */
56750 #include <math.h>
56751 int
56752 main ()
56753 {
56754 modfl(0, 0);
56755 ;
56756 return 0;
56757 }
56758 _ACEOF
56759 if ac_fn_cxx_try_compile "$LINENO"; then :
56760 glibcxx_cv_func_modfl_use=yes
56761 else
56762 glibcxx_cv_func_modfl_use=no
56763 fi
56764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56765 ac_ext=c
56766 ac_cpp='$CPP $CPPFLAGS'
56767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56770
56771
56772 fi
56773
56774 fi
56775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56776 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56777
56778 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56779 for ac_func in modfl
56780 do :
56781 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56782 if test "x$ac_cv_func_modfl" = x""yes; then :
56783 cat >>confdefs.h <<_ACEOF
56784 #define HAVE_MODFL 1
56785 _ACEOF
56786
56787 fi
56788 done
56789
56790 else
56791
56792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56793 $as_echo_n "checking for _modfl declaration... " >&6; }
56794 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56795 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56796 $as_echo_n "(cached) " >&6
56797 else
56798
56799
56800 ac_ext=cpp
56801 ac_cpp='$CXXCPP $CPPFLAGS'
56802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56805
56806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56807 /* end confdefs.h. */
56808 #include <math.h>
56809 int
56810 main ()
56811 {
56812 _modfl(0, 0);
56813 ;
56814 return 0;
56815 }
56816 _ACEOF
56817 if ac_fn_cxx_try_compile "$LINENO"; then :
56818 glibcxx_cv_func__modfl_use=yes
56819 else
56820 glibcxx_cv_func__modfl_use=no
56821 fi
56822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56823 ac_ext=c
56824 ac_cpp='$CPP $CPPFLAGS'
56825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56828
56829
56830 fi
56831
56832 fi
56833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56834 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56835
56836 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56837 for ac_func in _modfl
56838 do :
56839 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56840 if test "x$ac_cv_func__modfl" = x""yes; then :
56841 cat >>confdefs.h <<_ACEOF
56842 #define HAVE__MODFL 1
56843 _ACEOF
56844
56845 fi
56846 done
56847
56848 fi
56849 fi
56850
56851
56852
56853
56854
56855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56856 $as_echo_n "checking for powl declaration... " >&6; }
56857 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56858 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56859 $as_echo_n "(cached) " >&6
56860 else
56861
56862
56863 ac_ext=cpp
56864 ac_cpp='$CXXCPP $CPPFLAGS'
56865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56868
56869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56870 /* end confdefs.h. */
56871 #include <math.h>
56872 int
56873 main ()
56874 {
56875 powl(0, 0);
56876 ;
56877 return 0;
56878 }
56879 _ACEOF
56880 if ac_fn_cxx_try_compile "$LINENO"; then :
56881 glibcxx_cv_func_powl_use=yes
56882 else
56883 glibcxx_cv_func_powl_use=no
56884 fi
56885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56886 ac_ext=c
56887 ac_cpp='$CPP $CPPFLAGS'
56888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56891
56892
56893 fi
56894
56895 fi
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56897 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56898
56899 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56900 for ac_func in powl
56901 do :
56902 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56903 if test "x$ac_cv_func_powl" = x""yes; then :
56904 cat >>confdefs.h <<_ACEOF
56905 #define HAVE_POWL 1
56906 _ACEOF
56907
56908 fi
56909 done
56910
56911 else
56912
56913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56914 $as_echo_n "checking for _powl declaration... " >&6; }
56915 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56916 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56917 $as_echo_n "(cached) " >&6
56918 else
56919
56920
56921 ac_ext=cpp
56922 ac_cpp='$CXXCPP $CPPFLAGS'
56923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56926
56927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56928 /* end confdefs.h. */
56929 #include <math.h>
56930 int
56931 main ()
56932 {
56933 _powl(0, 0);
56934 ;
56935 return 0;
56936 }
56937 _ACEOF
56938 if ac_fn_cxx_try_compile "$LINENO"; then :
56939 glibcxx_cv_func__powl_use=yes
56940 else
56941 glibcxx_cv_func__powl_use=no
56942 fi
56943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56944 ac_ext=c
56945 ac_cpp='$CPP $CPPFLAGS'
56946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56949
56950
56951 fi
56952
56953 fi
56954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56955 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56956
56957 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56958 for ac_func in _powl
56959 do :
56960 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56961 if test "x$ac_cv_func__powl" = x""yes; then :
56962 cat >>confdefs.h <<_ACEOF
56963 #define HAVE__POWL 1
56964 _ACEOF
56965
56966 fi
56967 done
56968
56969 fi
56970 fi
56971
56972
56973
56974
56975
56976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56977 $as_echo_n "checking for sqrtl declaration... " >&6; }
56978 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56979 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56980 $as_echo_n "(cached) " >&6
56981 else
56982
56983
56984 ac_ext=cpp
56985 ac_cpp='$CXXCPP $CPPFLAGS'
56986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56989
56990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56991 /* end confdefs.h. */
56992 #include <math.h>
56993 #ifdef HAVE_IEEEFP_H
56994 #include <ieeefp.h>
56995 #endif
56996
56997 int
56998 main ()
56999 {
57000 sqrtl(0);
57001 ;
57002 return 0;
57003 }
57004 _ACEOF
57005 if ac_fn_cxx_try_compile "$LINENO"; then :
57006 glibcxx_cv_func_sqrtl_use=yes
57007 else
57008 glibcxx_cv_func_sqrtl_use=no
57009 fi
57010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57011 ac_ext=c
57012 ac_cpp='$CPP $CPPFLAGS'
57013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57016
57017
57018 fi
57019
57020 fi
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57022 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57023
57024 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57025 for ac_func in sqrtl
57026 do :
57027 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57028 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57029 cat >>confdefs.h <<_ACEOF
57030 #define HAVE_SQRTL 1
57031 _ACEOF
57032
57033 fi
57034 done
57035
57036 else
57037
57038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57039 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57040 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57041 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57042 $as_echo_n "(cached) " >&6
57043 else
57044
57045
57046 ac_ext=cpp
57047 ac_cpp='$CXXCPP $CPPFLAGS'
57048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57051
57052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57053 /* end confdefs.h. */
57054 #include <math.h>
57055 #ifdef HAVE_IEEEFP_H
57056 #include <ieeefp.h>
57057 #endif
57058
57059 int
57060 main ()
57061 {
57062 _sqrtl(0);
57063 ;
57064 return 0;
57065 }
57066 _ACEOF
57067 if ac_fn_cxx_try_compile "$LINENO"; then :
57068 glibcxx_cv_func__sqrtl_use=yes
57069 else
57070 glibcxx_cv_func__sqrtl_use=no
57071 fi
57072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57073 ac_ext=c
57074 ac_cpp='$CPP $CPPFLAGS'
57075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57078
57079
57080 fi
57081
57082 fi
57083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57084 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57085
57086 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57087 for ac_func in _sqrtl
57088 do :
57089 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57090 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57091 cat >>confdefs.h <<_ACEOF
57092 #define HAVE__SQRTL 1
57093 _ACEOF
57094
57095 fi
57096 done
57097
57098 fi
57099 fi
57100
57101
57102
57103
57104
57105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57106 $as_echo_n "checking for sincosl declaration... " >&6; }
57107 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57108 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57109 $as_echo_n "(cached) " >&6
57110 else
57111
57112
57113 ac_ext=cpp
57114 ac_cpp='$CXXCPP $CPPFLAGS'
57115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57118
57119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57120 /* end confdefs.h. */
57121 #include <math.h>
57122 int
57123 main ()
57124 {
57125 sincosl(0, 0, 0);
57126 ;
57127 return 0;
57128 }
57129 _ACEOF
57130 if ac_fn_cxx_try_compile "$LINENO"; then :
57131 glibcxx_cv_func_sincosl_use=yes
57132 else
57133 glibcxx_cv_func_sincosl_use=no
57134 fi
57135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57136 ac_ext=c
57137 ac_cpp='$CPP $CPPFLAGS'
57138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57141
57142
57143 fi
57144
57145 fi
57146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57147 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57148
57149 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57150 for ac_func in sincosl
57151 do :
57152 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57153 if test "x$ac_cv_func_sincosl" = x""yes; then :
57154 cat >>confdefs.h <<_ACEOF
57155 #define HAVE_SINCOSL 1
57156 _ACEOF
57157
57158 fi
57159 done
57160
57161 else
57162
57163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57164 $as_echo_n "checking for _sincosl declaration... " >&6; }
57165 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57166 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57167 $as_echo_n "(cached) " >&6
57168 else
57169
57170
57171 ac_ext=cpp
57172 ac_cpp='$CXXCPP $CPPFLAGS'
57173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57176
57177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57178 /* end confdefs.h. */
57179 #include <math.h>
57180 int
57181 main ()
57182 {
57183 _sincosl(0, 0, 0);
57184 ;
57185 return 0;
57186 }
57187 _ACEOF
57188 if ac_fn_cxx_try_compile "$LINENO"; then :
57189 glibcxx_cv_func__sincosl_use=yes
57190 else
57191 glibcxx_cv_func__sincosl_use=no
57192 fi
57193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57194 ac_ext=c
57195 ac_cpp='$CPP $CPPFLAGS'
57196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57199
57200
57201 fi
57202
57203 fi
57204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57205 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57206
57207 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57208 for ac_func in _sincosl
57209 do :
57210 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57211 if test "x$ac_cv_func__sincosl" = x""yes; then :
57212 cat >>confdefs.h <<_ACEOF
57213 #define HAVE__SINCOSL 1
57214 _ACEOF
57215
57216 fi
57217 done
57218
57219 fi
57220 fi
57221
57222
57223
57224
57225
57226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57227 $as_echo_n "checking for finitel declaration... " >&6; }
57228 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57229 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57230 $as_echo_n "(cached) " >&6
57231 else
57232
57233
57234 ac_ext=cpp
57235 ac_cpp='$CXXCPP $CPPFLAGS'
57236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57239
57240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57241 /* end confdefs.h. */
57242 #include <math.h>
57243 #ifdef HAVE_IEEEFP_H
57244 #include <ieeefp.h>
57245 #endif
57246
57247 int
57248 main ()
57249 {
57250 finitel(0);
57251 ;
57252 return 0;
57253 }
57254 _ACEOF
57255 if ac_fn_cxx_try_compile "$LINENO"; then :
57256 glibcxx_cv_func_finitel_use=yes
57257 else
57258 glibcxx_cv_func_finitel_use=no
57259 fi
57260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57261 ac_ext=c
57262 ac_cpp='$CPP $CPPFLAGS'
57263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57266
57267
57268 fi
57269
57270 fi
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57272 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57273
57274 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57275 for ac_func in finitel
57276 do :
57277 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57278 if test "x$ac_cv_func_finitel" = x""yes; then :
57279 cat >>confdefs.h <<_ACEOF
57280 #define HAVE_FINITEL 1
57281 _ACEOF
57282
57283 fi
57284 done
57285
57286 else
57287
57288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57289 $as_echo_n "checking for _finitel declaration... " >&6; }
57290 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57291 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57292 $as_echo_n "(cached) " >&6
57293 else
57294
57295
57296 ac_ext=cpp
57297 ac_cpp='$CXXCPP $CPPFLAGS'
57298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57301
57302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57303 /* end confdefs.h. */
57304 #include <math.h>
57305 #ifdef HAVE_IEEEFP_H
57306 #include <ieeefp.h>
57307 #endif
57308
57309 int
57310 main ()
57311 {
57312 _finitel(0);
57313 ;
57314 return 0;
57315 }
57316 _ACEOF
57317 if ac_fn_cxx_try_compile "$LINENO"; then :
57318 glibcxx_cv_func__finitel_use=yes
57319 else
57320 glibcxx_cv_func__finitel_use=no
57321 fi
57322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57323 ac_ext=c
57324 ac_cpp='$CPP $CPPFLAGS'
57325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57328
57329
57330 fi
57331
57332 fi
57333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57334 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57335
57336 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57337 for ac_func in _finitel
57338 do :
57339 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57340 if test "x$ac_cv_func__finitel" = x""yes; then :
57341 cat >>confdefs.h <<_ACEOF
57342 #define HAVE__FINITEL 1
57343 _ACEOF
57344
57345 fi
57346 done
57347
57348 fi
57349 fi
57350
57351
57352
57353
57354 LIBS="$ac_save_LIBS"
57355 CXXFLAGS="$ac_save_CXXFLAGS"
57356
57357
57358 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57359 ac_save_CXXFLAGS="$CXXFLAGS"
57360 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57361
57362
57363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57364 $as_echo_n "checking for strtold declaration... " >&6; }
57365 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57366 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57367 $as_echo_n "(cached) " >&6
57368 else
57369
57370
57371 ac_ext=cpp
57372 ac_cpp='$CXXCPP $CPPFLAGS'
57373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57376
57377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57378 /* end confdefs.h. */
57379 #include <stdlib.h>
57380 int
57381 main ()
57382 {
57383 strtold(0, 0);
57384 ;
57385 return 0;
57386 }
57387 _ACEOF
57388 if ac_fn_cxx_try_compile "$LINENO"; then :
57389 glibcxx_cv_func_strtold_use=yes
57390 else
57391 glibcxx_cv_func_strtold_use=no
57392 fi
57393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57394 ac_ext=c
57395 ac_cpp='$CPP $CPPFLAGS'
57396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57399
57400
57401 fi
57402
57403 fi
57404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57405 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57406 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57407 for ac_func in strtold
57408 do :
57409 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57410 if test "x$ac_cv_func_strtold" = x""yes; then :
57411 cat >>confdefs.h <<_ACEOF
57412 #define HAVE_STRTOLD 1
57413 _ACEOF
57414
57415 fi
57416 done
57417
57418 fi
57419
57420
57421
57422
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57424 $as_echo_n "checking for strtof declaration... " >&6; }
57425 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57426 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57427 $as_echo_n "(cached) " >&6
57428 else
57429
57430
57431 ac_ext=cpp
57432 ac_cpp='$CXXCPP $CPPFLAGS'
57433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57436
57437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57438 /* end confdefs.h. */
57439 #include <stdlib.h>
57440 int
57441 main ()
57442 {
57443 strtof(0, 0);
57444 ;
57445 return 0;
57446 }
57447 _ACEOF
57448 if ac_fn_cxx_try_compile "$LINENO"; then :
57449 glibcxx_cv_func_strtof_use=yes
57450 else
57451 glibcxx_cv_func_strtof_use=no
57452 fi
57453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57454 ac_ext=c
57455 ac_cpp='$CPP $CPPFLAGS'
57456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57459
57460
57461 fi
57462
57463 fi
57464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57465 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57466 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57467 for ac_func in strtof
57468 do :
57469 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57470 if test "x$ac_cv_func_strtof" = x""yes; then :
57471 cat >>confdefs.h <<_ACEOF
57472 #define HAVE_STRTOF 1
57473 _ACEOF
57474
57475 fi
57476 done
57477
57478 fi
57479
57480
57481
57482
57483 CXXFLAGS="$ac_save_CXXFLAGS"
57484
57485 ;;
57486 *-netbsd*)
57487 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57488
57489
57490 # If we're not using GNU ld, then there's no point in even trying these
57491 # tests. Check for that first. We should have already tested for gld
57492 # by now (in libtool), but require it now just to be safe...
57493 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57494 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57495
57496
57497
57498 # The name set by libtool depends on the version of libtool. Shame on us
57499 # for depending on an impl detail, but c'est la vie. Older versions used
57500 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57501 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57502 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57503 # set (hence we're using an older libtool), then set it.
57504 if test x${with_gnu_ld+set} != xset; then
57505 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57506 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57507 with_gnu_ld=no
57508 else
57509 with_gnu_ld=$ac_cv_prog_gnu_ld
57510 fi
57511 fi
57512
57513 # Start by getting the version number. I think the libtool test already
57514 # does some of this, but throws away the result.
57515 glibcxx_ld_is_gold=no
57516 if test x"$with_gnu_ld" = x"yes"; then
57517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57518 $as_echo_n "checking for ld version... " >&6; }
57519
57520 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57521 glibcxx_ld_is_gold=yes
57522 fi
57523 ldver=`$LD --version 2>/dev/null |
57524 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'`
57525
57526 glibcxx_gnu_ld_version=`echo $ldver | \
57527 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57529 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57530 fi
57531
57532 # Set --gc-sections.
57533 glibcxx_have_gc_sections=no
57534 if test "$glibcxx_ld_is_gold" = "yes"; then
57535 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57536 glibcxx_have_gc_sections=yes
57537 fi
57538 else
57539 glibcxx_gcsections_min_ld=21602
57540 if test x"$with_gnu_ld" = x"yes" &&
57541 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57542 glibcxx_have_gc_sections=yes
57543 fi
57544 fi
57545 if test "$glibcxx_have_gc_sections" = "yes"; then
57546 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57547 # NB: This flag only works reliably after 2.16.1. Configure tests
57548 # for this are difficult, so hard wire a value that should work.
57549
57550 ac_test_CFLAGS="${CFLAGS+set}"
57551 ac_save_CFLAGS="$CFLAGS"
57552 CFLAGS='-Wl,--gc-sections'
57553
57554 # Check for -Wl,--gc-sections
57555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57556 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57557 if test x$gcc_no_link = xyes; then
57558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57559 fi
57560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57561 /* end confdefs.h. */
57562 int one(void) { return 1; }
57563 int two(void) { return 2; }
57564
57565 int
57566 main ()
57567 {
57568 two();
57569 ;
57570 return 0;
57571 }
57572 _ACEOF
57573 if ac_fn_c_try_link "$LINENO"; then :
57574 ac_gcsections=yes
57575 else
57576 ac_gcsections=no
57577 fi
57578 rm -f core conftest.err conftest.$ac_objext \
57579 conftest$ac_exeext conftest.$ac_ext
57580 if test "$ac_gcsections" = "yes"; then
57581 rm -f conftest.c
57582 touch conftest.c
57583 if $CC -c conftest.c; then
57584 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57585 grep "Warning: gc-sections option ignored" > /dev/null; then
57586 ac_gcsections=no
57587 fi
57588 fi
57589 rm -f conftest.c conftest.o conftest
57590 fi
57591 if test "$ac_gcsections" = "yes"; then
57592 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57593 fi
57594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57595 $as_echo "$ac_gcsections" >&6; }
57596
57597 if test "$ac_test_CFLAGS" = set; then
57598 CFLAGS="$ac_save_CFLAGS"
57599 else
57600 # this is the suspicious part
57601 CFLAGS=''
57602 fi
57603 fi
57604
57605 # Set -z,relro.
57606 # Note this is only for shared objects.
57607 ac_ld_relro=no
57608 if test x"$with_gnu_ld" = x"yes"; then
57609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57610 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57611 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57612 if test -n "$cxx_z_relo"; then
57613 OPT_LDFLAGS="-Wl,-z,relro"
57614 ac_ld_relro=yes
57615 fi
57616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57617 $as_echo "$ac_ld_relro" >&6; }
57618 fi
57619
57620 # Set linker optimization flags.
57621 if test x"$with_gnu_ld" = x"yes"; then
57622 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57623 fi
57624
57625
57626
57627
57628 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57629
57630 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57631
57632 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57633
57634 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57635
57636 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57637
57638 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57639
57640 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57641
57642 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57643
57644 if test x"long_double_math_on_this_cpu" = x"yes"; then
57645 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57646
57647 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57648
57649 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57650
57651 fi
57652 ;;
57653 *-qnx6.1* | *-qnx6.2*)
57654 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57655
57656
57657 # If we're not using GNU ld, then there's no point in even trying these
57658 # tests. Check for that first. We should have already tested for gld
57659 # by now (in libtool), but require it now just to be safe...
57660 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57661 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57662
57663
57664
57665 # The name set by libtool depends on the version of libtool. Shame on us
57666 # for depending on an impl detail, but c'est la vie. Older versions used
57667 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57668 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57669 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57670 # set (hence we're using an older libtool), then set it.
57671 if test x${with_gnu_ld+set} != xset; then
57672 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57673 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57674 with_gnu_ld=no
57675 else
57676 with_gnu_ld=$ac_cv_prog_gnu_ld
57677 fi
57678 fi
57679
57680 # Start by getting the version number. I think the libtool test already
57681 # does some of this, but throws away the result.
57682 glibcxx_ld_is_gold=no
57683 if test x"$with_gnu_ld" = x"yes"; then
57684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57685 $as_echo_n "checking for ld version... " >&6; }
57686
57687 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57688 glibcxx_ld_is_gold=yes
57689 fi
57690 ldver=`$LD --version 2>/dev/null |
57691 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'`
57692
57693 glibcxx_gnu_ld_version=`echo $ldver | \
57694 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57696 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57697 fi
57698
57699 # Set --gc-sections.
57700 glibcxx_have_gc_sections=no
57701 if test "$glibcxx_ld_is_gold" = "yes"; then
57702 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57703 glibcxx_have_gc_sections=yes
57704 fi
57705 else
57706 glibcxx_gcsections_min_ld=21602
57707 if test x"$with_gnu_ld" = x"yes" &&
57708 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57709 glibcxx_have_gc_sections=yes
57710 fi
57711 fi
57712 if test "$glibcxx_have_gc_sections" = "yes"; then
57713 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57714 # NB: This flag only works reliably after 2.16.1. Configure tests
57715 # for this are difficult, so hard wire a value that should work.
57716
57717 ac_test_CFLAGS="${CFLAGS+set}"
57718 ac_save_CFLAGS="$CFLAGS"
57719 CFLAGS='-Wl,--gc-sections'
57720
57721 # Check for -Wl,--gc-sections
57722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57723 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57724 if test x$gcc_no_link = xyes; then
57725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57726 fi
57727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57728 /* end confdefs.h. */
57729 int one(void) { return 1; }
57730 int two(void) { return 2; }
57731
57732 int
57733 main ()
57734 {
57735 two();
57736 ;
57737 return 0;
57738 }
57739 _ACEOF
57740 if ac_fn_c_try_link "$LINENO"; then :
57741 ac_gcsections=yes
57742 else
57743 ac_gcsections=no
57744 fi
57745 rm -f core conftest.err conftest.$ac_objext \
57746 conftest$ac_exeext conftest.$ac_ext
57747 if test "$ac_gcsections" = "yes"; then
57748 rm -f conftest.c
57749 touch conftest.c
57750 if $CC -c conftest.c; then
57751 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57752 grep "Warning: gc-sections option ignored" > /dev/null; then
57753 ac_gcsections=no
57754 fi
57755 fi
57756 rm -f conftest.c conftest.o conftest
57757 fi
57758 if test "$ac_gcsections" = "yes"; then
57759 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57760 fi
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57762 $as_echo "$ac_gcsections" >&6; }
57763
57764 if test "$ac_test_CFLAGS" = set; then
57765 CFLAGS="$ac_save_CFLAGS"
57766 else
57767 # this is the suspicious part
57768 CFLAGS=''
57769 fi
57770 fi
57771
57772 # Set -z,relro.
57773 # Note this is only for shared objects.
57774 ac_ld_relro=no
57775 if test x"$with_gnu_ld" = x"yes"; then
57776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57777 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57778 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57779 if test -n "$cxx_z_relo"; then
57780 OPT_LDFLAGS="-Wl,-z,relro"
57781 ac_ld_relro=yes
57782 fi
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57784 $as_echo "$ac_ld_relro" >&6; }
57785 fi
57786
57787 # Set linker optimization flags.
57788 if test x"$with_gnu_ld" = x"yes"; then
57789 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57790 fi
57791
57792
57793
57794
57795 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57796
57797 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57798
57799 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57800
57801 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57802
57803 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57804
57805 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57806
57807 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57808
57809 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57810
57811 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57812
57813 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57814
57815 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57816
57817 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57818
57819 ;;
57820 *-rtems*)
57821
57822 # All these tests are for C++; save the language and the compiler flags.
57823 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57824 # found in GLIBCXX_CONFIGURE.
57825
57826 ac_ext=cpp
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57831
57832 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57833 ac_save_CXXFLAGS="$CXXFLAGS"
57834
57835 # Check for maintainer-mode bits.
57836 if test x"$USE_MAINTAINER_MODE" = xno; then
57837 WERROR=''
57838 else
57839 WERROR='-Werror'
57840 fi
57841
57842 # Check for -ffunction-sections -fdata-sections
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57844 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57845 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57847 /* end confdefs.h. */
57848 int foo; void bar() { };
57849 int
57850 main ()
57851 {
57852
57853 ;
57854 return 0;
57855 }
57856 _ACEOF
57857 if ac_fn_cxx_try_compile "$LINENO"; then :
57858 ac_fdsections=yes
57859 else
57860 ac_fdsections=no
57861 fi
57862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57863 if test "$ac_test_CXXFLAGS" = set; then
57864 CXXFLAGS="$ac_save_CXXFLAGS"
57865 else
57866 # this is the suspicious part
57867 CXXFLAGS=''
57868 fi
57869 if test x"$ac_fdsections" = x"yes"; then
57870 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57871 fi
57872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57873 $as_echo "$ac_fdsections" >&6; }
57874
57875 ac_ext=c
57876 ac_cpp='$CPP $CPPFLAGS'
57877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57880
57881
57882
57883
57884
57885 # If we're not using GNU ld, then there's no point in even trying these
57886 # tests. Check for that first. We should have already tested for gld
57887 # by now (in libtool), but require it now just to be safe...
57888 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57889 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57890
57891
57892
57893 # The name set by libtool depends on the version of libtool. Shame on us
57894 # for depending on an impl detail, but c'est la vie. Older versions used
57895 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57896 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57897 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57898 # set (hence we're using an older libtool), then set it.
57899 if test x${with_gnu_ld+set} != xset; then
57900 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57901 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57902 with_gnu_ld=no
57903 else
57904 with_gnu_ld=$ac_cv_prog_gnu_ld
57905 fi
57906 fi
57907
57908 # Start by getting the version number. I think the libtool test already
57909 # does some of this, but throws away the result.
57910 glibcxx_ld_is_gold=no
57911 if test x"$with_gnu_ld" = x"yes"; then
57912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57913 $as_echo_n "checking for ld version... " >&6; }
57914
57915 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57916 glibcxx_ld_is_gold=yes
57917 fi
57918 ldver=`$LD --version 2>/dev/null |
57919 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'`
57920
57921 glibcxx_gnu_ld_version=`echo $ldver | \
57922 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57924 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57925 fi
57926
57927 # Set --gc-sections.
57928 glibcxx_have_gc_sections=no
57929 if test "$glibcxx_ld_is_gold" = "yes"; then
57930 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57931 glibcxx_have_gc_sections=yes
57932 fi
57933 else
57934 glibcxx_gcsections_min_ld=21602
57935 if test x"$with_gnu_ld" = x"yes" &&
57936 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57937 glibcxx_have_gc_sections=yes
57938 fi
57939 fi
57940 if test "$glibcxx_have_gc_sections" = "yes"; then
57941 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57942 # NB: This flag only works reliably after 2.16.1. Configure tests
57943 # for this are difficult, so hard wire a value that should work.
57944
57945 ac_test_CFLAGS="${CFLAGS+set}"
57946 ac_save_CFLAGS="$CFLAGS"
57947 CFLAGS='-Wl,--gc-sections'
57948
57949 # Check for -Wl,--gc-sections
57950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57951 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57952 if test x$gcc_no_link = xyes; then
57953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57954 fi
57955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57956 /* end confdefs.h. */
57957 int one(void) { return 1; }
57958 int two(void) { return 2; }
57959
57960 int
57961 main ()
57962 {
57963 two();
57964 ;
57965 return 0;
57966 }
57967 _ACEOF
57968 if ac_fn_c_try_link "$LINENO"; then :
57969 ac_gcsections=yes
57970 else
57971 ac_gcsections=no
57972 fi
57973 rm -f core conftest.err conftest.$ac_objext \
57974 conftest$ac_exeext conftest.$ac_ext
57975 if test "$ac_gcsections" = "yes"; then
57976 rm -f conftest.c
57977 touch conftest.c
57978 if $CC -c conftest.c; then
57979 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57980 grep "Warning: gc-sections option ignored" > /dev/null; then
57981 ac_gcsections=no
57982 fi
57983 fi
57984 rm -f conftest.c conftest.o conftest
57985 fi
57986 if test "$ac_gcsections" = "yes"; then
57987 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57988 fi
57989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57990 $as_echo "$ac_gcsections" >&6; }
57991
57992 if test "$ac_test_CFLAGS" = set; then
57993 CFLAGS="$ac_save_CFLAGS"
57994 else
57995 # this is the suspicious part
57996 CFLAGS=''
57997 fi
57998 fi
57999
58000 # Set -z,relro.
58001 # Note this is only for shared objects.
58002 ac_ld_relro=no
58003 if test x"$with_gnu_ld" = x"yes"; then
58004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58005 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58006 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58007 if test -n "$cxx_z_relo"; then
58008 OPT_LDFLAGS="-Wl,-z,relro"
58009 ac_ld_relro=yes
58010 fi
58011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58012 $as_echo "$ac_ld_relro" >&6; }
58013 fi
58014
58015 # Set linker optimization flags.
58016 if test x"$with_gnu_ld" = x"yes"; then
58017 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58018 fi
58019
58020
58021
58022
58023
58024 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58025 ac_save_CXXFLAGS="$CXXFLAGS"
58026 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58027
58028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58029 $as_echo_n "checking for sin in -lm... " >&6; }
58030 if test "${ac_cv_lib_m_sin+set}" = set; then :
58031 $as_echo_n "(cached) " >&6
58032 else
58033 ac_check_lib_save_LIBS=$LIBS
58034 LIBS="-lm $LIBS"
58035 if test x$gcc_no_link = xyes; then
58036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58037 fi
58038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58039 /* end confdefs.h. */
58040
58041 /* Override any GCC internal prototype to avoid an error.
58042 Use char because int might match the return type of a GCC
58043 builtin and then its argument prototype would still apply. */
58044 #ifdef __cplusplus
58045 extern "C"
58046 #endif
58047 char sin ();
58048 int
58049 main ()
58050 {
58051 return sin ();
58052 ;
58053 return 0;
58054 }
58055 _ACEOF
58056 if ac_fn_c_try_link "$LINENO"; then :
58057 ac_cv_lib_m_sin=yes
58058 else
58059 ac_cv_lib_m_sin=no
58060 fi
58061 rm -f core conftest.err conftest.$ac_objext \
58062 conftest$ac_exeext conftest.$ac_ext
58063 LIBS=$ac_check_lib_save_LIBS
58064 fi
58065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58066 $as_echo "$ac_cv_lib_m_sin" >&6; }
58067 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58068 libm="-lm"
58069 fi
58070
58071 ac_save_LIBS="$LIBS"
58072 LIBS="$LIBS $libm"
58073
58074
58075
58076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58077 $as_echo_n "checking for isinf declaration... " >&6; }
58078 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58079 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58080 $as_echo_n "(cached) " >&6
58081 else
58082
58083
58084 ac_ext=cpp
58085 ac_cpp='$CXXCPP $CPPFLAGS'
58086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58089
58090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58091 /* end confdefs.h. */
58092 #include <math.h>
58093 #ifdef HAVE_IEEEFP_H
58094 #include <ieeefp.h>
58095 #endif
58096
58097 int
58098 main ()
58099 {
58100 isinf(0);
58101 ;
58102 return 0;
58103 }
58104 _ACEOF
58105 if ac_fn_cxx_try_compile "$LINENO"; then :
58106 glibcxx_cv_func_isinf_use=yes
58107 else
58108 glibcxx_cv_func_isinf_use=no
58109 fi
58110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58111 ac_ext=c
58112 ac_cpp='$CPP $CPPFLAGS'
58113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58116
58117
58118 fi
58119
58120 fi
58121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58122 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58123
58124 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58125 for ac_func in isinf
58126 do :
58127 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58128 if test "x$ac_cv_func_isinf" = x""yes; then :
58129 cat >>confdefs.h <<_ACEOF
58130 #define HAVE_ISINF 1
58131 _ACEOF
58132
58133 fi
58134 done
58135
58136 else
58137
58138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58139 $as_echo_n "checking for _isinf declaration... " >&6; }
58140 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58141 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58142 $as_echo_n "(cached) " >&6
58143 else
58144
58145
58146 ac_ext=cpp
58147 ac_cpp='$CXXCPP $CPPFLAGS'
58148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58151
58152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58153 /* end confdefs.h. */
58154 #include <math.h>
58155 #ifdef HAVE_IEEEFP_H
58156 #include <ieeefp.h>
58157 #endif
58158
58159 int
58160 main ()
58161 {
58162 _isinf(0);
58163 ;
58164 return 0;
58165 }
58166 _ACEOF
58167 if ac_fn_cxx_try_compile "$LINENO"; then :
58168 glibcxx_cv_func__isinf_use=yes
58169 else
58170 glibcxx_cv_func__isinf_use=no
58171 fi
58172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58173 ac_ext=c
58174 ac_cpp='$CPP $CPPFLAGS'
58175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58178
58179
58180 fi
58181
58182 fi
58183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58184 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58185
58186 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58187 for ac_func in _isinf
58188 do :
58189 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58190 if test "x$ac_cv_func__isinf" = x""yes; then :
58191 cat >>confdefs.h <<_ACEOF
58192 #define HAVE__ISINF 1
58193 _ACEOF
58194
58195 fi
58196 done
58197
58198 fi
58199 fi
58200
58201
58202
58203
58204
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58206 $as_echo_n "checking for isnan declaration... " >&6; }
58207 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58208 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58209 $as_echo_n "(cached) " >&6
58210 else
58211
58212
58213 ac_ext=cpp
58214 ac_cpp='$CXXCPP $CPPFLAGS'
58215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58218
58219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58220 /* end confdefs.h. */
58221 #include <math.h>
58222 #ifdef HAVE_IEEEFP_H
58223 #include <ieeefp.h>
58224 #endif
58225
58226 int
58227 main ()
58228 {
58229 isnan(0);
58230 ;
58231 return 0;
58232 }
58233 _ACEOF
58234 if ac_fn_cxx_try_compile "$LINENO"; then :
58235 glibcxx_cv_func_isnan_use=yes
58236 else
58237 glibcxx_cv_func_isnan_use=no
58238 fi
58239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58240 ac_ext=c
58241 ac_cpp='$CPP $CPPFLAGS'
58242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58245
58246
58247 fi
58248
58249 fi
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58251 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58252
58253 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58254 for ac_func in isnan
58255 do :
58256 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58257 if test "x$ac_cv_func_isnan" = x""yes; then :
58258 cat >>confdefs.h <<_ACEOF
58259 #define HAVE_ISNAN 1
58260 _ACEOF
58261
58262 fi
58263 done
58264
58265 else
58266
58267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58268 $as_echo_n "checking for _isnan declaration... " >&6; }
58269 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58270 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58271 $as_echo_n "(cached) " >&6
58272 else
58273
58274
58275 ac_ext=cpp
58276 ac_cpp='$CXXCPP $CPPFLAGS'
58277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58280
58281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58282 /* end confdefs.h. */
58283 #include <math.h>
58284 #ifdef HAVE_IEEEFP_H
58285 #include <ieeefp.h>
58286 #endif
58287
58288 int
58289 main ()
58290 {
58291 _isnan(0);
58292 ;
58293 return 0;
58294 }
58295 _ACEOF
58296 if ac_fn_cxx_try_compile "$LINENO"; then :
58297 glibcxx_cv_func__isnan_use=yes
58298 else
58299 glibcxx_cv_func__isnan_use=no
58300 fi
58301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58302 ac_ext=c
58303 ac_cpp='$CPP $CPPFLAGS'
58304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58307
58308
58309 fi
58310
58311 fi
58312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58313 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58314
58315 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58316 for ac_func in _isnan
58317 do :
58318 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58319 if test "x$ac_cv_func__isnan" = x""yes; then :
58320 cat >>confdefs.h <<_ACEOF
58321 #define HAVE__ISNAN 1
58322 _ACEOF
58323
58324 fi
58325 done
58326
58327 fi
58328 fi
58329
58330
58331
58332
58333
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58335 $as_echo_n "checking for finite declaration... " >&6; }
58336 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58337 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58338 $as_echo_n "(cached) " >&6
58339 else
58340
58341
58342 ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58347
58348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h. */
58350 #include <math.h>
58351 #ifdef HAVE_IEEEFP_H
58352 #include <ieeefp.h>
58353 #endif
58354
58355 int
58356 main ()
58357 {
58358 finite(0);
58359 ;
58360 return 0;
58361 }
58362 _ACEOF
58363 if ac_fn_cxx_try_compile "$LINENO"; then :
58364 glibcxx_cv_func_finite_use=yes
58365 else
58366 glibcxx_cv_func_finite_use=no
58367 fi
58368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58369 ac_ext=c
58370 ac_cpp='$CPP $CPPFLAGS'
58371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58374
58375
58376 fi
58377
58378 fi
58379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58380 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58381
58382 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58383 for ac_func in finite
58384 do :
58385 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58386 if test "x$ac_cv_func_finite" = x""yes; then :
58387 cat >>confdefs.h <<_ACEOF
58388 #define HAVE_FINITE 1
58389 _ACEOF
58390
58391 fi
58392 done
58393
58394 else
58395
58396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58397 $as_echo_n "checking for _finite declaration... " >&6; }
58398 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58399 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58400 $as_echo_n "(cached) " >&6
58401 else
58402
58403
58404 ac_ext=cpp
58405 ac_cpp='$CXXCPP $CPPFLAGS'
58406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58409
58410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58411 /* end confdefs.h. */
58412 #include <math.h>
58413 #ifdef HAVE_IEEEFP_H
58414 #include <ieeefp.h>
58415 #endif
58416
58417 int
58418 main ()
58419 {
58420 _finite(0);
58421 ;
58422 return 0;
58423 }
58424 _ACEOF
58425 if ac_fn_cxx_try_compile "$LINENO"; then :
58426 glibcxx_cv_func__finite_use=yes
58427 else
58428 glibcxx_cv_func__finite_use=no
58429 fi
58430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58431 ac_ext=c
58432 ac_cpp='$CPP $CPPFLAGS'
58433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58436
58437
58438 fi
58439
58440 fi
58441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58442 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58443
58444 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58445 for ac_func in _finite
58446 do :
58447 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58448 if test "x$ac_cv_func__finite" = x""yes; then :
58449 cat >>confdefs.h <<_ACEOF
58450 #define HAVE__FINITE 1
58451 _ACEOF
58452
58453 fi
58454 done
58455
58456 fi
58457 fi
58458
58459
58460
58461
58462
58463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58464 $as_echo_n "checking for sincos declaration... " >&6; }
58465 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58466 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58467 $as_echo_n "(cached) " >&6
58468 else
58469
58470
58471 ac_ext=cpp
58472 ac_cpp='$CXXCPP $CPPFLAGS'
58473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58476
58477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58478 /* end confdefs.h. */
58479 #include <math.h>
58480 int
58481 main ()
58482 {
58483 sincos(0, 0, 0);
58484 ;
58485 return 0;
58486 }
58487 _ACEOF
58488 if ac_fn_cxx_try_compile "$LINENO"; then :
58489 glibcxx_cv_func_sincos_use=yes
58490 else
58491 glibcxx_cv_func_sincos_use=no
58492 fi
58493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58494 ac_ext=c
58495 ac_cpp='$CPP $CPPFLAGS'
58496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58499
58500
58501 fi
58502
58503 fi
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58505 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58506
58507 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58508 for ac_func in sincos
58509 do :
58510 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58511 if test "x$ac_cv_func_sincos" = x""yes; then :
58512 cat >>confdefs.h <<_ACEOF
58513 #define HAVE_SINCOS 1
58514 _ACEOF
58515
58516 fi
58517 done
58518
58519 else
58520
58521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58522 $as_echo_n "checking for _sincos declaration... " >&6; }
58523 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58524 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58525 $as_echo_n "(cached) " >&6
58526 else
58527
58528
58529 ac_ext=cpp
58530 ac_cpp='$CXXCPP $CPPFLAGS'
58531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58534
58535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58536 /* end confdefs.h. */
58537 #include <math.h>
58538 int
58539 main ()
58540 {
58541 _sincos(0, 0, 0);
58542 ;
58543 return 0;
58544 }
58545 _ACEOF
58546 if ac_fn_cxx_try_compile "$LINENO"; then :
58547 glibcxx_cv_func__sincos_use=yes
58548 else
58549 glibcxx_cv_func__sincos_use=no
58550 fi
58551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58552 ac_ext=c
58553 ac_cpp='$CPP $CPPFLAGS'
58554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58557
58558
58559 fi
58560
58561 fi
58562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58563 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58564
58565 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58566 for ac_func in _sincos
58567 do :
58568 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58569 if test "x$ac_cv_func__sincos" = x""yes; then :
58570 cat >>confdefs.h <<_ACEOF
58571 #define HAVE__SINCOS 1
58572 _ACEOF
58573
58574 fi
58575 done
58576
58577 fi
58578 fi
58579
58580
58581
58582
58583
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58585 $as_echo_n "checking for fpclass declaration... " >&6; }
58586 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58587 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58588 $as_echo_n "(cached) " >&6
58589 else
58590
58591
58592 ac_ext=cpp
58593 ac_cpp='$CXXCPP $CPPFLAGS'
58594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58597
58598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58599 /* end confdefs.h. */
58600 #include <math.h>
58601 #ifdef HAVE_IEEEFP_H
58602 #include <ieeefp.h>
58603 #endif
58604
58605 int
58606 main ()
58607 {
58608 fpclass(0);
58609 ;
58610 return 0;
58611 }
58612 _ACEOF
58613 if ac_fn_cxx_try_compile "$LINENO"; then :
58614 glibcxx_cv_func_fpclass_use=yes
58615 else
58616 glibcxx_cv_func_fpclass_use=no
58617 fi
58618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58619 ac_ext=c
58620 ac_cpp='$CPP $CPPFLAGS'
58621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58624
58625
58626 fi
58627
58628 fi
58629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58630 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58631
58632 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58633 for ac_func in fpclass
58634 do :
58635 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58636 if test "x$ac_cv_func_fpclass" = x""yes; then :
58637 cat >>confdefs.h <<_ACEOF
58638 #define HAVE_FPCLASS 1
58639 _ACEOF
58640
58641 fi
58642 done
58643
58644 else
58645
58646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58647 $as_echo_n "checking for _fpclass declaration... " >&6; }
58648 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58649 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58650 $as_echo_n "(cached) " >&6
58651 else
58652
58653
58654 ac_ext=cpp
58655 ac_cpp='$CXXCPP $CPPFLAGS'
58656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58659
58660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58661 /* end confdefs.h. */
58662 #include <math.h>
58663 #ifdef HAVE_IEEEFP_H
58664 #include <ieeefp.h>
58665 #endif
58666
58667 int
58668 main ()
58669 {
58670 _fpclass(0);
58671 ;
58672 return 0;
58673 }
58674 _ACEOF
58675 if ac_fn_cxx_try_compile "$LINENO"; then :
58676 glibcxx_cv_func__fpclass_use=yes
58677 else
58678 glibcxx_cv_func__fpclass_use=no
58679 fi
58680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58681 ac_ext=c
58682 ac_cpp='$CPP $CPPFLAGS'
58683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58686
58687
58688 fi
58689
58690 fi
58691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58692 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58693
58694 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58695 for ac_func in _fpclass
58696 do :
58697 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58698 if test "x$ac_cv_func__fpclass" = x""yes; then :
58699 cat >>confdefs.h <<_ACEOF
58700 #define HAVE__FPCLASS 1
58701 _ACEOF
58702
58703 fi
58704 done
58705
58706 fi
58707 fi
58708
58709
58710
58711
58712
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58714 $as_echo_n "checking for qfpclass declaration... " >&6; }
58715 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58716 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58717 $as_echo_n "(cached) " >&6
58718 else
58719
58720
58721 ac_ext=cpp
58722 ac_cpp='$CXXCPP $CPPFLAGS'
58723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58726
58727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58728 /* end confdefs.h. */
58729 #include <math.h>
58730 #ifdef HAVE_IEEEFP_H
58731 #include <ieeefp.h>
58732 #endif
58733
58734 int
58735 main ()
58736 {
58737 qfpclass(0);
58738 ;
58739 return 0;
58740 }
58741 _ACEOF
58742 if ac_fn_cxx_try_compile "$LINENO"; then :
58743 glibcxx_cv_func_qfpclass_use=yes
58744 else
58745 glibcxx_cv_func_qfpclass_use=no
58746 fi
58747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58748 ac_ext=c
58749 ac_cpp='$CPP $CPPFLAGS'
58750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58753
58754
58755 fi
58756
58757 fi
58758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58759 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58760
58761 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58762 for ac_func in qfpclass
58763 do :
58764 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58765 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58766 cat >>confdefs.h <<_ACEOF
58767 #define HAVE_QFPCLASS 1
58768 _ACEOF
58769
58770 fi
58771 done
58772
58773 else
58774
58775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58776 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58777 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58778 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58779 $as_echo_n "(cached) " >&6
58780 else
58781
58782
58783 ac_ext=cpp
58784 ac_cpp='$CXXCPP $CPPFLAGS'
58785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58788
58789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58790 /* end confdefs.h. */
58791 #include <math.h>
58792 #ifdef HAVE_IEEEFP_H
58793 #include <ieeefp.h>
58794 #endif
58795
58796 int
58797 main ()
58798 {
58799 _qfpclass(0);
58800 ;
58801 return 0;
58802 }
58803 _ACEOF
58804 if ac_fn_cxx_try_compile "$LINENO"; then :
58805 glibcxx_cv_func__qfpclass_use=yes
58806 else
58807 glibcxx_cv_func__qfpclass_use=no
58808 fi
58809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58810 ac_ext=c
58811 ac_cpp='$CPP $CPPFLAGS'
58812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58815
58816
58817 fi
58818
58819 fi
58820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58821 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58822
58823 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58824 for ac_func in _qfpclass
58825 do :
58826 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58827 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58828 cat >>confdefs.h <<_ACEOF
58829 #define HAVE__QFPCLASS 1
58830 _ACEOF
58831
58832 fi
58833 done
58834
58835 fi
58836 fi
58837
58838
58839
58840
58841
58842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58843 $as_echo_n "checking for hypot declaration... " >&6; }
58844 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58845 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58846 $as_echo_n "(cached) " >&6
58847 else
58848
58849
58850 ac_ext=cpp
58851 ac_cpp='$CXXCPP $CPPFLAGS'
58852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58855
58856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58857 /* end confdefs.h. */
58858 #include <math.h>
58859 int
58860 main ()
58861 {
58862 hypot(0, 0);
58863 ;
58864 return 0;
58865 }
58866 _ACEOF
58867 if ac_fn_cxx_try_compile "$LINENO"; then :
58868 glibcxx_cv_func_hypot_use=yes
58869 else
58870 glibcxx_cv_func_hypot_use=no
58871 fi
58872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58873 ac_ext=c
58874 ac_cpp='$CPP $CPPFLAGS'
58875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58878
58879
58880 fi
58881
58882 fi
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58884 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58885
58886 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58887 for ac_func in hypot
58888 do :
58889 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58890 if test "x$ac_cv_func_hypot" = x""yes; then :
58891 cat >>confdefs.h <<_ACEOF
58892 #define HAVE_HYPOT 1
58893 _ACEOF
58894
58895 fi
58896 done
58897
58898 else
58899
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58901 $as_echo_n "checking for _hypot declaration... " >&6; }
58902 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58903 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58904 $as_echo_n "(cached) " >&6
58905 else
58906
58907
58908 ac_ext=cpp
58909 ac_cpp='$CXXCPP $CPPFLAGS'
58910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58913
58914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58915 /* end confdefs.h. */
58916 #include <math.h>
58917 int
58918 main ()
58919 {
58920 _hypot(0, 0);
58921 ;
58922 return 0;
58923 }
58924 _ACEOF
58925 if ac_fn_cxx_try_compile "$LINENO"; then :
58926 glibcxx_cv_func__hypot_use=yes
58927 else
58928 glibcxx_cv_func__hypot_use=no
58929 fi
58930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58931 ac_ext=c
58932 ac_cpp='$CPP $CPPFLAGS'
58933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58936
58937
58938 fi
58939
58940 fi
58941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58942 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58943
58944 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58945 for ac_func in _hypot
58946 do :
58947 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58948 if test "x$ac_cv_func__hypot" = x""yes; then :
58949 cat >>confdefs.h <<_ACEOF
58950 #define HAVE__HYPOT 1
58951 _ACEOF
58952
58953 fi
58954 done
58955
58956 fi
58957 fi
58958
58959
58960
58961
58962
58963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58964 $as_echo_n "checking for float trig functions... " >&6; }
58965 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58966 $as_echo_n "(cached) " >&6
58967 else
58968
58969
58970 ac_ext=cpp
58971 ac_cpp='$CXXCPP $CPPFLAGS'
58972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58975
58976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58977 /* end confdefs.h. */
58978 #include <math.h>
58979 int
58980 main ()
58981 {
58982 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58983 ;
58984 return 0;
58985 }
58986 _ACEOF
58987 if ac_fn_cxx_try_compile "$LINENO"; then :
58988 glibcxx_cv_func_float_trig_use=yes
58989 else
58990 glibcxx_cv_func_float_trig_use=no
58991 fi
58992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58993 ac_ext=c
58994 ac_cpp='$CPP $CPPFLAGS'
58995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58998
58999 fi
59000
59001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59002 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59003 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59004 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59005 do :
59006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59008 eval as_val=\$$as_ac_var
59009 if test "x$as_val" = x""yes; then :
59010 cat >>confdefs.h <<_ACEOF
59011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59012 _ACEOF
59013
59014 fi
59015 done
59016
59017 else
59018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59019 $as_echo_n "checking for _float trig functions... " >&6; }
59020 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59021 $as_echo_n "(cached) " >&6
59022 else
59023
59024
59025 ac_ext=cpp
59026 ac_cpp='$CXXCPP $CPPFLAGS'
59027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59030
59031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59032 /* end confdefs.h. */
59033 #include <math.h>
59034 int
59035 main ()
59036 {
59037 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59038 ;
59039 return 0;
59040 }
59041 _ACEOF
59042 if ac_fn_cxx_try_compile "$LINENO"; then :
59043 glibcxx_cv_func__float_trig_use=yes
59044 else
59045 glibcxx_cv_func__float_trig_use=no
59046 fi
59047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59048 ac_ext=c
59049 ac_cpp='$CPP $CPPFLAGS'
59050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59053
59054 fi
59055
59056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59057 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59058 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59059 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59060 do :
59061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59063 eval as_val=\$$as_ac_var
59064 if test "x$as_val" = x""yes; then :
59065 cat >>confdefs.h <<_ACEOF
59066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59067 _ACEOF
59068
59069 fi
59070 done
59071
59072 fi
59073 fi
59074
59075
59076
59077
59078
59079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59080 $as_echo_n "checking for float round functions... " >&6; }
59081 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59082 $as_echo_n "(cached) " >&6
59083 else
59084
59085
59086 ac_ext=cpp
59087 ac_cpp='$CXXCPP $CPPFLAGS'
59088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59091
59092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59093 /* end confdefs.h. */
59094 #include <math.h>
59095 int
59096 main ()
59097 {
59098 ceilf (0); floorf (0);
59099 ;
59100 return 0;
59101 }
59102 _ACEOF
59103 if ac_fn_cxx_try_compile "$LINENO"; then :
59104 glibcxx_cv_func_float_round_use=yes
59105 else
59106 glibcxx_cv_func_float_round_use=no
59107 fi
59108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59109 ac_ext=c
59110 ac_cpp='$CPP $CPPFLAGS'
59111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59114
59115 fi
59116
59117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59118 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59119 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59120 for ac_func in ceilf floorf
59121 do :
59122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59124 eval as_val=\$$as_ac_var
59125 if test "x$as_val" = x""yes; then :
59126 cat >>confdefs.h <<_ACEOF
59127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59128 _ACEOF
59129
59130 fi
59131 done
59132
59133 else
59134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59135 $as_echo_n "checking for _float round functions... " >&6; }
59136 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59137 $as_echo_n "(cached) " >&6
59138 else
59139
59140
59141 ac_ext=cpp
59142 ac_cpp='$CXXCPP $CPPFLAGS'
59143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59146
59147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59148 /* end confdefs.h. */
59149 #include <math.h>
59150 int
59151 main ()
59152 {
59153 _ceilf (0); _floorf (0);
59154 ;
59155 return 0;
59156 }
59157 _ACEOF
59158 if ac_fn_cxx_try_compile "$LINENO"; then :
59159 glibcxx_cv_func__float_round_use=yes
59160 else
59161 glibcxx_cv_func__float_round_use=no
59162 fi
59163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59164 ac_ext=c
59165 ac_cpp='$CPP $CPPFLAGS'
59166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59169
59170 fi
59171
59172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59173 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59174 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59175 for ac_func in _ceilf _floorf
59176 do :
59177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59179 eval as_val=\$$as_ac_var
59180 if test "x$as_val" = x""yes; then :
59181 cat >>confdefs.h <<_ACEOF
59182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59183 _ACEOF
59184
59185 fi
59186 done
59187
59188 fi
59189 fi
59190
59191
59192
59193
59194
59195
59196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59197 $as_echo_n "checking for expf declaration... " >&6; }
59198 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59199 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59200 $as_echo_n "(cached) " >&6
59201 else
59202
59203
59204 ac_ext=cpp
59205 ac_cpp='$CXXCPP $CPPFLAGS'
59206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59209
59210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59211 /* end confdefs.h. */
59212 #include <math.h>
59213 #ifdef HAVE_IEEEFP_H
59214 #include <ieeefp.h>
59215 #endif
59216
59217 int
59218 main ()
59219 {
59220 expf(0);
59221 ;
59222 return 0;
59223 }
59224 _ACEOF
59225 if ac_fn_cxx_try_compile "$LINENO"; then :
59226 glibcxx_cv_func_expf_use=yes
59227 else
59228 glibcxx_cv_func_expf_use=no
59229 fi
59230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59231 ac_ext=c
59232 ac_cpp='$CPP $CPPFLAGS'
59233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59236
59237
59238 fi
59239
59240 fi
59241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59242 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59243
59244 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59245 for ac_func in expf
59246 do :
59247 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59248 if test "x$ac_cv_func_expf" = x""yes; then :
59249 cat >>confdefs.h <<_ACEOF
59250 #define HAVE_EXPF 1
59251 _ACEOF
59252
59253 fi
59254 done
59255
59256 else
59257
59258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59259 $as_echo_n "checking for _expf declaration... " >&6; }
59260 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59261 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59262 $as_echo_n "(cached) " >&6
59263 else
59264
59265
59266 ac_ext=cpp
59267 ac_cpp='$CXXCPP $CPPFLAGS'
59268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59271
59272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59273 /* end confdefs.h. */
59274 #include <math.h>
59275 #ifdef HAVE_IEEEFP_H
59276 #include <ieeefp.h>
59277 #endif
59278
59279 int
59280 main ()
59281 {
59282 _expf(0);
59283 ;
59284 return 0;
59285 }
59286 _ACEOF
59287 if ac_fn_cxx_try_compile "$LINENO"; then :
59288 glibcxx_cv_func__expf_use=yes
59289 else
59290 glibcxx_cv_func__expf_use=no
59291 fi
59292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59293 ac_ext=c
59294 ac_cpp='$CPP $CPPFLAGS'
59295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59298
59299
59300 fi
59301
59302 fi
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59304 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59305
59306 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59307 for ac_func in _expf
59308 do :
59309 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59310 if test "x$ac_cv_func__expf" = x""yes; then :
59311 cat >>confdefs.h <<_ACEOF
59312 #define HAVE__EXPF 1
59313 _ACEOF
59314
59315 fi
59316 done
59317
59318 fi
59319 fi
59320
59321
59322
59323
59324
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59326 $as_echo_n "checking for isnanf declaration... " >&6; }
59327 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59328 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59329 $as_echo_n "(cached) " >&6
59330 else
59331
59332
59333 ac_ext=cpp
59334 ac_cpp='$CXXCPP $CPPFLAGS'
59335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59338
59339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59340 /* end confdefs.h. */
59341 #include <math.h>
59342 #ifdef HAVE_IEEEFP_H
59343 #include <ieeefp.h>
59344 #endif
59345
59346 int
59347 main ()
59348 {
59349 isnanf(0);
59350 ;
59351 return 0;
59352 }
59353 _ACEOF
59354 if ac_fn_cxx_try_compile "$LINENO"; then :
59355 glibcxx_cv_func_isnanf_use=yes
59356 else
59357 glibcxx_cv_func_isnanf_use=no
59358 fi
59359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59360 ac_ext=c
59361 ac_cpp='$CPP $CPPFLAGS'
59362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59365
59366
59367 fi
59368
59369 fi
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59371 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59372
59373 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59374 for ac_func in isnanf
59375 do :
59376 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59377 if test "x$ac_cv_func_isnanf" = x""yes; then :
59378 cat >>confdefs.h <<_ACEOF
59379 #define HAVE_ISNANF 1
59380 _ACEOF
59381
59382 fi
59383 done
59384
59385 else
59386
59387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59388 $as_echo_n "checking for _isnanf declaration... " >&6; }
59389 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59390 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59391 $as_echo_n "(cached) " >&6
59392 else
59393
59394
59395 ac_ext=cpp
59396 ac_cpp='$CXXCPP $CPPFLAGS'
59397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59400
59401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59402 /* end confdefs.h. */
59403 #include <math.h>
59404 #ifdef HAVE_IEEEFP_H
59405 #include <ieeefp.h>
59406 #endif
59407
59408 int
59409 main ()
59410 {
59411 _isnanf(0);
59412 ;
59413 return 0;
59414 }
59415 _ACEOF
59416 if ac_fn_cxx_try_compile "$LINENO"; then :
59417 glibcxx_cv_func__isnanf_use=yes
59418 else
59419 glibcxx_cv_func__isnanf_use=no
59420 fi
59421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59422 ac_ext=c
59423 ac_cpp='$CPP $CPPFLAGS'
59424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59427
59428
59429 fi
59430
59431 fi
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59433 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59434
59435 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59436 for ac_func in _isnanf
59437 do :
59438 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59439 if test "x$ac_cv_func__isnanf" = x""yes; then :
59440 cat >>confdefs.h <<_ACEOF
59441 #define HAVE__ISNANF 1
59442 _ACEOF
59443
59444 fi
59445 done
59446
59447 fi
59448 fi
59449
59450
59451
59452
59453
59454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59455 $as_echo_n "checking for isinff declaration... " >&6; }
59456 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59457 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59458 $as_echo_n "(cached) " >&6
59459 else
59460
59461
59462 ac_ext=cpp
59463 ac_cpp='$CXXCPP $CPPFLAGS'
59464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59467
59468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59469 /* end confdefs.h. */
59470 #include <math.h>
59471 #ifdef HAVE_IEEEFP_H
59472 #include <ieeefp.h>
59473 #endif
59474
59475 int
59476 main ()
59477 {
59478 isinff(0);
59479 ;
59480 return 0;
59481 }
59482 _ACEOF
59483 if ac_fn_cxx_try_compile "$LINENO"; then :
59484 glibcxx_cv_func_isinff_use=yes
59485 else
59486 glibcxx_cv_func_isinff_use=no
59487 fi
59488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59489 ac_ext=c
59490 ac_cpp='$CPP $CPPFLAGS'
59491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59494
59495
59496 fi
59497
59498 fi
59499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59500 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59501
59502 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59503 for ac_func in isinff
59504 do :
59505 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59506 if test "x$ac_cv_func_isinff" = x""yes; then :
59507 cat >>confdefs.h <<_ACEOF
59508 #define HAVE_ISINFF 1
59509 _ACEOF
59510
59511 fi
59512 done
59513
59514 else
59515
59516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59517 $as_echo_n "checking for _isinff declaration... " >&6; }
59518 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59519 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59520 $as_echo_n "(cached) " >&6
59521 else
59522
59523
59524 ac_ext=cpp
59525 ac_cpp='$CXXCPP $CPPFLAGS'
59526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59529
59530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59531 /* end confdefs.h. */
59532 #include <math.h>
59533 #ifdef HAVE_IEEEFP_H
59534 #include <ieeefp.h>
59535 #endif
59536
59537 int
59538 main ()
59539 {
59540 _isinff(0);
59541 ;
59542 return 0;
59543 }
59544 _ACEOF
59545 if ac_fn_cxx_try_compile "$LINENO"; then :
59546 glibcxx_cv_func__isinff_use=yes
59547 else
59548 glibcxx_cv_func__isinff_use=no
59549 fi
59550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59551 ac_ext=c
59552 ac_cpp='$CPP $CPPFLAGS'
59553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59556
59557
59558 fi
59559
59560 fi
59561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59562 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59563
59564 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59565 for ac_func in _isinff
59566 do :
59567 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59568 if test "x$ac_cv_func__isinff" = x""yes; then :
59569 cat >>confdefs.h <<_ACEOF
59570 #define HAVE__ISINFF 1
59571 _ACEOF
59572
59573 fi
59574 done
59575
59576 fi
59577 fi
59578
59579
59580
59581
59582
59583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59584 $as_echo_n "checking for atan2f declaration... " >&6; }
59585 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59586 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59587 $as_echo_n "(cached) " >&6
59588 else
59589
59590
59591 ac_ext=cpp
59592 ac_cpp='$CXXCPP $CPPFLAGS'
59593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59596
59597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59598 /* end confdefs.h. */
59599 #include <math.h>
59600 int
59601 main ()
59602 {
59603 atan2f(0, 0);
59604 ;
59605 return 0;
59606 }
59607 _ACEOF
59608 if ac_fn_cxx_try_compile "$LINENO"; then :
59609 glibcxx_cv_func_atan2f_use=yes
59610 else
59611 glibcxx_cv_func_atan2f_use=no
59612 fi
59613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59614 ac_ext=c
59615 ac_cpp='$CPP $CPPFLAGS'
59616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59619
59620
59621 fi
59622
59623 fi
59624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59625 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59626
59627 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59628 for ac_func in atan2f
59629 do :
59630 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59631 if test "x$ac_cv_func_atan2f" = x""yes; then :
59632 cat >>confdefs.h <<_ACEOF
59633 #define HAVE_ATAN2F 1
59634 _ACEOF
59635
59636 fi
59637 done
59638
59639 else
59640
59641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59642 $as_echo_n "checking for _atan2f declaration... " >&6; }
59643 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59644 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59645 $as_echo_n "(cached) " >&6
59646 else
59647
59648
59649 ac_ext=cpp
59650 ac_cpp='$CXXCPP $CPPFLAGS'
59651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59654
59655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59656 /* end confdefs.h. */
59657 #include <math.h>
59658 int
59659 main ()
59660 {
59661 _atan2f(0, 0);
59662 ;
59663 return 0;
59664 }
59665 _ACEOF
59666 if ac_fn_cxx_try_compile "$LINENO"; then :
59667 glibcxx_cv_func__atan2f_use=yes
59668 else
59669 glibcxx_cv_func__atan2f_use=no
59670 fi
59671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59672 ac_ext=c
59673 ac_cpp='$CPP $CPPFLAGS'
59674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59677
59678
59679 fi
59680
59681 fi
59682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59683 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59684
59685 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59686 for ac_func in _atan2f
59687 do :
59688 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59689 if test "x$ac_cv_func__atan2f" = x""yes; then :
59690 cat >>confdefs.h <<_ACEOF
59691 #define HAVE__ATAN2F 1
59692 _ACEOF
59693
59694 fi
59695 done
59696
59697 fi
59698 fi
59699
59700
59701
59702
59703
59704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59705 $as_echo_n "checking for fabsf declaration... " >&6; }
59706 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59707 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59708 $as_echo_n "(cached) " >&6
59709 else
59710
59711
59712 ac_ext=cpp
59713 ac_cpp='$CXXCPP $CPPFLAGS'
59714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59717
59718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59719 /* end confdefs.h. */
59720 #include <math.h>
59721 #ifdef HAVE_IEEEFP_H
59722 #include <ieeefp.h>
59723 #endif
59724
59725 int
59726 main ()
59727 {
59728 fabsf(0);
59729 ;
59730 return 0;
59731 }
59732 _ACEOF
59733 if ac_fn_cxx_try_compile "$LINENO"; then :
59734 glibcxx_cv_func_fabsf_use=yes
59735 else
59736 glibcxx_cv_func_fabsf_use=no
59737 fi
59738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59739 ac_ext=c
59740 ac_cpp='$CPP $CPPFLAGS'
59741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59744
59745
59746 fi
59747
59748 fi
59749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59750 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59751
59752 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59753 for ac_func in fabsf
59754 do :
59755 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59756 if test "x$ac_cv_func_fabsf" = x""yes; then :
59757 cat >>confdefs.h <<_ACEOF
59758 #define HAVE_FABSF 1
59759 _ACEOF
59760
59761 fi
59762 done
59763
59764 else
59765
59766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59767 $as_echo_n "checking for _fabsf declaration... " >&6; }
59768 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59769 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59770 $as_echo_n "(cached) " >&6
59771 else
59772
59773
59774 ac_ext=cpp
59775 ac_cpp='$CXXCPP $CPPFLAGS'
59776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59779
59780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59781 /* end confdefs.h. */
59782 #include <math.h>
59783 #ifdef HAVE_IEEEFP_H
59784 #include <ieeefp.h>
59785 #endif
59786
59787 int
59788 main ()
59789 {
59790 _fabsf(0);
59791 ;
59792 return 0;
59793 }
59794 _ACEOF
59795 if ac_fn_cxx_try_compile "$LINENO"; then :
59796 glibcxx_cv_func__fabsf_use=yes
59797 else
59798 glibcxx_cv_func__fabsf_use=no
59799 fi
59800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59801 ac_ext=c
59802 ac_cpp='$CPP $CPPFLAGS'
59803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59806
59807
59808 fi
59809
59810 fi
59811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59812 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59813
59814 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59815 for ac_func in _fabsf
59816 do :
59817 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59818 if test "x$ac_cv_func__fabsf" = x""yes; then :
59819 cat >>confdefs.h <<_ACEOF
59820 #define HAVE__FABSF 1
59821 _ACEOF
59822
59823 fi
59824 done
59825
59826 fi
59827 fi
59828
59829
59830
59831
59832
59833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59834 $as_echo_n "checking for fmodf declaration... " >&6; }
59835 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59836 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59837 $as_echo_n "(cached) " >&6
59838 else
59839
59840
59841 ac_ext=cpp
59842 ac_cpp='$CXXCPP $CPPFLAGS'
59843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59846
59847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59848 /* end confdefs.h. */
59849 #include <math.h>
59850 int
59851 main ()
59852 {
59853 fmodf(0, 0);
59854 ;
59855 return 0;
59856 }
59857 _ACEOF
59858 if ac_fn_cxx_try_compile "$LINENO"; then :
59859 glibcxx_cv_func_fmodf_use=yes
59860 else
59861 glibcxx_cv_func_fmodf_use=no
59862 fi
59863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59864 ac_ext=c
59865 ac_cpp='$CPP $CPPFLAGS'
59866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59869
59870
59871 fi
59872
59873 fi
59874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59875 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59876
59877 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59878 for ac_func in fmodf
59879 do :
59880 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59881 if test "x$ac_cv_func_fmodf" = x""yes; then :
59882 cat >>confdefs.h <<_ACEOF
59883 #define HAVE_FMODF 1
59884 _ACEOF
59885
59886 fi
59887 done
59888
59889 else
59890
59891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59892 $as_echo_n "checking for _fmodf declaration... " >&6; }
59893 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59894 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59895 $as_echo_n "(cached) " >&6
59896 else
59897
59898
59899 ac_ext=cpp
59900 ac_cpp='$CXXCPP $CPPFLAGS'
59901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59904
59905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59906 /* end confdefs.h. */
59907 #include <math.h>
59908 int
59909 main ()
59910 {
59911 _fmodf(0, 0);
59912 ;
59913 return 0;
59914 }
59915 _ACEOF
59916 if ac_fn_cxx_try_compile "$LINENO"; then :
59917 glibcxx_cv_func__fmodf_use=yes
59918 else
59919 glibcxx_cv_func__fmodf_use=no
59920 fi
59921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59922 ac_ext=c
59923 ac_cpp='$CPP $CPPFLAGS'
59924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59927
59928
59929 fi
59930
59931 fi
59932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59933 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59934
59935 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59936 for ac_func in _fmodf
59937 do :
59938 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59939 if test "x$ac_cv_func__fmodf" = x""yes; then :
59940 cat >>confdefs.h <<_ACEOF
59941 #define HAVE__FMODF 1
59942 _ACEOF
59943
59944 fi
59945 done
59946
59947 fi
59948 fi
59949
59950
59951
59952
59953
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59955 $as_echo_n "checking for frexpf declaration... " >&6; }
59956 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59957 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59958 $as_echo_n "(cached) " >&6
59959 else
59960
59961
59962 ac_ext=cpp
59963 ac_cpp='$CXXCPP $CPPFLAGS'
59964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59967
59968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59969 /* end confdefs.h. */
59970 #include <math.h>
59971 int
59972 main ()
59973 {
59974 frexpf(0, 0);
59975 ;
59976 return 0;
59977 }
59978 _ACEOF
59979 if ac_fn_cxx_try_compile "$LINENO"; then :
59980 glibcxx_cv_func_frexpf_use=yes
59981 else
59982 glibcxx_cv_func_frexpf_use=no
59983 fi
59984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59985 ac_ext=c
59986 ac_cpp='$CPP $CPPFLAGS'
59987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59990
59991
59992 fi
59993
59994 fi
59995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59996 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59997
59998 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59999 for ac_func in frexpf
60000 do :
60001 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60002 if test "x$ac_cv_func_frexpf" = x""yes; then :
60003 cat >>confdefs.h <<_ACEOF
60004 #define HAVE_FREXPF 1
60005 _ACEOF
60006
60007 fi
60008 done
60009
60010 else
60011
60012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60013 $as_echo_n "checking for _frexpf declaration... " >&6; }
60014 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60015 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60016 $as_echo_n "(cached) " >&6
60017 else
60018
60019
60020 ac_ext=cpp
60021 ac_cpp='$CXXCPP $CPPFLAGS'
60022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60025
60026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60027 /* end confdefs.h. */
60028 #include <math.h>
60029 int
60030 main ()
60031 {
60032 _frexpf(0, 0);
60033 ;
60034 return 0;
60035 }
60036 _ACEOF
60037 if ac_fn_cxx_try_compile "$LINENO"; then :
60038 glibcxx_cv_func__frexpf_use=yes
60039 else
60040 glibcxx_cv_func__frexpf_use=no
60041 fi
60042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60043 ac_ext=c
60044 ac_cpp='$CPP $CPPFLAGS'
60045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60048
60049
60050 fi
60051
60052 fi
60053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60054 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60055
60056 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60057 for ac_func in _frexpf
60058 do :
60059 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60060 if test "x$ac_cv_func__frexpf" = x""yes; then :
60061 cat >>confdefs.h <<_ACEOF
60062 #define HAVE__FREXPF 1
60063 _ACEOF
60064
60065 fi
60066 done
60067
60068 fi
60069 fi
60070
60071
60072
60073
60074
60075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60076 $as_echo_n "checking for hypotf declaration... " >&6; }
60077 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60078 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60079 $as_echo_n "(cached) " >&6
60080 else
60081
60082
60083 ac_ext=cpp
60084 ac_cpp='$CXXCPP $CPPFLAGS'
60085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60088
60089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60090 /* end confdefs.h. */
60091 #include <math.h>
60092 int
60093 main ()
60094 {
60095 hypotf(0, 0);
60096 ;
60097 return 0;
60098 }
60099 _ACEOF
60100 if ac_fn_cxx_try_compile "$LINENO"; then :
60101 glibcxx_cv_func_hypotf_use=yes
60102 else
60103 glibcxx_cv_func_hypotf_use=no
60104 fi
60105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60106 ac_ext=c
60107 ac_cpp='$CPP $CPPFLAGS'
60108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60111
60112
60113 fi
60114
60115 fi
60116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60117 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60118
60119 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60120 for ac_func in hypotf
60121 do :
60122 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60123 if test "x$ac_cv_func_hypotf" = x""yes; then :
60124 cat >>confdefs.h <<_ACEOF
60125 #define HAVE_HYPOTF 1
60126 _ACEOF
60127
60128 fi
60129 done
60130
60131 else
60132
60133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60134 $as_echo_n "checking for _hypotf declaration... " >&6; }
60135 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60136 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60137 $as_echo_n "(cached) " >&6
60138 else
60139
60140
60141 ac_ext=cpp
60142 ac_cpp='$CXXCPP $CPPFLAGS'
60143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60146
60147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60148 /* end confdefs.h. */
60149 #include <math.h>
60150 int
60151 main ()
60152 {
60153 _hypotf(0, 0);
60154 ;
60155 return 0;
60156 }
60157 _ACEOF
60158 if ac_fn_cxx_try_compile "$LINENO"; then :
60159 glibcxx_cv_func__hypotf_use=yes
60160 else
60161 glibcxx_cv_func__hypotf_use=no
60162 fi
60163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60164 ac_ext=c
60165 ac_cpp='$CPP $CPPFLAGS'
60166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60169
60170
60171 fi
60172
60173 fi
60174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60175 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60176
60177 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60178 for ac_func in _hypotf
60179 do :
60180 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60181 if test "x$ac_cv_func__hypotf" = x""yes; then :
60182 cat >>confdefs.h <<_ACEOF
60183 #define HAVE__HYPOTF 1
60184 _ACEOF
60185
60186 fi
60187 done
60188
60189 fi
60190 fi
60191
60192
60193
60194
60195
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60197 $as_echo_n "checking for ldexpf declaration... " >&6; }
60198 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60199 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60200 $as_echo_n "(cached) " >&6
60201 else
60202
60203
60204 ac_ext=cpp
60205 ac_cpp='$CXXCPP $CPPFLAGS'
60206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60209
60210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60211 /* end confdefs.h. */
60212 #include <math.h>
60213 int
60214 main ()
60215 {
60216 ldexpf(0, 0);
60217 ;
60218 return 0;
60219 }
60220 _ACEOF
60221 if ac_fn_cxx_try_compile "$LINENO"; then :
60222 glibcxx_cv_func_ldexpf_use=yes
60223 else
60224 glibcxx_cv_func_ldexpf_use=no
60225 fi
60226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60227 ac_ext=c
60228 ac_cpp='$CPP $CPPFLAGS'
60229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60232
60233
60234 fi
60235
60236 fi
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60238 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60239
60240 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60241 for ac_func in ldexpf
60242 do :
60243 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60244 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60245 cat >>confdefs.h <<_ACEOF
60246 #define HAVE_LDEXPF 1
60247 _ACEOF
60248
60249 fi
60250 done
60251
60252 else
60253
60254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60255 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60256 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60257 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60258 $as_echo_n "(cached) " >&6
60259 else
60260
60261
60262 ac_ext=cpp
60263 ac_cpp='$CXXCPP $CPPFLAGS'
60264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60267
60268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60269 /* end confdefs.h. */
60270 #include <math.h>
60271 int
60272 main ()
60273 {
60274 _ldexpf(0, 0);
60275 ;
60276 return 0;
60277 }
60278 _ACEOF
60279 if ac_fn_cxx_try_compile "$LINENO"; then :
60280 glibcxx_cv_func__ldexpf_use=yes
60281 else
60282 glibcxx_cv_func__ldexpf_use=no
60283 fi
60284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60285 ac_ext=c
60286 ac_cpp='$CPP $CPPFLAGS'
60287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60290
60291
60292 fi
60293
60294 fi
60295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60296 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60297
60298 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60299 for ac_func in _ldexpf
60300 do :
60301 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60302 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60303 cat >>confdefs.h <<_ACEOF
60304 #define HAVE__LDEXPF 1
60305 _ACEOF
60306
60307 fi
60308 done
60309
60310 fi
60311 fi
60312
60313
60314
60315
60316
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60318 $as_echo_n "checking for logf declaration... " >&6; }
60319 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60320 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60321 $as_echo_n "(cached) " >&6
60322 else
60323
60324
60325 ac_ext=cpp
60326 ac_cpp='$CXXCPP $CPPFLAGS'
60327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60330
60331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60332 /* end confdefs.h. */
60333 #include <math.h>
60334 #ifdef HAVE_IEEEFP_H
60335 #include <ieeefp.h>
60336 #endif
60337
60338 int
60339 main ()
60340 {
60341 logf(0);
60342 ;
60343 return 0;
60344 }
60345 _ACEOF
60346 if ac_fn_cxx_try_compile "$LINENO"; then :
60347 glibcxx_cv_func_logf_use=yes
60348 else
60349 glibcxx_cv_func_logf_use=no
60350 fi
60351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60352 ac_ext=c
60353 ac_cpp='$CPP $CPPFLAGS'
60354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60357
60358
60359 fi
60360
60361 fi
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60363 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60364
60365 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60366 for ac_func in logf
60367 do :
60368 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60369 if test "x$ac_cv_func_logf" = x""yes; then :
60370 cat >>confdefs.h <<_ACEOF
60371 #define HAVE_LOGF 1
60372 _ACEOF
60373
60374 fi
60375 done
60376
60377 else
60378
60379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60380 $as_echo_n "checking for _logf declaration... " >&6; }
60381 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60382 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60383 $as_echo_n "(cached) " >&6
60384 else
60385
60386
60387 ac_ext=cpp
60388 ac_cpp='$CXXCPP $CPPFLAGS'
60389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60392
60393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60394 /* end confdefs.h. */
60395 #include <math.h>
60396 #ifdef HAVE_IEEEFP_H
60397 #include <ieeefp.h>
60398 #endif
60399
60400 int
60401 main ()
60402 {
60403 _logf(0);
60404 ;
60405 return 0;
60406 }
60407 _ACEOF
60408 if ac_fn_cxx_try_compile "$LINENO"; then :
60409 glibcxx_cv_func__logf_use=yes
60410 else
60411 glibcxx_cv_func__logf_use=no
60412 fi
60413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60414 ac_ext=c
60415 ac_cpp='$CPP $CPPFLAGS'
60416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60419
60420
60421 fi
60422
60423 fi
60424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60425 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60426
60427 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60428 for ac_func in _logf
60429 do :
60430 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60431 if test "x$ac_cv_func__logf" = x""yes; then :
60432 cat >>confdefs.h <<_ACEOF
60433 #define HAVE__LOGF 1
60434 _ACEOF
60435
60436 fi
60437 done
60438
60439 fi
60440 fi
60441
60442
60443
60444
60445
60446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60447 $as_echo_n "checking for log10f declaration... " >&6; }
60448 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60449 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60450 $as_echo_n "(cached) " >&6
60451 else
60452
60453
60454 ac_ext=cpp
60455 ac_cpp='$CXXCPP $CPPFLAGS'
60456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60459
60460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60461 /* end confdefs.h. */
60462 #include <math.h>
60463 #ifdef HAVE_IEEEFP_H
60464 #include <ieeefp.h>
60465 #endif
60466
60467 int
60468 main ()
60469 {
60470 log10f(0);
60471 ;
60472 return 0;
60473 }
60474 _ACEOF
60475 if ac_fn_cxx_try_compile "$LINENO"; then :
60476 glibcxx_cv_func_log10f_use=yes
60477 else
60478 glibcxx_cv_func_log10f_use=no
60479 fi
60480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60481 ac_ext=c
60482 ac_cpp='$CPP $CPPFLAGS'
60483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60486
60487
60488 fi
60489
60490 fi
60491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60492 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60493
60494 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60495 for ac_func in log10f
60496 do :
60497 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60498 if test "x$ac_cv_func_log10f" = x""yes; then :
60499 cat >>confdefs.h <<_ACEOF
60500 #define HAVE_LOG10F 1
60501 _ACEOF
60502
60503 fi
60504 done
60505
60506 else
60507
60508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60509 $as_echo_n "checking for _log10f declaration... " >&6; }
60510 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60511 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60512 $as_echo_n "(cached) " >&6
60513 else
60514
60515
60516 ac_ext=cpp
60517 ac_cpp='$CXXCPP $CPPFLAGS'
60518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60521
60522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60523 /* end confdefs.h. */
60524 #include <math.h>
60525 #ifdef HAVE_IEEEFP_H
60526 #include <ieeefp.h>
60527 #endif
60528
60529 int
60530 main ()
60531 {
60532 _log10f(0);
60533 ;
60534 return 0;
60535 }
60536 _ACEOF
60537 if ac_fn_cxx_try_compile "$LINENO"; then :
60538 glibcxx_cv_func__log10f_use=yes
60539 else
60540 glibcxx_cv_func__log10f_use=no
60541 fi
60542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60543 ac_ext=c
60544 ac_cpp='$CPP $CPPFLAGS'
60545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60548
60549
60550 fi
60551
60552 fi
60553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60554 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60555
60556 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60557 for ac_func in _log10f
60558 do :
60559 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60560 if test "x$ac_cv_func__log10f" = x""yes; then :
60561 cat >>confdefs.h <<_ACEOF
60562 #define HAVE__LOG10F 1
60563 _ACEOF
60564
60565 fi
60566 done
60567
60568 fi
60569 fi
60570
60571
60572
60573
60574
60575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60576 $as_echo_n "checking for modff declaration... " >&6; }
60577 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60578 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60579 $as_echo_n "(cached) " >&6
60580 else
60581
60582
60583 ac_ext=cpp
60584 ac_cpp='$CXXCPP $CPPFLAGS'
60585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60588
60589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60590 /* end confdefs.h. */
60591 #include <math.h>
60592 int
60593 main ()
60594 {
60595 modff(0, 0);
60596 ;
60597 return 0;
60598 }
60599 _ACEOF
60600 if ac_fn_cxx_try_compile "$LINENO"; then :
60601 glibcxx_cv_func_modff_use=yes
60602 else
60603 glibcxx_cv_func_modff_use=no
60604 fi
60605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60606 ac_ext=c
60607 ac_cpp='$CPP $CPPFLAGS'
60608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60611
60612
60613 fi
60614
60615 fi
60616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60617 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60618
60619 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60620 for ac_func in modff
60621 do :
60622 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60623 if test "x$ac_cv_func_modff" = x""yes; then :
60624 cat >>confdefs.h <<_ACEOF
60625 #define HAVE_MODFF 1
60626 _ACEOF
60627
60628 fi
60629 done
60630
60631 else
60632
60633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60634 $as_echo_n "checking for _modff declaration... " >&6; }
60635 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60636 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60637 $as_echo_n "(cached) " >&6
60638 else
60639
60640
60641 ac_ext=cpp
60642 ac_cpp='$CXXCPP $CPPFLAGS'
60643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60646
60647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60648 /* end confdefs.h. */
60649 #include <math.h>
60650 int
60651 main ()
60652 {
60653 _modff(0, 0);
60654 ;
60655 return 0;
60656 }
60657 _ACEOF
60658 if ac_fn_cxx_try_compile "$LINENO"; then :
60659 glibcxx_cv_func__modff_use=yes
60660 else
60661 glibcxx_cv_func__modff_use=no
60662 fi
60663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60664 ac_ext=c
60665 ac_cpp='$CPP $CPPFLAGS'
60666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60669
60670
60671 fi
60672
60673 fi
60674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60675 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60676
60677 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60678 for ac_func in _modff
60679 do :
60680 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60681 if test "x$ac_cv_func__modff" = x""yes; then :
60682 cat >>confdefs.h <<_ACEOF
60683 #define HAVE__MODFF 1
60684 _ACEOF
60685
60686 fi
60687 done
60688
60689 fi
60690 fi
60691
60692
60693
60694
60695
60696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60697 $as_echo_n "checking for modf declaration... " >&6; }
60698 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60699 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60700 $as_echo_n "(cached) " >&6
60701 else
60702
60703
60704 ac_ext=cpp
60705 ac_cpp='$CXXCPP $CPPFLAGS'
60706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60709
60710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60711 /* end confdefs.h. */
60712 #include <math.h>
60713 int
60714 main ()
60715 {
60716 modf(0, 0);
60717 ;
60718 return 0;
60719 }
60720 _ACEOF
60721 if ac_fn_cxx_try_compile "$LINENO"; then :
60722 glibcxx_cv_func_modf_use=yes
60723 else
60724 glibcxx_cv_func_modf_use=no
60725 fi
60726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60727 ac_ext=c
60728 ac_cpp='$CPP $CPPFLAGS'
60729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60732
60733
60734 fi
60735
60736 fi
60737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60738 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60739
60740 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60741 for ac_func in modf
60742 do :
60743 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60744 if test "x$ac_cv_func_modf" = x""yes; then :
60745 cat >>confdefs.h <<_ACEOF
60746 #define HAVE_MODF 1
60747 _ACEOF
60748
60749 fi
60750 done
60751
60752 else
60753
60754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60755 $as_echo_n "checking for _modf declaration... " >&6; }
60756 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60757 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60758 $as_echo_n "(cached) " >&6
60759 else
60760
60761
60762 ac_ext=cpp
60763 ac_cpp='$CXXCPP $CPPFLAGS'
60764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60767
60768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60769 /* end confdefs.h. */
60770 #include <math.h>
60771 int
60772 main ()
60773 {
60774 _modf(0, 0);
60775 ;
60776 return 0;
60777 }
60778 _ACEOF
60779 if ac_fn_cxx_try_compile "$LINENO"; then :
60780 glibcxx_cv_func__modf_use=yes
60781 else
60782 glibcxx_cv_func__modf_use=no
60783 fi
60784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60785 ac_ext=c
60786 ac_cpp='$CPP $CPPFLAGS'
60787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60790
60791
60792 fi
60793
60794 fi
60795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60796 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60797
60798 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60799 for ac_func in _modf
60800 do :
60801 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60802 if test "x$ac_cv_func__modf" = x""yes; then :
60803 cat >>confdefs.h <<_ACEOF
60804 #define HAVE__MODF 1
60805 _ACEOF
60806
60807 fi
60808 done
60809
60810 fi
60811 fi
60812
60813
60814
60815
60816
60817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60818 $as_echo_n "checking for powf declaration... " >&6; }
60819 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60820 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60821 $as_echo_n "(cached) " >&6
60822 else
60823
60824
60825 ac_ext=cpp
60826 ac_cpp='$CXXCPP $CPPFLAGS'
60827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60830
60831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60832 /* end confdefs.h. */
60833 #include <math.h>
60834 int
60835 main ()
60836 {
60837 powf(0, 0);
60838 ;
60839 return 0;
60840 }
60841 _ACEOF
60842 if ac_fn_cxx_try_compile "$LINENO"; then :
60843 glibcxx_cv_func_powf_use=yes
60844 else
60845 glibcxx_cv_func_powf_use=no
60846 fi
60847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60848 ac_ext=c
60849 ac_cpp='$CPP $CPPFLAGS'
60850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60853
60854
60855 fi
60856
60857 fi
60858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60859 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60860
60861 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60862 for ac_func in powf
60863 do :
60864 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60865 if test "x$ac_cv_func_powf" = x""yes; then :
60866 cat >>confdefs.h <<_ACEOF
60867 #define HAVE_POWF 1
60868 _ACEOF
60869
60870 fi
60871 done
60872
60873 else
60874
60875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60876 $as_echo_n "checking for _powf declaration... " >&6; }
60877 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60878 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60879 $as_echo_n "(cached) " >&6
60880 else
60881
60882
60883 ac_ext=cpp
60884 ac_cpp='$CXXCPP $CPPFLAGS'
60885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60888
60889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60890 /* end confdefs.h. */
60891 #include <math.h>
60892 int
60893 main ()
60894 {
60895 _powf(0, 0);
60896 ;
60897 return 0;
60898 }
60899 _ACEOF
60900 if ac_fn_cxx_try_compile "$LINENO"; then :
60901 glibcxx_cv_func__powf_use=yes
60902 else
60903 glibcxx_cv_func__powf_use=no
60904 fi
60905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60906 ac_ext=c
60907 ac_cpp='$CPP $CPPFLAGS'
60908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60911
60912
60913 fi
60914
60915 fi
60916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60917 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60918
60919 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60920 for ac_func in _powf
60921 do :
60922 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60923 if test "x$ac_cv_func__powf" = x""yes; then :
60924 cat >>confdefs.h <<_ACEOF
60925 #define HAVE__POWF 1
60926 _ACEOF
60927
60928 fi
60929 done
60930
60931 fi
60932 fi
60933
60934
60935
60936
60937
60938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60939 $as_echo_n "checking for sqrtf declaration... " >&6; }
60940 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60941 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60942 $as_echo_n "(cached) " >&6
60943 else
60944
60945
60946 ac_ext=cpp
60947 ac_cpp='$CXXCPP $CPPFLAGS'
60948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60951
60952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60953 /* end confdefs.h. */
60954 #include <math.h>
60955 #ifdef HAVE_IEEEFP_H
60956 #include <ieeefp.h>
60957 #endif
60958
60959 int
60960 main ()
60961 {
60962 sqrtf(0);
60963 ;
60964 return 0;
60965 }
60966 _ACEOF
60967 if ac_fn_cxx_try_compile "$LINENO"; then :
60968 glibcxx_cv_func_sqrtf_use=yes
60969 else
60970 glibcxx_cv_func_sqrtf_use=no
60971 fi
60972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60973 ac_ext=c
60974 ac_cpp='$CPP $CPPFLAGS'
60975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60978
60979
60980 fi
60981
60982 fi
60983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60984 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60985
60986 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60987 for ac_func in sqrtf
60988 do :
60989 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60990 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60991 cat >>confdefs.h <<_ACEOF
60992 #define HAVE_SQRTF 1
60993 _ACEOF
60994
60995 fi
60996 done
60997
60998 else
60999
61000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61001 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61002 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61003 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61004 $as_echo_n "(cached) " >&6
61005 else
61006
61007
61008 ac_ext=cpp
61009 ac_cpp='$CXXCPP $CPPFLAGS'
61010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61013
61014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61015 /* end confdefs.h. */
61016 #include <math.h>
61017 #ifdef HAVE_IEEEFP_H
61018 #include <ieeefp.h>
61019 #endif
61020
61021 int
61022 main ()
61023 {
61024 _sqrtf(0);
61025 ;
61026 return 0;
61027 }
61028 _ACEOF
61029 if ac_fn_cxx_try_compile "$LINENO"; then :
61030 glibcxx_cv_func__sqrtf_use=yes
61031 else
61032 glibcxx_cv_func__sqrtf_use=no
61033 fi
61034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61035 ac_ext=c
61036 ac_cpp='$CPP $CPPFLAGS'
61037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61040
61041
61042 fi
61043
61044 fi
61045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61046 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61047
61048 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61049 for ac_func in _sqrtf
61050 do :
61051 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61052 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61053 cat >>confdefs.h <<_ACEOF
61054 #define HAVE__SQRTF 1
61055 _ACEOF
61056
61057 fi
61058 done
61059
61060 fi
61061 fi
61062
61063
61064
61065
61066
61067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61068 $as_echo_n "checking for sincosf declaration... " >&6; }
61069 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61070 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61071 $as_echo_n "(cached) " >&6
61072 else
61073
61074
61075 ac_ext=cpp
61076 ac_cpp='$CXXCPP $CPPFLAGS'
61077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61080
61081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61082 /* end confdefs.h. */
61083 #include <math.h>
61084 int
61085 main ()
61086 {
61087 sincosf(0, 0, 0);
61088 ;
61089 return 0;
61090 }
61091 _ACEOF
61092 if ac_fn_cxx_try_compile "$LINENO"; then :
61093 glibcxx_cv_func_sincosf_use=yes
61094 else
61095 glibcxx_cv_func_sincosf_use=no
61096 fi
61097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61098 ac_ext=c
61099 ac_cpp='$CPP $CPPFLAGS'
61100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61103
61104
61105 fi
61106
61107 fi
61108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61109 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61110
61111 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61112 for ac_func in sincosf
61113 do :
61114 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61115 if test "x$ac_cv_func_sincosf" = x""yes; then :
61116 cat >>confdefs.h <<_ACEOF
61117 #define HAVE_SINCOSF 1
61118 _ACEOF
61119
61120 fi
61121 done
61122
61123 else
61124
61125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61126 $as_echo_n "checking for _sincosf declaration... " >&6; }
61127 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61128 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61129 $as_echo_n "(cached) " >&6
61130 else
61131
61132
61133 ac_ext=cpp
61134 ac_cpp='$CXXCPP $CPPFLAGS'
61135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61138
61139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61140 /* end confdefs.h. */
61141 #include <math.h>
61142 int
61143 main ()
61144 {
61145 _sincosf(0, 0, 0);
61146 ;
61147 return 0;
61148 }
61149 _ACEOF
61150 if ac_fn_cxx_try_compile "$LINENO"; then :
61151 glibcxx_cv_func__sincosf_use=yes
61152 else
61153 glibcxx_cv_func__sincosf_use=no
61154 fi
61155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61156 ac_ext=c
61157 ac_cpp='$CPP $CPPFLAGS'
61158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61161
61162
61163 fi
61164
61165 fi
61166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61167 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61168
61169 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61170 for ac_func in _sincosf
61171 do :
61172 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61173 if test "x$ac_cv_func__sincosf" = x""yes; then :
61174 cat >>confdefs.h <<_ACEOF
61175 #define HAVE__SINCOSF 1
61176 _ACEOF
61177
61178 fi
61179 done
61180
61181 fi
61182 fi
61183
61184
61185
61186
61187
61188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61189 $as_echo_n "checking for finitef declaration... " >&6; }
61190 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61191 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61192 $as_echo_n "(cached) " >&6
61193 else
61194
61195
61196 ac_ext=cpp
61197 ac_cpp='$CXXCPP $CPPFLAGS'
61198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61201
61202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61203 /* end confdefs.h. */
61204 #include <math.h>
61205 #ifdef HAVE_IEEEFP_H
61206 #include <ieeefp.h>
61207 #endif
61208
61209 int
61210 main ()
61211 {
61212 finitef(0);
61213 ;
61214 return 0;
61215 }
61216 _ACEOF
61217 if ac_fn_cxx_try_compile "$LINENO"; then :
61218 glibcxx_cv_func_finitef_use=yes
61219 else
61220 glibcxx_cv_func_finitef_use=no
61221 fi
61222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61223 ac_ext=c
61224 ac_cpp='$CPP $CPPFLAGS'
61225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61228
61229
61230 fi
61231
61232 fi
61233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61234 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61235
61236 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61237 for ac_func in finitef
61238 do :
61239 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61240 if test "x$ac_cv_func_finitef" = x""yes; then :
61241 cat >>confdefs.h <<_ACEOF
61242 #define HAVE_FINITEF 1
61243 _ACEOF
61244
61245 fi
61246 done
61247
61248 else
61249
61250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61251 $as_echo_n "checking for _finitef declaration... " >&6; }
61252 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61253 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61254 $as_echo_n "(cached) " >&6
61255 else
61256
61257
61258 ac_ext=cpp
61259 ac_cpp='$CXXCPP $CPPFLAGS'
61260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61263
61264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61265 /* end confdefs.h. */
61266 #include <math.h>
61267 #ifdef HAVE_IEEEFP_H
61268 #include <ieeefp.h>
61269 #endif
61270
61271 int
61272 main ()
61273 {
61274 _finitef(0);
61275 ;
61276 return 0;
61277 }
61278 _ACEOF
61279 if ac_fn_cxx_try_compile "$LINENO"; then :
61280 glibcxx_cv_func__finitef_use=yes
61281 else
61282 glibcxx_cv_func__finitef_use=no
61283 fi
61284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61285 ac_ext=c
61286 ac_cpp='$CPP $CPPFLAGS'
61287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61290
61291
61292 fi
61293
61294 fi
61295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61296 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61297
61298 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61299 for ac_func in _finitef
61300 do :
61301 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61302 if test "x$ac_cv_func__finitef" = x""yes; then :
61303 cat >>confdefs.h <<_ACEOF
61304 #define HAVE__FINITEF 1
61305 _ACEOF
61306
61307 fi
61308 done
61309
61310 fi
61311 fi
61312
61313
61314
61315
61316
61317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61318 $as_echo_n "checking for long double trig functions... " >&6; }
61319 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61320 $as_echo_n "(cached) " >&6
61321 else
61322
61323
61324 ac_ext=cpp
61325 ac_cpp='$CXXCPP $CPPFLAGS'
61326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61329
61330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61331 /* end confdefs.h. */
61332 #include <math.h>
61333 int
61334 main ()
61335 {
61336 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61337 ;
61338 return 0;
61339 }
61340 _ACEOF
61341 if ac_fn_cxx_try_compile "$LINENO"; then :
61342 glibcxx_cv_func_long_double_trig_use=yes
61343 else
61344 glibcxx_cv_func_long_double_trig_use=no
61345 fi
61346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61347 ac_ext=c
61348 ac_cpp='$CPP $CPPFLAGS'
61349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61352
61353 fi
61354
61355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61356 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61357 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61358 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61359 do :
61360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61362 eval as_val=\$$as_ac_var
61363 if test "x$as_val" = x""yes; then :
61364 cat >>confdefs.h <<_ACEOF
61365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61366 _ACEOF
61367
61368 fi
61369 done
61370
61371 else
61372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61373 $as_echo_n "checking for _long double trig functions... " >&6; }
61374 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61375 $as_echo_n "(cached) " >&6
61376 else
61377
61378
61379 ac_ext=cpp
61380 ac_cpp='$CXXCPP $CPPFLAGS'
61381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61384
61385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61386 /* end confdefs.h. */
61387 #include <math.h>
61388 int
61389 main ()
61390 {
61391 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61392 ;
61393 return 0;
61394 }
61395 _ACEOF
61396 if ac_fn_cxx_try_compile "$LINENO"; then :
61397 glibcxx_cv_func__long_double_trig_use=yes
61398 else
61399 glibcxx_cv_func__long_double_trig_use=no
61400 fi
61401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61402 ac_ext=c
61403 ac_cpp='$CPP $CPPFLAGS'
61404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61407
61408 fi
61409
61410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61411 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61412 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61413 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61414 do :
61415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61417 eval as_val=\$$as_ac_var
61418 if test "x$as_val" = x""yes; then :
61419 cat >>confdefs.h <<_ACEOF
61420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61421 _ACEOF
61422
61423 fi
61424 done
61425
61426 fi
61427 fi
61428
61429
61430
61431
61432
61433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61434 $as_echo_n "checking for long double round functions... " >&6; }
61435 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61436 $as_echo_n "(cached) " >&6
61437 else
61438
61439
61440 ac_ext=cpp
61441 ac_cpp='$CXXCPP $CPPFLAGS'
61442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61445
61446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61447 /* end confdefs.h. */
61448 #include <math.h>
61449 int
61450 main ()
61451 {
61452 ceill (0); floorl (0);
61453 ;
61454 return 0;
61455 }
61456 _ACEOF
61457 if ac_fn_cxx_try_compile "$LINENO"; then :
61458 glibcxx_cv_func_long_double_round_use=yes
61459 else
61460 glibcxx_cv_func_long_double_round_use=no
61461 fi
61462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61463 ac_ext=c
61464 ac_cpp='$CPP $CPPFLAGS'
61465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61468
61469 fi
61470
61471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61472 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61473 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61474 for ac_func in ceill floorl
61475 do :
61476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61478 eval as_val=\$$as_ac_var
61479 if test "x$as_val" = x""yes; then :
61480 cat >>confdefs.h <<_ACEOF
61481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61482 _ACEOF
61483
61484 fi
61485 done
61486
61487 else
61488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61489 $as_echo_n "checking for _long double round functions... " >&6; }
61490 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61491 $as_echo_n "(cached) " >&6
61492 else
61493
61494
61495 ac_ext=cpp
61496 ac_cpp='$CXXCPP $CPPFLAGS'
61497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61500
61501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61502 /* end confdefs.h. */
61503 #include <math.h>
61504 int
61505 main ()
61506 {
61507 _ceill (0); _floorl (0);
61508 ;
61509 return 0;
61510 }
61511 _ACEOF
61512 if ac_fn_cxx_try_compile "$LINENO"; then :
61513 glibcxx_cv_func__long_double_round_use=yes
61514 else
61515 glibcxx_cv_func__long_double_round_use=no
61516 fi
61517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61518 ac_ext=c
61519 ac_cpp='$CPP $CPPFLAGS'
61520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61523
61524 fi
61525
61526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61527 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61528 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61529 for ac_func in _ceill _floorl
61530 do :
61531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61533 eval as_val=\$$as_ac_var
61534 if test "x$as_val" = x""yes; then :
61535 cat >>confdefs.h <<_ACEOF
61536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61537 _ACEOF
61538
61539 fi
61540 done
61541
61542 fi
61543 fi
61544
61545
61546
61547
61548
61549
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61551 $as_echo_n "checking for isnanl declaration... " >&6; }
61552 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61553 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61554 $as_echo_n "(cached) " >&6
61555 else
61556
61557
61558 ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61563
61564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h. */
61566 #include <math.h>
61567 #ifdef HAVE_IEEEFP_H
61568 #include <ieeefp.h>
61569 #endif
61570
61571 int
61572 main ()
61573 {
61574 isnanl(0);
61575 ;
61576 return 0;
61577 }
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580 glibcxx_cv_func_isnanl_use=yes
61581 else
61582 glibcxx_cv_func_isnanl_use=no
61583 fi
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585 ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61590
61591
61592 fi
61593
61594 fi
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61596 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61597
61598 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61599 for ac_func in isnanl
61600 do :
61601 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61602 if test "x$ac_cv_func_isnanl" = x""yes; then :
61603 cat >>confdefs.h <<_ACEOF
61604 #define HAVE_ISNANL 1
61605 _ACEOF
61606
61607 fi
61608 done
61609
61610 else
61611
61612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61613 $as_echo_n "checking for _isnanl declaration... " >&6; }
61614 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61615 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61616 $as_echo_n "(cached) " >&6
61617 else
61618
61619
61620 ac_ext=cpp
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61625
61626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61627 /* end confdefs.h. */
61628 #include <math.h>
61629 #ifdef HAVE_IEEEFP_H
61630 #include <ieeefp.h>
61631 #endif
61632
61633 int
61634 main ()
61635 {
61636 _isnanl(0);
61637 ;
61638 return 0;
61639 }
61640 _ACEOF
61641 if ac_fn_cxx_try_compile "$LINENO"; then :
61642 glibcxx_cv_func__isnanl_use=yes
61643 else
61644 glibcxx_cv_func__isnanl_use=no
61645 fi
61646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61647 ac_ext=c
61648 ac_cpp='$CPP $CPPFLAGS'
61649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61652
61653
61654 fi
61655
61656 fi
61657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61658 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61659
61660 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61661 for ac_func in _isnanl
61662 do :
61663 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61664 if test "x$ac_cv_func__isnanl" = x""yes; then :
61665 cat >>confdefs.h <<_ACEOF
61666 #define HAVE__ISNANL 1
61667 _ACEOF
61668
61669 fi
61670 done
61671
61672 fi
61673 fi
61674
61675
61676
61677
61678
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61680 $as_echo_n "checking for isinfl declaration... " >&6; }
61681 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61682 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61683 $as_echo_n "(cached) " >&6
61684 else
61685
61686
61687 ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61692
61693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h. */
61695 #include <math.h>
61696 #ifdef HAVE_IEEEFP_H
61697 #include <ieeefp.h>
61698 #endif
61699
61700 int
61701 main ()
61702 {
61703 isinfl(0);
61704 ;
61705 return 0;
61706 }
61707 _ACEOF
61708 if ac_fn_cxx_try_compile "$LINENO"; then :
61709 glibcxx_cv_func_isinfl_use=yes
61710 else
61711 glibcxx_cv_func_isinfl_use=no
61712 fi
61713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61714 ac_ext=c
61715 ac_cpp='$CPP $CPPFLAGS'
61716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61719
61720
61721 fi
61722
61723 fi
61724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61725 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61726
61727 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61728 for ac_func in isinfl
61729 do :
61730 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61731 if test "x$ac_cv_func_isinfl" = x""yes; then :
61732 cat >>confdefs.h <<_ACEOF
61733 #define HAVE_ISINFL 1
61734 _ACEOF
61735
61736 fi
61737 done
61738
61739 else
61740
61741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61742 $as_echo_n "checking for _isinfl declaration... " >&6; }
61743 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61744 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61745 $as_echo_n "(cached) " >&6
61746 else
61747
61748
61749 ac_ext=cpp
61750 ac_cpp='$CXXCPP $CPPFLAGS'
61751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61754
61755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61756 /* end confdefs.h. */
61757 #include <math.h>
61758 #ifdef HAVE_IEEEFP_H
61759 #include <ieeefp.h>
61760 #endif
61761
61762 int
61763 main ()
61764 {
61765 _isinfl(0);
61766 ;
61767 return 0;
61768 }
61769 _ACEOF
61770 if ac_fn_cxx_try_compile "$LINENO"; then :
61771 glibcxx_cv_func__isinfl_use=yes
61772 else
61773 glibcxx_cv_func__isinfl_use=no
61774 fi
61775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61776 ac_ext=c
61777 ac_cpp='$CPP $CPPFLAGS'
61778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61781
61782
61783 fi
61784
61785 fi
61786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61787 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61788
61789 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61790 for ac_func in _isinfl
61791 do :
61792 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61793 if test "x$ac_cv_func__isinfl" = x""yes; then :
61794 cat >>confdefs.h <<_ACEOF
61795 #define HAVE__ISINFL 1
61796 _ACEOF
61797
61798 fi
61799 done
61800
61801 fi
61802 fi
61803
61804
61805
61806
61807
61808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61809 $as_echo_n "checking for atan2l declaration... " >&6; }
61810 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61811 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61812 $as_echo_n "(cached) " >&6
61813 else
61814
61815
61816 ac_ext=cpp
61817 ac_cpp='$CXXCPP $CPPFLAGS'
61818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61821
61822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61823 /* end confdefs.h. */
61824 #include <math.h>
61825 int
61826 main ()
61827 {
61828 atan2l(0, 0);
61829 ;
61830 return 0;
61831 }
61832 _ACEOF
61833 if ac_fn_cxx_try_compile "$LINENO"; then :
61834 glibcxx_cv_func_atan2l_use=yes
61835 else
61836 glibcxx_cv_func_atan2l_use=no
61837 fi
61838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61839 ac_ext=c
61840 ac_cpp='$CPP $CPPFLAGS'
61841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61844
61845
61846 fi
61847
61848 fi
61849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61850 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61851
61852 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61853 for ac_func in atan2l
61854 do :
61855 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61856 if test "x$ac_cv_func_atan2l" = x""yes; then :
61857 cat >>confdefs.h <<_ACEOF
61858 #define HAVE_ATAN2L 1
61859 _ACEOF
61860
61861 fi
61862 done
61863
61864 else
61865
61866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61867 $as_echo_n "checking for _atan2l declaration... " >&6; }
61868 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61869 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61870 $as_echo_n "(cached) " >&6
61871 else
61872
61873
61874 ac_ext=cpp
61875 ac_cpp='$CXXCPP $CPPFLAGS'
61876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61879
61880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61881 /* end confdefs.h. */
61882 #include <math.h>
61883 int
61884 main ()
61885 {
61886 _atan2l(0, 0);
61887 ;
61888 return 0;
61889 }
61890 _ACEOF
61891 if ac_fn_cxx_try_compile "$LINENO"; then :
61892 glibcxx_cv_func__atan2l_use=yes
61893 else
61894 glibcxx_cv_func__atan2l_use=no
61895 fi
61896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61897 ac_ext=c
61898 ac_cpp='$CPP $CPPFLAGS'
61899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61902
61903
61904 fi
61905
61906 fi
61907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61908 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61909
61910 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61911 for ac_func in _atan2l
61912 do :
61913 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61914 if test "x$ac_cv_func__atan2l" = x""yes; then :
61915 cat >>confdefs.h <<_ACEOF
61916 #define HAVE__ATAN2L 1
61917 _ACEOF
61918
61919 fi
61920 done
61921
61922 fi
61923 fi
61924
61925
61926
61927
61928
61929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61930 $as_echo_n "checking for expl declaration... " >&6; }
61931 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61932 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61933 $as_echo_n "(cached) " >&6
61934 else
61935
61936
61937 ac_ext=cpp
61938 ac_cpp='$CXXCPP $CPPFLAGS'
61939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61942
61943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61944 /* end confdefs.h. */
61945 #include <math.h>
61946 #ifdef HAVE_IEEEFP_H
61947 #include <ieeefp.h>
61948 #endif
61949
61950 int
61951 main ()
61952 {
61953 expl(0);
61954 ;
61955 return 0;
61956 }
61957 _ACEOF
61958 if ac_fn_cxx_try_compile "$LINENO"; then :
61959 glibcxx_cv_func_expl_use=yes
61960 else
61961 glibcxx_cv_func_expl_use=no
61962 fi
61963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61964 ac_ext=c
61965 ac_cpp='$CPP $CPPFLAGS'
61966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61969
61970
61971 fi
61972
61973 fi
61974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61975 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61976
61977 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61978 for ac_func in expl
61979 do :
61980 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61981 if test "x$ac_cv_func_expl" = x""yes; then :
61982 cat >>confdefs.h <<_ACEOF
61983 #define HAVE_EXPL 1
61984 _ACEOF
61985
61986 fi
61987 done
61988
61989 else
61990
61991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61992 $as_echo_n "checking for _expl declaration... " >&6; }
61993 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61994 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61995 $as_echo_n "(cached) " >&6
61996 else
61997
61998
61999 ac_ext=cpp
62000 ac_cpp='$CXXCPP $CPPFLAGS'
62001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62004
62005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62006 /* end confdefs.h. */
62007 #include <math.h>
62008 #ifdef HAVE_IEEEFP_H
62009 #include <ieeefp.h>
62010 #endif
62011
62012 int
62013 main ()
62014 {
62015 _expl(0);
62016 ;
62017 return 0;
62018 }
62019 _ACEOF
62020 if ac_fn_cxx_try_compile "$LINENO"; then :
62021 glibcxx_cv_func__expl_use=yes
62022 else
62023 glibcxx_cv_func__expl_use=no
62024 fi
62025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62026 ac_ext=c
62027 ac_cpp='$CPP $CPPFLAGS'
62028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62031
62032
62033 fi
62034
62035 fi
62036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62037 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62038
62039 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62040 for ac_func in _expl
62041 do :
62042 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62043 if test "x$ac_cv_func__expl" = x""yes; then :
62044 cat >>confdefs.h <<_ACEOF
62045 #define HAVE__EXPL 1
62046 _ACEOF
62047
62048 fi
62049 done
62050
62051 fi
62052 fi
62053
62054
62055
62056
62057
62058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62059 $as_echo_n "checking for fabsl declaration... " >&6; }
62060 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62061 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62062 $as_echo_n "(cached) " >&6
62063 else
62064
62065
62066 ac_ext=cpp
62067 ac_cpp='$CXXCPP $CPPFLAGS'
62068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62071
62072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62073 /* end confdefs.h. */
62074 #include <math.h>
62075 #ifdef HAVE_IEEEFP_H
62076 #include <ieeefp.h>
62077 #endif
62078
62079 int
62080 main ()
62081 {
62082 fabsl(0);
62083 ;
62084 return 0;
62085 }
62086 _ACEOF
62087 if ac_fn_cxx_try_compile "$LINENO"; then :
62088 glibcxx_cv_func_fabsl_use=yes
62089 else
62090 glibcxx_cv_func_fabsl_use=no
62091 fi
62092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62093 ac_ext=c
62094 ac_cpp='$CPP $CPPFLAGS'
62095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62098
62099
62100 fi
62101
62102 fi
62103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62104 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62105
62106 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62107 for ac_func in fabsl
62108 do :
62109 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62110 if test "x$ac_cv_func_fabsl" = x""yes; then :
62111 cat >>confdefs.h <<_ACEOF
62112 #define HAVE_FABSL 1
62113 _ACEOF
62114
62115 fi
62116 done
62117
62118 else
62119
62120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62121 $as_echo_n "checking for _fabsl declaration... " >&6; }
62122 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62123 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62124 $as_echo_n "(cached) " >&6
62125 else
62126
62127
62128 ac_ext=cpp
62129 ac_cpp='$CXXCPP $CPPFLAGS'
62130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62133
62134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62135 /* end confdefs.h. */
62136 #include <math.h>
62137 #ifdef HAVE_IEEEFP_H
62138 #include <ieeefp.h>
62139 #endif
62140
62141 int
62142 main ()
62143 {
62144 _fabsl(0);
62145 ;
62146 return 0;
62147 }
62148 _ACEOF
62149 if ac_fn_cxx_try_compile "$LINENO"; then :
62150 glibcxx_cv_func__fabsl_use=yes
62151 else
62152 glibcxx_cv_func__fabsl_use=no
62153 fi
62154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62155 ac_ext=c
62156 ac_cpp='$CPP $CPPFLAGS'
62157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62160
62161
62162 fi
62163
62164 fi
62165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62166 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62167
62168 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62169 for ac_func in _fabsl
62170 do :
62171 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62172 if test "x$ac_cv_func__fabsl" = x""yes; then :
62173 cat >>confdefs.h <<_ACEOF
62174 #define HAVE__FABSL 1
62175 _ACEOF
62176
62177 fi
62178 done
62179
62180 fi
62181 fi
62182
62183
62184
62185
62186
62187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62188 $as_echo_n "checking for fmodl declaration... " >&6; }
62189 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62190 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62191 $as_echo_n "(cached) " >&6
62192 else
62193
62194
62195 ac_ext=cpp
62196 ac_cpp='$CXXCPP $CPPFLAGS'
62197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62200
62201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62202 /* end confdefs.h. */
62203 #include <math.h>
62204 int
62205 main ()
62206 {
62207 fmodl(0, 0);
62208 ;
62209 return 0;
62210 }
62211 _ACEOF
62212 if ac_fn_cxx_try_compile "$LINENO"; then :
62213 glibcxx_cv_func_fmodl_use=yes
62214 else
62215 glibcxx_cv_func_fmodl_use=no
62216 fi
62217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62218 ac_ext=c
62219 ac_cpp='$CPP $CPPFLAGS'
62220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62223
62224
62225 fi
62226
62227 fi
62228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62229 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62230
62231 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62232 for ac_func in fmodl
62233 do :
62234 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62235 if test "x$ac_cv_func_fmodl" = x""yes; then :
62236 cat >>confdefs.h <<_ACEOF
62237 #define HAVE_FMODL 1
62238 _ACEOF
62239
62240 fi
62241 done
62242
62243 else
62244
62245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62246 $as_echo_n "checking for _fmodl declaration... " >&6; }
62247 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62248 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62249 $as_echo_n "(cached) " >&6
62250 else
62251
62252
62253 ac_ext=cpp
62254 ac_cpp='$CXXCPP $CPPFLAGS'
62255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62258
62259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62260 /* end confdefs.h. */
62261 #include <math.h>
62262 int
62263 main ()
62264 {
62265 _fmodl(0, 0);
62266 ;
62267 return 0;
62268 }
62269 _ACEOF
62270 if ac_fn_cxx_try_compile "$LINENO"; then :
62271 glibcxx_cv_func__fmodl_use=yes
62272 else
62273 glibcxx_cv_func__fmodl_use=no
62274 fi
62275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62276 ac_ext=c
62277 ac_cpp='$CPP $CPPFLAGS'
62278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62281
62282
62283 fi
62284
62285 fi
62286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62287 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62288
62289 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62290 for ac_func in _fmodl
62291 do :
62292 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62293 if test "x$ac_cv_func__fmodl" = x""yes; then :
62294 cat >>confdefs.h <<_ACEOF
62295 #define HAVE__FMODL 1
62296 _ACEOF
62297
62298 fi
62299 done
62300
62301 fi
62302 fi
62303
62304
62305
62306
62307
62308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62309 $as_echo_n "checking for frexpl declaration... " >&6; }
62310 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62311 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62312 $as_echo_n "(cached) " >&6
62313 else
62314
62315
62316 ac_ext=cpp
62317 ac_cpp='$CXXCPP $CPPFLAGS'
62318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62321
62322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62323 /* end confdefs.h. */
62324 #include <math.h>
62325 int
62326 main ()
62327 {
62328 frexpl(0, 0);
62329 ;
62330 return 0;
62331 }
62332 _ACEOF
62333 if ac_fn_cxx_try_compile "$LINENO"; then :
62334 glibcxx_cv_func_frexpl_use=yes
62335 else
62336 glibcxx_cv_func_frexpl_use=no
62337 fi
62338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62339 ac_ext=c
62340 ac_cpp='$CPP $CPPFLAGS'
62341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62344
62345
62346 fi
62347
62348 fi
62349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62350 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62351
62352 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62353 for ac_func in frexpl
62354 do :
62355 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62356 if test "x$ac_cv_func_frexpl" = x""yes; then :
62357 cat >>confdefs.h <<_ACEOF
62358 #define HAVE_FREXPL 1
62359 _ACEOF
62360
62361 fi
62362 done
62363
62364 else
62365
62366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62367 $as_echo_n "checking for _frexpl declaration... " >&6; }
62368 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62369 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62370 $as_echo_n "(cached) " >&6
62371 else
62372
62373
62374 ac_ext=cpp
62375 ac_cpp='$CXXCPP $CPPFLAGS'
62376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62379
62380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62381 /* end confdefs.h. */
62382 #include <math.h>
62383 int
62384 main ()
62385 {
62386 _frexpl(0, 0);
62387 ;
62388 return 0;
62389 }
62390 _ACEOF
62391 if ac_fn_cxx_try_compile "$LINENO"; then :
62392 glibcxx_cv_func__frexpl_use=yes
62393 else
62394 glibcxx_cv_func__frexpl_use=no
62395 fi
62396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62397 ac_ext=c
62398 ac_cpp='$CPP $CPPFLAGS'
62399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62402
62403
62404 fi
62405
62406 fi
62407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62408 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62409
62410 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62411 for ac_func in _frexpl
62412 do :
62413 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62414 if test "x$ac_cv_func__frexpl" = x""yes; then :
62415 cat >>confdefs.h <<_ACEOF
62416 #define HAVE__FREXPL 1
62417 _ACEOF
62418
62419 fi
62420 done
62421
62422 fi
62423 fi
62424
62425
62426
62427
62428
62429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62430 $as_echo_n "checking for hypotl declaration... " >&6; }
62431 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62432 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62433 $as_echo_n "(cached) " >&6
62434 else
62435
62436
62437 ac_ext=cpp
62438 ac_cpp='$CXXCPP $CPPFLAGS'
62439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62442
62443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62444 /* end confdefs.h. */
62445 #include <math.h>
62446 int
62447 main ()
62448 {
62449 hypotl(0, 0);
62450 ;
62451 return 0;
62452 }
62453 _ACEOF
62454 if ac_fn_cxx_try_compile "$LINENO"; then :
62455 glibcxx_cv_func_hypotl_use=yes
62456 else
62457 glibcxx_cv_func_hypotl_use=no
62458 fi
62459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62460 ac_ext=c
62461 ac_cpp='$CPP $CPPFLAGS'
62462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62465
62466
62467 fi
62468
62469 fi
62470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62471 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62472
62473 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62474 for ac_func in hypotl
62475 do :
62476 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62477 if test "x$ac_cv_func_hypotl" = x""yes; then :
62478 cat >>confdefs.h <<_ACEOF
62479 #define HAVE_HYPOTL 1
62480 _ACEOF
62481
62482 fi
62483 done
62484
62485 else
62486
62487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62488 $as_echo_n "checking for _hypotl declaration... " >&6; }
62489 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62490 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62491 $as_echo_n "(cached) " >&6
62492 else
62493
62494
62495 ac_ext=cpp
62496 ac_cpp='$CXXCPP $CPPFLAGS'
62497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62500
62501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62502 /* end confdefs.h. */
62503 #include <math.h>
62504 int
62505 main ()
62506 {
62507 _hypotl(0, 0);
62508 ;
62509 return 0;
62510 }
62511 _ACEOF
62512 if ac_fn_cxx_try_compile "$LINENO"; then :
62513 glibcxx_cv_func__hypotl_use=yes
62514 else
62515 glibcxx_cv_func__hypotl_use=no
62516 fi
62517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62518 ac_ext=c
62519 ac_cpp='$CPP $CPPFLAGS'
62520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62523
62524
62525 fi
62526
62527 fi
62528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62529 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62530
62531 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62532 for ac_func in _hypotl
62533 do :
62534 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62535 if test "x$ac_cv_func__hypotl" = x""yes; then :
62536 cat >>confdefs.h <<_ACEOF
62537 #define HAVE__HYPOTL 1
62538 _ACEOF
62539
62540 fi
62541 done
62542
62543 fi
62544 fi
62545
62546
62547
62548
62549
62550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62551 $as_echo_n "checking for ldexpl declaration... " >&6; }
62552 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62553 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62554 $as_echo_n "(cached) " >&6
62555 else
62556
62557
62558 ac_ext=cpp
62559 ac_cpp='$CXXCPP $CPPFLAGS'
62560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62563
62564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62565 /* end confdefs.h. */
62566 #include <math.h>
62567 int
62568 main ()
62569 {
62570 ldexpl(0, 0);
62571 ;
62572 return 0;
62573 }
62574 _ACEOF
62575 if ac_fn_cxx_try_compile "$LINENO"; then :
62576 glibcxx_cv_func_ldexpl_use=yes
62577 else
62578 glibcxx_cv_func_ldexpl_use=no
62579 fi
62580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62581 ac_ext=c
62582 ac_cpp='$CPP $CPPFLAGS'
62583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62586
62587
62588 fi
62589
62590 fi
62591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62592 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62593
62594 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62595 for ac_func in ldexpl
62596 do :
62597 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62598 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62599 cat >>confdefs.h <<_ACEOF
62600 #define HAVE_LDEXPL 1
62601 _ACEOF
62602
62603 fi
62604 done
62605
62606 else
62607
62608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62609 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62610 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62611 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62612 $as_echo_n "(cached) " >&6
62613 else
62614
62615
62616 ac_ext=cpp
62617 ac_cpp='$CXXCPP $CPPFLAGS'
62618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62621
62622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62623 /* end confdefs.h. */
62624 #include <math.h>
62625 int
62626 main ()
62627 {
62628 _ldexpl(0, 0);
62629 ;
62630 return 0;
62631 }
62632 _ACEOF
62633 if ac_fn_cxx_try_compile "$LINENO"; then :
62634 glibcxx_cv_func__ldexpl_use=yes
62635 else
62636 glibcxx_cv_func__ldexpl_use=no
62637 fi
62638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62639 ac_ext=c
62640 ac_cpp='$CPP $CPPFLAGS'
62641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62644
62645
62646 fi
62647
62648 fi
62649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62650 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62651
62652 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62653 for ac_func in _ldexpl
62654 do :
62655 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62656 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62657 cat >>confdefs.h <<_ACEOF
62658 #define HAVE__LDEXPL 1
62659 _ACEOF
62660
62661 fi
62662 done
62663
62664 fi
62665 fi
62666
62667
62668
62669
62670
62671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62672 $as_echo_n "checking for logl declaration... " >&6; }
62673 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62674 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62675 $as_echo_n "(cached) " >&6
62676 else
62677
62678
62679 ac_ext=cpp
62680 ac_cpp='$CXXCPP $CPPFLAGS'
62681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62684
62685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62686 /* end confdefs.h. */
62687 #include <math.h>
62688 #ifdef HAVE_IEEEFP_H
62689 #include <ieeefp.h>
62690 #endif
62691
62692 int
62693 main ()
62694 {
62695 logl(0);
62696 ;
62697 return 0;
62698 }
62699 _ACEOF
62700 if ac_fn_cxx_try_compile "$LINENO"; then :
62701 glibcxx_cv_func_logl_use=yes
62702 else
62703 glibcxx_cv_func_logl_use=no
62704 fi
62705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62706 ac_ext=c
62707 ac_cpp='$CPP $CPPFLAGS'
62708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62711
62712
62713 fi
62714
62715 fi
62716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62717 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62718
62719 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62720 for ac_func in logl
62721 do :
62722 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62723 if test "x$ac_cv_func_logl" = x""yes; then :
62724 cat >>confdefs.h <<_ACEOF
62725 #define HAVE_LOGL 1
62726 _ACEOF
62727
62728 fi
62729 done
62730
62731 else
62732
62733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62734 $as_echo_n "checking for _logl declaration... " >&6; }
62735 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62736 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62737 $as_echo_n "(cached) " >&6
62738 else
62739
62740
62741 ac_ext=cpp
62742 ac_cpp='$CXXCPP $CPPFLAGS'
62743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62746
62747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62748 /* end confdefs.h. */
62749 #include <math.h>
62750 #ifdef HAVE_IEEEFP_H
62751 #include <ieeefp.h>
62752 #endif
62753
62754 int
62755 main ()
62756 {
62757 _logl(0);
62758 ;
62759 return 0;
62760 }
62761 _ACEOF
62762 if ac_fn_cxx_try_compile "$LINENO"; then :
62763 glibcxx_cv_func__logl_use=yes
62764 else
62765 glibcxx_cv_func__logl_use=no
62766 fi
62767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62768 ac_ext=c
62769 ac_cpp='$CPP $CPPFLAGS'
62770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62773
62774
62775 fi
62776
62777 fi
62778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62779 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62780
62781 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62782 for ac_func in _logl
62783 do :
62784 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62785 if test "x$ac_cv_func__logl" = x""yes; then :
62786 cat >>confdefs.h <<_ACEOF
62787 #define HAVE__LOGL 1
62788 _ACEOF
62789
62790 fi
62791 done
62792
62793 fi
62794 fi
62795
62796
62797
62798
62799
62800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62801 $as_echo_n "checking for log10l declaration... " >&6; }
62802 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62803 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62804 $as_echo_n "(cached) " >&6
62805 else
62806
62807
62808 ac_ext=cpp
62809 ac_cpp='$CXXCPP $CPPFLAGS'
62810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62813
62814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62815 /* end confdefs.h. */
62816 #include <math.h>
62817 #ifdef HAVE_IEEEFP_H
62818 #include <ieeefp.h>
62819 #endif
62820
62821 int
62822 main ()
62823 {
62824 log10l(0);
62825 ;
62826 return 0;
62827 }
62828 _ACEOF
62829 if ac_fn_cxx_try_compile "$LINENO"; then :
62830 glibcxx_cv_func_log10l_use=yes
62831 else
62832 glibcxx_cv_func_log10l_use=no
62833 fi
62834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62835 ac_ext=c
62836 ac_cpp='$CPP $CPPFLAGS'
62837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62840
62841
62842 fi
62843
62844 fi
62845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62846 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62847
62848 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62849 for ac_func in log10l
62850 do :
62851 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62852 if test "x$ac_cv_func_log10l" = x""yes; then :
62853 cat >>confdefs.h <<_ACEOF
62854 #define HAVE_LOG10L 1
62855 _ACEOF
62856
62857 fi
62858 done
62859
62860 else
62861
62862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62863 $as_echo_n "checking for _log10l declaration... " >&6; }
62864 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62865 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62866 $as_echo_n "(cached) " >&6
62867 else
62868
62869
62870 ac_ext=cpp
62871 ac_cpp='$CXXCPP $CPPFLAGS'
62872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62875
62876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62877 /* end confdefs.h. */
62878 #include <math.h>
62879 #ifdef HAVE_IEEEFP_H
62880 #include <ieeefp.h>
62881 #endif
62882
62883 int
62884 main ()
62885 {
62886 _log10l(0);
62887 ;
62888 return 0;
62889 }
62890 _ACEOF
62891 if ac_fn_cxx_try_compile "$LINENO"; then :
62892 glibcxx_cv_func__log10l_use=yes
62893 else
62894 glibcxx_cv_func__log10l_use=no
62895 fi
62896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62897 ac_ext=c
62898 ac_cpp='$CPP $CPPFLAGS'
62899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62902
62903
62904 fi
62905
62906 fi
62907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62908 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62909
62910 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62911 for ac_func in _log10l
62912 do :
62913 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62914 if test "x$ac_cv_func__log10l" = x""yes; then :
62915 cat >>confdefs.h <<_ACEOF
62916 #define HAVE__LOG10L 1
62917 _ACEOF
62918
62919 fi
62920 done
62921
62922 fi
62923 fi
62924
62925
62926
62927
62928
62929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62930 $as_echo_n "checking for modfl declaration... " >&6; }
62931 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62932 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62933 $as_echo_n "(cached) " >&6
62934 else
62935
62936
62937 ac_ext=cpp
62938 ac_cpp='$CXXCPP $CPPFLAGS'
62939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62942
62943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62944 /* end confdefs.h. */
62945 #include <math.h>
62946 int
62947 main ()
62948 {
62949 modfl(0, 0);
62950 ;
62951 return 0;
62952 }
62953 _ACEOF
62954 if ac_fn_cxx_try_compile "$LINENO"; then :
62955 glibcxx_cv_func_modfl_use=yes
62956 else
62957 glibcxx_cv_func_modfl_use=no
62958 fi
62959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62960 ac_ext=c
62961 ac_cpp='$CPP $CPPFLAGS'
62962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62965
62966
62967 fi
62968
62969 fi
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62971 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62972
62973 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62974 for ac_func in modfl
62975 do :
62976 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62977 if test "x$ac_cv_func_modfl" = x""yes; then :
62978 cat >>confdefs.h <<_ACEOF
62979 #define HAVE_MODFL 1
62980 _ACEOF
62981
62982 fi
62983 done
62984
62985 else
62986
62987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62988 $as_echo_n "checking for _modfl declaration... " >&6; }
62989 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62990 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62991 $as_echo_n "(cached) " >&6
62992 else
62993
62994
62995 ac_ext=cpp
62996 ac_cpp='$CXXCPP $CPPFLAGS'
62997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63000
63001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63002 /* end confdefs.h. */
63003 #include <math.h>
63004 int
63005 main ()
63006 {
63007 _modfl(0, 0);
63008 ;
63009 return 0;
63010 }
63011 _ACEOF
63012 if ac_fn_cxx_try_compile "$LINENO"; then :
63013 glibcxx_cv_func__modfl_use=yes
63014 else
63015 glibcxx_cv_func__modfl_use=no
63016 fi
63017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63018 ac_ext=c
63019 ac_cpp='$CPP $CPPFLAGS'
63020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63023
63024
63025 fi
63026
63027 fi
63028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63029 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63030
63031 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63032 for ac_func in _modfl
63033 do :
63034 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63035 if test "x$ac_cv_func__modfl" = x""yes; then :
63036 cat >>confdefs.h <<_ACEOF
63037 #define HAVE__MODFL 1
63038 _ACEOF
63039
63040 fi
63041 done
63042
63043 fi
63044 fi
63045
63046
63047
63048
63049
63050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63051 $as_echo_n "checking for powl declaration... " >&6; }
63052 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63053 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63054 $as_echo_n "(cached) " >&6
63055 else
63056
63057
63058 ac_ext=cpp
63059 ac_cpp='$CXXCPP $CPPFLAGS'
63060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63063
63064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63065 /* end confdefs.h. */
63066 #include <math.h>
63067 int
63068 main ()
63069 {
63070 powl(0, 0);
63071 ;
63072 return 0;
63073 }
63074 _ACEOF
63075 if ac_fn_cxx_try_compile "$LINENO"; then :
63076 glibcxx_cv_func_powl_use=yes
63077 else
63078 glibcxx_cv_func_powl_use=no
63079 fi
63080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63081 ac_ext=c
63082 ac_cpp='$CPP $CPPFLAGS'
63083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63086
63087
63088 fi
63089
63090 fi
63091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63092 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63093
63094 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63095 for ac_func in powl
63096 do :
63097 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63098 if test "x$ac_cv_func_powl" = x""yes; then :
63099 cat >>confdefs.h <<_ACEOF
63100 #define HAVE_POWL 1
63101 _ACEOF
63102
63103 fi
63104 done
63105
63106 else
63107
63108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63109 $as_echo_n "checking for _powl declaration... " >&6; }
63110 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63111 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63112 $as_echo_n "(cached) " >&6
63113 else
63114
63115
63116 ac_ext=cpp
63117 ac_cpp='$CXXCPP $CPPFLAGS'
63118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63121
63122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63123 /* end confdefs.h. */
63124 #include <math.h>
63125 int
63126 main ()
63127 {
63128 _powl(0, 0);
63129 ;
63130 return 0;
63131 }
63132 _ACEOF
63133 if ac_fn_cxx_try_compile "$LINENO"; then :
63134 glibcxx_cv_func__powl_use=yes
63135 else
63136 glibcxx_cv_func__powl_use=no
63137 fi
63138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63139 ac_ext=c
63140 ac_cpp='$CPP $CPPFLAGS'
63141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63144
63145
63146 fi
63147
63148 fi
63149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63150 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63151
63152 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63153 for ac_func in _powl
63154 do :
63155 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63156 if test "x$ac_cv_func__powl" = x""yes; then :
63157 cat >>confdefs.h <<_ACEOF
63158 #define HAVE__POWL 1
63159 _ACEOF
63160
63161 fi
63162 done
63163
63164 fi
63165 fi
63166
63167
63168
63169
63170
63171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63172 $as_echo_n "checking for sqrtl declaration... " >&6; }
63173 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63174 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63175 $as_echo_n "(cached) " >&6
63176 else
63177
63178
63179 ac_ext=cpp
63180 ac_cpp='$CXXCPP $CPPFLAGS'
63181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63184
63185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63186 /* end confdefs.h. */
63187 #include <math.h>
63188 #ifdef HAVE_IEEEFP_H
63189 #include <ieeefp.h>
63190 #endif
63191
63192 int
63193 main ()
63194 {
63195 sqrtl(0);
63196 ;
63197 return 0;
63198 }
63199 _ACEOF
63200 if ac_fn_cxx_try_compile "$LINENO"; then :
63201 glibcxx_cv_func_sqrtl_use=yes
63202 else
63203 glibcxx_cv_func_sqrtl_use=no
63204 fi
63205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63206 ac_ext=c
63207 ac_cpp='$CPP $CPPFLAGS'
63208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63211
63212
63213 fi
63214
63215 fi
63216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63217 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63218
63219 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63220 for ac_func in sqrtl
63221 do :
63222 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63223 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63224 cat >>confdefs.h <<_ACEOF
63225 #define HAVE_SQRTL 1
63226 _ACEOF
63227
63228 fi
63229 done
63230
63231 else
63232
63233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63234 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63235 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63236 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63237 $as_echo_n "(cached) " >&6
63238 else
63239
63240
63241 ac_ext=cpp
63242 ac_cpp='$CXXCPP $CPPFLAGS'
63243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63246
63247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63248 /* end confdefs.h. */
63249 #include <math.h>
63250 #ifdef HAVE_IEEEFP_H
63251 #include <ieeefp.h>
63252 #endif
63253
63254 int
63255 main ()
63256 {
63257 _sqrtl(0);
63258 ;
63259 return 0;
63260 }
63261 _ACEOF
63262 if ac_fn_cxx_try_compile "$LINENO"; then :
63263 glibcxx_cv_func__sqrtl_use=yes
63264 else
63265 glibcxx_cv_func__sqrtl_use=no
63266 fi
63267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63268 ac_ext=c
63269 ac_cpp='$CPP $CPPFLAGS'
63270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63273
63274
63275 fi
63276
63277 fi
63278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63279 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63280
63281 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63282 for ac_func in _sqrtl
63283 do :
63284 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63285 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63286 cat >>confdefs.h <<_ACEOF
63287 #define HAVE__SQRTL 1
63288 _ACEOF
63289
63290 fi
63291 done
63292
63293 fi
63294 fi
63295
63296
63297
63298
63299
63300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63301 $as_echo_n "checking for sincosl declaration... " >&6; }
63302 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63303 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63304 $as_echo_n "(cached) " >&6
63305 else
63306
63307
63308 ac_ext=cpp
63309 ac_cpp='$CXXCPP $CPPFLAGS'
63310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63313
63314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63315 /* end confdefs.h. */
63316 #include <math.h>
63317 int
63318 main ()
63319 {
63320 sincosl(0, 0, 0);
63321 ;
63322 return 0;
63323 }
63324 _ACEOF
63325 if ac_fn_cxx_try_compile "$LINENO"; then :
63326 glibcxx_cv_func_sincosl_use=yes
63327 else
63328 glibcxx_cv_func_sincosl_use=no
63329 fi
63330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63331 ac_ext=c
63332 ac_cpp='$CPP $CPPFLAGS'
63333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63336
63337
63338 fi
63339
63340 fi
63341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63342 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63343
63344 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63345 for ac_func in sincosl
63346 do :
63347 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63348 if test "x$ac_cv_func_sincosl" = x""yes; then :
63349 cat >>confdefs.h <<_ACEOF
63350 #define HAVE_SINCOSL 1
63351 _ACEOF
63352
63353 fi
63354 done
63355
63356 else
63357
63358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63359 $as_echo_n "checking for _sincosl declaration... " >&6; }
63360 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63361 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63362 $as_echo_n "(cached) " >&6
63363 else
63364
63365
63366 ac_ext=cpp
63367 ac_cpp='$CXXCPP $CPPFLAGS'
63368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63371
63372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63373 /* end confdefs.h. */
63374 #include <math.h>
63375 int
63376 main ()
63377 {
63378 _sincosl(0, 0, 0);
63379 ;
63380 return 0;
63381 }
63382 _ACEOF
63383 if ac_fn_cxx_try_compile "$LINENO"; then :
63384 glibcxx_cv_func__sincosl_use=yes
63385 else
63386 glibcxx_cv_func__sincosl_use=no
63387 fi
63388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63389 ac_ext=c
63390 ac_cpp='$CPP $CPPFLAGS'
63391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63394
63395
63396 fi
63397
63398 fi
63399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63400 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63401
63402 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63403 for ac_func in _sincosl
63404 do :
63405 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63406 if test "x$ac_cv_func__sincosl" = x""yes; then :
63407 cat >>confdefs.h <<_ACEOF
63408 #define HAVE__SINCOSL 1
63409 _ACEOF
63410
63411 fi
63412 done
63413
63414 fi
63415 fi
63416
63417
63418
63419
63420
63421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63422 $as_echo_n "checking for finitel declaration... " >&6; }
63423 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63424 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63425 $as_echo_n "(cached) " >&6
63426 else
63427
63428
63429 ac_ext=cpp
63430 ac_cpp='$CXXCPP $CPPFLAGS'
63431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63434
63435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63436 /* end confdefs.h. */
63437 #include <math.h>
63438 #ifdef HAVE_IEEEFP_H
63439 #include <ieeefp.h>
63440 #endif
63441
63442 int
63443 main ()
63444 {
63445 finitel(0);
63446 ;
63447 return 0;
63448 }
63449 _ACEOF
63450 if ac_fn_cxx_try_compile "$LINENO"; then :
63451 glibcxx_cv_func_finitel_use=yes
63452 else
63453 glibcxx_cv_func_finitel_use=no
63454 fi
63455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63456 ac_ext=c
63457 ac_cpp='$CPP $CPPFLAGS'
63458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63461
63462
63463 fi
63464
63465 fi
63466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63467 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63468
63469 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63470 for ac_func in finitel
63471 do :
63472 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63473 if test "x$ac_cv_func_finitel" = x""yes; then :
63474 cat >>confdefs.h <<_ACEOF
63475 #define HAVE_FINITEL 1
63476 _ACEOF
63477
63478 fi
63479 done
63480
63481 else
63482
63483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63484 $as_echo_n "checking for _finitel declaration... " >&6; }
63485 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63486 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63487 $as_echo_n "(cached) " >&6
63488 else
63489
63490
63491 ac_ext=cpp
63492 ac_cpp='$CXXCPP $CPPFLAGS'
63493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63496
63497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63498 /* end confdefs.h. */
63499 #include <math.h>
63500 #ifdef HAVE_IEEEFP_H
63501 #include <ieeefp.h>
63502 #endif
63503
63504 int
63505 main ()
63506 {
63507 _finitel(0);
63508 ;
63509 return 0;
63510 }
63511 _ACEOF
63512 if ac_fn_cxx_try_compile "$LINENO"; then :
63513 glibcxx_cv_func__finitel_use=yes
63514 else
63515 glibcxx_cv_func__finitel_use=no
63516 fi
63517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63518 ac_ext=c
63519 ac_cpp='$CPP $CPPFLAGS'
63520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63523
63524
63525 fi
63526
63527 fi
63528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63529 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63530
63531 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63532 for ac_func in _finitel
63533 do :
63534 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63535 if test "x$ac_cv_func__finitel" = x""yes; then :
63536 cat >>confdefs.h <<_ACEOF
63537 #define HAVE__FINITEL 1
63538 _ACEOF
63539
63540 fi
63541 done
63542
63543 fi
63544 fi
63545
63546
63547
63548
63549 LIBS="$ac_save_LIBS"
63550 CXXFLAGS="$ac_save_CXXFLAGS"
63551
63552
63553 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63554 ac_save_CXXFLAGS="$CXXFLAGS"
63555 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63556
63557
63558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63559 $as_echo_n "checking for strtold declaration... " >&6; }
63560 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63561 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63562 $as_echo_n "(cached) " >&6
63563 else
63564
63565
63566 ac_ext=cpp
63567 ac_cpp='$CXXCPP $CPPFLAGS'
63568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63571
63572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63573 /* end confdefs.h. */
63574 #include <stdlib.h>
63575 int
63576 main ()
63577 {
63578 strtold(0, 0);
63579 ;
63580 return 0;
63581 }
63582 _ACEOF
63583 if ac_fn_cxx_try_compile "$LINENO"; then :
63584 glibcxx_cv_func_strtold_use=yes
63585 else
63586 glibcxx_cv_func_strtold_use=no
63587 fi
63588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63589 ac_ext=c
63590 ac_cpp='$CPP $CPPFLAGS'
63591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63594
63595
63596 fi
63597
63598 fi
63599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63600 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63601 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63602 for ac_func in strtold
63603 do :
63604 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63605 if test "x$ac_cv_func_strtold" = x""yes; then :
63606 cat >>confdefs.h <<_ACEOF
63607 #define HAVE_STRTOLD 1
63608 _ACEOF
63609
63610 fi
63611 done
63612
63613 fi
63614
63615
63616
63617
63618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63619 $as_echo_n "checking for strtof declaration... " >&6; }
63620 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63621 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63622 $as_echo_n "(cached) " >&6
63623 else
63624
63625
63626 ac_ext=cpp
63627 ac_cpp='$CXXCPP $CPPFLAGS'
63628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63631
63632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63633 /* end confdefs.h. */
63634 #include <stdlib.h>
63635 int
63636 main ()
63637 {
63638 strtof(0, 0);
63639 ;
63640 return 0;
63641 }
63642 _ACEOF
63643 if ac_fn_cxx_try_compile "$LINENO"; then :
63644 glibcxx_cv_func_strtof_use=yes
63645 else
63646 glibcxx_cv_func_strtof_use=no
63647 fi
63648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63649 ac_ext=c
63650 ac_cpp='$CPP $CPPFLAGS'
63651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63654
63655
63656 fi
63657
63658 fi
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63660 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63661 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63662 for ac_func in strtof
63663 do :
63664 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63665 if test "x$ac_cv_func_strtof" = x""yes; then :
63666 cat >>confdefs.h <<_ACEOF
63667 #define HAVE_STRTOF 1
63668 _ACEOF
63669
63670 fi
63671 done
63672
63673 fi
63674
63675
63676
63677
63678 CXXFLAGS="$ac_save_CXXFLAGS"
63679
63680 ;;
63681 *-solaris*)
63682 case "$target" in
63683 *-solaris2.9 | *-solaris2.10)
63684
63685 # If we're not using GNU ld, then there's no point in even trying these
63686 # tests. Check for that first. We should have already tested for gld
63687 # by now (in libtool), but require it now just to be safe...
63688 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63689 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63690
63691
63692
63693 # The name set by libtool depends on the version of libtool. Shame on us
63694 # for depending on an impl detail, but c'est la vie. Older versions used
63695 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63696 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63697 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63698 # set (hence we're using an older libtool), then set it.
63699 if test x${with_gnu_ld+set} != xset; then
63700 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63701 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63702 with_gnu_ld=no
63703 else
63704 with_gnu_ld=$ac_cv_prog_gnu_ld
63705 fi
63706 fi
63707
63708 # Start by getting the version number. I think the libtool test already
63709 # does some of this, but throws away the result.
63710 glibcxx_ld_is_gold=no
63711 if test x"$with_gnu_ld" = x"yes"; then
63712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63713 $as_echo_n "checking for ld version... " >&6; }
63714
63715 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63716 glibcxx_ld_is_gold=yes
63717 fi
63718 ldver=`$LD --version 2>/dev/null |
63719 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'`
63720
63721 glibcxx_gnu_ld_version=`echo $ldver | \
63722 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63724 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63725 fi
63726
63727 # Set --gc-sections.
63728 glibcxx_have_gc_sections=no
63729 if test "$glibcxx_ld_is_gold" = "yes"; then
63730 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63731 glibcxx_have_gc_sections=yes
63732 fi
63733 else
63734 glibcxx_gcsections_min_ld=21602
63735 if test x"$with_gnu_ld" = x"yes" &&
63736 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63737 glibcxx_have_gc_sections=yes
63738 fi
63739 fi
63740 if test "$glibcxx_have_gc_sections" = "yes"; then
63741 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63742 # NB: This flag only works reliably after 2.16.1. Configure tests
63743 # for this are difficult, so hard wire a value that should work.
63744
63745 ac_test_CFLAGS="${CFLAGS+set}"
63746 ac_save_CFLAGS="$CFLAGS"
63747 CFLAGS='-Wl,--gc-sections'
63748
63749 # Check for -Wl,--gc-sections
63750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63751 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63752 if test x$gcc_no_link = xyes; then
63753 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63754 fi
63755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63756 /* end confdefs.h. */
63757 int one(void) { return 1; }
63758 int two(void) { return 2; }
63759
63760 int
63761 main ()
63762 {
63763 two();
63764 ;
63765 return 0;
63766 }
63767 _ACEOF
63768 if ac_fn_c_try_link "$LINENO"; then :
63769 ac_gcsections=yes
63770 else
63771 ac_gcsections=no
63772 fi
63773 rm -f core conftest.err conftest.$ac_objext \
63774 conftest$ac_exeext conftest.$ac_ext
63775 if test "$ac_gcsections" = "yes"; then
63776 rm -f conftest.c
63777 touch conftest.c
63778 if $CC -c conftest.c; then
63779 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63780 grep "Warning: gc-sections option ignored" > /dev/null; then
63781 ac_gcsections=no
63782 fi
63783 fi
63784 rm -f conftest.c conftest.o conftest
63785 fi
63786 if test "$ac_gcsections" = "yes"; then
63787 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63788 fi
63789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63790 $as_echo "$ac_gcsections" >&6; }
63791
63792 if test "$ac_test_CFLAGS" = set; then
63793 CFLAGS="$ac_save_CFLAGS"
63794 else
63795 # this is the suspicious part
63796 CFLAGS=''
63797 fi
63798 fi
63799
63800 # Set -z,relro.
63801 # Note this is only for shared objects.
63802 ac_ld_relro=no
63803 if test x"$with_gnu_ld" = x"yes"; then
63804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63805 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63806 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63807 if test -n "$cxx_z_relo"; then
63808 OPT_LDFLAGS="-Wl,-z,relro"
63809 ac_ld_relro=yes
63810 fi
63811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63812 $as_echo "$ac_ld_relro" >&6; }
63813 fi
63814
63815 # Set linker optimization flags.
63816 if test x"$with_gnu_ld" = x"yes"; then
63817 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63818 fi
63819
63820
63821
63822
63823 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63824
63825 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63826
63827 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63828
63829 # All of the dependencies for wide character support are here, so
63830 # turn it on.
63831 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63832
63833 ;;
63834 esac
63835 case "$target" in
63836 *-*-solaris2.10)
63837 # These two C99 functions are present only in Solaris >= 10
63838 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63839
63840 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63841
63842 ;;
63843 esac
63844 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63845
63846 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63847
63848 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63849
63850 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63851
63852 ;;
63853 *-tpf)
63854 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63855 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63856
63857 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63858
63859 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63860
63861 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63862
63863 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63864
63865 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63866
63867 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63868
63869 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63870
63871 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63872
63873 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63874
63875 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63876
63877 if test x"long_double_math_on_this_cpu" = x"yes"; then
63878 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63879
63880 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63881
63882 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63883
63884 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63885
63886 fi
63887 ;;
63888 *-*vms*)
63889 # Check for available headers.
63890 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63891
63892 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63893 ac_save_CXXFLAGS="$CXXFLAGS"
63894 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63895
63896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63897 $as_echo_n "checking for sin in -lm... " >&6; }
63898 if test "${ac_cv_lib_m_sin+set}" = set; then :
63899 $as_echo_n "(cached) " >&6
63900 else
63901 ac_check_lib_save_LIBS=$LIBS
63902 LIBS="-lm $LIBS"
63903 if test x$gcc_no_link = xyes; then
63904 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63905 fi
63906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63907 /* end confdefs.h. */
63908
63909 /* Override any GCC internal prototype to avoid an error.
63910 Use char because int might match the return type of a GCC
63911 builtin and then its argument prototype would still apply. */
63912 #ifdef __cplusplus
63913 extern "C"
63914 #endif
63915 char sin ();
63916 int
63917 main ()
63918 {
63919 return sin ();
63920 ;
63921 return 0;
63922 }
63923 _ACEOF
63924 if ac_fn_c_try_link "$LINENO"; then :
63925 ac_cv_lib_m_sin=yes
63926 else
63927 ac_cv_lib_m_sin=no
63928 fi
63929 rm -f core conftest.err conftest.$ac_objext \
63930 conftest$ac_exeext conftest.$ac_ext
63931 LIBS=$ac_check_lib_save_LIBS
63932 fi
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63934 $as_echo "$ac_cv_lib_m_sin" >&6; }
63935 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63936 libm="-lm"
63937 fi
63938
63939 ac_save_LIBS="$LIBS"
63940 LIBS="$LIBS $libm"
63941
63942
63943
63944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63945 $as_echo_n "checking for isinf declaration... " >&6; }
63946 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63947 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63948 $as_echo_n "(cached) " >&6
63949 else
63950
63951
63952 ac_ext=cpp
63953 ac_cpp='$CXXCPP $CPPFLAGS'
63954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63957
63958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63959 /* end confdefs.h. */
63960 #include <math.h>
63961 #ifdef HAVE_IEEEFP_H
63962 #include <ieeefp.h>
63963 #endif
63964
63965 int
63966 main ()
63967 {
63968 isinf(0);
63969 ;
63970 return 0;
63971 }
63972 _ACEOF
63973 if ac_fn_cxx_try_compile "$LINENO"; then :
63974 glibcxx_cv_func_isinf_use=yes
63975 else
63976 glibcxx_cv_func_isinf_use=no
63977 fi
63978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63979 ac_ext=c
63980 ac_cpp='$CPP $CPPFLAGS'
63981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63984
63985
63986 fi
63987
63988 fi
63989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63990 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63991
63992 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63993 for ac_func in isinf
63994 do :
63995 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63996 if test "x$ac_cv_func_isinf" = x""yes; then :
63997 cat >>confdefs.h <<_ACEOF
63998 #define HAVE_ISINF 1
63999 _ACEOF
64000
64001 fi
64002 done
64003
64004 else
64005
64006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64007 $as_echo_n "checking for _isinf declaration... " >&6; }
64008 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64009 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64010 $as_echo_n "(cached) " >&6
64011 else
64012
64013
64014 ac_ext=cpp
64015 ac_cpp='$CXXCPP $CPPFLAGS'
64016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64019
64020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64021 /* end confdefs.h. */
64022 #include <math.h>
64023 #ifdef HAVE_IEEEFP_H
64024 #include <ieeefp.h>
64025 #endif
64026
64027 int
64028 main ()
64029 {
64030 _isinf(0);
64031 ;
64032 return 0;
64033 }
64034 _ACEOF
64035 if ac_fn_cxx_try_compile "$LINENO"; then :
64036 glibcxx_cv_func__isinf_use=yes
64037 else
64038 glibcxx_cv_func__isinf_use=no
64039 fi
64040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64041 ac_ext=c
64042 ac_cpp='$CPP $CPPFLAGS'
64043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64046
64047
64048 fi
64049
64050 fi
64051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64052 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64053
64054 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64055 for ac_func in _isinf
64056 do :
64057 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64058 if test "x$ac_cv_func__isinf" = x""yes; then :
64059 cat >>confdefs.h <<_ACEOF
64060 #define HAVE__ISINF 1
64061 _ACEOF
64062
64063 fi
64064 done
64065
64066 fi
64067 fi
64068
64069
64070
64071
64072
64073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64074 $as_echo_n "checking for isnan declaration... " >&6; }
64075 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64076 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64077 $as_echo_n "(cached) " >&6
64078 else
64079
64080
64081 ac_ext=cpp
64082 ac_cpp='$CXXCPP $CPPFLAGS'
64083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64086
64087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64088 /* end confdefs.h. */
64089 #include <math.h>
64090 #ifdef HAVE_IEEEFP_H
64091 #include <ieeefp.h>
64092 #endif
64093
64094 int
64095 main ()
64096 {
64097 isnan(0);
64098 ;
64099 return 0;
64100 }
64101 _ACEOF
64102 if ac_fn_cxx_try_compile "$LINENO"; then :
64103 glibcxx_cv_func_isnan_use=yes
64104 else
64105 glibcxx_cv_func_isnan_use=no
64106 fi
64107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64108 ac_ext=c
64109 ac_cpp='$CPP $CPPFLAGS'
64110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64113
64114
64115 fi
64116
64117 fi
64118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64119 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64120
64121 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64122 for ac_func in isnan
64123 do :
64124 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64125 if test "x$ac_cv_func_isnan" = x""yes; then :
64126 cat >>confdefs.h <<_ACEOF
64127 #define HAVE_ISNAN 1
64128 _ACEOF
64129
64130 fi
64131 done
64132
64133 else
64134
64135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64136 $as_echo_n "checking for _isnan declaration... " >&6; }
64137 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64138 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64139 $as_echo_n "(cached) " >&6
64140 else
64141
64142
64143 ac_ext=cpp
64144 ac_cpp='$CXXCPP $CPPFLAGS'
64145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64148
64149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64150 /* end confdefs.h. */
64151 #include <math.h>
64152 #ifdef HAVE_IEEEFP_H
64153 #include <ieeefp.h>
64154 #endif
64155
64156 int
64157 main ()
64158 {
64159 _isnan(0);
64160 ;
64161 return 0;
64162 }
64163 _ACEOF
64164 if ac_fn_cxx_try_compile "$LINENO"; then :
64165 glibcxx_cv_func__isnan_use=yes
64166 else
64167 glibcxx_cv_func__isnan_use=no
64168 fi
64169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64170 ac_ext=c
64171 ac_cpp='$CPP $CPPFLAGS'
64172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64175
64176
64177 fi
64178
64179 fi
64180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64181 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64182
64183 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64184 for ac_func in _isnan
64185 do :
64186 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64187 if test "x$ac_cv_func__isnan" = x""yes; then :
64188 cat >>confdefs.h <<_ACEOF
64189 #define HAVE__ISNAN 1
64190 _ACEOF
64191
64192 fi
64193 done
64194
64195 fi
64196 fi
64197
64198
64199
64200
64201
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64203 $as_echo_n "checking for finite declaration... " >&6; }
64204 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64205 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64206 $as_echo_n "(cached) " >&6
64207 else
64208
64209
64210 ac_ext=cpp
64211 ac_cpp='$CXXCPP $CPPFLAGS'
64212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64215
64216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64217 /* end confdefs.h. */
64218 #include <math.h>
64219 #ifdef HAVE_IEEEFP_H
64220 #include <ieeefp.h>
64221 #endif
64222
64223 int
64224 main ()
64225 {
64226 finite(0);
64227 ;
64228 return 0;
64229 }
64230 _ACEOF
64231 if ac_fn_cxx_try_compile "$LINENO"; then :
64232 glibcxx_cv_func_finite_use=yes
64233 else
64234 glibcxx_cv_func_finite_use=no
64235 fi
64236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64237 ac_ext=c
64238 ac_cpp='$CPP $CPPFLAGS'
64239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64242
64243
64244 fi
64245
64246 fi
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64248 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64249
64250 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64251 for ac_func in finite
64252 do :
64253 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64254 if test "x$ac_cv_func_finite" = x""yes; then :
64255 cat >>confdefs.h <<_ACEOF
64256 #define HAVE_FINITE 1
64257 _ACEOF
64258
64259 fi
64260 done
64261
64262 else
64263
64264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64265 $as_echo_n "checking for _finite declaration... " >&6; }
64266 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64267 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64268 $as_echo_n "(cached) " >&6
64269 else
64270
64271
64272 ac_ext=cpp
64273 ac_cpp='$CXXCPP $CPPFLAGS'
64274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64277
64278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64279 /* end confdefs.h. */
64280 #include <math.h>
64281 #ifdef HAVE_IEEEFP_H
64282 #include <ieeefp.h>
64283 #endif
64284
64285 int
64286 main ()
64287 {
64288 _finite(0);
64289 ;
64290 return 0;
64291 }
64292 _ACEOF
64293 if ac_fn_cxx_try_compile "$LINENO"; then :
64294 glibcxx_cv_func__finite_use=yes
64295 else
64296 glibcxx_cv_func__finite_use=no
64297 fi
64298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64299 ac_ext=c
64300 ac_cpp='$CPP $CPPFLAGS'
64301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64304
64305
64306 fi
64307
64308 fi
64309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64310 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64311
64312 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64313 for ac_func in _finite
64314 do :
64315 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64316 if test "x$ac_cv_func__finite" = x""yes; then :
64317 cat >>confdefs.h <<_ACEOF
64318 #define HAVE__FINITE 1
64319 _ACEOF
64320
64321 fi
64322 done
64323
64324 fi
64325 fi
64326
64327
64328
64329
64330
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64332 $as_echo_n "checking for sincos declaration... " >&6; }
64333 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64334 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64335 $as_echo_n "(cached) " >&6
64336 else
64337
64338
64339 ac_ext=cpp
64340 ac_cpp='$CXXCPP $CPPFLAGS'
64341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64344
64345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64346 /* end confdefs.h. */
64347 #include <math.h>
64348 int
64349 main ()
64350 {
64351 sincos(0, 0, 0);
64352 ;
64353 return 0;
64354 }
64355 _ACEOF
64356 if ac_fn_cxx_try_compile "$LINENO"; then :
64357 glibcxx_cv_func_sincos_use=yes
64358 else
64359 glibcxx_cv_func_sincos_use=no
64360 fi
64361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64362 ac_ext=c
64363 ac_cpp='$CPP $CPPFLAGS'
64364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64367
64368
64369 fi
64370
64371 fi
64372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64373 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64374
64375 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64376 for ac_func in sincos
64377 do :
64378 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64379 if test "x$ac_cv_func_sincos" = x""yes; then :
64380 cat >>confdefs.h <<_ACEOF
64381 #define HAVE_SINCOS 1
64382 _ACEOF
64383
64384 fi
64385 done
64386
64387 else
64388
64389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64390 $as_echo_n "checking for _sincos declaration... " >&6; }
64391 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64392 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64393 $as_echo_n "(cached) " >&6
64394 else
64395
64396
64397 ac_ext=cpp
64398 ac_cpp='$CXXCPP $CPPFLAGS'
64399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64402
64403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64404 /* end confdefs.h. */
64405 #include <math.h>
64406 int
64407 main ()
64408 {
64409 _sincos(0, 0, 0);
64410 ;
64411 return 0;
64412 }
64413 _ACEOF
64414 if ac_fn_cxx_try_compile "$LINENO"; then :
64415 glibcxx_cv_func__sincos_use=yes
64416 else
64417 glibcxx_cv_func__sincos_use=no
64418 fi
64419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64420 ac_ext=c
64421 ac_cpp='$CPP $CPPFLAGS'
64422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64425
64426
64427 fi
64428
64429 fi
64430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64431 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64432
64433 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64434 for ac_func in _sincos
64435 do :
64436 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64437 if test "x$ac_cv_func__sincos" = x""yes; then :
64438 cat >>confdefs.h <<_ACEOF
64439 #define HAVE__SINCOS 1
64440 _ACEOF
64441
64442 fi
64443 done
64444
64445 fi
64446 fi
64447
64448
64449
64450
64451
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64453 $as_echo_n "checking for fpclass declaration... " >&6; }
64454 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64455 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64458
64459
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64465
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64469 #ifdef HAVE_IEEEFP_H
64470 #include <ieeefp.h>
64471 #endif
64472
64473 int
64474 main ()
64475 {
64476 fpclass(0);
64477 ;
64478 return 0;
64479 }
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func_fpclass_use=yes
64483 else
64484 glibcxx_cv_func_fpclass_use=no
64485 fi
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64492
64493
64494 fi
64495
64496 fi
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64498 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64499
64500 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64501 for ac_func in fpclass
64502 do :
64503 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64504 if test "x$ac_cv_func_fpclass" = x""yes; then :
64505 cat >>confdefs.h <<_ACEOF
64506 #define HAVE_FPCLASS 1
64507 _ACEOF
64508
64509 fi
64510 done
64511
64512 else
64513
64514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64515 $as_echo_n "checking for _fpclass declaration... " >&6; }
64516 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64517 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64518 $as_echo_n "(cached) " >&6
64519 else
64520
64521
64522 ac_ext=cpp
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64527
64528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64529 /* end confdefs.h. */
64530 #include <math.h>
64531 #ifdef HAVE_IEEEFP_H
64532 #include <ieeefp.h>
64533 #endif
64534
64535 int
64536 main ()
64537 {
64538 _fpclass(0);
64539 ;
64540 return 0;
64541 }
64542 _ACEOF
64543 if ac_fn_cxx_try_compile "$LINENO"; then :
64544 glibcxx_cv_func__fpclass_use=yes
64545 else
64546 glibcxx_cv_func__fpclass_use=no
64547 fi
64548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549 ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64554
64555
64556 fi
64557
64558 fi
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64560 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64561
64562 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64563 for ac_func in _fpclass
64564 do :
64565 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64566 if test "x$ac_cv_func__fpclass" = x""yes; then :
64567 cat >>confdefs.h <<_ACEOF
64568 #define HAVE__FPCLASS 1
64569 _ACEOF
64570
64571 fi
64572 done
64573
64574 fi
64575 fi
64576
64577
64578
64579
64580
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64582 $as_echo_n "checking for qfpclass declaration... " >&6; }
64583 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64584 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64585 $as_echo_n "(cached) " >&6
64586 else
64587
64588
64589 ac_ext=cpp
64590 ac_cpp='$CXXCPP $CPPFLAGS'
64591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64594
64595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64596 /* end confdefs.h. */
64597 #include <math.h>
64598 #ifdef HAVE_IEEEFP_H
64599 #include <ieeefp.h>
64600 #endif
64601
64602 int
64603 main ()
64604 {
64605 qfpclass(0);
64606 ;
64607 return 0;
64608 }
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func_qfpclass_use=yes
64612 else
64613 glibcxx_cv_func_qfpclass_use=no
64614 fi
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64621
64622
64623 fi
64624
64625 fi
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64627 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64628
64629 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64630 for ac_func in qfpclass
64631 do :
64632 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64633 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64634 cat >>confdefs.h <<_ACEOF
64635 #define HAVE_QFPCLASS 1
64636 _ACEOF
64637
64638 fi
64639 done
64640
64641 else
64642
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64644 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64645 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64646 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64647 $as_echo_n "(cached) " >&6
64648 else
64649
64650
64651 ac_ext=cpp
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64656
64657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658 /* end confdefs.h. */
64659 #include <math.h>
64660 #ifdef HAVE_IEEEFP_H
64661 #include <ieeefp.h>
64662 #endif
64663
64664 int
64665 main ()
64666 {
64667 _qfpclass(0);
64668 ;
64669 return 0;
64670 }
64671 _ACEOF
64672 if ac_fn_cxx_try_compile "$LINENO"; then :
64673 glibcxx_cv_func__qfpclass_use=yes
64674 else
64675 glibcxx_cv_func__qfpclass_use=no
64676 fi
64677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64678 ac_ext=c
64679 ac_cpp='$CPP $CPPFLAGS'
64680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64683
64684
64685 fi
64686
64687 fi
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64689 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64690
64691 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64692 for ac_func in _qfpclass
64693 do :
64694 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64695 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64696 cat >>confdefs.h <<_ACEOF
64697 #define HAVE__QFPCLASS 1
64698 _ACEOF
64699
64700 fi
64701 done
64702
64703 fi
64704 fi
64705
64706
64707
64708
64709
64710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64711 $as_echo_n "checking for hypot declaration... " >&6; }
64712 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64713 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64714 $as_echo_n "(cached) " >&6
64715 else
64716
64717
64718 ac_ext=cpp
64719 ac_cpp='$CXXCPP $CPPFLAGS'
64720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64723
64724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64725 /* end confdefs.h. */
64726 #include <math.h>
64727 int
64728 main ()
64729 {
64730 hypot(0, 0);
64731 ;
64732 return 0;
64733 }
64734 _ACEOF
64735 if ac_fn_cxx_try_compile "$LINENO"; then :
64736 glibcxx_cv_func_hypot_use=yes
64737 else
64738 glibcxx_cv_func_hypot_use=no
64739 fi
64740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64741 ac_ext=c
64742 ac_cpp='$CPP $CPPFLAGS'
64743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64746
64747
64748 fi
64749
64750 fi
64751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64752 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64753
64754 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64755 for ac_func in hypot
64756 do :
64757 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64758 if test "x$ac_cv_func_hypot" = x""yes; then :
64759 cat >>confdefs.h <<_ACEOF
64760 #define HAVE_HYPOT 1
64761 _ACEOF
64762
64763 fi
64764 done
64765
64766 else
64767
64768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64769 $as_echo_n "checking for _hypot declaration... " >&6; }
64770 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64771 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64772 $as_echo_n "(cached) " >&6
64773 else
64774
64775
64776 ac_ext=cpp
64777 ac_cpp='$CXXCPP $CPPFLAGS'
64778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64781
64782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64783 /* end confdefs.h. */
64784 #include <math.h>
64785 int
64786 main ()
64787 {
64788 _hypot(0, 0);
64789 ;
64790 return 0;
64791 }
64792 _ACEOF
64793 if ac_fn_cxx_try_compile "$LINENO"; then :
64794 glibcxx_cv_func__hypot_use=yes
64795 else
64796 glibcxx_cv_func__hypot_use=no
64797 fi
64798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64799 ac_ext=c
64800 ac_cpp='$CPP $CPPFLAGS'
64801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64804
64805
64806 fi
64807
64808 fi
64809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64810 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64811
64812 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64813 for ac_func in _hypot
64814 do :
64815 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64816 if test "x$ac_cv_func__hypot" = x""yes; then :
64817 cat >>confdefs.h <<_ACEOF
64818 #define HAVE__HYPOT 1
64819 _ACEOF
64820
64821 fi
64822 done
64823
64824 fi
64825 fi
64826
64827
64828
64829
64830
64831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64832 $as_echo_n "checking for float trig functions... " >&6; }
64833 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64834 $as_echo_n "(cached) " >&6
64835 else
64836
64837
64838 ac_ext=cpp
64839 ac_cpp='$CXXCPP $CPPFLAGS'
64840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64843
64844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64845 /* end confdefs.h. */
64846 #include <math.h>
64847 int
64848 main ()
64849 {
64850 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64851 ;
64852 return 0;
64853 }
64854 _ACEOF
64855 if ac_fn_cxx_try_compile "$LINENO"; then :
64856 glibcxx_cv_func_float_trig_use=yes
64857 else
64858 glibcxx_cv_func_float_trig_use=no
64859 fi
64860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64861 ac_ext=c
64862 ac_cpp='$CPP $CPPFLAGS'
64863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64866
64867 fi
64868
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64870 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64871 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64872 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64873 do :
64874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64876 eval as_val=\$$as_ac_var
64877 if test "x$as_val" = x""yes; then :
64878 cat >>confdefs.h <<_ACEOF
64879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64880 _ACEOF
64881
64882 fi
64883 done
64884
64885 else
64886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64887 $as_echo_n "checking for _float trig functions... " >&6; }
64888 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64889 $as_echo_n "(cached) " >&6
64890 else
64891
64892
64893 ac_ext=cpp
64894 ac_cpp='$CXXCPP $CPPFLAGS'
64895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64898
64899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64900 /* end confdefs.h. */
64901 #include <math.h>
64902 int
64903 main ()
64904 {
64905 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64906 ;
64907 return 0;
64908 }
64909 _ACEOF
64910 if ac_fn_cxx_try_compile "$LINENO"; then :
64911 glibcxx_cv_func__float_trig_use=yes
64912 else
64913 glibcxx_cv_func__float_trig_use=no
64914 fi
64915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64916 ac_ext=c
64917 ac_cpp='$CPP $CPPFLAGS'
64918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64921
64922 fi
64923
64924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64925 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64926 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64927 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64928 do :
64929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64931 eval as_val=\$$as_ac_var
64932 if test "x$as_val" = x""yes; then :
64933 cat >>confdefs.h <<_ACEOF
64934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64935 _ACEOF
64936
64937 fi
64938 done
64939
64940 fi
64941 fi
64942
64943
64944
64945
64946
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64948 $as_echo_n "checking for float round functions... " >&6; }
64949 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64950 $as_echo_n "(cached) " >&6
64951 else
64952
64953
64954 ac_ext=cpp
64955 ac_cpp='$CXXCPP $CPPFLAGS'
64956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64959
64960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64961 /* end confdefs.h. */
64962 #include <math.h>
64963 int
64964 main ()
64965 {
64966 ceilf (0); floorf (0);
64967 ;
64968 return 0;
64969 }
64970 _ACEOF
64971 if ac_fn_cxx_try_compile "$LINENO"; then :
64972 glibcxx_cv_func_float_round_use=yes
64973 else
64974 glibcxx_cv_func_float_round_use=no
64975 fi
64976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64977 ac_ext=c
64978 ac_cpp='$CPP $CPPFLAGS'
64979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64982
64983 fi
64984
64985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64986 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64987 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64988 for ac_func in ceilf floorf
64989 do :
64990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64992 eval as_val=\$$as_ac_var
64993 if test "x$as_val" = x""yes; then :
64994 cat >>confdefs.h <<_ACEOF
64995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64996 _ACEOF
64997
64998 fi
64999 done
65000
65001 else
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65003 $as_echo_n "checking for _float round functions... " >&6; }
65004 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65005 $as_echo_n "(cached) " >&6
65006 else
65007
65008
65009 ac_ext=cpp
65010 ac_cpp='$CXXCPP $CPPFLAGS'
65011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65014
65015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65016 /* end confdefs.h. */
65017 #include <math.h>
65018 int
65019 main ()
65020 {
65021 _ceilf (0); _floorf (0);
65022 ;
65023 return 0;
65024 }
65025 _ACEOF
65026 if ac_fn_cxx_try_compile "$LINENO"; then :
65027 glibcxx_cv_func__float_round_use=yes
65028 else
65029 glibcxx_cv_func__float_round_use=no
65030 fi
65031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65032 ac_ext=c
65033 ac_cpp='$CPP $CPPFLAGS'
65034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65037
65038 fi
65039
65040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65041 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65042 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65043 for ac_func in _ceilf _floorf
65044 do :
65045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65047 eval as_val=\$$as_ac_var
65048 if test "x$as_val" = x""yes; then :
65049 cat >>confdefs.h <<_ACEOF
65050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65051 _ACEOF
65052
65053 fi
65054 done
65055
65056 fi
65057 fi
65058
65059
65060
65061
65062
65063
65064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65065 $as_echo_n "checking for expf declaration... " >&6; }
65066 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65067 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65068 $as_echo_n "(cached) " >&6
65069 else
65070
65071
65072 ac_ext=cpp
65073 ac_cpp='$CXXCPP $CPPFLAGS'
65074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65077
65078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65079 /* end confdefs.h. */
65080 #include <math.h>
65081 #ifdef HAVE_IEEEFP_H
65082 #include <ieeefp.h>
65083 #endif
65084
65085 int
65086 main ()
65087 {
65088 expf(0);
65089 ;
65090 return 0;
65091 }
65092 _ACEOF
65093 if ac_fn_cxx_try_compile "$LINENO"; then :
65094 glibcxx_cv_func_expf_use=yes
65095 else
65096 glibcxx_cv_func_expf_use=no
65097 fi
65098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65099 ac_ext=c
65100 ac_cpp='$CPP $CPPFLAGS'
65101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65104
65105
65106 fi
65107
65108 fi
65109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65110 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65111
65112 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65113 for ac_func in expf
65114 do :
65115 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65116 if test "x$ac_cv_func_expf" = x""yes; then :
65117 cat >>confdefs.h <<_ACEOF
65118 #define HAVE_EXPF 1
65119 _ACEOF
65120
65121 fi
65122 done
65123
65124 else
65125
65126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65127 $as_echo_n "checking for _expf declaration... " >&6; }
65128 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65129 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65130 $as_echo_n "(cached) " >&6
65131 else
65132
65133
65134 ac_ext=cpp
65135 ac_cpp='$CXXCPP $CPPFLAGS'
65136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65139
65140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65141 /* end confdefs.h. */
65142 #include <math.h>
65143 #ifdef HAVE_IEEEFP_H
65144 #include <ieeefp.h>
65145 #endif
65146
65147 int
65148 main ()
65149 {
65150 _expf(0);
65151 ;
65152 return 0;
65153 }
65154 _ACEOF
65155 if ac_fn_cxx_try_compile "$LINENO"; then :
65156 glibcxx_cv_func__expf_use=yes
65157 else
65158 glibcxx_cv_func__expf_use=no
65159 fi
65160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65161 ac_ext=c
65162 ac_cpp='$CPP $CPPFLAGS'
65163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65166
65167
65168 fi
65169
65170 fi
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65172 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65173
65174 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65175 for ac_func in _expf
65176 do :
65177 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65178 if test "x$ac_cv_func__expf" = x""yes; then :
65179 cat >>confdefs.h <<_ACEOF
65180 #define HAVE__EXPF 1
65181 _ACEOF
65182
65183 fi
65184 done
65185
65186 fi
65187 fi
65188
65189
65190
65191
65192
65193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65194 $as_echo_n "checking for isnanf declaration... " >&6; }
65195 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65196 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65197 $as_echo_n "(cached) " >&6
65198 else
65199
65200
65201 ac_ext=cpp
65202 ac_cpp='$CXXCPP $CPPFLAGS'
65203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65206
65207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65208 /* end confdefs.h. */
65209 #include <math.h>
65210 #ifdef HAVE_IEEEFP_H
65211 #include <ieeefp.h>
65212 #endif
65213
65214 int
65215 main ()
65216 {
65217 isnanf(0);
65218 ;
65219 return 0;
65220 }
65221 _ACEOF
65222 if ac_fn_cxx_try_compile "$LINENO"; then :
65223 glibcxx_cv_func_isnanf_use=yes
65224 else
65225 glibcxx_cv_func_isnanf_use=no
65226 fi
65227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65228 ac_ext=c
65229 ac_cpp='$CPP $CPPFLAGS'
65230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65233
65234
65235 fi
65236
65237 fi
65238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65239 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65240
65241 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65242 for ac_func in isnanf
65243 do :
65244 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65245 if test "x$ac_cv_func_isnanf" = x""yes; then :
65246 cat >>confdefs.h <<_ACEOF
65247 #define HAVE_ISNANF 1
65248 _ACEOF
65249
65250 fi
65251 done
65252
65253 else
65254
65255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65256 $as_echo_n "checking for _isnanf declaration... " >&6; }
65257 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65258 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65259 $as_echo_n "(cached) " >&6
65260 else
65261
65262
65263 ac_ext=cpp
65264 ac_cpp='$CXXCPP $CPPFLAGS'
65265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65268
65269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65270 /* end confdefs.h. */
65271 #include <math.h>
65272 #ifdef HAVE_IEEEFP_H
65273 #include <ieeefp.h>
65274 #endif
65275
65276 int
65277 main ()
65278 {
65279 _isnanf(0);
65280 ;
65281 return 0;
65282 }
65283 _ACEOF
65284 if ac_fn_cxx_try_compile "$LINENO"; then :
65285 glibcxx_cv_func__isnanf_use=yes
65286 else
65287 glibcxx_cv_func__isnanf_use=no
65288 fi
65289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65290 ac_ext=c
65291 ac_cpp='$CPP $CPPFLAGS'
65292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65295
65296
65297 fi
65298
65299 fi
65300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65301 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65302
65303 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65304 for ac_func in _isnanf
65305 do :
65306 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65307 if test "x$ac_cv_func__isnanf" = x""yes; then :
65308 cat >>confdefs.h <<_ACEOF
65309 #define HAVE__ISNANF 1
65310 _ACEOF
65311
65312 fi
65313 done
65314
65315 fi
65316 fi
65317
65318
65319
65320
65321
65322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65323 $as_echo_n "checking for isinff declaration... " >&6; }
65324 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65325 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65326 $as_echo_n "(cached) " >&6
65327 else
65328
65329
65330 ac_ext=cpp
65331 ac_cpp='$CXXCPP $CPPFLAGS'
65332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65335
65336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65337 /* end confdefs.h. */
65338 #include <math.h>
65339 #ifdef HAVE_IEEEFP_H
65340 #include <ieeefp.h>
65341 #endif
65342
65343 int
65344 main ()
65345 {
65346 isinff(0);
65347 ;
65348 return 0;
65349 }
65350 _ACEOF
65351 if ac_fn_cxx_try_compile "$LINENO"; then :
65352 glibcxx_cv_func_isinff_use=yes
65353 else
65354 glibcxx_cv_func_isinff_use=no
65355 fi
65356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65357 ac_ext=c
65358 ac_cpp='$CPP $CPPFLAGS'
65359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65362
65363
65364 fi
65365
65366 fi
65367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65368 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65369
65370 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65371 for ac_func in isinff
65372 do :
65373 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65374 if test "x$ac_cv_func_isinff" = x""yes; then :
65375 cat >>confdefs.h <<_ACEOF
65376 #define HAVE_ISINFF 1
65377 _ACEOF
65378
65379 fi
65380 done
65381
65382 else
65383
65384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65385 $as_echo_n "checking for _isinff declaration... " >&6; }
65386 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65387 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65388 $as_echo_n "(cached) " >&6
65389 else
65390
65391
65392 ac_ext=cpp
65393 ac_cpp='$CXXCPP $CPPFLAGS'
65394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65397
65398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65399 /* end confdefs.h. */
65400 #include <math.h>
65401 #ifdef HAVE_IEEEFP_H
65402 #include <ieeefp.h>
65403 #endif
65404
65405 int
65406 main ()
65407 {
65408 _isinff(0);
65409 ;
65410 return 0;
65411 }
65412 _ACEOF
65413 if ac_fn_cxx_try_compile "$LINENO"; then :
65414 glibcxx_cv_func__isinff_use=yes
65415 else
65416 glibcxx_cv_func__isinff_use=no
65417 fi
65418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65419 ac_ext=c
65420 ac_cpp='$CPP $CPPFLAGS'
65421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65424
65425
65426 fi
65427
65428 fi
65429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65430 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65431
65432 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65433 for ac_func in _isinff
65434 do :
65435 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65436 if test "x$ac_cv_func__isinff" = x""yes; then :
65437 cat >>confdefs.h <<_ACEOF
65438 #define HAVE__ISINFF 1
65439 _ACEOF
65440
65441 fi
65442 done
65443
65444 fi
65445 fi
65446
65447
65448
65449
65450
65451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65452 $as_echo_n "checking for atan2f declaration... " >&6; }
65453 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65454 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65455 $as_echo_n "(cached) " >&6
65456 else
65457
65458
65459 ac_ext=cpp
65460 ac_cpp='$CXXCPP $CPPFLAGS'
65461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65464
65465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65466 /* end confdefs.h. */
65467 #include <math.h>
65468 int
65469 main ()
65470 {
65471 atan2f(0, 0);
65472 ;
65473 return 0;
65474 }
65475 _ACEOF
65476 if ac_fn_cxx_try_compile "$LINENO"; then :
65477 glibcxx_cv_func_atan2f_use=yes
65478 else
65479 glibcxx_cv_func_atan2f_use=no
65480 fi
65481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65482 ac_ext=c
65483 ac_cpp='$CPP $CPPFLAGS'
65484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65487
65488
65489 fi
65490
65491 fi
65492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65493 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65494
65495 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65496 for ac_func in atan2f
65497 do :
65498 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65499 if test "x$ac_cv_func_atan2f" = x""yes; then :
65500 cat >>confdefs.h <<_ACEOF
65501 #define HAVE_ATAN2F 1
65502 _ACEOF
65503
65504 fi
65505 done
65506
65507 else
65508
65509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65510 $as_echo_n "checking for _atan2f declaration... " >&6; }
65511 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65512 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65513 $as_echo_n "(cached) " >&6
65514 else
65515
65516
65517 ac_ext=cpp
65518 ac_cpp='$CXXCPP $CPPFLAGS'
65519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65522
65523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65524 /* end confdefs.h. */
65525 #include <math.h>
65526 int
65527 main ()
65528 {
65529 _atan2f(0, 0);
65530 ;
65531 return 0;
65532 }
65533 _ACEOF
65534 if ac_fn_cxx_try_compile "$LINENO"; then :
65535 glibcxx_cv_func__atan2f_use=yes
65536 else
65537 glibcxx_cv_func__atan2f_use=no
65538 fi
65539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65540 ac_ext=c
65541 ac_cpp='$CPP $CPPFLAGS'
65542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65545
65546
65547 fi
65548
65549 fi
65550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65551 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65552
65553 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65554 for ac_func in _atan2f
65555 do :
65556 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65557 if test "x$ac_cv_func__atan2f" = x""yes; then :
65558 cat >>confdefs.h <<_ACEOF
65559 #define HAVE__ATAN2F 1
65560 _ACEOF
65561
65562 fi
65563 done
65564
65565 fi
65566 fi
65567
65568
65569
65570
65571
65572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65573 $as_echo_n "checking for fabsf declaration... " >&6; }
65574 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65575 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65576 $as_echo_n "(cached) " >&6
65577 else
65578
65579
65580 ac_ext=cpp
65581 ac_cpp='$CXXCPP $CPPFLAGS'
65582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65585
65586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65587 /* end confdefs.h. */
65588 #include <math.h>
65589 #ifdef HAVE_IEEEFP_H
65590 #include <ieeefp.h>
65591 #endif
65592
65593 int
65594 main ()
65595 {
65596 fabsf(0);
65597 ;
65598 return 0;
65599 }
65600 _ACEOF
65601 if ac_fn_cxx_try_compile "$LINENO"; then :
65602 glibcxx_cv_func_fabsf_use=yes
65603 else
65604 glibcxx_cv_func_fabsf_use=no
65605 fi
65606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65607 ac_ext=c
65608 ac_cpp='$CPP $CPPFLAGS'
65609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65612
65613
65614 fi
65615
65616 fi
65617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65618 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65619
65620 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65621 for ac_func in fabsf
65622 do :
65623 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65624 if test "x$ac_cv_func_fabsf" = x""yes; then :
65625 cat >>confdefs.h <<_ACEOF
65626 #define HAVE_FABSF 1
65627 _ACEOF
65628
65629 fi
65630 done
65631
65632 else
65633
65634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65635 $as_echo_n "checking for _fabsf declaration... " >&6; }
65636 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65637 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65638 $as_echo_n "(cached) " >&6
65639 else
65640
65641
65642 ac_ext=cpp
65643 ac_cpp='$CXXCPP $CPPFLAGS'
65644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65647
65648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65649 /* end confdefs.h. */
65650 #include <math.h>
65651 #ifdef HAVE_IEEEFP_H
65652 #include <ieeefp.h>
65653 #endif
65654
65655 int
65656 main ()
65657 {
65658 _fabsf(0);
65659 ;
65660 return 0;
65661 }
65662 _ACEOF
65663 if ac_fn_cxx_try_compile "$LINENO"; then :
65664 glibcxx_cv_func__fabsf_use=yes
65665 else
65666 glibcxx_cv_func__fabsf_use=no
65667 fi
65668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65669 ac_ext=c
65670 ac_cpp='$CPP $CPPFLAGS'
65671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65674
65675
65676 fi
65677
65678 fi
65679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65680 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65681
65682 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65683 for ac_func in _fabsf
65684 do :
65685 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65686 if test "x$ac_cv_func__fabsf" = x""yes; then :
65687 cat >>confdefs.h <<_ACEOF
65688 #define HAVE__FABSF 1
65689 _ACEOF
65690
65691 fi
65692 done
65693
65694 fi
65695 fi
65696
65697
65698
65699
65700
65701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65702 $as_echo_n "checking for fmodf declaration... " >&6; }
65703 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65704 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65705 $as_echo_n "(cached) " >&6
65706 else
65707
65708
65709 ac_ext=cpp
65710 ac_cpp='$CXXCPP $CPPFLAGS'
65711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65714
65715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65716 /* end confdefs.h. */
65717 #include <math.h>
65718 int
65719 main ()
65720 {
65721 fmodf(0, 0);
65722 ;
65723 return 0;
65724 }
65725 _ACEOF
65726 if ac_fn_cxx_try_compile "$LINENO"; then :
65727 glibcxx_cv_func_fmodf_use=yes
65728 else
65729 glibcxx_cv_func_fmodf_use=no
65730 fi
65731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65732 ac_ext=c
65733 ac_cpp='$CPP $CPPFLAGS'
65734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65737
65738
65739 fi
65740
65741 fi
65742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65743 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65744
65745 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65746 for ac_func in fmodf
65747 do :
65748 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65749 if test "x$ac_cv_func_fmodf" = x""yes; then :
65750 cat >>confdefs.h <<_ACEOF
65751 #define HAVE_FMODF 1
65752 _ACEOF
65753
65754 fi
65755 done
65756
65757 else
65758
65759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65760 $as_echo_n "checking for _fmodf declaration... " >&6; }
65761 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65762 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65763 $as_echo_n "(cached) " >&6
65764 else
65765
65766
65767 ac_ext=cpp
65768 ac_cpp='$CXXCPP $CPPFLAGS'
65769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65772
65773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65774 /* end confdefs.h. */
65775 #include <math.h>
65776 int
65777 main ()
65778 {
65779 _fmodf(0, 0);
65780 ;
65781 return 0;
65782 }
65783 _ACEOF
65784 if ac_fn_cxx_try_compile "$LINENO"; then :
65785 glibcxx_cv_func__fmodf_use=yes
65786 else
65787 glibcxx_cv_func__fmodf_use=no
65788 fi
65789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65790 ac_ext=c
65791 ac_cpp='$CPP $CPPFLAGS'
65792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65795
65796
65797 fi
65798
65799 fi
65800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65801 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65802
65803 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65804 for ac_func in _fmodf
65805 do :
65806 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65807 if test "x$ac_cv_func__fmodf" = x""yes; then :
65808 cat >>confdefs.h <<_ACEOF
65809 #define HAVE__FMODF 1
65810 _ACEOF
65811
65812 fi
65813 done
65814
65815 fi
65816 fi
65817
65818
65819
65820
65821
65822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65823 $as_echo_n "checking for frexpf declaration... " >&6; }
65824 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65825 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65826 $as_echo_n "(cached) " >&6
65827 else
65828
65829
65830 ac_ext=cpp
65831 ac_cpp='$CXXCPP $CPPFLAGS'
65832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65835
65836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65837 /* end confdefs.h. */
65838 #include <math.h>
65839 int
65840 main ()
65841 {
65842 frexpf(0, 0);
65843 ;
65844 return 0;
65845 }
65846 _ACEOF
65847 if ac_fn_cxx_try_compile "$LINENO"; then :
65848 glibcxx_cv_func_frexpf_use=yes
65849 else
65850 glibcxx_cv_func_frexpf_use=no
65851 fi
65852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65853 ac_ext=c
65854 ac_cpp='$CPP $CPPFLAGS'
65855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65858
65859
65860 fi
65861
65862 fi
65863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65864 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65865
65866 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65867 for ac_func in frexpf
65868 do :
65869 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65870 if test "x$ac_cv_func_frexpf" = x""yes; then :
65871 cat >>confdefs.h <<_ACEOF
65872 #define HAVE_FREXPF 1
65873 _ACEOF
65874
65875 fi
65876 done
65877
65878 else
65879
65880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65881 $as_echo_n "checking for _frexpf declaration... " >&6; }
65882 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65883 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65884 $as_echo_n "(cached) " >&6
65885 else
65886
65887
65888 ac_ext=cpp
65889 ac_cpp='$CXXCPP $CPPFLAGS'
65890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65893
65894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65895 /* end confdefs.h. */
65896 #include <math.h>
65897 int
65898 main ()
65899 {
65900 _frexpf(0, 0);
65901 ;
65902 return 0;
65903 }
65904 _ACEOF
65905 if ac_fn_cxx_try_compile "$LINENO"; then :
65906 glibcxx_cv_func__frexpf_use=yes
65907 else
65908 glibcxx_cv_func__frexpf_use=no
65909 fi
65910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65911 ac_ext=c
65912 ac_cpp='$CPP $CPPFLAGS'
65913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65916
65917
65918 fi
65919
65920 fi
65921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65922 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65923
65924 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65925 for ac_func in _frexpf
65926 do :
65927 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65928 if test "x$ac_cv_func__frexpf" = x""yes; then :
65929 cat >>confdefs.h <<_ACEOF
65930 #define HAVE__FREXPF 1
65931 _ACEOF
65932
65933 fi
65934 done
65935
65936 fi
65937 fi
65938
65939
65940
65941
65942
65943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65944 $as_echo_n "checking for hypotf declaration... " >&6; }
65945 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65946 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65947 $as_echo_n "(cached) " >&6
65948 else
65949
65950
65951 ac_ext=cpp
65952 ac_cpp='$CXXCPP $CPPFLAGS'
65953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65956
65957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65958 /* end confdefs.h. */
65959 #include <math.h>
65960 int
65961 main ()
65962 {
65963 hypotf(0, 0);
65964 ;
65965 return 0;
65966 }
65967 _ACEOF
65968 if ac_fn_cxx_try_compile "$LINENO"; then :
65969 glibcxx_cv_func_hypotf_use=yes
65970 else
65971 glibcxx_cv_func_hypotf_use=no
65972 fi
65973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65974 ac_ext=c
65975 ac_cpp='$CPP $CPPFLAGS'
65976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65979
65980
65981 fi
65982
65983 fi
65984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65985 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65986
65987 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65988 for ac_func in hypotf
65989 do :
65990 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65991 if test "x$ac_cv_func_hypotf" = x""yes; then :
65992 cat >>confdefs.h <<_ACEOF
65993 #define HAVE_HYPOTF 1
65994 _ACEOF
65995
65996 fi
65997 done
65998
65999 else
66000
66001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66002 $as_echo_n "checking for _hypotf declaration... " >&6; }
66003 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66004 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66005 $as_echo_n "(cached) " >&6
66006 else
66007
66008
66009 ac_ext=cpp
66010 ac_cpp='$CXXCPP $CPPFLAGS'
66011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66014
66015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66016 /* end confdefs.h. */
66017 #include <math.h>
66018 int
66019 main ()
66020 {
66021 _hypotf(0, 0);
66022 ;
66023 return 0;
66024 }
66025 _ACEOF
66026 if ac_fn_cxx_try_compile "$LINENO"; then :
66027 glibcxx_cv_func__hypotf_use=yes
66028 else
66029 glibcxx_cv_func__hypotf_use=no
66030 fi
66031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66032 ac_ext=c
66033 ac_cpp='$CPP $CPPFLAGS'
66034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66037
66038
66039 fi
66040
66041 fi
66042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66043 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66044
66045 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66046 for ac_func in _hypotf
66047 do :
66048 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66049 if test "x$ac_cv_func__hypotf" = x""yes; then :
66050 cat >>confdefs.h <<_ACEOF
66051 #define HAVE__HYPOTF 1
66052 _ACEOF
66053
66054 fi
66055 done
66056
66057 fi
66058 fi
66059
66060
66061
66062
66063
66064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66065 $as_echo_n "checking for ldexpf declaration... " >&6; }
66066 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66067 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66068 $as_echo_n "(cached) " >&6
66069 else
66070
66071
66072 ac_ext=cpp
66073 ac_cpp='$CXXCPP $CPPFLAGS'
66074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66077
66078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66079 /* end confdefs.h. */
66080 #include <math.h>
66081 int
66082 main ()
66083 {
66084 ldexpf(0, 0);
66085 ;
66086 return 0;
66087 }
66088 _ACEOF
66089 if ac_fn_cxx_try_compile "$LINENO"; then :
66090 glibcxx_cv_func_ldexpf_use=yes
66091 else
66092 glibcxx_cv_func_ldexpf_use=no
66093 fi
66094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66095 ac_ext=c
66096 ac_cpp='$CPP $CPPFLAGS'
66097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66100
66101
66102 fi
66103
66104 fi
66105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66106 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66107
66108 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66109 for ac_func in ldexpf
66110 do :
66111 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66112 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66113 cat >>confdefs.h <<_ACEOF
66114 #define HAVE_LDEXPF 1
66115 _ACEOF
66116
66117 fi
66118 done
66119
66120 else
66121
66122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66123 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66124 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66125 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66126 $as_echo_n "(cached) " >&6
66127 else
66128
66129
66130 ac_ext=cpp
66131 ac_cpp='$CXXCPP $CPPFLAGS'
66132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66135
66136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66137 /* end confdefs.h. */
66138 #include <math.h>
66139 int
66140 main ()
66141 {
66142 _ldexpf(0, 0);
66143 ;
66144 return 0;
66145 }
66146 _ACEOF
66147 if ac_fn_cxx_try_compile "$LINENO"; then :
66148 glibcxx_cv_func__ldexpf_use=yes
66149 else
66150 glibcxx_cv_func__ldexpf_use=no
66151 fi
66152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66153 ac_ext=c
66154 ac_cpp='$CPP $CPPFLAGS'
66155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66158
66159
66160 fi
66161
66162 fi
66163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66164 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66165
66166 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66167 for ac_func in _ldexpf
66168 do :
66169 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66170 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66171 cat >>confdefs.h <<_ACEOF
66172 #define HAVE__LDEXPF 1
66173 _ACEOF
66174
66175 fi
66176 done
66177
66178 fi
66179 fi
66180
66181
66182
66183
66184
66185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66186 $as_echo_n "checking for logf declaration... " >&6; }
66187 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66188 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66189 $as_echo_n "(cached) " >&6
66190 else
66191
66192
66193 ac_ext=cpp
66194 ac_cpp='$CXXCPP $CPPFLAGS'
66195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66198
66199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66200 /* end confdefs.h. */
66201 #include <math.h>
66202 #ifdef HAVE_IEEEFP_H
66203 #include <ieeefp.h>
66204 #endif
66205
66206 int
66207 main ()
66208 {
66209 logf(0);
66210 ;
66211 return 0;
66212 }
66213 _ACEOF
66214 if ac_fn_cxx_try_compile "$LINENO"; then :
66215 glibcxx_cv_func_logf_use=yes
66216 else
66217 glibcxx_cv_func_logf_use=no
66218 fi
66219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66220 ac_ext=c
66221 ac_cpp='$CPP $CPPFLAGS'
66222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66225
66226
66227 fi
66228
66229 fi
66230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66231 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66232
66233 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66234 for ac_func in logf
66235 do :
66236 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66237 if test "x$ac_cv_func_logf" = x""yes; then :
66238 cat >>confdefs.h <<_ACEOF
66239 #define HAVE_LOGF 1
66240 _ACEOF
66241
66242 fi
66243 done
66244
66245 else
66246
66247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66248 $as_echo_n "checking for _logf declaration... " >&6; }
66249 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66250 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66251 $as_echo_n "(cached) " >&6
66252 else
66253
66254
66255 ac_ext=cpp
66256 ac_cpp='$CXXCPP $CPPFLAGS'
66257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66260
66261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66262 /* end confdefs.h. */
66263 #include <math.h>
66264 #ifdef HAVE_IEEEFP_H
66265 #include <ieeefp.h>
66266 #endif
66267
66268 int
66269 main ()
66270 {
66271 _logf(0);
66272 ;
66273 return 0;
66274 }
66275 _ACEOF
66276 if ac_fn_cxx_try_compile "$LINENO"; then :
66277 glibcxx_cv_func__logf_use=yes
66278 else
66279 glibcxx_cv_func__logf_use=no
66280 fi
66281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66282 ac_ext=c
66283 ac_cpp='$CPP $CPPFLAGS'
66284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66287
66288
66289 fi
66290
66291 fi
66292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66293 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66294
66295 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66296 for ac_func in _logf
66297 do :
66298 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66299 if test "x$ac_cv_func__logf" = x""yes; then :
66300 cat >>confdefs.h <<_ACEOF
66301 #define HAVE__LOGF 1
66302 _ACEOF
66303
66304 fi
66305 done
66306
66307 fi
66308 fi
66309
66310
66311
66312
66313
66314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66315 $as_echo_n "checking for log10f declaration... " >&6; }
66316 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66317 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66318 $as_echo_n "(cached) " >&6
66319 else
66320
66321
66322 ac_ext=cpp
66323 ac_cpp='$CXXCPP $CPPFLAGS'
66324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66327
66328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66329 /* end confdefs.h. */
66330 #include <math.h>
66331 #ifdef HAVE_IEEEFP_H
66332 #include <ieeefp.h>
66333 #endif
66334
66335 int
66336 main ()
66337 {
66338 log10f(0);
66339 ;
66340 return 0;
66341 }
66342 _ACEOF
66343 if ac_fn_cxx_try_compile "$LINENO"; then :
66344 glibcxx_cv_func_log10f_use=yes
66345 else
66346 glibcxx_cv_func_log10f_use=no
66347 fi
66348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66349 ac_ext=c
66350 ac_cpp='$CPP $CPPFLAGS'
66351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66354
66355
66356 fi
66357
66358 fi
66359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66360 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66361
66362 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66363 for ac_func in log10f
66364 do :
66365 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66366 if test "x$ac_cv_func_log10f" = x""yes; then :
66367 cat >>confdefs.h <<_ACEOF
66368 #define HAVE_LOG10F 1
66369 _ACEOF
66370
66371 fi
66372 done
66373
66374 else
66375
66376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66377 $as_echo_n "checking for _log10f declaration... " >&6; }
66378 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66379 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66380 $as_echo_n "(cached) " >&6
66381 else
66382
66383
66384 ac_ext=cpp
66385 ac_cpp='$CXXCPP $CPPFLAGS'
66386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66389
66390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66391 /* end confdefs.h. */
66392 #include <math.h>
66393 #ifdef HAVE_IEEEFP_H
66394 #include <ieeefp.h>
66395 #endif
66396
66397 int
66398 main ()
66399 {
66400 _log10f(0);
66401 ;
66402 return 0;
66403 }
66404 _ACEOF
66405 if ac_fn_cxx_try_compile "$LINENO"; then :
66406 glibcxx_cv_func__log10f_use=yes
66407 else
66408 glibcxx_cv_func__log10f_use=no
66409 fi
66410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66411 ac_ext=c
66412 ac_cpp='$CPP $CPPFLAGS'
66413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66416
66417
66418 fi
66419
66420 fi
66421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66422 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66423
66424 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66425 for ac_func in _log10f
66426 do :
66427 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66428 if test "x$ac_cv_func__log10f" = x""yes; then :
66429 cat >>confdefs.h <<_ACEOF
66430 #define HAVE__LOG10F 1
66431 _ACEOF
66432
66433 fi
66434 done
66435
66436 fi
66437 fi
66438
66439
66440
66441
66442
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66444 $as_echo_n "checking for modff declaration... " >&6; }
66445 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66446 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66447 $as_echo_n "(cached) " >&6
66448 else
66449
66450
66451 ac_ext=cpp
66452 ac_cpp='$CXXCPP $CPPFLAGS'
66453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66456
66457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66458 /* end confdefs.h. */
66459 #include <math.h>
66460 int
66461 main ()
66462 {
66463 modff(0, 0);
66464 ;
66465 return 0;
66466 }
66467 _ACEOF
66468 if ac_fn_cxx_try_compile "$LINENO"; then :
66469 glibcxx_cv_func_modff_use=yes
66470 else
66471 glibcxx_cv_func_modff_use=no
66472 fi
66473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66474 ac_ext=c
66475 ac_cpp='$CPP $CPPFLAGS'
66476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66479
66480
66481 fi
66482
66483 fi
66484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66485 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66486
66487 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66488 for ac_func in modff
66489 do :
66490 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66491 if test "x$ac_cv_func_modff" = x""yes; then :
66492 cat >>confdefs.h <<_ACEOF
66493 #define HAVE_MODFF 1
66494 _ACEOF
66495
66496 fi
66497 done
66498
66499 else
66500
66501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66502 $as_echo_n "checking for _modff declaration... " >&6; }
66503 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66504 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66505 $as_echo_n "(cached) " >&6
66506 else
66507
66508
66509 ac_ext=cpp
66510 ac_cpp='$CXXCPP $CPPFLAGS'
66511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66514
66515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66516 /* end confdefs.h. */
66517 #include <math.h>
66518 int
66519 main ()
66520 {
66521 _modff(0, 0);
66522 ;
66523 return 0;
66524 }
66525 _ACEOF
66526 if ac_fn_cxx_try_compile "$LINENO"; then :
66527 glibcxx_cv_func__modff_use=yes
66528 else
66529 glibcxx_cv_func__modff_use=no
66530 fi
66531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66532 ac_ext=c
66533 ac_cpp='$CPP $CPPFLAGS'
66534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66537
66538
66539 fi
66540
66541 fi
66542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66543 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66544
66545 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66546 for ac_func in _modff
66547 do :
66548 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66549 if test "x$ac_cv_func__modff" = x""yes; then :
66550 cat >>confdefs.h <<_ACEOF
66551 #define HAVE__MODFF 1
66552 _ACEOF
66553
66554 fi
66555 done
66556
66557 fi
66558 fi
66559
66560
66561
66562
66563
66564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66565 $as_echo_n "checking for modf declaration... " >&6; }
66566 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66567 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66568 $as_echo_n "(cached) " >&6
66569 else
66570
66571
66572 ac_ext=cpp
66573 ac_cpp='$CXXCPP $CPPFLAGS'
66574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66577
66578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66579 /* end confdefs.h. */
66580 #include <math.h>
66581 int
66582 main ()
66583 {
66584 modf(0, 0);
66585 ;
66586 return 0;
66587 }
66588 _ACEOF
66589 if ac_fn_cxx_try_compile "$LINENO"; then :
66590 glibcxx_cv_func_modf_use=yes
66591 else
66592 glibcxx_cv_func_modf_use=no
66593 fi
66594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66595 ac_ext=c
66596 ac_cpp='$CPP $CPPFLAGS'
66597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66600
66601
66602 fi
66603
66604 fi
66605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66606 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66607
66608 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66609 for ac_func in modf
66610 do :
66611 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66612 if test "x$ac_cv_func_modf" = x""yes; then :
66613 cat >>confdefs.h <<_ACEOF
66614 #define HAVE_MODF 1
66615 _ACEOF
66616
66617 fi
66618 done
66619
66620 else
66621
66622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66623 $as_echo_n "checking for _modf declaration... " >&6; }
66624 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66625 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66626 $as_echo_n "(cached) " >&6
66627 else
66628
66629
66630 ac_ext=cpp
66631 ac_cpp='$CXXCPP $CPPFLAGS'
66632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66635
66636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66637 /* end confdefs.h. */
66638 #include <math.h>
66639 int
66640 main ()
66641 {
66642 _modf(0, 0);
66643 ;
66644 return 0;
66645 }
66646 _ACEOF
66647 if ac_fn_cxx_try_compile "$LINENO"; then :
66648 glibcxx_cv_func__modf_use=yes
66649 else
66650 glibcxx_cv_func__modf_use=no
66651 fi
66652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66653 ac_ext=c
66654 ac_cpp='$CPP $CPPFLAGS'
66655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66658
66659
66660 fi
66661
66662 fi
66663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66664 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66665
66666 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66667 for ac_func in _modf
66668 do :
66669 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66670 if test "x$ac_cv_func__modf" = x""yes; then :
66671 cat >>confdefs.h <<_ACEOF
66672 #define HAVE__MODF 1
66673 _ACEOF
66674
66675 fi
66676 done
66677
66678 fi
66679 fi
66680
66681
66682
66683
66684
66685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66686 $as_echo_n "checking for powf declaration... " >&6; }
66687 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66688 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66689 $as_echo_n "(cached) " >&6
66690 else
66691
66692
66693 ac_ext=cpp
66694 ac_cpp='$CXXCPP $CPPFLAGS'
66695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66698
66699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66700 /* end confdefs.h. */
66701 #include <math.h>
66702 int
66703 main ()
66704 {
66705 powf(0, 0);
66706 ;
66707 return 0;
66708 }
66709 _ACEOF
66710 if ac_fn_cxx_try_compile "$LINENO"; then :
66711 glibcxx_cv_func_powf_use=yes
66712 else
66713 glibcxx_cv_func_powf_use=no
66714 fi
66715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66716 ac_ext=c
66717 ac_cpp='$CPP $CPPFLAGS'
66718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66721
66722
66723 fi
66724
66725 fi
66726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66727 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66728
66729 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66730 for ac_func in powf
66731 do :
66732 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66733 if test "x$ac_cv_func_powf" = x""yes; then :
66734 cat >>confdefs.h <<_ACEOF
66735 #define HAVE_POWF 1
66736 _ACEOF
66737
66738 fi
66739 done
66740
66741 else
66742
66743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66744 $as_echo_n "checking for _powf declaration... " >&6; }
66745 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66746 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66747 $as_echo_n "(cached) " >&6
66748 else
66749
66750
66751 ac_ext=cpp
66752 ac_cpp='$CXXCPP $CPPFLAGS'
66753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66756
66757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66758 /* end confdefs.h. */
66759 #include <math.h>
66760 int
66761 main ()
66762 {
66763 _powf(0, 0);
66764 ;
66765 return 0;
66766 }
66767 _ACEOF
66768 if ac_fn_cxx_try_compile "$LINENO"; then :
66769 glibcxx_cv_func__powf_use=yes
66770 else
66771 glibcxx_cv_func__powf_use=no
66772 fi
66773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66774 ac_ext=c
66775 ac_cpp='$CPP $CPPFLAGS'
66776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66779
66780
66781 fi
66782
66783 fi
66784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66785 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66786
66787 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66788 for ac_func in _powf
66789 do :
66790 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66791 if test "x$ac_cv_func__powf" = x""yes; then :
66792 cat >>confdefs.h <<_ACEOF
66793 #define HAVE__POWF 1
66794 _ACEOF
66795
66796 fi
66797 done
66798
66799 fi
66800 fi
66801
66802
66803
66804
66805
66806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66807 $as_echo_n "checking for sqrtf declaration... " >&6; }
66808 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66809 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66810 $as_echo_n "(cached) " >&6
66811 else
66812
66813
66814 ac_ext=cpp
66815 ac_cpp='$CXXCPP $CPPFLAGS'
66816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66819
66820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66821 /* end confdefs.h. */
66822 #include <math.h>
66823 #ifdef HAVE_IEEEFP_H
66824 #include <ieeefp.h>
66825 #endif
66826
66827 int
66828 main ()
66829 {
66830 sqrtf(0);
66831 ;
66832 return 0;
66833 }
66834 _ACEOF
66835 if ac_fn_cxx_try_compile "$LINENO"; then :
66836 glibcxx_cv_func_sqrtf_use=yes
66837 else
66838 glibcxx_cv_func_sqrtf_use=no
66839 fi
66840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66841 ac_ext=c
66842 ac_cpp='$CPP $CPPFLAGS'
66843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66846
66847
66848 fi
66849
66850 fi
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66852 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66853
66854 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66855 for ac_func in sqrtf
66856 do :
66857 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66858 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66859 cat >>confdefs.h <<_ACEOF
66860 #define HAVE_SQRTF 1
66861 _ACEOF
66862
66863 fi
66864 done
66865
66866 else
66867
66868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66869 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66870 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66871 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66872 $as_echo_n "(cached) " >&6
66873 else
66874
66875
66876 ac_ext=cpp
66877 ac_cpp='$CXXCPP $CPPFLAGS'
66878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66881
66882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66883 /* end confdefs.h. */
66884 #include <math.h>
66885 #ifdef HAVE_IEEEFP_H
66886 #include <ieeefp.h>
66887 #endif
66888
66889 int
66890 main ()
66891 {
66892 _sqrtf(0);
66893 ;
66894 return 0;
66895 }
66896 _ACEOF
66897 if ac_fn_cxx_try_compile "$LINENO"; then :
66898 glibcxx_cv_func__sqrtf_use=yes
66899 else
66900 glibcxx_cv_func__sqrtf_use=no
66901 fi
66902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66903 ac_ext=c
66904 ac_cpp='$CPP $CPPFLAGS'
66905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66908
66909
66910 fi
66911
66912 fi
66913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66914 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66915
66916 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66917 for ac_func in _sqrtf
66918 do :
66919 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66920 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66921 cat >>confdefs.h <<_ACEOF
66922 #define HAVE__SQRTF 1
66923 _ACEOF
66924
66925 fi
66926 done
66927
66928 fi
66929 fi
66930
66931
66932
66933
66934
66935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66936 $as_echo_n "checking for sincosf declaration... " >&6; }
66937 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66938 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66939 $as_echo_n "(cached) " >&6
66940 else
66941
66942
66943 ac_ext=cpp
66944 ac_cpp='$CXXCPP $CPPFLAGS'
66945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66948
66949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66950 /* end confdefs.h. */
66951 #include <math.h>
66952 int
66953 main ()
66954 {
66955 sincosf(0, 0, 0);
66956 ;
66957 return 0;
66958 }
66959 _ACEOF
66960 if ac_fn_cxx_try_compile "$LINENO"; then :
66961 glibcxx_cv_func_sincosf_use=yes
66962 else
66963 glibcxx_cv_func_sincosf_use=no
66964 fi
66965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66966 ac_ext=c
66967 ac_cpp='$CPP $CPPFLAGS'
66968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66971
66972
66973 fi
66974
66975 fi
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66977 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66978
66979 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66980 for ac_func in sincosf
66981 do :
66982 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66983 if test "x$ac_cv_func_sincosf" = x""yes; then :
66984 cat >>confdefs.h <<_ACEOF
66985 #define HAVE_SINCOSF 1
66986 _ACEOF
66987
66988 fi
66989 done
66990
66991 else
66992
66993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66994 $as_echo_n "checking for _sincosf declaration... " >&6; }
66995 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66996 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66997 $as_echo_n "(cached) " >&6
66998 else
66999
67000
67001 ac_ext=cpp
67002 ac_cpp='$CXXCPP $CPPFLAGS'
67003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67006
67007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67008 /* end confdefs.h. */
67009 #include <math.h>
67010 int
67011 main ()
67012 {
67013 _sincosf(0, 0, 0);
67014 ;
67015 return 0;
67016 }
67017 _ACEOF
67018 if ac_fn_cxx_try_compile "$LINENO"; then :
67019 glibcxx_cv_func__sincosf_use=yes
67020 else
67021 glibcxx_cv_func__sincosf_use=no
67022 fi
67023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67024 ac_ext=c
67025 ac_cpp='$CPP $CPPFLAGS'
67026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67029
67030
67031 fi
67032
67033 fi
67034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67035 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67036
67037 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67038 for ac_func in _sincosf
67039 do :
67040 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67041 if test "x$ac_cv_func__sincosf" = x""yes; then :
67042 cat >>confdefs.h <<_ACEOF
67043 #define HAVE__SINCOSF 1
67044 _ACEOF
67045
67046 fi
67047 done
67048
67049 fi
67050 fi
67051
67052
67053
67054
67055
67056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67057 $as_echo_n "checking for finitef declaration... " >&6; }
67058 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67059 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67060 $as_echo_n "(cached) " >&6
67061 else
67062
67063
67064 ac_ext=cpp
67065 ac_cpp='$CXXCPP $CPPFLAGS'
67066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67069
67070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67071 /* end confdefs.h. */
67072 #include <math.h>
67073 #ifdef HAVE_IEEEFP_H
67074 #include <ieeefp.h>
67075 #endif
67076
67077 int
67078 main ()
67079 {
67080 finitef(0);
67081 ;
67082 return 0;
67083 }
67084 _ACEOF
67085 if ac_fn_cxx_try_compile "$LINENO"; then :
67086 glibcxx_cv_func_finitef_use=yes
67087 else
67088 glibcxx_cv_func_finitef_use=no
67089 fi
67090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67091 ac_ext=c
67092 ac_cpp='$CPP $CPPFLAGS'
67093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67096
67097
67098 fi
67099
67100 fi
67101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67102 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67103
67104 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67105 for ac_func in finitef
67106 do :
67107 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67108 if test "x$ac_cv_func_finitef" = x""yes; then :
67109 cat >>confdefs.h <<_ACEOF
67110 #define HAVE_FINITEF 1
67111 _ACEOF
67112
67113 fi
67114 done
67115
67116 else
67117
67118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67119 $as_echo_n "checking for _finitef declaration... " >&6; }
67120 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67121 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67122 $as_echo_n "(cached) " >&6
67123 else
67124
67125
67126 ac_ext=cpp
67127 ac_cpp='$CXXCPP $CPPFLAGS'
67128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67131
67132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67133 /* end confdefs.h. */
67134 #include <math.h>
67135 #ifdef HAVE_IEEEFP_H
67136 #include <ieeefp.h>
67137 #endif
67138
67139 int
67140 main ()
67141 {
67142 _finitef(0);
67143 ;
67144 return 0;
67145 }
67146 _ACEOF
67147 if ac_fn_cxx_try_compile "$LINENO"; then :
67148 glibcxx_cv_func__finitef_use=yes
67149 else
67150 glibcxx_cv_func__finitef_use=no
67151 fi
67152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67153 ac_ext=c
67154 ac_cpp='$CPP $CPPFLAGS'
67155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67158
67159
67160 fi
67161
67162 fi
67163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67164 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67165
67166 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67167 for ac_func in _finitef
67168 do :
67169 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67170 if test "x$ac_cv_func__finitef" = x""yes; then :
67171 cat >>confdefs.h <<_ACEOF
67172 #define HAVE__FINITEF 1
67173 _ACEOF
67174
67175 fi
67176 done
67177
67178 fi
67179 fi
67180
67181
67182
67183
67184
67185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67186 $as_echo_n "checking for long double trig functions... " >&6; }
67187 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67188 $as_echo_n "(cached) " >&6
67189 else
67190
67191
67192 ac_ext=cpp
67193 ac_cpp='$CXXCPP $CPPFLAGS'
67194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67197
67198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67199 /* end confdefs.h. */
67200 #include <math.h>
67201 int
67202 main ()
67203 {
67204 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67205 ;
67206 return 0;
67207 }
67208 _ACEOF
67209 if ac_fn_cxx_try_compile "$LINENO"; then :
67210 glibcxx_cv_func_long_double_trig_use=yes
67211 else
67212 glibcxx_cv_func_long_double_trig_use=no
67213 fi
67214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67215 ac_ext=c
67216 ac_cpp='$CPP $CPPFLAGS'
67217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67220
67221 fi
67222
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67224 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67225 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67226 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67227 do :
67228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67230 eval as_val=\$$as_ac_var
67231 if test "x$as_val" = x""yes; then :
67232 cat >>confdefs.h <<_ACEOF
67233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67234 _ACEOF
67235
67236 fi
67237 done
67238
67239 else
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67241 $as_echo_n "checking for _long double trig functions... " >&6; }
67242 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67243 $as_echo_n "(cached) " >&6
67244 else
67245
67246
67247 ac_ext=cpp
67248 ac_cpp='$CXXCPP $CPPFLAGS'
67249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67252
67253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67254 /* end confdefs.h. */
67255 #include <math.h>
67256 int
67257 main ()
67258 {
67259 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67260 ;
67261 return 0;
67262 }
67263 _ACEOF
67264 if ac_fn_cxx_try_compile "$LINENO"; then :
67265 glibcxx_cv_func__long_double_trig_use=yes
67266 else
67267 glibcxx_cv_func__long_double_trig_use=no
67268 fi
67269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67270 ac_ext=c
67271 ac_cpp='$CPP $CPPFLAGS'
67272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67275
67276 fi
67277
67278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67279 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67280 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67281 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67282 do :
67283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67285 eval as_val=\$$as_ac_var
67286 if test "x$as_val" = x""yes; then :
67287 cat >>confdefs.h <<_ACEOF
67288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67289 _ACEOF
67290
67291 fi
67292 done
67293
67294 fi
67295 fi
67296
67297
67298
67299
67300
67301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67302 $as_echo_n "checking for long double round functions... " >&6; }
67303 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67304 $as_echo_n "(cached) " >&6
67305 else
67306
67307
67308 ac_ext=cpp
67309 ac_cpp='$CXXCPP $CPPFLAGS'
67310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67313
67314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67315 /* end confdefs.h. */
67316 #include <math.h>
67317 int
67318 main ()
67319 {
67320 ceill (0); floorl (0);
67321 ;
67322 return 0;
67323 }
67324 _ACEOF
67325 if ac_fn_cxx_try_compile "$LINENO"; then :
67326 glibcxx_cv_func_long_double_round_use=yes
67327 else
67328 glibcxx_cv_func_long_double_round_use=no
67329 fi
67330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67331 ac_ext=c
67332 ac_cpp='$CPP $CPPFLAGS'
67333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67336
67337 fi
67338
67339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67340 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67341 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67342 for ac_func in ceill floorl
67343 do :
67344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67346 eval as_val=\$$as_ac_var
67347 if test "x$as_val" = x""yes; then :
67348 cat >>confdefs.h <<_ACEOF
67349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67350 _ACEOF
67351
67352 fi
67353 done
67354
67355 else
67356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67357 $as_echo_n "checking for _long double round functions... " >&6; }
67358 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67359 $as_echo_n "(cached) " >&6
67360 else
67361
67362
67363 ac_ext=cpp
67364 ac_cpp='$CXXCPP $CPPFLAGS'
67365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67368
67369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67370 /* end confdefs.h. */
67371 #include <math.h>
67372 int
67373 main ()
67374 {
67375 _ceill (0); _floorl (0);
67376 ;
67377 return 0;
67378 }
67379 _ACEOF
67380 if ac_fn_cxx_try_compile "$LINENO"; then :
67381 glibcxx_cv_func__long_double_round_use=yes
67382 else
67383 glibcxx_cv_func__long_double_round_use=no
67384 fi
67385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67386 ac_ext=c
67387 ac_cpp='$CPP $CPPFLAGS'
67388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67391
67392 fi
67393
67394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67395 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67396 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67397 for ac_func in _ceill _floorl
67398 do :
67399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67401 eval as_val=\$$as_ac_var
67402 if test "x$as_val" = x""yes; then :
67403 cat >>confdefs.h <<_ACEOF
67404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67405 _ACEOF
67406
67407 fi
67408 done
67409
67410 fi
67411 fi
67412
67413
67414
67415
67416
67417
67418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67419 $as_echo_n "checking for isnanl declaration... " >&6; }
67420 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67421 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67422 $as_echo_n "(cached) " >&6
67423 else
67424
67425
67426 ac_ext=cpp
67427 ac_cpp='$CXXCPP $CPPFLAGS'
67428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67431
67432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67433 /* end confdefs.h. */
67434 #include <math.h>
67435 #ifdef HAVE_IEEEFP_H
67436 #include <ieeefp.h>
67437 #endif
67438
67439 int
67440 main ()
67441 {
67442 isnanl(0);
67443 ;
67444 return 0;
67445 }
67446 _ACEOF
67447 if ac_fn_cxx_try_compile "$LINENO"; then :
67448 glibcxx_cv_func_isnanl_use=yes
67449 else
67450 glibcxx_cv_func_isnanl_use=no
67451 fi
67452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67453 ac_ext=c
67454 ac_cpp='$CPP $CPPFLAGS'
67455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67458
67459
67460 fi
67461
67462 fi
67463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67464 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67465
67466 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67467 for ac_func in isnanl
67468 do :
67469 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67470 if test "x$ac_cv_func_isnanl" = x""yes; then :
67471 cat >>confdefs.h <<_ACEOF
67472 #define HAVE_ISNANL 1
67473 _ACEOF
67474
67475 fi
67476 done
67477
67478 else
67479
67480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67481 $as_echo_n "checking for _isnanl declaration... " >&6; }
67482 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67483 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67484 $as_echo_n "(cached) " >&6
67485 else
67486
67487
67488 ac_ext=cpp
67489 ac_cpp='$CXXCPP $CPPFLAGS'
67490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67493
67494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67495 /* end confdefs.h. */
67496 #include <math.h>
67497 #ifdef HAVE_IEEEFP_H
67498 #include <ieeefp.h>
67499 #endif
67500
67501 int
67502 main ()
67503 {
67504 _isnanl(0);
67505 ;
67506 return 0;
67507 }
67508 _ACEOF
67509 if ac_fn_cxx_try_compile "$LINENO"; then :
67510 glibcxx_cv_func__isnanl_use=yes
67511 else
67512 glibcxx_cv_func__isnanl_use=no
67513 fi
67514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67515 ac_ext=c
67516 ac_cpp='$CPP $CPPFLAGS'
67517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67520
67521
67522 fi
67523
67524 fi
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67526 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67527
67528 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67529 for ac_func in _isnanl
67530 do :
67531 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67532 if test "x$ac_cv_func__isnanl" = x""yes; then :
67533 cat >>confdefs.h <<_ACEOF
67534 #define HAVE__ISNANL 1
67535 _ACEOF
67536
67537 fi
67538 done
67539
67540 fi
67541 fi
67542
67543
67544
67545
67546
67547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67548 $as_echo_n "checking for isinfl declaration... " >&6; }
67549 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67550 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67551 $as_echo_n "(cached) " >&6
67552 else
67553
67554
67555 ac_ext=cpp
67556 ac_cpp='$CXXCPP $CPPFLAGS'
67557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67560
67561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67562 /* end confdefs.h. */
67563 #include <math.h>
67564 #ifdef HAVE_IEEEFP_H
67565 #include <ieeefp.h>
67566 #endif
67567
67568 int
67569 main ()
67570 {
67571 isinfl(0);
67572 ;
67573 return 0;
67574 }
67575 _ACEOF
67576 if ac_fn_cxx_try_compile "$LINENO"; then :
67577 glibcxx_cv_func_isinfl_use=yes
67578 else
67579 glibcxx_cv_func_isinfl_use=no
67580 fi
67581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67582 ac_ext=c
67583 ac_cpp='$CPP $CPPFLAGS'
67584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67587
67588
67589 fi
67590
67591 fi
67592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67593 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67594
67595 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67596 for ac_func in isinfl
67597 do :
67598 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67599 if test "x$ac_cv_func_isinfl" = x""yes; then :
67600 cat >>confdefs.h <<_ACEOF
67601 #define HAVE_ISINFL 1
67602 _ACEOF
67603
67604 fi
67605 done
67606
67607 else
67608
67609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67610 $as_echo_n "checking for _isinfl declaration... " >&6; }
67611 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67612 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67613 $as_echo_n "(cached) " >&6
67614 else
67615
67616
67617 ac_ext=cpp
67618 ac_cpp='$CXXCPP $CPPFLAGS'
67619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67622
67623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67624 /* end confdefs.h. */
67625 #include <math.h>
67626 #ifdef HAVE_IEEEFP_H
67627 #include <ieeefp.h>
67628 #endif
67629
67630 int
67631 main ()
67632 {
67633 _isinfl(0);
67634 ;
67635 return 0;
67636 }
67637 _ACEOF
67638 if ac_fn_cxx_try_compile "$LINENO"; then :
67639 glibcxx_cv_func__isinfl_use=yes
67640 else
67641 glibcxx_cv_func__isinfl_use=no
67642 fi
67643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67644 ac_ext=c
67645 ac_cpp='$CPP $CPPFLAGS'
67646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67649
67650
67651 fi
67652
67653 fi
67654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67655 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67656
67657 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67658 for ac_func in _isinfl
67659 do :
67660 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67661 if test "x$ac_cv_func__isinfl" = x""yes; then :
67662 cat >>confdefs.h <<_ACEOF
67663 #define HAVE__ISINFL 1
67664 _ACEOF
67665
67666 fi
67667 done
67668
67669 fi
67670 fi
67671
67672
67673
67674
67675
67676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67677 $as_echo_n "checking for atan2l declaration... " >&6; }
67678 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67679 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67680 $as_echo_n "(cached) " >&6
67681 else
67682
67683
67684 ac_ext=cpp
67685 ac_cpp='$CXXCPP $CPPFLAGS'
67686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67689
67690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67691 /* end confdefs.h. */
67692 #include <math.h>
67693 int
67694 main ()
67695 {
67696 atan2l(0, 0);
67697 ;
67698 return 0;
67699 }
67700 _ACEOF
67701 if ac_fn_cxx_try_compile "$LINENO"; then :
67702 glibcxx_cv_func_atan2l_use=yes
67703 else
67704 glibcxx_cv_func_atan2l_use=no
67705 fi
67706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67707 ac_ext=c
67708 ac_cpp='$CPP $CPPFLAGS'
67709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67712
67713
67714 fi
67715
67716 fi
67717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67718 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67719
67720 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67721 for ac_func in atan2l
67722 do :
67723 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67724 if test "x$ac_cv_func_atan2l" = x""yes; then :
67725 cat >>confdefs.h <<_ACEOF
67726 #define HAVE_ATAN2L 1
67727 _ACEOF
67728
67729 fi
67730 done
67731
67732 else
67733
67734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67735 $as_echo_n "checking for _atan2l declaration... " >&6; }
67736 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67737 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67738 $as_echo_n "(cached) " >&6
67739 else
67740
67741
67742 ac_ext=cpp
67743 ac_cpp='$CXXCPP $CPPFLAGS'
67744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67747
67748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67749 /* end confdefs.h. */
67750 #include <math.h>
67751 int
67752 main ()
67753 {
67754 _atan2l(0, 0);
67755 ;
67756 return 0;
67757 }
67758 _ACEOF
67759 if ac_fn_cxx_try_compile "$LINENO"; then :
67760 glibcxx_cv_func__atan2l_use=yes
67761 else
67762 glibcxx_cv_func__atan2l_use=no
67763 fi
67764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67765 ac_ext=c
67766 ac_cpp='$CPP $CPPFLAGS'
67767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67770
67771
67772 fi
67773
67774 fi
67775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67776 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67777
67778 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67779 for ac_func in _atan2l
67780 do :
67781 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67782 if test "x$ac_cv_func__atan2l" = x""yes; then :
67783 cat >>confdefs.h <<_ACEOF
67784 #define HAVE__ATAN2L 1
67785 _ACEOF
67786
67787 fi
67788 done
67789
67790 fi
67791 fi
67792
67793
67794
67795
67796
67797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67798 $as_echo_n "checking for expl declaration... " >&6; }
67799 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67800 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67801 $as_echo_n "(cached) " >&6
67802 else
67803
67804
67805 ac_ext=cpp
67806 ac_cpp='$CXXCPP $CPPFLAGS'
67807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67810
67811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67812 /* end confdefs.h. */
67813 #include <math.h>
67814 #ifdef HAVE_IEEEFP_H
67815 #include <ieeefp.h>
67816 #endif
67817
67818 int
67819 main ()
67820 {
67821 expl(0);
67822 ;
67823 return 0;
67824 }
67825 _ACEOF
67826 if ac_fn_cxx_try_compile "$LINENO"; then :
67827 glibcxx_cv_func_expl_use=yes
67828 else
67829 glibcxx_cv_func_expl_use=no
67830 fi
67831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67832 ac_ext=c
67833 ac_cpp='$CPP $CPPFLAGS'
67834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67837
67838
67839 fi
67840
67841 fi
67842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67843 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67844
67845 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67846 for ac_func in expl
67847 do :
67848 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67849 if test "x$ac_cv_func_expl" = x""yes; then :
67850 cat >>confdefs.h <<_ACEOF
67851 #define HAVE_EXPL 1
67852 _ACEOF
67853
67854 fi
67855 done
67856
67857 else
67858
67859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67860 $as_echo_n "checking for _expl declaration... " >&6; }
67861 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67862 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67863 $as_echo_n "(cached) " >&6
67864 else
67865
67866
67867 ac_ext=cpp
67868 ac_cpp='$CXXCPP $CPPFLAGS'
67869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67872
67873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67874 /* end confdefs.h. */
67875 #include <math.h>
67876 #ifdef HAVE_IEEEFP_H
67877 #include <ieeefp.h>
67878 #endif
67879
67880 int
67881 main ()
67882 {
67883 _expl(0);
67884 ;
67885 return 0;
67886 }
67887 _ACEOF
67888 if ac_fn_cxx_try_compile "$LINENO"; then :
67889 glibcxx_cv_func__expl_use=yes
67890 else
67891 glibcxx_cv_func__expl_use=no
67892 fi
67893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67894 ac_ext=c
67895 ac_cpp='$CPP $CPPFLAGS'
67896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67899
67900
67901 fi
67902
67903 fi
67904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67905 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67906
67907 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67908 for ac_func in _expl
67909 do :
67910 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67911 if test "x$ac_cv_func__expl" = x""yes; then :
67912 cat >>confdefs.h <<_ACEOF
67913 #define HAVE__EXPL 1
67914 _ACEOF
67915
67916 fi
67917 done
67918
67919 fi
67920 fi
67921
67922
67923
67924
67925
67926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67927 $as_echo_n "checking for fabsl declaration... " >&6; }
67928 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67929 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67930 $as_echo_n "(cached) " >&6
67931 else
67932
67933
67934 ac_ext=cpp
67935 ac_cpp='$CXXCPP $CPPFLAGS'
67936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67939
67940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67941 /* end confdefs.h. */
67942 #include <math.h>
67943 #ifdef HAVE_IEEEFP_H
67944 #include <ieeefp.h>
67945 #endif
67946
67947 int
67948 main ()
67949 {
67950 fabsl(0);
67951 ;
67952 return 0;
67953 }
67954 _ACEOF
67955 if ac_fn_cxx_try_compile "$LINENO"; then :
67956 glibcxx_cv_func_fabsl_use=yes
67957 else
67958 glibcxx_cv_func_fabsl_use=no
67959 fi
67960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67961 ac_ext=c
67962 ac_cpp='$CPP $CPPFLAGS'
67963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67966
67967
67968 fi
67969
67970 fi
67971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67972 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67973
67974 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67975 for ac_func in fabsl
67976 do :
67977 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67978 if test "x$ac_cv_func_fabsl" = x""yes; then :
67979 cat >>confdefs.h <<_ACEOF
67980 #define HAVE_FABSL 1
67981 _ACEOF
67982
67983 fi
67984 done
67985
67986 else
67987
67988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67989 $as_echo_n "checking for _fabsl declaration... " >&6; }
67990 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67991 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67992 $as_echo_n "(cached) " >&6
67993 else
67994
67995
67996 ac_ext=cpp
67997 ac_cpp='$CXXCPP $CPPFLAGS'
67998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68001
68002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68003 /* end confdefs.h. */
68004 #include <math.h>
68005 #ifdef HAVE_IEEEFP_H
68006 #include <ieeefp.h>
68007 #endif
68008
68009 int
68010 main ()
68011 {
68012 _fabsl(0);
68013 ;
68014 return 0;
68015 }
68016 _ACEOF
68017 if ac_fn_cxx_try_compile "$LINENO"; then :
68018 glibcxx_cv_func__fabsl_use=yes
68019 else
68020 glibcxx_cv_func__fabsl_use=no
68021 fi
68022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68023 ac_ext=c
68024 ac_cpp='$CPP $CPPFLAGS'
68025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68028
68029
68030 fi
68031
68032 fi
68033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68034 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68035
68036 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68037 for ac_func in _fabsl
68038 do :
68039 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68040 if test "x$ac_cv_func__fabsl" = x""yes; then :
68041 cat >>confdefs.h <<_ACEOF
68042 #define HAVE__FABSL 1
68043 _ACEOF
68044
68045 fi
68046 done
68047
68048 fi
68049 fi
68050
68051
68052
68053
68054
68055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68056 $as_echo_n "checking for fmodl declaration... " >&6; }
68057 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68058 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68059 $as_echo_n "(cached) " >&6
68060 else
68061
68062
68063 ac_ext=cpp
68064 ac_cpp='$CXXCPP $CPPFLAGS'
68065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68068
68069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68070 /* end confdefs.h. */
68071 #include <math.h>
68072 int
68073 main ()
68074 {
68075 fmodl(0, 0);
68076 ;
68077 return 0;
68078 }
68079 _ACEOF
68080 if ac_fn_cxx_try_compile "$LINENO"; then :
68081 glibcxx_cv_func_fmodl_use=yes
68082 else
68083 glibcxx_cv_func_fmodl_use=no
68084 fi
68085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68086 ac_ext=c
68087 ac_cpp='$CPP $CPPFLAGS'
68088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68091
68092
68093 fi
68094
68095 fi
68096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68097 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68098
68099 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68100 for ac_func in fmodl
68101 do :
68102 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68103 if test "x$ac_cv_func_fmodl" = x""yes; then :
68104 cat >>confdefs.h <<_ACEOF
68105 #define HAVE_FMODL 1
68106 _ACEOF
68107
68108 fi
68109 done
68110
68111 else
68112
68113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68114 $as_echo_n "checking for _fmodl declaration... " >&6; }
68115 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68116 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68117 $as_echo_n "(cached) " >&6
68118 else
68119
68120
68121 ac_ext=cpp
68122 ac_cpp='$CXXCPP $CPPFLAGS'
68123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68126
68127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68128 /* end confdefs.h. */
68129 #include <math.h>
68130 int
68131 main ()
68132 {
68133 _fmodl(0, 0);
68134 ;
68135 return 0;
68136 }
68137 _ACEOF
68138 if ac_fn_cxx_try_compile "$LINENO"; then :
68139 glibcxx_cv_func__fmodl_use=yes
68140 else
68141 glibcxx_cv_func__fmodl_use=no
68142 fi
68143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68144 ac_ext=c
68145 ac_cpp='$CPP $CPPFLAGS'
68146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68149
68150
68151 fi
68152
68153 fi
68154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68155 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68156
68157 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68158 for ac_func in _fmodl
68159 do :
68160 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68161 if test "x$ac_cv_func__fmodl" = x""yes; then :
68162 cat >>confdefs.h <<_ACEOF
68163 #define HAVE__FMODL 1
68164 _ACEOF
68165
68166 fi
68167 done
68168
68169 fi
68170 fi
68171
68172
68173
68174
68175
68176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68177 $as_echo_n "checking for frexpl declaration... " >&6; }
68178 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68179 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68180 $as_echo_n "(cached) " >&6
68181 else
68182
68183
68184 ac_ext=cpp
68185 ac_cpp='$CXXCPP $CPPFLAGS'
68186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68189
68190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68191 /* end confdefs.h. */
68192 #include <math.h>
68193 int
68194 main ()
68195 {
68196 frexpl(0, 0);
68197 ;
68198 return 0;
68199 }
68200 _ACEOF
68201 if ac_fn_cxx_try_compile "$LINENO"; then :
68202 glibcxx_cv_func_frexpl_use=yes
68203 else
68204 glibcxx_cv_func_frexpl_use=no
68205 fi
68206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68207 ac_ext=c
68208 ac_cpp='$CPP $CPPFLAGS'
68209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68212
68213
68214 fi
68215
68216 fi
68217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68218 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68219
68220 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68221 for ac_func in frexpl
68222 do :
68223 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68224 if test "x$ac_cv_func_frexpl" = x""yes; then :
68225 cat >>confdefs.h <<_ACEOF
68226 #define HAVE_FREXPL 1
68227 _ACEOF
68228
68229 fi
68230 done
68231
68232 else
68233
68234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68235 $as_echo_n "checking for _frexpl declaration... " >&6; }
68236 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68237 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68238 $as_echo_n "(cached) " >&6
68239 else
68240
68241
68242 ac_ext=cpp
68243 ac_cpp='$CXXCPP $CPPFLAGS'
68244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68247
68248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68249 /* end confdefs.h. */
68250 #include <math.h>
68251 int
68252 main ()
68253 {
68254 _frexpl(0, 0);
68255 ;
68256 return 0;
68257 }
68258 _ACEOF
68259 if ac_fn_cxx_try_compile "$LINENO"; then :
68260 glibcxx_cv_func__frexpl_use=yes
68261 else
68262 glibcxx_cv_func__frexpl_use=no
68263 fi
68264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68265 ac_ext=c
68266 ac_cpp='$CPP $CPPFLAGS'
68267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68270
68271
68272 fi
68273
68274 fi
68275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68276 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68277
68278 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68279 for ac_func in _frexpl
68280 do :
68281 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68282 if test "x$ac_cv_func__frexpl" = x""yes; then :
68283 cat >>confdefs.h <<_ACEOF
68284 #define HAVE__FREXPL 1
68285 _ACEOF
68286
68287 fi
68288 done
68289
68290 fi
68291 fi
68292
68293
68294
68295
68296
68297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68298 $as_echo_n "checking for hypotl declaration... " >&6; }
68299 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68300 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68301 $as_echo_n "(cached) " >&6
68302 else
68303
68304
68305 ac_ext=cpp
68306 ac_cpp='$CXXCPP $CPPFLAGS'
68307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68310
68311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68312 /* end confdefs.h. */
68313 #include <math.h>
68314 int
68315 main ()
68316 {
68317 hypotl(0, 0);
68318 ;
68319 return 0;
68320 }
68321 _ACEOF
68322 if ac_fn_cxx_try_compile "$LINENO"; then :
68323 glibcxx_cv_func_hypotl_use=yes
68324 else
68325 glibcxx_cv_func_hypotl_use=no
68326 fi
68327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68328 ac_ext=c
68329 ac_cpp='$CPP $CPPFLAGS'
68330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68333
68334
68335 fi
68336
68337 fi
68338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68339 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68340
68341 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68342 for ac_func in hypotl
68343 do :
68344 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68345 if test "x$ac_cv_func_hypotl" = x""yes; then :
68346 cat >>confdefs.h <<_ACEOF
68347 #define HAVE_HYPOTL 1
68348 _ACEOF
68349
68350 fi
68351 done
68352
68353 else
68354
68355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68356 $as_echo_n "checking for _hypotl declaration... " >&6; }
68357 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68358 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68359 $as_echo_n "(cached) " >&6
68360 else
68361
68362
68363 ac_ext=cpp
68364 ac_cpp='$CXXCPP $CPPFLAGS'
68365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68368
68369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68370 /* end confdefs.h. */
68371 #include <math.h>
68372 int
68373 main ()
68374 {
68375 _hypotl(0, 0);
68376 ;
68377 return 0;
68378 }
68379 _ACEOF
68380 if ac_fn_cxx_try_compile "$LINENO"; then :
68381 glibcxx_cv_func__hypotl_use=yes
68382 else
68383 glibcxx_cv_func__hypotl_use=no
68384 fi
68385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68386 ac_ext=c
68387 ac_cpp='$CPP $CPPFLAGS'
68388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68391
68392
68393 fi
68394
68395 fi
68396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68397 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68398
68399 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68400 for ac_func in _hypotl
68401 do :
68402 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68403 if test "x$ac_cv_func__hypotl" = x""yes; then :
68404 cat >>confdefs.h <<_ACEOF
68405 #define HAVE__HYPOTL 1
68406 _ACEOF
68407
68408 fi
68409 done
68410
68411 fi
68412 fi
68413
68414
68415
68416
68417
68418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68419 $as_echo_n "checking for ldexpl declaration... " >&6; }
68420 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68421 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68422 $as_echo_n "(cached) " >&6
68423 else
68424
68425
68426 ac_ext=cpp
68427 ac_cpp='$CXXCPP $CPPFLAGS'
68428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68431
68432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68433 /* end confdefs.h. */
68434 #include <math.h>
68435 int
68436 main ()
68437 {
68438 ldexpl(0, 0);
68439 ;
68440 return 0;
68441 }
68442 _ACEOF
68443 if ac_fn_cxx_try_compile "$LINENO"; then :
68444 glibcxx_cv_func_ldexpl_use=yes
68445 else
68446 glibcxx_cv_func_ldexpl_use=no
68447 fi
68448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68449 ac_ext=c
68450 ac_cpp='$CPP $CPPFLAGS'
68451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68454
68455
68456 fi
68457
68458 fi
68459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68460 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68461
68462 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68463 for ac_func in ldexpl
68464 do :
68465 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68466 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68467 cat >>confdefs.h <<_ACEOF
68468 #define HAVE_LDEXPL 1
68469 _ACEOF
68470
68471 fi
68472 done
68473
68474 else
68475
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68477 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68478 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68479 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68480 $as_echo_n "(cached) " >&6
68481 else
68482
68483
68484 ac_ext=cpp
68485 ac_cpp='$CXXCPP $CPPFLAGS'
68486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68489
68490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68491 /* end confdefs.h. */
68492 #include <math.h>
68493 int
68494 main ()
68495 {
68496 _ldexpl(0, 0);
68497 ;
68498 return 0;
68499 }
68500 _ACEOF
68501 if ac_fn_cxx_try_compile "$LINENO"; then :
68502 glibcxx_cv_func__ldexpl_use=yes
68503 else
68504 glibcxx_cv_func__ldexpl_use=no
68505 fi
68506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68507 ac_ext=c
68508 ac_cpp='$CPP $CPPFLAGS'
68509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68512
68513
68514 fi
68515
68516 fi
68517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68518 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68519
68520 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68521 for ac_func in _ldexpl
68522 do :
68523 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68524 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68525 cat >>confdefs.h <<_ACEOF
68526 #define HAVE__LDEXPL 1
68527 _ACEOF
68528
68529 fi
68530 done
68531
68532 fi
68533 fi
68534
68535
68536
68537
68538
68539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68540 $as_echo_n "checking for logl declaration... " >&6; }
68541 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68542 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68543 $as_echo_n "(cached) " >&6
68544 else
68545
68546
68547 ac_ext=cpp
68548 ac_cpp='$CXXCPP $CPPFLAGS'
68549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68552
68553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68554 /* end confdefs.h. */
68555 #include <math.h>
68556 #ifdef HAVE_IEEEFP_H
68557 #include <ieeefp.h>
68558 #endif
68559
68560 int
68561 main ()
68562 {
68563 logl(0);
68564 ;
68565 return 0;
68566 }
68567 _ACEOF
68568 if ac_fn_cxx_try_compile "$LINENO"; then :
68569 glibcxx_cv_func_logl_use=yes
68570 else
68571 glibcxx_cv_func_logl_use=no
68572 fi
68573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68574 ac_ext=c
68575 ac_cpp='$CPP $CPPFLAGS'
68576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68579
68580
68581 fi
68582
68583 fi
68584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68585 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68586
68587 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68588 for ac_func in logl
68589 do :
68590 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68591 if test "x$ac_cv_func_logl" = x""yes; then :
68592 cat >>confdefs.h <<_ACEOF
68593 #define HAVE_LOGL 1
68594 _ACEOF
68595
68596 fi
68597 done
68598
68599 else
68600
68601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68602 $as_echo_n "checking for _logl declaration... " >&6; }
68603 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68604 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68605 $as_echo_n "(cached) " >&6
68606 else
68607
68608
68609 ac_ext=cpp
68610 ac_cpp='$CXXCPP $CPPFLAGS'
68611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68614
68615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68616 /* end confdefs.h. */
68617 #include <math.h>
68618 #ifdef HAVE_IEEEFP_H
68619 #include <ieeefp.h>
68620 #endif
68621
68622 int
68623 main ()
68624 {
68625 _logl(0);
68626 ;
68627 return 0;
68628 }
68629 _ACEOF
68630 if ac_fn_cxx_try_compile "$LINENO"; then :
68631 glibcxx_cv_func__logl_use=yes
68632 else
68633 glibcxx_cv_func__logl_use=no
68634 fi
68635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68636 ac_ext=c
68637 ac_cpp='$CPP $CPPFLAGS'
68638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68641
68642
68643 fi
68644
68645 fi
68646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68647 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68648
68649 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68650 for ac_func in _logl
68651 do :
68652 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68653 if test "x$ac_cv_func__logl" = x""yes; then :
68654 cat >>confdefs.h <<_ACEOF
68655 #define HAVE__LOGL 1
68656 _ACEOF
68657
68658 fi
68659 done
68660
68661 fi
68662 fi
68663
68664
68665
68666
68667
68668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68669 $as_echo_n "checking for log10l declaration... " >&6; }
68670 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68671 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68672 $as_echo_n "(cached) " >&6
68673 else
68674
68675
68676 ac_ext=cpp
68677 ac_cpp='$CXXCPP $CPPFLAGS'
68678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68681
68682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68683 /* end confdefs.h. */
68684 #include <math.h>
68685 #ifdef HAVE_IEEEFP_H
68686 #include <ieeefp.h>
68687 #endif
68688
68689 int
68690 main ()
68691 {
68692 log10l(0);
68693 ;
68694 return 0;
68695 }
68696 _ACEOF
68697 if ac_fn_cxx_try_compile "$LINENO"; then :
68698 glibcxx_cv_func_log10l_use=yes
68699 else
68700 glibcxx_cv_func_log10l_use=no
68701 fi
68702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68703 ac_ext=c
68704 ac_cpp='$CPP $CPPFLAGS'
68705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68708
68709
68710 fi
68711
68712 fi
68713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68714 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68715
68716 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68717 for ac_func in log10l
68718 do :
68719 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68720 if test "x$ac_cv_func_log10l" = x""yes; then :
68721 cat >>confdefs.h <<_ACEOF
68722 #define HAVE_LOG10L 1
68723 _ACEOF
68724
68725 fi
68726 done
68727
68728 else
68729
68730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68731 $as_echo_n "checking for _log10l declaration... " >&6; }
68732 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68733 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68734 $as_echo_n "(cached) " >&6
68735 else
68736
68737
68738 ac_ext=cpp
68739 ac_cpp='$CXXCPP $CPPFLAGS'
68740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68743
68744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68745 /* end confdefs.h. */
68746 #include <math.h>
68747 #ifdef HAVE_IEEEFP_H
68748 #include <ieeefp.h>
68749 #endif
68750
68751 int
68752 main ()
68753 {
68754 _log10l(0);
68755 ;
68756 return 0;
68757 }
68758 _ACEOF
68759 if ac_fn_cxx_try_compile "$LINENO"; then :
68760 glibcxx_cv_func__log10l_use=yes
68761 else
68762 glibcxx_cv_func__log10l_use=no
68763 fi
68764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68765 ac_ext=c
68766 ac_cpp='$CPP $CPPFLAGS'
68767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68770
68771
68772 fi
68773
68774 fi
68775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68776 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68777
68778 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68779 for ac_func in _log10l
68780 do :
68781 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68782 if test "x$ac_cv_func__log10l" = x""yes; then :
68783 cat >>confdefs.h <<_ACEOF
68784 #define HAVE__LOG10L 1
68785 _ACEOF
68786
68787 fi
68788 done
68789
68790 fi
68791 fi
68792
68793
68794
68795
68796
68797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68798 $as_echo_n "checking for modfl declaration... " >&6; }
68799 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68800 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68801 $as_echo_n "(cached) " >&6
68802 else
68803
68804
68805 ac_ext=cpp
68806 ac_cpp='$CXXCPP $CPPFLAGS'
68807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68810
68811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68812 /* end confdefs.h. */
68813 #include <math.h>
68814 int
68815 main ()
68816 {
68817 modfl(0, 0);
68818 ;
68819 return 0;
68820 }
68821 _ACEOF
68822 if ac_fn_cxx_try_compile "$LINENO"; then :
68823 glibcxx_cv_func_modfl_use=yes
68824 else
68825 glibcxx_cv_func_modfl_use=no
68826 fi
68827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68828 ac_ext=c
68829 ac_cpp='$CPP $CPPFLAGS'
68830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68833
68834
68835 fi
68836
68837 fi
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68839 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68840
68841 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68842 for ac_func in modfl
68843 do :
68844 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68845 if test "x$ac_cv_func_modfl" = x""yes; then :
68846 cat >>confdefs.h <<_ACEOF
68847 #define HAVE_MODFL 1
68848 _ACEOF
68849
68850 fi
68851 done
68852
68853 else
68854
68855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68856 $as_echo_n "checking for _modfl declaration... " >&6; }
68857 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68858 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68859 $as_echo_n "(cached) " >&6
68860 else
68861
68862
68863 ac_ext=cpp
68864 ac_cpp='$CXXCPP $CPPFLAGS'
68865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68868
68869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68870 /* end confdefs.h. */
68871 #include <math.h>
68872 int
68873 main ()
68874 {
68875 _modfl(0, 0);
68876 ;
68877 return 0;
68878 }
68879 _ACEOF
68880 if ac_fn_cxx_try_compile "$LINENO"; then :
68881 glibcxx_cv_func__modfl_use=yes
68882 else
68883 glibcxx_cv_func__modfl_use=no
68884 fi
68885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68886 ac_ext=c
68887 ac_cpp='$CPP $CPPFLAGS'
68888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68891
68892
68893 fi
68894
68895 fi
68896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68897 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68898
68899 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68900 for ac_func in _modfl
68901 do :
68902 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68903 if test "x$ac_cv_func__modfl" = x""yes; then :
68904 cat >>confdefs.h <<_ACEOF
68905 #define HAVE__MODFL 1
68906 _ACEOF
68907
68908 fi
68909 done
68910
68911 fi
68912 fi
68913
68914
68915
68916
68917
68918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68919 $as_echo_n "checking for powl declaration... " >&6; }
68920 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68921 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68922 $as_echo_n "(cached) " >&6
68923 else
68924
68925
68926 ac_ext=cpp
68927 ac_cpp='$CXXCPP $CPPFLAGS'
68928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68931
68932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68933 /* end confdefs.h. */
68934 #include <math.h>
68935 int
68936 main ()
68937 {
68938 powl(0, 0);
68939 ;
68940 return 0;
68941 }
68942 _ACEOF
68943 if ac_fn_cxx_try_compile "$LINENO"; then :
68944 glibcxx_cv_func_powl_use=yes
68945 else
68946 glibcxx_cv_func_powl_use=no
68947 fi
68948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68949 ac_ext=c
68950 ac_cpp='$CPP $CPPFLAGS'
68951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68954
68955
68956 fi
68957
68958 fi
68959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68960 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68961
68962 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68963 for ac_func in powl
68964 do :
68965 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68966 if test "x$ac_cv_func_powl" = x""yes; then :
68967 cat >>confdefs.h <<_ACEOF
68968 #define HAVE_POWL 1
68969 _ACEOF
68970
68971 fi
68972 done
68973
68974 else
68975
68976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68977 $as_echo_n "checking for _powl declaration... " >&6; }
68978 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68979 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68980 $as_echo_n "(cached) " >&6
68981 else
68982
68983
68984 ac_ext=cpp
68985 ac_cpp='$CXXCPP $CPPFLAGS'
68986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68989
68990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68991 /* end confdefs.h. */
68992 #include <math.h>
68993 int
68994 main ()
68995 {
68996 _powl(0, 0);
68997 ;
68998 return 0;
68999 }
69000 _ACEOF
69001 if ac_fn_cxx_try_compile "$LINENO"; then :
69002 glibcxx_cv_func__powl_use=yes
69003 else
69004 glibcxx_cv_func__powl_use=no
69005 fi
69006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69007 ac_ext=c
69008 ac_cpp='$CPP $CPPFLAGS'
69009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69012
69013
69014 fi
69015
69016 fi
69017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69018 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69019
69020 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69021 for ac_func in _powl
69022 do :
69023 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69024 if test "x$ac_cv_func__powl" = x""yes; then :
69025 cat >>confdefs.h <<_ACEOF
69026 #define HAVE__POWL 1
69027 _ACEOF
69028
69029 fi
69030 done
69031
69032 fi
69033 fi
69034
69035
69036
69037
69038
69039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69040 $as_echo_n "checking for sqrtl declaration... " >&6; }
69041 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69042 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69043 $as_echo_n "(cached) " >&6
69044 else
69045
69046
69047 ac_ext=cpp
69048 ac_cpp='$CXXCPP $CPPFLAGS'
69049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69052
69053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69054 /* end confdefs.h. */
69055 #include <math.h>
69056 #ifdef HAVE_IEEEFP_H
69057 #include <ieeefp.h>
69058 #endif
69059
69060 int
69061 main ()
69062 {
69063 sqrtl(0);
69064 ;
69065 return 0;
69066 }
69067 _ACEOF
69068 if ac_fn_cxx_try_compile "$LINENO"; then :
69069 glibcxx_cv_func_sqrtl_use=yes
69070 else
69071 glibcxx_cv_func_sqrtl_use=no
69072 fi
69073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69074 ac_ext=c
69075 ac_cpp='$CPP $CPPFLAGS'
69076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69079
69080
69081 fi
69082
69083 fi
69084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69085 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69086
69087 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69088 for ac_func in sqrtl
69089 do :
69090 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69091 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69092 cat >>confdefs.h <<_ACEOF
69093 #define HAVE_SQRTL 1
69094 _ACEOF
69095
69096 fi
69097 done
69098
69099 else
69100
69101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69102 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69103 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69104 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69105 $as_echo_n "(cached) " >&6
69106 else
69107
69108
69109 ac_ext=cpp
69110 ac_cpp='$CXXCPP $CPPFLAGS'
69111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69114
69115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69116 /* end confdefs.h. */
69117 #include <math.h>
69118 #ifdef HAVE_IEEEFP_H
69119 #include <ieeefp.h>
69120 #endif
69121
69122 int
69123 main ()
69124 {
69125 _sqrtl(0);
69126 ;
69127 return 0;
69128 }
69129 _ACEOF
69130 if ac_fn_cxx_try_compile "$LINENO"; then :
69131 glibcxx_cv_func__sqrtl_use=yes
69132 else
69133 glibcxx_cv_func__sqrtl_use=no
69134 fi
69135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69136 ac_ext=c
69137 ac_cpp='$CPP $CPPFLAGS'
69138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69141
69142
69143 fi
69144
69145 fi
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69147 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69148
69149 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69150 for ac_func in _sqrtl
69151 do :
69152 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69153 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69154 cat >>confdefs.h <<_ACEOF
69155 #define HAVE__SQRTL 1
69156 _ACEOF
69157
69158 fi
69159 done
69160
69161 fi
69162 fi
69163
69164
69165
69166
69167
69168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69169 $as_echo_n "checking for sincosl declaration... " >&6; }
69170 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69171 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69172 $as_echo_n "(cached) " >&6
69173 else
69174
69175
69176 ac_ext=cpp
69177 ac_cpp='$CXXCPP $CPPFLAGS'
69178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69181
69182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69183 /* end confdefs.h. */
69184 #include <math.h>
69185 int
69186 main ()
69187 {
69188 sincosl(0, 0, 0);
69189 ;
69190 return 0;
69191 }
69192 _ACEOF
69193 if ac_fn_cxx_try_compile "$LINENO"; then :
69194 glibcxx_cv_func_sincosl_use=yes
69195 else
69196 glibcxx_cv_func_sincosl_use=no
69197 fi
69198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69199 ac_ext=c
69200 ac_cpp='$CPP $CPPFLAGS'
69201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69204
69205
69206 fi
69207
69208 fi
69209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69210 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69211
69212 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69213 for ac_func in sincosl
69214 do :
69215 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69216 if test "x$ac_cv_func_sincosl" = x""yes; then :
69217 cat >>confdefs.h <<_ACEOF
69218 #define HAVE_SINCOSL 1
69219 _ACEOF
69220
69221 fi
69222 done
69223
69224 else
69225
69226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69227 $as_echo_n "checking for _sincosl declaration... " >&6; }
69228 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69229 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69230 $as_echo_n "(cached) " >&6
69231 else
69232
69233
69234 ac_ext=cpp
69235 ac_cpp='$CXXCPP $CPPFLAGS'
69236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69239
69240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69241 /* end confdefs.h. */
69242 #include <math.h>
69243 int
69244 main ()
69245 {
69246 _sincosl(0, 0, 0);
69247 ;
69248 return 0;
69249 }
69250 _ACEOF
69251 if ac_fn_cxx_try_compile "$LINENO"; then :
69252 glibcxx_cv_func__sincosl_use=yes
69253 else
69254 glibcxx_cv_func__sincosl_use=no
69255 fi
69256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69257 ac_ext=c
69258 ac_cpp='$CPP $CPPFLAGS'
69259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69262
69263
69264 fi
69265
69266 fi
69267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69268 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69269
69270 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69271 for ac_func in _sincosl
69272 do :
69273 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69274 if test "x$ac_cv_func__sincosl" = x""yes; then :
69275 cat >>confdefs.h <<_ACEOF
69276 #define HAVE__SINCOSL 1
69277 _ACEOF
69278
69279 fi
69280 done
69281
69282 fi
69283 fi
69284
69285
69286
69287
69288
69289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69290 $as_echo_n "checking for finitel declaration... " >&6; }
69291 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69292 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69293 $as_echo_n "(cached) " >&6
69294 else
69295
69296
69297 ac_ext=cpp
69298 ac_cpp='$CXXCPP $CPPFLAGS'
69299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69302
69303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69304 /* end confdefs.h. */
69305 #include <math.h>
69306 #ifdef HAVE_IEEEFP_H
69307 #include <ieeefp.h>
69308 #endif
69309
69310 int
69311 main ()
69312 {
69313 finitel(0);
69314 ;
69315 return 0;
69316 }
69317 _ACEOF
69318 if ac_fn_cxx_try_compile "$LINENO"; then :
69319 glibcxx_cv_func_finitel_use=yes
69320 else
69321 glibcxx_cv_func_finitel_use=no
69322 fi
69323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69324 ac_ext=c
69325 ac_cpp='$CPP $CPPFLAGS'
69326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69329
69330
69331 fi
69332
69333 fi
69334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69335 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69336
69337 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69338 for ac_func in finitel
69339 do :
69340 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69341 if test "x$ac_cv_func_finitel" = x""yes; then :
69342 cat >>confdefs.h <<_ACEOF
69343 #define HAVE_FINITEL 1
69344 _ACEOF
69345
69346 fi
69347 done
69348
69349 else
69350
69351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69352 $as_echo_n "checking for _finitel declaration... " >&6; }
69353 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69354 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69355 $as_echo_n "(cached) " >&6
69356 else
69357
69358
69359 ac_ext=cpp
69360 ac_cpp='$CXXCPP $CPPFLAGS'
69361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69364
69365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69366 /* end confdefs.h. */
69367 #include <math.h>
69368 #ifdef HAVE_IEEEFP_H
69369 #include <ieeefp.h>
69370 #endif
69371
69372 int
69373 main ()
69374 {
69375 _finitel(0);
69376 ;
69377 return 0;
69378 }
69379 _ACEOF
69380 if ac_fn_cxx_try_compile "$LINENO"; then :
69381 glibcxx_cv_func__finitel_use=yes
69382 else
69383 glibcxx_cv_func__finitel_use=no
69384 fi
69385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69386 ac_ext=c
69387 ac_cpp='$CPP $CPPFLAGS'
69388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69391
69392
69393 fi
69394
69395 fi
69396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69397 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69398
69399 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69400 for ac_func in _finitel
69401 do :
69402 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69403 if test "x$ac_cv_func__finitel" = x""yes; then :
69404 cat >>confdefs.h <<_ACEOF
69405 #define HAVE__FINITEL 1
69406 _ACEOF
69407
69408 fi
69409 done
69410
69411 fi
69412 fi
69413
69414
69415
69416
69417 LIBS="$ac_save_LIBS"
69418 CXXFLAGS="$ac_save_CXXFLAGS"
69419
69420
69421 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69422 ac_save_CXXFLAGS="$CXXFLAGS"
69423 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69424
69425
69426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69427 $as_echo_n "checking for strtold declaration... " >&6; }
69428 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69429 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69430 $as_echo_n "(cached) " >&6
69431 else
69432
69433
69434 ac_ext=cpp
69435 ac_cpp='$CXXCPP $CPPFLAGS'
69436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69439
69440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69441 /* end confdefs.h. */
69442 #include <stdlib.h>
69443 int
69444 main ()
69445 {
69446 strtold(0, 0);
69447 ;
69448 return 0;
69449 }
69450 _ACEOF
69451 if ac_fn_cxx_try_compile "$LINENO"; then :
69452 glibcxx_cv_func_strtold_use=yes
69453 else
69454 glibcxx_cv_func_strtold_use=no
69455 fi
69456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69457 ac_ext=c
69458 ac_cpp='$CPP $CPPFLAGS'
69459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69462
69463
69464 fi
69465
69466 fi
69467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69468 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69469 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69470 for ac_func in strtold
69471 do :
69472 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69473 if test "x$ac_cv_func_strtold" = x""yes; then :
69474 cat >>confdefs.h <<_ACEOF
69475 #define HAVE_STRTOLD 1
69476 _ACEOF
69477
69478 fi
69479 done
69480
69481 fi
69482
69483
69484
69485
69486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69487 $as_echo_n "checking for strtof declaration... " >&6; }
69488 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69489 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69490 $as_echo_n "(cached) " >&6
69491 else
69492
69493
69494 ac_ext=cpp
69495 ac_cpp='$CXXCPP $CPPFLAGS'
69496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69499
69500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69501 /* end confdefs.h. */
69502 #include <stdlib.h>
69503 int
69504 main ()
69505 {
69506 strtof(0, 0);
69507 ;
69508 return 0;
69509 }
69510 _ACEOF
69511 if ac_fn_cxx_try_compile "$LINENO"; then :
69512 glibcxx_cv_func_strtof_use=yes
69513 else
69514 glibcxx_cv_func_strtof_use=no
69515 fi
69516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69517 ac_ext=c
69518 ac_cpp='$CPP $CPPFLAGS'
69519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69522
69523
69524 fi
69525
69526 fi
69527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69528 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69529 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69530 for ac_func in strtof
69531 do :
69532 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69533 if test "x$ac_cv_func_strtof" = x""yes; then :
69534 cat >>confdefs.h <<_ACEOF
69535 #define HAVE_STRTOF 1
69536 _ACEOF
69537
69538 fi
69539 done
69540
69541 fi
69542
69543
69544
69545
69546 CXXFLAGS="$ac_save_CXXFLAGS"
69547
69548 ;;
69549 *-vxworks)
69550 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69551
69552 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69553
69554 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69555
69556 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69557
69558 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69559
69560 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69561
69562 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69563
69564 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69565
69566 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69567
69568 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69569
69570 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69571
69572 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69573
69574 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69575
69576 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69577
69578 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69579
69580 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69581
69582 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69583
69584 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69585
69586 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69587
69588 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69589
69590 ;;
69591 *)
69592 as_fn_error "No support for this host/target combination." "$LINENO" 5
69593 ;;
69594 esac
69595
69596 fi
69597
69598 # At some point, we should differentiate between architectures
69599 # like x86, which have long double versions, and alpha/powerpc/etc.,
69600 # which don't. For the time being, punt.
69601 if test x"long_double_math_on_this_cpu" = x"yes"; then
69602 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69603
69604 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69605
69606 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69607
69608 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69609
69610 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69611
69612 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69613
69614 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69615
69616 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69617
69618 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69619
69620 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69621
69622 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69623
69624 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69625
69626 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69627
69628 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69629
69630 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69631
69632 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69633
69634 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69635
69636 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69637
69638 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69639
69640 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69641
69642 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69643
69644 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69645
69646 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69647
69648 fi
69649 fi
69650
69651 # Check for _Unwind_GetIPInfo.
69652
69653
69654 # Check whether --with-system-libunwind was given.
69655 if test "${with_system_libunwind+set}" = set; then :
69656 withval=$with_system_libunwind;
69657 fi
69658
69659 # If system-libunwind was not specifically set, pick a default setting.
69660 if test x$with_system_libunwind = x; then
69661 case ${target} in
69662 ia64-*-hpux*) with_system_libunwind=yes ;;
69663 *) with_system_libunwind=no ;;
69664 esac
69665 fi
69666 # Based on system-libunwind and target, do we have ipinfo?
69667 if test x$with_system_libunwind = xyes; then
69668 case ${target} in
69669 ia64-*-*) have_unwind_getipinfo=no ;;
69670 *) have_unwind_getipinfo=yes ;;
69671 esac
69672 else
69673 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69674
69675 case ${target} in
69676 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69677 *) have_unwind_getipinfo=yes ;;
69678 esac
69679
69680 fi
69681
69682 if test x$have_unwind_getipinfo = xyes; then
69683
69684 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69685
69686 fi
69687
69688
69689 # Check whether --enable-linux-futex was given.
69690 if test "${enable_linux_futex+set}" = set; then :
69691 enableval=$enable_linux_futex;
69692 case "$enableval" in
69693 yes|no|default) ;;
69694 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69695 esac
69696
69697 else
69698 enable_linux_futex=default
69699 fi
69700
69701
69702 case "$target" in
69703 *-linux*)
69704 case "$enable_linux_futex" in
69705 default)
69706 # If headers don't have gettid/futex syscalls definition, then
69707 # default to no, otherwise there will be compile time failures.
69708 # Otherwise, default to yes. If we don't detect we are
69709 # compiled/linked against NPTL and not cross-compiling, check
69710 # if programs are run by default against NPTL and if not, issue
69711 # a warning.
69712 enable_linux_futex=no
69713 if test x$gcc_no_link = xyes; then
69714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69715 fi
69716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69717 /* end confdefs.h. */
69718 #include <sys/syscall.h>
69719 int lk;
69720 int
69721 main ()
69722 {
69723 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69724 ;
69725 return 0;
69726 }
69727 _ACEOF
69728 if ac_fn_c_try_link "$LINENO"; then :
69729 save_LIBS="$LIBS"
69730 LIBS="-lpthread $LIBS"
69731 if test x$gcc_no_link = xyes; then
69732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69733 fi
69734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69735 /* end confdefs.h. */
69736 #ifndef _GNU_SOURCE
69737 #define _GNU_SOURCE 1
69738 #endif
69739 #include <pthread.h>
69740 pthread_t th; void *status;
69741 int
69742 main ()
69743 {
69744 pthread_tryjoin_np (th, &status);
69745 ;
69746 return 0;
69747 }
69748 _ACEOF
69749 if ac_fn_c_try_link "$LINENO"; then :
69750 enable_linux_futex=yes
69751 else
69752 if test x$cross_compiling = xno; then
69753 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69754 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69756 If so, please configure with --disable-linux-futex" >&5
69757 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69758 If so, please configure with --disable-linux-futex" >&2;}
69759 fi
69760 fi
69761 enable_linux_futex=yes
69762 fi
69763 rm -f core conftest.err conftest.$ac_objext \
69764 conftest$ac_exeext conftest.$ac_ext
69765 LIBS="$save_LIBS"
69766 fi
69767 rm -f core conftest.err conftest.$ac_objext \
69768 conftest$ac_exeext conftest.$ac_ext
69769 ;;
69770 yes)
69771 if test x$gcc_no_link = xyes; then
69772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69773 fi
69774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69775 /* end confdefs.h. */
69776 #include <sys/syscall.h>
69777 int lk;
69778 int
69779 main ()
69780 {
69781 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69782 ;
69783 return 0;
69784 }
69785 _ACEOF
69786 if ac_fn_c_try_link "$LINENO"; then :
69787
69788 else
69789 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69790 fi
69791 rm -f core conftest.err conftest.$ac_objext \
69792 conftest$ac_exeext conftest.$ac_ext
69793 ;;
69794 esac
69795 ;;
69796 *)
69797 enable_linux_futex=no
69798 ;;
69799 esac
69800 if test x$enable_linux_futex = xyes; then
69801
69802 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69803
69804 fi
69805
69806
69807
69808
69809 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69810
69811 acx_cv_header_stdint=stddef.h
69812 acx_cv_header_stdint_kind="(already complete)"
69813 for i in stdint.h $inttype_headers; do
69814 unset ac_cv_type_uintptr_t
69815 unset ac_cv_type_uintmax_t
69816 unset ac_cv_type_int_least32_t
69817 unset ac_cv_type_int_fast32_t
69818 unset ac_cv_type_uint64_t
69819 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69820 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69821 #include <$i>
69822 "
69823 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69824 acx_cv_header_stdint=$i
69825 else
69826 continue
69827 fi
69828
69829 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69830 #include <$i>
69831 "
69832 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69833
69834 else
69835 acx_cv_header_stdint_kind="(mostly complete)"
69836 fi
69837
69838 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69839 #include <$i>
69840 "
69841 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69842
69843 else
69844 acx_cv_header_stdint_kind="(mostly complete)"
69845 fi
69846
69847 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69848 #include <$i>
69849 "
69850 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69851
69852 else
69853 acx_cv_header_stdint_kind="(mostly complete)"
69854 fi
69855
69856 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69857 #include <$i>
69858 "
69859 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69860
69861 else
69862 acx_cv_header_stdint_kind="(lacks uint64_t)"
69863 fi
69864
69865 break
69866 done
69867 if test "$acx_cv_header_stdint" = stddef.h; then
69868 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69869 for i in stdint.h $inttype_headers; do
69870 unset ac_cv_type_uintptr_t
69871 unset ac_cv_type_uint32_t
69872 unset ac_cv_type_uint64_t
69873 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69874 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69875 #include <$i>
69876 "
69877 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69878 acx_cv_header_stdint=$i
69879 else
69880 continue
69881 fi
69882
69883 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69884 #include <$i>
69885 "
69886 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69887
69888 fi
69889
69890 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69891 #include <$i>
69892 "
69893 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69894
69895 fi
69896
69897 break
69898 done
69899 fi
69900 if test "$acx_cv_header_stdint" = stddef.h; then
69901 acx_cv_header_stdint_kind="(u_intXX_t style)"
69902 for i in sys/types.h $inttype_headers; do
69903 unset ac_cv_type_u_int32_t
69904 unset ac_cv_type_u_int64_t
69905 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69906 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69907 #include <$i>
69908 "
69909 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69910 acx_cv_header_stdint=$i
69911 else
69912 continue
69913 fi
69914
69915 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69916 #include <$i>
69917 "
69918 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69919
69920 fi
69921
69922 break
69923 done
69924 fi
69925 if test "$acx_cv_header_stdint" = stddef.h; then
69926 acx_cv_header_stdint_kind="(using manual detection)"
69927 fi
69928
69929 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69930 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69931 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69932 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69933 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69934
69935 # ----------------- Summarize what we found so far
69936
69937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69938 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69939
69940 case `$as_basename -- include/gstdint.h ||
69941 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69942 Xinclude/gstdint.h : 'X\(//\)$' \| \
69943 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69944 $as_echo X/include/gstdint.h |
69945 sed '/^.*\/\([^/][^/]*\)\/*$/{
69946 s//\1/
69947 q
69948 }
69949 /^X\/\(\/\/\)$/{
69950 s//\1/
69951 q
69952 }
69953 /^X\/\(\/\).*/{
69954 s//\1/
69955 q
69956 }
69957 s/.*/./; q'` in
69958 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69959 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69960 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69961 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69962 *) ;;
69963 esac
69964
69965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69966 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69967
69968 # ----------------- done included file, check C basic types --------
69969
69970 # Lacking an uintptr_t? Test size of void *
69971 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69972 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69975 # This bug is HP SR number 8606223364.
69976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69977 $as_echo_n "checking size of void *... " >&6; }
69978 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69979 $as_echo_n "(cached) " >&6
69980 else
69981 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69982
69983 else
69984 if test "$ac_cv_type_void_p" = yes; then
69985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69987 { as_fn_set_status 77
69988 as_fn_error "cannot compute sizeof (void *)
69989 See \`config.log' for more details." "$LINENO" 5; }; }
69990 else
69991 ac_cv_sizeof_void_p=0
69992 fi
69993 fi
69994
69995 fi
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69997 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69998
69999
70000
70001 cat >>confdefs.h <<_ACEOF
70002 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
70003 _ACEOF
70004
70005 ;;
70006 esac
70007
70008 # Lacking an uint64_t? Test size of long
70009 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
70010 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
70011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70013 # This bug is HP SR number 8606223364.
70014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70015 $as_echo_n "checking size of long... " >&6; }
70016 if test "${ac_cv_sizeof_long+set}" = set; then :
70017 $as_echo_n "(cached) " >&6
70018 else
70019 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70020
70021 else
70022 if test "$ac_cv_type_long" = yes; then
70023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70025 { as_fn_set_status 77
70026 as_fn_error "cannot compute sizeof (long)
70027 See \`config.log' for more details." "$LINENO" 5; }; }
70028 else
70029 ac_cv_sizeof_long=0
70030 fi
70031 fi
70032
70033 fi
70034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70035 $as_echo "$ac_cv_sizeof_long" >&6; }
70036
70037
70038
70039 cat >>confdefs.h <<_ACEOF
70040 #define SIZEOF_LONG $ac_cv_sizeof_long
70041 _ACEOF
70042
70043 ;;
70044 esac
70045
70046 if test $acx_cv_header_stdint = stddef.h; then
70047 # Lacking a good header? Test size of everything and deduce all types.
70048 # The cast to long int works around a bug in the HP C Compiler
70049 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70050 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70051 # This bug is HP SR number 8606223364.
70052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70053 $as_echo_n "checking size of int... " >&6; }
70054 if test "${ac_cv_sizeof_int+set}" = set; then :
70055 $as_echo_n "(cached) " >&6
70056 else
70057 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70058
70059 else
70060 if test "$ac_cv_type_int" = yes; then
70061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70063 { as_fn_set_status 77
70064 as_fn_error "cannot compute sizeof (int)
70065 See \`config.log' for more details." "$LINENO" 5; }; }
70066 else
70067 ac_cv_sizeof_int=0
70068 fi
70069 fi
70070
70071 fi
70072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70073 $as_echo "$ac_cv_sizeof_int" >&6; }
70074
70075
70076
70077 cat >>confdefs.h <<_ACEOF
70078 #define SIZEOF_INT $ac_cv_sizeof_int
70079 _ACEOF
70080
70081
70082 # The cast to long int works around a bug in the HP C Compiler
70083 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70084 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70085 # This bug is HP SR number 8606223364.
70086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70087 $as_echo_n "checking size of short... " >&6; }
70088 if test "${ac_cv_sizeof_short+set}" = set; then :
70089 $as_echo_n "(cached) " >&6
70090 else
70091 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70092
70093 else
70094 if test "$ac_cv_type_short" = yes; then
70095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70097 { as_fn_set_status 77
70098 as_fn_error "cannot compute sizeof (short)
70099 See \`config.log' for more details." "$LINENO" 5; }; }
70100 else
70101 ac_cv_sizeof_short=0
70102 fi
70103 fi
70104
70105 fi
70106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70107 $as_echo "$ac_cv_sizeof_short" >&6; }
70108
70109
70110
70111 cat >>confdefs.h <<_ACEOF
70112 #define SIZEOF_SHORT $ac_cv_sizeof_short
70113 _ACEOF
70114
70115
70116 # The cast to long int works around a bug in the HP C Compiler
70117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70119 # This bug is HP SR number 8606223364.
70120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70121 $as_echo_n "checking size of char... " >&6; }
70122 if test "${ac_cv_sizeof_char+set}" = set; then :
70123 $as_echo_n "(cached) " >&6
70124 else
70125 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70126
70127 else
70128 if test "$ac_cv_type_char" = yes; then
70129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70131 { as_fn_set_status 77
70132 as_fn_error "cannot compute sizeof (char)
70133 See \`config.log' for more details." "$LINENO" 5; }; }
70134 else
70135 ac_cv_sizeof_char=0
70136 fi
70137 fi
70138
70139 fi
70140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70141 $as_echo "$ac_cv_sizeof_char" >&6; }
70142
70143
70144
70145 cat >>confdefs.h <<_ACEOF
70146 #define SIZEOF_CHAR $ac_cv_sizeof_char
70147 _ACEOF
70148
70149
70150
70151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70152 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70153 case "$ac_cv_sizeof_char" in
70154 1) acx_cv_type_int8_t=char ;;
70155 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70156 esac
70157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70158 $as_echo "$acx_cv_type_int8_t" >&6; }
70159
70160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70161 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70162 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70163 2:*) acx_cv_type_int16_t=int ;;
70164 *:2) acx_cv_type_int16_t=short ;;
70165 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70166 esac
70167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70168 $as_echo "$acx_cv_type_int16_t" >&6; }
70169
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70171 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70172 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70173 4:*) acx_cv_type_int32_t=int ;;
70174 *:4) acx_cv_type_int32_t=long ;;
70175 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70176 esac
70177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70178 $as_echo "$acx_cv_type_int32_t" >&6; }
70179 fi
70180
70181 # These tests are here to make the output prettier
70182
70183 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70184 case "$ac_cv_sizeof_long" in
70185 8) acx_cv_type_int64_t=long ;;
70186 esac
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70188 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70190 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70191 fi
70192
70193 # Now we can use the above types
70194
70195 if test "$ac_cv_type_uintptr_t" != yes; then
70196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70197 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70198 case $ac_cv_sizeof_void_p in
70199 2) acx_cv_type_intptr_t=int16_t ;;
70200 4) acx_cv_type_intptr_t=int32_t ;;
70201 8) acx_cv_type_intptr_t=int64_t ;;
70202 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70203 esac
70204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70205 $as_echo "$acx_cv_type_intptr_t" >&6; }
70206 fi
70207
70208 # ----------------- done all checks, emit header -------------
70209 ac_config_commands="$ac_config_commands include/gstdint.h"
70210
70211
70212
70213
70214
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70216 $as_echo_n "checking for GNU c++filt... " >&6; }
70217 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70218 $as_echo_n "(cached) " >&6
70219 else
70220 if test -z "$CXXFILT"; then
70221 ac_path_CXXFILT_found=false
70222 # Loop through the user's path and test for each of PROGNAME-LIST
70223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70224 for as_dir in $PATH
70225 do
70226 IFS=$as_save_IFS
70227 test -z "$as_dir" && as_dir=.
70228 for ac_prog in c++filt gc++filt; do
70229 for ac_exec_ext in '' $ac_executable_extensions; do
70230 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70231 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70232 # Check for GNU $ac_path_CXXFILT
70233 case `"$ac_path_CXXFILT" --version 2>&1` in
70234 *GNU*)
70235 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70236 esac
70237
70238 $ac_path_CXXFILT_found && break 3
70239 done
70240 done
70241 done
70242 IFS=$as_save_IFS
70243 if test -z "$ac_cv_path_CXXFILT"; then
70244 :
70245 fi
70246 else
70247 ac_cv_path_CXXFILT=$CXXFILT
70248 fi
70249
70250 fi
70251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70252 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70253 CXXFILT=$ac_cv_path_CXXFILT
70254
70255
70256
70257 # Check whether --enable-symvers was given.
70258 if test "${enable_symvers+set}" = set; then :
70259 enableval=$enable_symvers;
70260 case "$enableval" in
70261 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70262 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70263 esac
70264
70265 else
70266 enable_symvers=yes
70267 fi
70268
70269
70270
70271 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70272 # don't know enough about $LD to do tricks...
70273
70274 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70275 # with extern "C++" in version scripts.
70276
70277
70278 # Turn a 'yes' into a suitable default.
70279 if test x$enable_symvers = xyes ; then
70280 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70281 enable_symvers=no
70282 else
70283 if test $with_gnu_ld = yes ; then
70284 case ${target_os} in
70285 hpux*)
70286 enable_symvers=no ;;
70287 *)
70288 enable_symvers=gnu ;;
70289 esac
70290 else
70291 case ${target_os} in
70292 darwin*)
70293 enable_symvers=darwin ;;
70294 # Sun symbol versioning exists since Solaris 2.5.
70295 solaris2.[5-9]* | solaris2.1[0-9]*)
70296 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70297 # version scripts, so disable symbol versioning if none can be
70298 # found.
70299 if test -z "$ac_cv_path_CXXFILT"; then
70300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70301 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70303 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70305 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70306 enable_symvers=no
70307 else
70308 enable_symvers=sun
70309 fi
70310 ;;
70311 *)
70312 enable_symvers=no ;;
70313 esac
70314 fi
70315 fi
70316 fi
70317
70318 # Check to see if 'darwin' or 'darwin-export' can win.
70319 if test x$enable_symvers = xdarwin-export ; then
70320 enable_symvers=darwin
70321 fi
70322
70323 # Check if 'sun' was requested on non-Solaris 2 platforms.
70324 if test x$enable_symvers = xsun ; then
70325 case ${target_os} in
70326 solaris2*)
70327 # All fine.
70328 ;;
70329 *)
70330 # Unlikely to work.
70331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70332 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70334 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70336 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70337 enable_symvers=no
70338 ;;
70339 esac
70340 fi
70341
70342 # Check to see if 'gnu' can win.
70343 if test $enable_symvers = gnu ||
70344 test $enable_symvers = gnu-versioned-namespace ||
70345 test $enable_symvers = sun; then
70346 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70348 $as_echo_n "checking for shared libgcc... " >&6; }
70349 ac_save_CFLAGS="$CFLAGS"
70350 CFLAGS=' -lgcc_s'
70351 if test x$gcc_no_link = xyes; then
70352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70353 fi
70354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70355 /* end confdefs.h. */
70356
70357 int
70358 main ()
70359 {
70360 return 0;
70361 ;
70362 return 0;
70363 }
70364 _ACEOF
70365 if ac_fn_c_try_link "$LINENO"; then :
70366 glibcxx_shared_libgcc=yes
70367 else
70368 glibcxx_shared_libgcc=no
70369 fi
70370 rm -f core conftest.err conftest.$ac_objext \
70371 conftest$ac_exeext conftest.$ac_ext
70372 CFLAGS="$ac_save_CFLAGS"
70373 if test $glibcxx_shared_libgcc = no; then
70374 cat > conftest.c <<EOF
70375 int main (void) { return 0; }
70376 EOF
70377 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70378 -shared -shared-libgcc -o conftest.so \
70379 conftest.c -v 2>&1 >/dev/null \
70380 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70381 rm -f conftest.c conftest.so
70382 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70383 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70384 if test x$gcc_no_link = xyes; then
70385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70386 fi
70387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70388 /* end confdefs.h. */
70389
70390 int
70391 main ()
70392 {
70393 return 0;
70394 ;
70395 return 0;
70396 }
70397 _ACEOF
70398 if ac_fn_c_try_link "$LINENO"; then :
70399 glibcxx_shared_libgcc=yes
70400 fi
70401 rm -f core conftest.err conftest.$ac_objext \
70402 conftest$ac_exeext conftest.$ac_ext
70403 CFLAGS="$ac_save_CFLAGS"
70404 fi
70405 fi
70406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70407 $as_echo "$glibcxx_shared_libgcc" >&6; }
70408
70409 # For GNU ld, we need at least this version. The format is described in
70410 # GLIBCXX_CHECK_LINKER_FEATURES above.
70411 glibcxx_min_gnu_ld_version=21400
70412
70413 # If no shared libgcc, can't win.
70414 if test $glibcxx_shared_libgcc != yes; then
70415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70416 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70418 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70420 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70421 enable_symvers=no
70422 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70423 : All interesting versions of Sun ld support sun style symbol versioning.
70424 elif test $with_gnu_ld != yes ; then
70425 # just fail for now
70426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70427 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70429 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70431 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70432 enable_symvers=no
70433 elif test $glibcxx_ld_is_gold = yes ; then
70434 : All versions of gold support symbol versioning.
70435 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70436 # The right tools, the right setup, but too old. Fallbacks?
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70438 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70440 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70442 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70444 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70446 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70447 enable_symvers=no
70448 fi
70449 fi
70450
70451 # For libtool versioning info, format is CURRENT:REVISION:AGE
70452 libtool_VERSION=6:17:0
70453
70454 # Everything parsed; figure out what files and settings to use.
70455 case $enable_symvers in
70456 no)
70457 SYMVER_FILE=config/abi/pre/none.ver
70458 ;;
70459 gnu)
70460 SYMVER_FILE=config/abi/pre/gnu.ver
70461
70462 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70463
70464 ;;
70465 gnu-versioned-namespace)
70466 libtool_VERSION=7:0:0
70467 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70468
70469 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70470
70471 ;;
70472 darwin)
70473 SYMVER_FILE=config/abi/pre/gnu.ver
70474
70475 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70476
70477 ;;
70478 sun)
70479 SYMVER_FILE=config/abi/pre/gnu.ver
70480
70481 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70482
70483 ;;
70484 esac
70485
70486 if test x$enable_symvers != xno ; then
70487
70488 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70489
70490 fi
70491
70492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70493 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70494 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70495 $as_echo_n "(cached) " >&6
70496 else
70497
70498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70499 /* end confdefs.h. */
70500 void foo (void); __asm (".symver foo, bar@SYMVER");
70501 int
70502 main ()
70503 {
70504
70505 ;
70506 return 0;
70507 }
70508 _ACEOF
70509 if ac_fn_c_try_compile "$LINENO"; then :
70510 glibcxx_cv_have_as_symver_directive=yes
70511 else
70512 glibcxx_cv_have_as_symver_directive=no
70513 fi
70514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70515 fi
70516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70517 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70518 if test $glibcxx_cv_have_as_symver_directive = yes; then
70519
70520 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70521
70522 fi
70523
70524
70525
70526
70527
70528
70529
70530
70531 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70532 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70533
70534 if test $enable_symvers != no ; then
70535 case ${target_os} in
70536 # The Solaris 2 runtime linker doesn't support the GNU extension of
70537 # binding the same symbol to different versions
70538 solaris2*)
70539 ;;
70540 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70541 *)
70542
70543 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70544
70545 ;;
70546 esac
70547 fi
70548
70549 # Now, set up compatibility support, if any.
70550 # In addition, need this to deal with std::size_t mangling in
70551 # src/compatibility.cc. In a perfect world, could use
70552 # typeid(std::size_t).name()[0] to do direct substitution.
70553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70554 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70555 ac_save_CFLAGS="$CFLAGS"
70556 CFLAGS="-Werror"
70557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70558 /* end confdefs.h. */
70559
70560 int
70561 main ()
70562 {
70563 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70564 ;
70565 return 0;
70566 }
70567 _ACEOF
70568 if ac_fn_c_try_compile "$LINENO"; then :
70569 glibcxx_size_t_is_i=yes
70570 else
70571 glibcxx_size_t_is_i=no
70572 fi
70573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70574 CFLAGS=$ac_save_CFLAGS
70575 if test "$glibcxx_size_t_is_i" = yes; then
70576
70577 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70578
70579 fi
70580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70581 $as_echo "$glibcxx_size_t_is_i" >&6; }
70582
70583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70584 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70585 ac_save_CFLAGS="$CFLAGS"
70586 CFLAGS="-Werror"
70587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70588 /* end confdefs.h. */
70589
70590 int
70591 main ()
70592 {
70593 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70594 ;
70595 return 0;
70596 }
70597 _ACEOF
70598 if ac_fn_c_try_compile "$LINENO"; then :
70599 glibcxx_ptrdiff_t_is_i=yes
70600 else
70601 glibcxx_ptrdiff_t_is_i=no
70602 fi
70603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70604 CFLAGS=$ac_save_CFLAGS
70605 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70606
70607 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70608
70609 fi
70610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70611 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70612
70613
70614
70615
70616 # Check whether --enable-libstdcxx-visibility was given.
70617 if test "${enable_libstdcxx_visibility+set}" = set; then :
70618 enableval=$enable_libstdcxx_visibility;
70619 case "$enableval" in
70620 yes|no) ;;
70621 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70622 esac
70623
70624 else
70625 enable_libstdcxx_visibility=yes
70626 fi
70627
70628
70629
70630 if test x$enable_libstdcxx_visibility = xyes ; then
70631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70632 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70633 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70634 $as_echo_n "(cached) " >&6
70635 else
70636
70637 save_CFLAGS="$CFLAGS"
70638 CFLAGS="$CFLAGS -Werror"
70639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70640 /* end confdefs.h. */
70641 void __attribute__((visibility("hidden"))) foo(void) { }
70642 int
70643 main ()
70644 {
70645
70646 ;
70647 return 0;
70648 }
70649 _ACEOF
70650 if ac_fn_c_try_compile "$LINENO"; then :
70651 glibcxx_cv_have_attribute_visibility=yes
70652 else
70653 glibcxx_cv_have_attribute_visibility=no
70654 fi
70655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70656 CFLAGS="$save_CFLAGS"
70657 fi
70658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70659 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70660 if test $glibcxx_cv_have_attribute_visibility = no; then
70661 enable_libstdcxx_visibility=no
70662 fi
70663 fi
70664
70665
70666 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70667 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70668
70669
70670 ac_ldbl_compat=no
70671 case "$target" in
70672 powerpc*-*-linux* | \
70673 sparc*-*-linux* | \
70674 s390*-*-linux* | \
70675 alpha*-*-linux*)
70676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70677 /* end confdefs.h. */
70678
70679 int
70680 main ()
70681 {
70682
70683 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70684 #error no need for long double compatibility
70685 #endif
70686
70687 ;
70688 return 0;
70689 }
70690 _ACEOF
70691 if ac_fn_c_try_compile "$LINENO"; then :
70692 ac_ldbl_compat=yes
70693 else
70694 ac_ldbl_compat=no
70695 fi
70696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70697 if test "$ac_ldbl_compat" = yes; then
70698
70699 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70700
70701 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70702 fi
70703 esac
70704
70705
70706 # Check if assembler supports disabling hardware capability support.
70707
70708 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70709
70710 ac_save_CFLAGS="$CFLAGS"
70711 CFLAGS="$CFLAGS -Wa,-nH"
70712
70713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70714 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70717
70718 int
70719 main ()
70720 {
70721 return 0;
70722 ;
70723 return 0;
70724 }
70725 _ACEOF
70726 if ac_fn_c_try_compile "$LINENO"; then :
70727 ac_hwcap_flags=yes
70728 else
70729 ac_hwcap_flags=no
70730 fi
70731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70732 if test "$ac_hwcap_flags" = "yes"; then
70733 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70734 fi
70735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70736 $as_echo "$ac_hwcap_flags" >&6; }
70737
70738 CFLAGS="$ac_save_CFLAGS"
70739
70740
70741
70742
70743 # Check if assembler supports rdrand opcode.
70744
70745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70746 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70747 if test "${ac_cv_x86_rdrand+set}" = set; then :
70748 $as_echo_n "(cached) " >&6
70749 else
70750
70751 ac_cv_x86_rdrand=no
70752 case "$target" in
70753 i?86-*-* | \
70754 x86_64-*-*)
70755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70756 /* end confdefs.h. */
70757
70758 int
70759 main ()
70760 {
70761 asm("rdrand %eax");
70762 ;
70763 return 0;
70764 }
70765 _ACEOF
70766 if ac_fn_c_try_compile "$LINENO"; then :
70767 ac_cv_x86_rdrand=yes
70768 else
70769 ac_cv_x86_rdrand=no
70770 fi
70771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70772 esac
70773
70774 fi
70775
70776 if test $ac_cv_x86_rdrand = yes; then
70777
70778 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70779
70780 fi
70781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70782 $as_echo "$ac_cv_x86_rdrand" >&6; }
70783
70784
70785 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70786
70787 if $GLIBCXX_IS_NATIVE ; then
70788 # Do checks for resource limit functions.
70789
70790 setrlimit_have_headers=yes
70791 for ac_header in unistd.h sys/time.h sys/resource.h
70792 do :
70793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70794 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70795 eval as_val=\$$as_ac_Header
70796 if test "x$as_val" = x""yes; then :
70797 cat >>confdefs.h <<_ACEOF
70798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70799 _ACEOF
70800
70801 else
70802 setrlimit_have_headers=no
70803 fi
70804
70805 done
70806
70807 # If don't have the headers, then we can't run the tests now, and we
70808 # won't be seeing any of these during testsuite compilation.
70809 if test $setrlimit_have_headers = yes; then
70810 # Can't do these in a loop, else the resulting syntax is wrong.
70811
70812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70813 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70815 /* end confdefs.h. */
70816 #include <unistd.h>
70817 #include <sys/time.h>
70818 #include <sys/resource.h>
70819
70820 int
70821 main ()
70822 {
70823 int f = RLIMIT_DATA ;
70824 ;
70825 return 0;
70826 }
70827 _ACEOF
70828 if ac_fn_c_try_compile "$LINENO"; then :
70829 glibcxx_mresult=1
70830 else
70831 glibcxx_mresult=0
70832 fi
70833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70834
70835 cat >>confdefs.h <<_ACEOF
70836 #define HAVE_LIMIT_DATA $glibcxx_mresult
70837 _ACEOF
70838
70839 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70841 $as_echo "$res" >&6; }
70842
70843
70844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70845 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70847 /* end confdefs.h. */
70848 #include <unistd.h>
70849 #include <sys/time.h>
70850 #include <sys/resource.h>
70851
70852 int
70853 main ()
70854 {
70855 int f = RLIMIT_RSS ;
70856 ;
70857 return 0;
70858 }
70859 _ACEOF
70860 if ac_fn_c_try_compile "$LINENO"; then :
70861 glibcxx_mresult=1
70862 else
70863 glibcxx_mresult=0
70864 fi
70865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70866
70867 cat >>confdefs.h <<_ACEOF
70868 #define HAVE_LIMIT_RSS $glibcxx_mresult
70869 _ACEOF
70870
70871 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70873 $as_echo "$res" >&6; }
70874
70875
70876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70877 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70879 /* end confdefs.h. */
70880 #include <unistd.h>
70881 #include <sys/time.h>
70882 #include <sys/resource.h>
70883
70884 int
70885 main ()
70886 {
70887 int f = RLIMIT_VMEM ;
70888 ;
70889 return 0;
70890 }
70891 _ACEOF
70892 if ac_fn_c_try_compile "$LINENO"; then :
70893 glibcxx_mresult=1
70894 else
70895 glibcxx_mresult=0
70896 fi
70897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70898
70899 cat >>confdefs.h <<_ACEOF
70900 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70901 _ACEOF
70902
70903 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70905 $as_echo "$res" >&6; }
70906
70907
70908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70909 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70911 /* end confdefs.h. */
70912 #include <unistd.h>
70913 #include <sys/time.h>
70914 #include <sys/resource.h>
70915
70916 int
70917 main ()
70918 {
70919 int f = RLIMIT_AS ;
70920 ;
70921 return 0;
70922 }
70923 _ACEOF
70924 if ac_fn_c_try_compile "$LINENO"; then :
70925 glibcxx_mresult=1
70926 else
70927 glibcxx_mresult=0
70928 fi
70929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70930
70931 cat >>confdefs.h <<_ACEOF
70932 #define HAVE_LIMIT_AS $glibcxx_mresult
70933 _ACEOF
70934
70935 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70937 $as_echo "$res" >&6; }
70938
70939
70940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70941 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70943 /* end confdefs.h. */
70944 #include <unistd.h>
70945 #include <sys/time.h>
70946 #include <sys/resource.h>
70947
70948 int
70949 main ()
70950 {
70951 int f = RLIMIT_FSIZE ;
70952 ;
70953 return 0;
70954 }
70955 _ACEOF
70956 if ac_fn_c_try_compile "$LINENO"; then :
70957 glibcxx_mresult=1
70958 else
70959 glibcxx_mresult=0
70960 fi
70961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70962
70963 cat >>confdefs.h <<_ACEOF
70964 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70965 _ACEOF
70966
70967 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70969 $as_echo "$res" >&6; }
70970
70971
70972 # Check for rlimit, setrlimit.
70973 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70974 $as_echo_n "(cached) " >&6
70975 else
70976
70977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70978 /* end confdefs.h. */
70979 #include <unistd.h>
70980 #include <sys/time.h>
70981 #include <sys/resource.h>
70982
70983 int
70984 main ()
70985 {
70986 struct rlimit r;
70987 setrlimit(0, &r);
70988 ;
70989 return 0;
70990 }
70991 _ACEOF
70992 if ac_fn_c_try_compile "$LINENO"; then :
70993 glibcxx_cv_setrlimit=yes
70994 else
70995 glibcxx_cv_setrlimit=no
70996 fi
70997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70998
70999 fi
71000
71001 fi
71002
71003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
71004 $as_echo_n "checking for testsuite resource limits support... " >&6; }
71005 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
71006 ac_res_limits=yes
71007
71008 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
71009
71010 else
71011 ac_res_limits=no
71012 fi
71013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
71014 $as_echo "$ac_res_limits" >&6; }
71015
71016
71017 # Look for setenv, so that extended locale tests can be performed.
71018
71019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71020 $as_echo_n "checking for setenv declaration... " >&6; }
71021 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71022 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71023 $as_echo_n "(cached) " >&6
71024 else
71025
71026
71027 ac_ext=cpp
71028 ac_cpp='$CXXCPP $CPPFLAGS'
71029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71032
71033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71034 /* end confdefs.h. */
71035 #include <stdlib.h>
71036 int
71037 main ()
71038 {
71039 setenv(0, 0, 0);
71040 ;
71041 return 0;
71042 }
71043 _ACEOF
71044 if ac_fn_cxx_try_compile "$LINENO"; then :
71045 glibcxx_cv_func_setenv_use=yes
71046 else
71047 glibcxx_cv_func_setenv_use=no
71048 fi
71049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71050 ac_ext=c
71051 ac_cpp='$CPP $CPPFLAGS'
71052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71055
71056
71057 fi
71058
71059 fi
71060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71061 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71062 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71063 for ac_func in setenv
71064 do :
71065 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71066 if test "x$ac_cv_func_setenv" = x""yes; then :
71067 cat >>confdefs.h <<_ACEOF
71068 #define HAVE_SETENV 1
71069 _ACEOF
71070
71071 fi
71072 done
71073
71074 fi
71075
71076 fi
71077
71078 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71079 test $enable_symvers != no; then
71080 case "$host" in
71081 *-*-cygwin*)
71082 enable_abi_check=no ;;
71083 *)
71084 enable_abi_check=yes ;;
71085 esac
71086 else
71087 # Only build this as native, since automake does not understand
71088 # CXX_FOR_BUILD.
71089 enable_abi_check=no
71090 fi
71091
71092 # Export file names for ABI checking.
71093 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71094
71095 baseline_subdir_switch="$abi_baseline_subdir_switch"
71096
71097
71098
71099 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71100
71101 # Check whether --enable-libstdcxx-threads was given.
71102 if test "${enable_libstdcxx_threads+set}" = set; then :
71103 enableval=$enable_libstdcxx_threads;
71104 case "$enableval" in
71105 yes|no) ;;
71106 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71107 esac
71108
71109 else
71110 enable_libstdcxx_threads=auto
71111 fi
71112
71113
71114
71115 if test x$enable_libstdcxx_threads = xauto ||
71116 test x$enable_libstdcxx_threads = xyes; then
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
71126 ac_save_CXXFLAGS="$CXXFLAGS"
71127 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71128 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71129
71130 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71131 case $target_thread_file in
71132 posix)
71133 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71134 esac
71135
71136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71137 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71138
71139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71140 /* end confdefs.h. */
71141 #include <unistd.h>
71142 int
71143 main ()
71144 {
71145
71146 // In case of POSIX threads check _POSIX_TIMEOUTS.
71147 #if (defined(_PTHREADS) \
71148 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71149 #error
71150 #endif
71151
71152 ;
71153 return 0;
71154 }
71155 _ACEOF
71156 if ac_fn_cxx_try_compile "$LINENO"; then :
71157 ac_gthread_use_mutex_timedlock=1
71158 else
71159 ac_gthread_use_mutex_timedlock=0
71160 fi
71161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71162
71163
71164 cat >>confdefs.h <<_ACEOF
71165 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71166 _ACEOF
71167
71168
71169 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71170 else res_mutex_timedlock=no ; fi
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71172 $as_echo "$res_mutex_timedlock" >&6; }
71173
71174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71175 $as_echo_n "checking for gthreads library... " >&6; }
71176
71177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71178 /* end confdefs.h. */
71179 #include "gthr.h"
71180 int
71181 main ()
71182 {
71183
71184 #ifndef __GTHREADS_CXX0X
71185 #error
71186 #endif
71187
71188 ;
71189 return 0;
71190 }
71191 _ACEOF
71192 if ac_fn_cxx_try_compile "$LINENO"; then :
71193 case $target_os in
71194 # gthreads support breaks symbol versioning on Solaris 9 (PR
71195 # libstdc++/52189).
71196 solaris2.9*)
71197 if test x$enable_symvers = xno; then
71198 ac_has_gthreads=yes
71199 elif test x$enable_libstdcxx_threads = xyes; then
71200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71201 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71203 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71204 ac_has_gthreads=yes
71205 else
71206 ac_has_gthreads=no
71207 fi
71208 ;;
71209 *)
71210 ac_has_gthreads=yes
71211 ;;
71212 esac
71213 else
71214 ac_has_gthreads=no
71215 fi
71216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71217 else
71218 ac_has_gthreads=no
71219 fi
71220
71221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71222 $as_echo "$ac_has_gthreads" >&6; }
71223
71224 if test x"$ac_has_gthreads" = x"yes"; then
71225
71226 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71227
71228 fi
71229
71230 CXXFLAGS="$ac_save_CXXFLAGS"
71231 ac_ext=c
71232 ac_cpp='$CPP $CPPFLAGS'
71233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71236
71237
71238
71239 # Define documentation rules conditionally.
71240
71241 # See if makeinfo has been installed and is modern enough
71242 # that we can use it.
71243
71244 # Extract the first word of "makeinfo", so it can be a program name with args.
71245 set dummy makeinfo; ac_word=$2
71246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71247 $as_echo_n "checking for $ac_word... " >&6; }
71248 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71249 $as_echo_n "(cached) " >&6
71250 else
71251 if test -n "$MAKEINFO"; then
71252 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71253 else
71254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71255 for as_dir in $PATH
71256 do
71257 IFS=$as_save_IFS
71258 test -z "$as_dir" && as_dir=.
71259 for ac_exec_ext in '' $ac_executable_extensions; do
71260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71261 ac_cv_prog_MAKEINFO="makeinfo"
71262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71263 break 2
71264 fi
71265 done
71266 done
71267 IFS=$as_save_IFS
71268
71269 fi
71270 fi
71271 MAKEINFO=$ac_cv_prog_MAKEINFO
71272 if test -n "$MAKEINFO"; then
71273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71274 $as_echo "$MAKEINFO" >&6; }
71275 else
71276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71277 $as_echo "no" >&6; }
71278 fi
71279
71280
71281 if test -n "$MAKEINFO"; then
71282 # Found it, now check the version.
71283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71284 $as_echo_n "checking for modern makeinfo... " >&6; }
71285 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71286 $as_echo_n "(cached) " >&6
71287 else
71288 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71289 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71290
71291 case $ac_prog_version in
71292 '') gcc_cv_prog_makeinfo_modern=no;;
71293 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71294 *) gcc_cv_prog_makeinfo_modern=no;;
71295 esac
71296
71297 fi
71298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71299 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71300 else
71301 gcc_cv_prog_makeinfo_modern=no
71302 fi
71303 if test $gcc_cv_prog_makeinfo_modern = no; then
71304 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71305 fi
71306
71307 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71308 BUILD_INFO_TRUE=
71309 BUILD_INFO_FALSE='#'
71310 else
71311 BUILD_INFO_TRUE='#'
71312 BUILD_INFO_FALSE=
71313 fi
71314
71315
71316 # Check for doxygen
71317 # Extract the first word of "doxygen", so it can be a program name with args.
71318 set dummy doxygen; ac_word=$2
71319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71320 $as_echo_n "checking for $ac_word... " >&6; }
71321 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71322 $as_echo_n "(cached) " >&6
71323 else
71324 if test -n "$DOXYGEN"; then
71325 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71326 else
71327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71328 for as_dir in $PATH
71329 do
71330 IFS=$as_save_IFS
71331 test -z "$as_dir" && as_dir=.
71332 for ac_exec_ext in '' $ac_executable_extensions; do
71333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71334 ac_cv_prog_DOXYGEN="yes"
71335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71336 break 2
71337 fi
71338 done
71339 done
71340 IFS=$as_save_IFS
71341
71342 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71343 fi
71344 fi
71345 DOXYGEN=$ac_cv_prog_DOXYGEN
71346 if test -n "$DOXYGEN"; then
71347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71348 $as_echo "$DOXYGEN" >&6; }
71349 else
71350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71351 $as_echo "no" >&6; }
71352 fi
71353
71354
71355 # Extract the first word of "dot", so it can be a program name with args.
71356 set dummy dot; ac_word=$2
71357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71358 $as_echo_n "checking for $ac_word... " >&6; }
71359 if test "${ac_cv_prog_DOT+set}" = set; then :
71360 $as_echo_n "(cached) " >&6
71361 else
71362 if test -n "$DOT"; then
71363 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71364 else
71365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71366 for as_dir in $PATH
71367 do
71368 IFS=$as_save_IFS
71369 test -z "$as_dir" && as_dir=.
71370 for ac_exec_ext in '' $ac_executable_extensions; do
71371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71372 ac_cv_prog_DOT="yes"
71373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71374 break 2
71375 fi
71376 done
71377 done
71378 IFS=$as_save_IFS
71379
71380 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71381 fi
71382 fi
71383 DOT=$ac_cv_prog_DOT
71384 if test -n "$DOT"; then
71385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71386 $as_echo "$DOT" >&6; }
71387 else
71388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71389 $as_echo "no" >&6; }
71390 fi
71391
71392
71393
71394 # Check for docbook
71395 # Extract the first word of "xsltproc", so it can be a program name with args.
71396 set dummy xsltproc; ac_word=$2
71397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71398 $as_echo_n "checking for $ac_word... " >&6; }
71399 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71400 $as_echo_n "(cached) " >&6
71401 else
71402 if test -n "$XSLTPROC"; then
71403 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71404 else
71405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71406 for as_dir in $PATH
71407 do
71408 IFS=$as_save_IFS
71409 test -z "$as_dir" && as_dir=.
71410 for ac_exec_ext in '' $ac_executable_extensions; do
71411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71412 ac_cv_prog_XSLTPROC="yes"
71413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71414 break 2
71415 fi
71416 done
71417 done
71418 IFS=$as_save_IFS
71419
71420 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71421 fi
71422 fi
71423 XSLTPROC=$ac_cv_prog_XSLTPROC
71424 if test -n "$XSLTPROC"; then
71425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71426 $as_echo "$XSLTPROC" >&6; }
71427 else
71428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71429 $as_echo "no" >&6; }
71430 fi
71431
71432
71433 # Extract the first word of "xmllint", so it can be a program name with args.
71434 set dummy xmllint; ac_word=$2
71435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71436 $as_echo_n "checking for $ac_word... " >&6; }
71437 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71438 $as_echo_n "(cached) " >&6
71439 else
71440 if test -n "$XMLLINT"; then
71441 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71442 else
71443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71444 for as_dir in $PATH
71445 do
71446 IFS=$as_save_IFS
71447 test -z "$as_dir" && as_dir=.
71448 for ac_exec_ext in '' $ac_executable_extensions; do
71449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71450 ac_cv_prog_XMLLINT="yes"
71451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71452 break 2
71453 fi
71454 done
71455 done
71456 IFS=$as_save_IFS
71457
71458 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71459 fi
71460 fi
71461 XMLLINT=$ac_cv_prog_XMLLINT
71462 if test -n "$XMLLINT"; then
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71464 $as_echo "$XMLLINT" >&6; }
71465 else
71466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71467 $as_echo "no" >&6; }
71468 fi
71469
71470
71471
71472
71473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71474 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71475 glibcxx_stylesheets=no
71476 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
71477 glibcxx_stylesheets=yes
71478 fi
71479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71480 $as_echo "$glibcxx_stylesheets" >&6; }
71481
71482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71483 $as_echo_n "checking for local stylesheet directory... " >&6; }
71484 glibcxx_local_stylesheets=no
71485 if test x"$glibcxx_stylesheets" = x"yes"; then
71486 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71487 glibcxx_local_stylesheets=yes
71488 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71489 fi
71490 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71491 glibcxx_local_stylesheets=yes
71492 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71493 fi
71494 fi
71495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71496 $as_echo "$glibcxx_local_stylesheets" >&6; }
71497
71498 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71499
71500 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71501 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71502 else
71503 glibcxx_stylesheets=no
71504 fi
71505
71506 # Check for epub3 dependencies.
71507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71508 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71509 glibcxx_epub_stylesheets=no
71510 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71511 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71512 glibcxx_epub_stylesheets=yes
71513 fi
71514 fi
71515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71516 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71517 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71518 BUILD_EPUB_TRUE=
71519 BUILD_EPUB_FALSE='#'
71520 else
71521 BUILD_EPUB_TRUE='#'
71522 BUILD_EPUB_FALSE=
71523 fi
71524
71525
71526
71527
71528 # Check for xml/html dependencies.
71529 if test $ac_cv_prog_DOXYGEN = "yes" &&
71530 test $ac_cv_prog_DOT = "yes" &&
71531 test $ac_cv_prog_XSLTPROC = "yes" &&
71532 test $ac_cv_prog_XMLLINT = "yes" &&
71533 test $glibcxx_stylesheets = "yes"; then
71534 BUILD_XML_TRUE=
71535 BUILD_XML_FALSE='#'
71536 else
71537 BUILD_XML_TRUE='#'
71538 BUILD_XML_FALSE=
71539 fi
71540
71541
71542 if test $ac_cv_prog_DOXYGEN = "yes" &&
71543 test $ac_cv_prog_DOT = "yes" &&
71544 test $ac_cv_prog_XSLTPROC = "yes" &&
71545 test $ac_cv_prog_XMLLINT = "yes" &&
71546 test $glibcxx_stylesheets = "yes"; then
71547 BUILD_HTML_TRUE=
71548 BUILD_HTML_FALSE='#'
71549 else
71550 BUILD_HTML_TRUE='#'
71551 BUILD_HTML_FALSE=
71552 fi
71553
71554
71555 # Check for man dependencies.
71556 if test $ac_cv_prog_DOXYGEN = "yes" &&
71557 test $ac_cv_prog_DOT = "yes"; then
71558 BUILD_MAN_TRUE=
71559 BUILD_MAN_FALSE='#'
71560 else
71561 BUILD_MAN_TRUE='#'
71562 BUILD_MAN_FALSE=
71563 fi
71564
71565
71566 # Check for pdf dependencies.
71567 # Extract the first word of "dblatex", so it can be a program name with args.
71568 set dummy dblatex; ac_word=$2
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71570 $as_echo_n "checking for $ac_word... " >&6; }
71571 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71572 $as_echo_n "(cached) " >&6
71573 else
71574 if test -n "$DBLATEX"; then
71575 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71576 else
71577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71578 for as_dir in $PATH
71579 do
71580 IFS=$as_save_IFS
71581 test -z "$as_dir" && as_dir=.
71582 for ac_exec_ext in '' $ac_executable_extensions; do
71583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71584 ac_cv_prog_DBLATEX="yes"
71585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71586 break 2
71587 fi
71588 done
71589 done
71590 IFS=$as_save_IFS
71591
71592 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71593 fi
71594 fi
71595 DBLATEX=$ac_cv_prog_DBLATEX
71596 if test -n "$DBLATEX"; then
71597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71598 $as_echo "$DBLATEX" >&6; }
71599 else
71600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71601 $as_echo "no" >&6; }
71602 fi
71603
71604
71605 # Extract the first word of "pdflatex", so it can be a program name with args.
71606 set dummy pdflatex; ac_word=$2
71607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71608 $as_echo_n "checking for $ac_word... " >&6; }
71609 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71610 $as_echo_n "(cached) " >&6
71611 else
71612 if test -n "$PDFLATEX"; then
71613 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71614 else
71615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71616 for as_dir in $PATH
71617 do
71618 IFS=$as_save_IFS
71619 test -z "$as_dir" && as_dir=.
71620 for ac_exec_ext in '' $ac_executable_extensions; do
71621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71622 ac_cv_prog_PDFLATEX="yes"
71623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71624 break 2
71625 fi
71626 done
71627 done
71628 IFS=$as_save_IFS
71629
71630 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71631 fi
71632 fi
71633 PDFLATEX=$ac_cv_prog_PDFLATEX
71634 if test -n "$PDFLATEX"; then
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71636 $as_echo "$PDFLATEX" >&6; }
71637 else
71638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71639 $as_echo "no" >&6; }
71640 fi
71641
71642
71643 if test $ac_cv_prog_DBLATEX = "yes" &&
71644 test $ac_cv_prog_PDFLATEX = "yes"; then
71645 BUILD_PDF_TRUE=
71646 BUILD_PDF_FALSE='#'
71647 else
71648 BUILD_PDF_TRUE='#'
71649 BUILD_PDF_FALSE=
71650 fi
71651
71652
71653
71654 # Propagate the target-specific source directories through the build chain.
71655 ATOMICITY_SRCDIR=config/${atomicity_dir}
71656 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71657 ATOMIC_FLAGS=${atomic_flags}
71658 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71659 OS_INC_SRCDIR=config/${os_include_dir}
71660 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71661 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71662 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71663 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71664
71665
71666
71667
71668
71669
71670
71671
71672
71673
71674
71675 # Determine cross-compile flags and AM_CONDITIONALs.
71676 #AC_SUBST(GLIBCXX_IS_NATIVE)
71677 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71678 if test $is_hosted = yes; then
71679 GLIBCXX_HOSTED_TRUE=
71680 GLIBCXX_HOSTED_FALSE='#'
71681 else
71682 GLIBCXX_HOSTED_TRUE='#'
71683 GLIBCXX_HOSTED_FALSE=
71684 fi
71685
71686
71687 if test $enable_libstdcxx_pch = yes; then
71688 GLIBCXX_BUILD_PCH_TRUE=
71689 GLIBCXX_BUILD_PCH_FALSE='#'
71690 else
71691 GLIBCXX_BUILD_PCH_TRUE='#'
71692 GLIBCXX_BUILD_PCH_FALSE=
71693 fi
71694
71695
71696 if test $enable_cheaders = c; then
71697 GLIBCXX_C_HEADERS_C_TRUE=
71698 GLIBCXX_C_HEADERS_C_FALSE='#'
71699 else
71700 GLIBCXX_C_HEADERS_C_TRUE='#'
71701 GLIBCXX_C_HEADERS_C_FALSE=
71702 fi
71703
71704
71705 if test $enable_cheaders = c_std; then
71706 GLIBCXX_C_HEADERS_C_STD_TRUE=
71707 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71708 else
71709 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71710 GLIBCXX_C_HEADERS_C_STD_FALSE=
71711 fi
71712
71713
71714 if test $enable_cheaders = c_global; then
71715 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71716 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71717 else
71718 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71719 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71720 fi
71721
71722
71723 if test $c_compatibility = yes; then
71724 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71725 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71726 else
71727 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71728 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71729 fi
71730
71731
71732 if test $enable_libstdcxx_debug = yes; then
71733 GLIBCXX_BUILD_DEBUG_TRUE=
71734 GLIBCXX_BUILD_DEBUG_FALSE='#'
71735 else
71736 GLIBCXX_BUILD_DEBUG_TRUE='#'
71737 GLIBCXX_BUILD_DEBUG_FALSE=
71738 fi
71739
71740
71741 if test $enable_extern_template = yes; then
71742 ENABLE_EXTERN_TEMPLATE_TRUE=
71743 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71744 else
71745 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71746 ENABLE_EXTERN_TEMPLATE_FALSE=
71747 fi
71748
71749
71750 if test $python_mod_dir != no; then
71751 ENABLE_PYTHONDIR_TRUE=
71752 ENABLE_PYTHONDIR_FALSE='#'
71753 else
71754 ENABLE_PYTHONDIR_TRUE='#'
71755 ENABLE_PYTHONDIR_FALSE=
71756 fi
71757
71758
71759 if test $enable_werror = yes; then
71760 ENABLE_WERROR_TRUE=
71761 ENABLE_WERROR_FALSE='#'
71762 else
71763 ENABLE_WERROR_TRUE='#'
71764 ENABLE_WERROR_FALSE=
71765 fi
71766
71767
71768 if test $enable_symvers != no; then
71769 ENABLE_SYMVERS_TRUE=
71770 ENABLE_SYMVERS_FALSE='#'
71771 else
71772 ENABLE_SYMVERS_TRUE='#'
71773 ENABLE_SYMVERS_FALSE=
71774 fi
71775
71776
71777 if test $enable_symvers = gnu; then
71778 ENABLE_SYMVERS_GNU_TRUE=
71779 ENABLE_SYMVERS_GNU_FALSE='#'
71780 else
71781 ENABLE_SYMVERS_GNU_TRUE='#'
71782 ENABLE_SYMVERS_GNU_FALSE=
71783 fi
71784
71785
71786 if test $enable_symvers = gnu-versioned-namespace; then
71787 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71788 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71789 else
71790 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71791 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71792 fi
71793
71794
71795 if test $enable_symvers = darwin; then
71796 ENABLE_SYMVERS_DARWIN_TRUE=
71797 ENABLE_SYMVERS_DARWIN_FALSE='#'
71798 else
71799 ENABLE_SYMVERS_DARWIN_TRUE='#'
71800 ENABLE_SYMVERS_DARWIN_FALSE=
71801 fi
71802
71803
71804 if test $enable_symvers = sun; then
71805 ENABLE_SYMVERS_SUN_TRUE=
71806 ENABLE_SYMVERS_SUN_FALSE='#'
71807 else
71808 ENABLE_SYMVERS_SUN_TRUE='#'
71809 ENABLE_SYMVERS_SUN_FALSE=
71810 fi
71811
71812
71813 if test $enable_libstdcxx_visibility = yes; then
71814 ENABLE_VISIBILITY_TRUE=
71815 ENABLE_VISIBILITY_FALSE='#'
71816 else
71817 ENABLE_VISIBILITY_TRUE='#'
71818 ENABLE_VISIBILITY_FALSE=
71819 fi
71820
71821
71822 if test $ac_ldbl_compat = yes; then
71823 GLIBCXX_LDBL_COMPAT_TRUE=
71824 GLIBCXX_LDBL_COMPAT_FALSE='#'
71825 else
71826 GLIBCXX_LDBL_COMPAT_TRUE='#'
71827 GLIBCXX_LDBL_COMPAT_FALSE=
71828 fi
71829
71830
71831
71832
71833 cat >confcache <<\_ACEOF
71834 # This file is a shell script that caches the results of configure
71835 # tests run on this system so they can be shared between configure
71836 # scripts and configure runs, see configure's option --config-cache.
71837 # It is not useful on other systems. If it contains results you don't
71838 # want to keep, you may remove or edit it.
71839 #
71840 # config.status only pays attention to the cache file if you give it
71841 # the --recheck option to rerun configure.
71842 #
71843 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71845 # following values.
71846
71847 _ACEOF
71848
71849 # The following way of writing the cache mishandles newlines in values,
71850 # but we know of no workaround that is simple, portable, and efficient.
71851 # So, we kill variables containing newlines.
71852 # Ultrix sh set writes to stderr and can't be redirected directly,
71853 # and sets the high bit in the cache file unless we assign to the vars.
71854 (
71855 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71856 eval ac_val=\$$ac_var
71857 case $ac_val in #(
71858 *${as_nl}*)
71859 case $ac_var in #(
71860 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71862 esac
71863 case $ac_var in #(
71864 _ | IFS | as_nl) ;; #(
71865 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71866 *) { eval $ac_var=; unset $ac_var;} ;;
71867 esac ;;
71868 esac
71869 done
71870
71871 (set) 2>&1 |
71872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71873 *${as_nl}ac_space=\ *)
71874 # `set' does not quote correctly, so add quotes: double-quote
71875 # substitution turns \\\\ into \\, and sed turns \\ into \.
71876 sed -n \
71877 "s/'/'\\\\''/g;
71878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71879 ;; #(
71880 *)
71881 # `set' quotes correctly as required by POSIX, so do not add quotes.
71882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71883 ;;
71884 esac |
71885 sort
71886 ) |
71887 sed '
71888 /^ac_cv_env_/b end
71889 t clear
71890 :clear
71891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71892 t end
71893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71894 :end' >>confcache
71895 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71896 if test -w "$cache_file"; then
71897 test "x$cache_file" != "x/dev/null" &&
71898 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71899 $as_echo "$as_me: updating cache $cache_file" >&6;}
71900 cat confcache >$cache_file
71901 else
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71903 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71904 fi
71905 fi
71906 rm -f confcache
71907
71908 if test ${multilib} = yes; then
71909 multilib_arg="--enable-multilib"
71910 else
71911 multilib_arg=
71912 fi
71913
71914 # Export all the install information.
71915
71916 glibcxx_toolexecdir=no
71917 glibcxx_toolexeclibdir=no
71918 glibcxx_prefixdir=$prefix
71919
71920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71921 $as_echo_n "checking for gxx-include-dir... " >&6; }
71922
71923 # Check whether --with-gxx-include-dir was given.
71924 if test "${with_gxx_include_dir+set}" = set; then :
71925 withval=$with_gxx_include_dir; case "$withval" in
71926 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71927 no) gxx_include_dir=no ;;
71928 *) gxx_include_dir=$withval ;;
71929 esac
71930 else
71931 gxx_include_dir=no
71932 fi
71933
71934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71935 $as_echo "$gxx_include_dir" >&6; }
71936
71937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71938 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71939 # Check whether --enable-version-specific-runtime-libs was given.
71940 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71941 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71942 yes) version_specific_libs=yes ;;
71943 no) version_specific_libs=no ;;
71944 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71945 esac
71946 else
71947 version_specific_libs=no
71948 fi
71949
71950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71951 $as_echo "$version_specific_libs" >&6; }
71952
71953 # Default case for install directory for include files.
71954 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71955 gxx_include_dir='include/c++/${gcc_version}'
71956 if test -n "$with_cross_host" &&
71957 test x"$with_cross_host" != x"no"; then
71958 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71959 else
71960 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71961 fi
71962 fi
71963
71964 # Version-specific runtime libs processing.
71965 if test $version_specific_libs = yes; then
71966 # Need the gcc compiler version to know where to install libraries
71967 # and header files if --enable-version-specific-runtime-libs option
71968 # is selected. FIXME: these variables are misnamed, there are
71969 # no executables installed in _toolexecdir or _toolexeclibdir.
71970 if test x"$gxx_include_dir" = x"no"; then
71971 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71972 fi
71973 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71974 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71975 fi
71976
71977 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71978 # Install a library built with a cross compiler in tooldir, not libdir.
71979 if test x"$glibcxx_toolexecdir" = x"no"; then
71980 if test -n "$with_cross_host" &&
71981 test x"$with_cross_host" != x"no"; then
71982 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71983 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71984 else
71985 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71986 glibcxx_toolexeclibdir='${libdir}'
71987 fi
71988 multi_os_directory=`$CXX -print-multi-os-directory`
71989 case $multi_os_directory in
71990 .) ;; # Avoid trailing /.
71991 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71992 esac
71993 fi
71994
71995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71996 $as_echo_n "checking for install location... " >&6; }
71997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71998 $as_echo "$gxx_include_dir" >&6; }
71999
72000
72001
72002
72003
72004
72005
72006 # Export all the include and flag information to Makefiles.
72007
72008 # Used for every C++ compile we perform.
72009 GLIBCXX_INCLUDES="\
72010 -I$glibcxx_builddir/include/$host_alias \
72011 -I$glibcxx_builddir/include \
72012 -I$glibcxx_srcdir/libsupc++"
72013
72014 # For Canadian crosses, pick this up too.
72015 if test $CANADIAN = yes; then
72016 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72017 fi
72018
72019 # Stuff in the actual top level. Currently only used by libsupc++ to
72020 # get unwind* headers from the libgcc dir.
72021 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72022 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72023
72024 # Now, export this to all the little Makefiles....
72025
72026
72027
72028
72029 # Optimization flags that are probably a good idea for thrill-seekers. Just
72030 # uncomment the lines below and make, everything else is ready to go...
72031 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72032 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72033
72034
72035 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72036
72037
72038
72039 ac_config_files="$ac_config_files Makefile"
72040
72041 ac_config_files="$ac_config_files scripts/testsuite_flags"
72042
72043 ac_config_files="$ac_config_files scripts/extract_symvers"
72044
72045 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72046
72047
72048 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72049 # that multilib installs will end up installed in the correct place.
72050 # The testsuite needs it for multilib-aware ABI baseline files.
72051 # To work around this not being passed down from config-ml.in ->
72052 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72053 # append it here. Only modify Makefiles that have just been created.
72054 #
72055 # Also, get rid of this simulated-VPATH thing that automake does.
72056 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
72057
72058
72059 ac_config_commands="$ac_config_commands generate-headers"
72060
72061
72062 cat >confcache <<\_ACEOF
72063 # This file is a shell script that caches the results of configure
72064 # tests run on this system so they can be shared between configure
72065 # scripts and configure runs, see configure's option --config-cache.
72066 # It is not useful on other systems. If it contains results you don't
72067 # want to keep, you may remove or edit it.
72068 #
72069 # config.status only pays attention to the cache file if you give it
72070 # the --recheck option to rerun configure.
72071 #
72072 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72073 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72074 # following values.
72075
72076 _ACEOF
72077
72078 # The following way of writing the cache mishandles newlines in values,
72079 # but we know of no workaround that is simple, portable, and efficient.
72080 # So, we kill variables containing newlines.
72081 # Ultrix sh set writes to stderr and can't be redirected directly,
72082 # and sets the high bit in the cache file unless we assign to the vars.
72083 (
72084 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72085 eval ac_val=\$$ac_var
72086 case $ac_val in #(
72087 *${as_nl}*)
72088 case $ac_var in #(
72089 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72090 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72091 esac
72092 case $ac_var in #(
72093 _ | IFS | as_nl) ;; #(
72094 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72095 *) { eval $ac_var=; unset $ac_var;} ;;
72096 esac ;;
72097 esac
72098 done
72099
72100 (set) 2>&1 |
72101 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72102 *${as_nl}ac_space=\ *)
72103 # `set' does not quote correctly, so add quotes: double-quote
72104 # substitution turns \\\\ into \\, and sed turns \\ into \.
72105 sed -n \
72106 "s/'/'\\\\''/g;
72107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72108 ;; #(
72109 *)
72110 # `set' quotes correctly as required by POSIX, so do not add quotes.
72111 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72112 ;;
72113 esac |
72114 sort
72115 ) |
72116 sed '
72117 /^ac_cv_env_/b end
72118 t clear
72119 :clear
72120 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72121 t end
72122 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72123 :end' >>confcache
72124 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72125 if test -w "$cache_file"; then
72126 test "x$cache_file" != "x/dev/null" &&
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72128 $as_echo "$as_me: updating cache $cache_file" >&6;}
72129 cat confcache >$cache_file
72130 else
72131 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72132 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72133 fi
72134 fi
72135 rm -f confcache
72136
72137 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72138 # Let make expand exec_prefix.
72139 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72140
72141 DEFS=-DHAVE_CONFIG_H
72142
72143 ac_libobjs=
72144 ac_ltlibobjs=
72145 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72146 # 1. Remove the extension, and $U if already installed.
72147 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72148 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72149 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72150 # will be set to the directory where LIBOBJS objects are built.
72151 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72152 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72153 done
72154 LIBOBJS=$ac_libobjs
72155
72156 LTLIBOBJS=$ac_ltlibobjs
72157
72158
72159 if test -n "$EXEEXT"; then
72160 am__EXEEXT_TRUE=
72161 am__EXEEXT_FALSE='#'
72162 else
72163 am__EXEEXT_TRUE='#'
72164 am__EXEEXT_FALSE=
72165 fi
72166
72167 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72168 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72170 fi
72171 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72172 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72174 fi
72175 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72176 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72178 fi
72179 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72180 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72182 fi
72183 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72184 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72186 fi
72187 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72188 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72190 fi
72191 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72192 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72194 fi
72195 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72196 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72198 fi
72199 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72200 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72202 fi
72203 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72204 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72206 fi
72207 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72208 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72210 fi
72211 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72212 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72214 fi
72215 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72216 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72218 fi
72219 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72220 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72222 fi
72223 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72224 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72226 fi
72227 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72228 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72230 fi
72231 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72232 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72234 fi
72235 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72236 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72238 fi
72239 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72240 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72242 fi
72243 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72244 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72246 fi
72247 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72248 as_fn_error "conditional \"BUILD_XML\" was never defined.
72249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72250 fi
72251 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72252 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72254 fi
72255 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72256 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72258 fi
72259 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72260 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72262 fi
72263
72264 : ${CONFIG_STATUS=./config.status}
72265 ac_write_fail=0
72266 ac_clean_files_save=$ac_clean_files
72267 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72268 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72269 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72270 as_write_fail=0
72271 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72272 #! $SHELL
72273 # Generated by $as_me.
72274 # Run this file to recreate the current configuration.
72275 # Compiler output produced by configure, useful for debugging
72276 # configure, is in config.log if it exists.
72277
72278 debug=false
72279 ac_cs_recheck=false
72280 ac_cs_silent=false
72281
72282 SHELL=\${CONFIG_SHELL-$SHELL}
72283 export SHELL
72284 _ASEOF
72285 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72286 ## -------------------- ##
72287 ## M4sh Initialization. ##
72288 ## -------------------- ##
72289
72290 # Be more Bourne compatible
72291 DUALCASE=1; export DUALCASE # for MKS sh
72292 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72293 emulate sh
72294 NULLCMD=:
72295 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72296 # is contrary to our usage. Disable this feature.
72297 alias -g '${1+"$@"}'='"$@"'
72298 setopt NO_GLOB_SUBST
72299 else
72300 case `(set -o) 2>/dev/null` in #(
72301 *posix*) :
72302 set -o posix ;; #(
72303 *) :
72304 ;;
72305 esac
72306 fi
72307
72308
72309 as_nl='
72310 '
72311 export as_nl
72312 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72313 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72314 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72316 # Prefer a ksh shell builtin over an external printf program on Solaris,
72317 # but without wasting forks for bash or zsh.
72318 if test -z "$BASH_VERSION$ZSH_VERSION" \
72319 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72320 as_echo='print -r --'
72321 as_echo_n='print -rn --'
72322 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72323 as_echo='printf %s\n'
72324 as_echo_n='printf %s'
72325 else
72326 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72327 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72328 as_echo_n='/usr/ucb/echo -n'
72329 else
72330 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72331 as_echo_n_body='eval
72332 arg=$1;
72333 case $arg in #(
72334 *"$as_nl"*)
72335 expr "X$arg" : "X\\(.*\\)$as_nl";
72336 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72337 esac;
72338 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72339 '
72340 export as_echo_n_body
72341 as_echo_n='sh -c $as_echo_n_body as_echo'
72342 fi
72343 export as_echo_body
72344 as_echo='sh -c $as_echo_body as_echo'
72345 fi
72346
72347 # The user is always right.
72348 if test "${PATH_SEPARATOR+set}" != set; then
72349 PATH_SEPARATOR=:
72350 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72351 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72352 PATH_SEPARATOR=';'
72353 }
72354 fi
72355
72356
72357 # IFS
72358 # We need space, tab and new line, in precisely that order. Quoting is
72359 # there to prevent editors from complaining about space-tab.
72360 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72361 # splitting by setting IFS to empty value.)
72362 IFS=" "" $as_nl"
72363
72364 # Find who we are. Look in the path if we contain no directory separator.
72365 case $0 in #((
72366 *[\\/]* ) as_myself=$0 ;;
72367 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72368 for as_dir in $PATH
72369 do
72370 IFS=$as_save_IFS
72371 test -z "$as_dir" && as_dir=.
72372 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72373 done
72374 IFS=$as_save_IFS
72375
72376 ;;
72377 esac
72378 # We did not find ourselves, most probably we were run as `sh COMMAND'
72379 # in which case we are not to be found in the path.
72380 if test "x$as_myself" = x; then
72381 as_myself=$0
72382 fi
72383 if test ! -f "$as_myself"; then
72384 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72385 exit 1
72386 fi
72387
72388 # Unset variables that we do not need and which cause bugs (e.g. in
72389 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72390 # suppresses any "Segmentation fault" message there. '((' could
72391 # trigger a bug in pdksh 5.2.14.
72392 for as_var in BASH_ENV ENV MAIL MAILPATH
72393 do eval test x\${$as_var+set} = xset \
72394 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72395 done
72396 PS1='$ '
72397 PS2='> '
72398 PS4='+ '
72399
72400 # NLS nuisances.
72401 LC_ALL=C
72402 export LC_ALL
72403 LANGUAGE=C
72404 export LANGUAGE
72405
72406 # CDPATH.
72407 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72408
72409
72410 # as_fn_error ERROR [LINENO LOG_FD]
72411 # ---------------------------------
72412 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72413 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72414 # script with status $?, using 1 if that was 0.
72415 as_fn_error ()
72416 {
72417 as_status=$?; test $as_status -eq 0 && as_status=1
72418 if test "$3"; then
72419 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72420 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72421 fi
72422 $as_echo "$as_me: error: $1" >&2
72423 as_fn_exit $as_status
72424 } # as_fn_error
72425
72426
72427 # as_fn_set_status STATUS
72428 # -----------------------
72429 # Set $? to STATUS, without forking.
72430 as_fn_set_status ()
72431 {
72432 return $1
72433 } # as_fn_set_status
72434
72435 # as_fn_exit STATUS
72436 # -----------------
72437 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72438 as_fn_exit ()
72439 {
72440 set +e
72441 as_fn_set_status $1
72442 exit $1
72443 } # as_fn_exit
72444
72445 # as_fn_unset VAR
72446 # ---------------
72447 # Portably unset VAR.
72448 as_fn_unset ()
72449 {
72450 { eval $1=; unset $1;}
72451 }
72452 as_unset=as_fn_unset
72453 # as_fn_append VAR VALUE
72454 # ----------------------
72455 # Append the text in VALUE to the end of the definition contained in VAR. Take
72456 # advantage of any shell optimizations that allow amortized linear growth over
72457 # repeated appends, instead of the typical quadratic growth present in naive
72458 # implementations.
72459 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72460 eval 'as_fn_append ()
72461 {
72462 eval $1+=\$2
72463 }'
72464 else
72465 as_fn_append ()
72466 {
72467 eval $1=\$$1\$2
72468 }
72469 fi # as_fn_append
72470
72471 # as_fn_arith ARG...
72472 # ------------------
72473 # Perform arithmetic evaluation on the ARGs, and store the result in the
72474 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72475 # must be portable across $(()) and expr.
72476 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72477 eval 'as_fn_arith ()
72478 {
72479 as_val=$(( $* ))
72480 }'
72481 else
72482 as_fn_arith ()
72483 {
72484 as_val=`expr "$@" || test $? -eq 1`
72485 }
72486 fi # as_fn_arith
72487
72488
72489 if expr a : '\(a\)' >/dev/null 2>&1 &&
72490 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72491 as_expr=expr
72492 else
72493 as_expr=false
72494 fi
72495
72496 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72497 as_basename=basename
72498 else
72499 as_basename=false
72500 fi
72501
72502 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72503 as_dirname=dirname
72504 else
72505 as_dirname=false
72506 fi
72507
72508 as_me=`$as_basename -- "$0" ||
72509 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72510 X"$0" : 'X\(//\)$' \| \
72511 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72512 $as_echo X/"$0" |
72513 sed '/^.*\/\([^/][^/]*\)\/*$/{
72514 s//\1/
72515 q
72516 }
72517 /^X\/\(\/\/\)$/{
72518 s//\1/
72519 q
72520 }
72521 /^X\/\(\/\).*/{
72522 s//\1/
72523 q
72524 }
72525 s/.*/./; q'`
72526
72527 # Avoid depending upon Character Ranges.
72528 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72529 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72530 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72531 as_cr_digits='0123456789'
72532 as_cr_alnum=$as_cr_Letters$as_cr_digits
72533
72534 ECHO_C= ECHO_N= ECHO_T=
72535 case `echo -n x` in #(((((
72536 -n*)
72537 case `echo 'xy\c'` in
72538 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72539 xy) ECHO_C='\c';;
72540 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72541 ECHO_T=' ';;
72542 esac;;
72543 *)
72544 ECHO_N='-n';;
72545 esac
72546
72547 rm -f conf$$ conf$$.exe conf$$.file
72548 if test -d conf$$.dir; then
72549 rm -f conf$$.dir/conf$$.file
72550 else
72551 rm -f conf$$.dir
72552 mkdir conf$$.dir 2>/dev/null
72553 fi
72554 if (echo >conf$$.file) 2>/dev/null; then
72555 if ln -s conf$$.file conf$$ 2>/dev/null; then
72556 as_ln_s='ln -s'
72557 # ... but there are two gotchas:
72558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72560 # In both cases, we have to default to `cp -p'.
72561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72562 as_ln_s='cp -p'
72563 elif ln conf$$.file conf$$ 2>/dev/null; then
72564 as_ln_s=ln
72565 else
72566 as_ln_s='cp -p'
72567 fi
72568 else
72569 as_ln_s='cp -p'
72570 fi
72571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72572 rmdir conf$$.dir 2>/dev/null
72573
72574
72575 # as_fn_mkdir_p
72576 # -------------
72577 # Create "$as_dir" as a directory, including parents if necessary.
72578 as_fn_mkdir_p ()
72579 {
72580
72581 case $as_dir in #(
72582 -*) as_dir=./$as_dir;;
72583 esac
72584 test -d "$as_dir" || eval $as_mkdir_p || {
72585 as_dirs=
72586 while :; do
72587 case $as_dir in #(
72588 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72589 *) as_qdir=$as_dir;;
72590 esac
72591 as_dirs="'$as_qdir' $as_dirs"
72592 as_dir=`$as_dirname -- "$as_dir" ||
72593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72594 X"$as_dir" : 'X\(//\)[^/]' \| \
72595 X"$as_dir" : 'X\(//\)$' \| \
72596 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72597 $as_echo X"$as_dir" |
72598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72599 s//\1/
72600 q
72601 }
72602 /^X\(\/\/\)[^/].*/{
72603 s//\1/
72604 q
72605 }
72606 /^X\(\/\/\)$/{
72607 s//\1/
72608 q
72609 }
72610 /^X\(\/\).*/{
72611 s//\1/
72612 q
72613 }
72614 s/.*/./; q'`
72615 test -d "$as_dir" && break
72616 done
72617 test -z "$as_dirs" || eval "mkdir $as_dirs"
72618 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72619
72620
72621 } # as_fn_mkdir_p
72622 if mkdir -p . 2>/dev/null; then
72623 as_mkdir_p='mkdir -p "$as_dir"'
72624 else
72625 test -d ./-p && rmdir ./-p
72626 as_mkdir_p=false
72627 fi
72628
72629 if test -x / >/dev/null 2>&1; then
72630 as_test_x='test -x'
72631 else
72632 if ls -dL / >/dev/null 2>&1; then
72633 as_ls_L_option=L
72634 else
72635 as_ls_L_option=
72636 fi
72637 as_test_x='
72638 eval sh -c '\''
72639 if test -d "$1"; then
72640 test -d "$1/.";
72641 else
72642 case $1 in #(
72643 -*)set "./$1";;
72644 esac;
72645 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72646 ???[sx]*):;;*)false;;esac;fi
72647 '\'' sh
72648 '
72649 fi
72650 as_executable_p=$as_test_x
72651
72652 # Sed expression to map a string onto a valid CPP name.
72653 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72654
72655 # Sed expression to map a string onto a valid variable name.
72656 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72657
72658
72659 exec 6>&1
72660 ## ----------------------------------- ##
72661 ## Main body of $CONFIG_STATUS script. ##
72662 ## ----------------------------------- ##
72663 _ASEOF
72664 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72665
72666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72667 # Save the log message, to keep $0 and so on meaningful, and to
72668 # report actual input values of CONFIG_FILES etc. instead of their
72669 # values after options handling.
72670 ac_log="
72671 This file was extended by package-unused $as_me version-unused, which was
72672 generated by GNU Autoconf 2.64. Invocation command line was
72673
72674 CONFIG_FILES = $CONFIG_FILES
72675 CONFIG_HEADERS = $CONFIG_HEADERS
72676 CONFIG_LINKS = $CONFIG_LINKS
72677 CONFIG_COMMANDS = $CONFIG_COMMANDS
72678 $ $0 $@
72679
72680 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72681 "
72682
72683 _ACEOF
72684
72685 case $ac_config_files in *"
72686 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72687 esac
72688
72689 case $ac_config_headers in *"
72690 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72691 esac
72692
72693
72694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72695 # Files that config.status was made for.
72696 config_files="$ac_config_files"
72697 config_headers="$ac_config_headers"
72698 config_commands="$ac_config_commands"
72699
72700 _ACEOF
72701
72702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72703 ac_cs_usage="\
72704 \`$as_me' instantiates files and other configuration actions
72705 from templates according to the current configuration. Unless the files
72706 and actions are specified as TAGs, all are instantiated by default.
72707
72708 Usage: $0 [OPTION]... [TAG]...
72709
72710 -h, --help print this help, then exit
72711 -V, --version print version number and configuration settings, then exit
72712 -q, --quiet, --silent
72713 do not print progress messages
72714 -d, --debug don't remove temporary files
72715 --recheck update $as_me by reconfiguring in the same conditions
72716 --file=FILE[:TEMPLATE]
72717 instantiate the configuration file FILE
72718 --header=FILE[:TEMPLATE]
72719 instantiate the configuration header FILE
72720
72721 Configuration files:
72722 $config_files
72723
72724 Configuration headers:
72725 $config_headers
72726
72727 Configuration commands:
72728 $config_commands
72729
72730 Report bugs to the package provider."
72731
72732 _ACEOF
72733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72734 ac_cs_version="\\
72735 package-unused config.status version-unused
72736 configured by $0, generated by GNU Autoconf 2.64,
72737 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72738
72739 Copyright (C) 2009 Free Software Foundation, Inc.
72740 This config.status script is free software; the Free Software Foundation
72741 gives unlimited permission to copy, distribute and modify it."
72742
72743 ac_pwd='$ac_pwd'
72744 srcdir='$srcdir'
72745 INSTALL='$INSTALL'
72746 MKDIR_P='$MKDIR_P'
72747 AWK='$AWK'
72748 test -n "\$AWK" || AWK=awk
72749 _ACEOF
72750
72751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72752 # The default lists apply if the user does not specify any file.
72753 ac_need_defaults=:
72754 while test $# != 0
72755 do
72756 case $1 in
72757 --*=*)
72758 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72759 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72760 ac_shift=:
72761 ;;
72762 *)
72763 ac_option=$1
72764 ac_optarg=$2
72765 ac_shift=shift
72766 ;;
72767 esac
72768
72769 case $ac_option in
72770 # Handling of the options.
72771 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72772 ac_cs_recheck=: ;;
72773 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72774 $as_echo "$ac_cs_version"; exit ;;
72775 --debug | --debu | --deb | --de | --d | -d )
72776 debug=: ;;
72777 --file | --fil | --fi | --f )
72778 $ac_shift
72779 case $ac_optarg in
72780 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72781 esac
72782 as_fn_append CONFIG_FILES " '$ac_optarg'"
72783 ac_need_defaults=false;;
72784 --header | --heade | --head | --hea )
72785 $ac_shift
72786 case $ac_optarg in
72787 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72788 esac
72789 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72790 ac_need_defaults=false;;
72791 --he | --h)
72792 # Conflict between --help and --header
72793 as_fn_error "ambiguous option: \`$1'
72794 Try \`$0 --help' for more information.";;
72795 --help | --hel | -h )
72796 $as_echo "$ac_cs_usage"; exit ;;
72797 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72798 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72799 ac_cs_silent=: ;;
72800
72801 # This is an error.
72802 -*) as_fn_error "unrecognized option: \`$1'
72803 Try \`$0 --help' for more information." ;;
72804
72805 *) as_fn_append ac_config_targets " $1"
72806 ac_need_defaults=false ;;
72807
72808 esac
72809 shift
72810 done
72811
72812 ac_configure_extra_args=
72813
72814 if $ac_cs_silent; then
72815 exec 6>/dev/null
72816 ac_configure_extra_args="$ac_configure_extra_args --silent"
72817 fi
72818
72819 _ACEOF
72820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72821 if \$ac_cs_recheck; then
72822 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72823 shift
72824 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72825 CONFIG_SHELL='$SHELL'
72826 export CONFIG_SHELL
72827 exec "\$@"
72828 fi
72829
72830 _ACEOF
72831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72832 exec 5>>config.log
72833 {
72834 echo
72835 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72836 ## Running $as_me. ##
72837 _ASBOX
72838 $as_echo "$ac_log"
72839 } >&5
72840
72841 _ACEOF
72842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72843 #
72844 # INIT-COMMANDS
72845 #
72846
72847 srcdir="$srcdir"
72848 host="$host"
72849 target="$target"
72850 with_multisubdir="$with_multisubdir"
72851 with_multisrctop="$with_multisrctop"
72852 with_target_subdir="$with_target_subdir"
72853 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72854 multi_basedir="$multi_basedir"
72855 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72856 CC="$CC"
72857 CXX="$CXX"
72858 GFORTRAN="$GFORTRAN"
72859 GCJ="$GCJ"
72860
72861
72862 # The HP-UX ksh and POSIX shell print the target directory to stdout
72863 # if CDPATH is set.
72864 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72865
72866 sed_quote_subst='$sed_quote_subst'
72867 double_quote_subst='$double_quote_subst'
72868 delay_variable_subst='$delay_variable_subst'
72869 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72870 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72871 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72872 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72873 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72874 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72875 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72876 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72877 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72878 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72879 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72880 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72881 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72882 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72883 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72884 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72885 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72886 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72887 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72888 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72889 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72890 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72891 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72892 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72893 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72894 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72895 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72896 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72897 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72898 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72899 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72900 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72901 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72902 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72903 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72904 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72905 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72906 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72907 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72908 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72909 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72910 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72911 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72912 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72913 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72914 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72915 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72916 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72917 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"`'
72918 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72919 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72920 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72921 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72922 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72923 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72924 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72925 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72926 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72927 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72928 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72929 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72930 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72931 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72932 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72933 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72934 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72935 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72936 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72937 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72938 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72939 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72940 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72941 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72942 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72943 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72944 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72945 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72946 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72947 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72948 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72949 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72950 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72951 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72952 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72953 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72954 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72955 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72956 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72957 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72958 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72959 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72960 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72961 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72962 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72963 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72964 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72965 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72966 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72967 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72968 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72969 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72970 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72971 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72972 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72973 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72974 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72975 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72976 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72977 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72978 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72979 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72980 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72981 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72982 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72983 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72984 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72985 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72986 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72987 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72988 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72989 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72990 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72991 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72992 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72993 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72994 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72995 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72996 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72997 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72998 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72999 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73000 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73001 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73002 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73003 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73004 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73005 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73006 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73007 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73008 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73009 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73010 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73011 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73012 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73013 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73014 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73015 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73016 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73017 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73018 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73019 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73020 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73021 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73022 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73023 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73024 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73025 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73026 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73027 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73028 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73029 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73030 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73031 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73032 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73033 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73034 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73035 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73036 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73037 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73038 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73039 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73040 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73041 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73042 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73043 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73044
73045 LTCC='$LTCC'
73046 LTCFLAGS='$LTCFLAGS'
73047 compiler='$compiler_DEFAULT'
73048
73049 # A function that is used when there is no print builtin or printf.
73050 func_fallback_echo ()
73051 {
73052 eval 'cat <<_LTECHO_EOF
73053 \$1
73054 _LTECHO_EOF'
73055 }
73056
73057 # Quote evaled strings.
73058 for var in SHELL \
73059 ECHO \
73060 SED \
73061 GREP \
73062 EGREP \
73063 FGREP \
73064 LD \
73065 NM \
73066 LN_S \
73067 lt_SP2NL \
73068 lt_NL2SP \
73069 reload_flag \
73070 OBJDUMP \
73071 deplibs_check_method \
73072 file_magic_cmd \
73073 AR \
73074 AR_FLAGS \
73075 STRIP \
73076 RANLIB \
73077 CC \
73078 CFLAGS \
73079 compiler \
73080 lt_cv_sys_global_symbol_pipe \
73081 lt_cv_sys_global_symbol_to_cdecl \
73082 lt_cv_sys_global_symbol_to_c_name_address \
73083 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73084 lt_prog_compiler_no_builtin_flag \
73085 lt_prog_compiler_wl \
73086 lt_prog_compiler_pic \
73087 lt_prog_compiler_static \
73088 lt_cv_prog_compiler_c_o \
73089 need_locks \
73090 DSYMUTIL \
73091 NMEDIT \
73092 LIPO \
73093 OTOOL \
73094 OTOOL64 \
73095 shrext_cmds \
73096 export_dynamic_flag_spec \
73097 whole_archive_flag_spec \
73098 compiler_needs_object \
73099 with_gnu_ld \
73100 allow_undefined_flag \
73101 no_undefined_flag \
73102 hardcode_libdir_flag_spec \
73103 hardcode_libdir_flag_spec_ld \
73104 hardcode_libdir_separator \
73105 fix_srcfile_path \
73106 exclude_expsyms \
73107 include_expsyms \
73108 file_list_spec \
73109 variables_saved_for_relink \
73110 libname_spec \
73111 library_names_spec \
73112 soname_spec \
73113 install_override_mode \
73114 finish_eval \
73115 old_striplib \
73116 striplib \
73117 compiler_lib_search_dirs \
73118 predep_objects \
73119 postdep_objects \
73120 predeps \
73121 postdeps \
73122 compiler_lib_search_path \
73123 LD_CXX \
73124 reload_flag_CXX \
73125 compiler_CXX \
73126 lt_prog_compiler_no_builtin_flag_CXX \
73127 lt_prog_compiler_wl_CXX \
73128 lt_prog_compiler_pic_CXX \
73129 lt_prog_compiler_static_CXX \
73130 lt_cv_prog_compiler_c_o_CXX \
73131 export_dynamic_flag_spec_CXX \
73132 whole_archive_flag_spec_CXX \
73133 compiler_needs_object_CXX \
73134 with_gnu_ld_CXX \
73135 allow_undefined_flag_CXX \
73136 no_undefined_flag_CXX \
73137 hardcode_libdir_flag_spec_CXX \
73138 hardcode_libdir_flag_spec_ld_CXX \
73139 hardcode_libdir_separator_CXX \
73140 fix_srcfile_path_CXX \
73141 exclude_expsyms_CXX \
73142 include_expsyms_CXX \
73143 file_list_spec_CXX \
73144 compiler_lib_search_dirs_CXX \
73145 predep_objects_CXX \
73146 postdep_objects_CXX \
73147 predeps_CXX \
73148 postdeps_CXX \
73149 compiler_lib_search_path_CXX; do
73150 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73151 *[\\\\\\\`\\"\\\$]*)
73152 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73153 ;;
73154 *)
73155 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73156 ;;
73157 esac
73158 done
73159
73160 # Double-quote double-evaled strings.
73161 for var in reload_cmds \
73162 old_postinstall_cmds \
73163 old_postuninstall_cmds \
73164 old_archive_cmds \
73165 extract_expsyms_cmds \
73166 old_archive_from_new_cmds \
73167 old_archive_from_expsyms_cmds \
73168 archive_cmds \
73169 archive_expsym_cmds \
73170 module_cmds \
73171 module_expsym_cmds \
73172 export_symbols_cmds \
73173 prelink_cmds \
73174 postinstall_cmds \
73175 postuninstall_cmds \
73176 finish_cmds \
73177 sys_lib_search_path_spec \
73178 sys_lib_dlsearch_path_spec \
73179 reload_cmds_CXX \
73180 old_archive_cmds_CXX \
73181 old_archive_from_new_cmds_CXX \
73182 old_archive_from_expsyms_cmds_CXX \
73183 archive_cmds_CXX \
73184 archive_expsym_cmds_CXX \
73185 module_cmds_CXX \
73186 module_expsym_cmds_CXX \
73187 export_symbols_cmds_CXX \
73188 prelink_cmds_CXX; do
73189 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73190 *[\\\\\\\`\\"\\\$]*)
73191 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73192 ;;
73193 *)
73194 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73195 ;;
73196 esac
73197 done
73198
73199 ac_aux_dir='$ac_aux_dir'
73200 xsi_shell='$xsi_shell'
73201 lt_shell_append='$lt_shell_append'
73202
73203 # See if we are running on zsh, and set the options which allow our
73204 # commands through without removal of \ escapes INIT.
73205 if test -n "\${ZSH_VERSION+set}" ; then
73206 setopt NO_GLOB_SUBST
73207 fi
73208
73209
73210 PACKAGE='$PACKAGE'
73211 VERSION='$VERSION'
73212 TIMESTAMP='$TIMESTAMP'
73213 RM='$RM'
73214 ofile='$ofile'
73215
73216
73217
73218
73219
73220
73221 GCC="$GCC"
73222 CC="$CC"
73223 acx_cv_header_stdint="$acx_cv_header_stdint"
73224 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73225 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73226 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73227 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73228 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73229 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73230 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73231 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73232 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73233 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73234 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73235 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73236 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73237
73238
73239 _ACEOF
73240
73241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73242
73243 # Handling of arguments.
73244 for ac_config_target in $ac_config_targets
73245 do
73246 case $ac_config_target in
73247 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73248 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73249 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73250 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73251 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73252 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73253 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73254 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73255 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73256 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73257 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73258 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73259 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73260 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73261 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73262 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73263 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73264 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73265
73266 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73267 esac
73268 done
73269
73270
73271 # If the user did not use the arguments to specify the items to instantiate,
73272 # then the envvar interface is used. Set only those that are not.
73273 # We use the long form for the default assignment because of an extremely
73274 # bizarre bug on SunOS 4.1.3.
73275 if $ac_need_defaults; then
73276 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73277 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73278 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73279 fi
73280
73281 # Have a temporary directory for convenience. Make it in the build tree
73282 # simply because there is no reason against having it here, and in addition,
73283 # creating and moving files from /tmp can sometimes cause problems.
73284 # Hook for its removal unless debugging.
73285 # Note that there is a small window in which the directory will not be cleaned:
73286 # after its creation but before its name has been assigned to `$tmp'.
73287 $debug ||
73288 {
73289 tmp=
73290 trap 'exit_status=$?
73291 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73292 ' 0
73293 trap 'as_fn_exit 1' 1 2 13 15
73294 }
73295 # Create a (secure) tmp directory for tmp files.
73296
73297 {
73298 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73299 test -n "$tmp" && test -d "$tmp"
73300 } ||
73301 {
73302 tmp=./conf$$-$RANDOM
73303 (umask 077 && mkdir "$tmp")
73304 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73305
73306 # Set up the scripts for CONFIG_FILES section.
73307 # No need to generate them if there are no CONFIG_FILES.
73308 # This happens for instance with `./config.status config.h'.
73309 if test -n "$CONFIG_FILES"; then
73310
73311
73312 ac_cr=`echo X | tr X '\015'`
73313 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73314 # But we know of no other shell where ac_cr would be empty at this
73315 # point, so we can use a bashism as a fallback.
73316 if test "x$ac_cr" = x; then
73317 eval ac_cr=\$\'\\r\'
73318 fi
73319 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73320 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73321 ac_cs_awk_cr='\r'
73322 else
73323 ac_cs_awk_cr=$ac_cr
73324 fi
73325
73326 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73327 _ACEOF
73328
73329
73330 {
73331 echo "cat >conf$$subs.awk <<_ACEOF" &&
73332 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73333 echo "_ACEOF"
73334 } >conf$$subs.sh ||
73335 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73336 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73337 ac_delim='%!_!# '
73338 for ac_last_try in false false false false false :; do
73339 . ./conf$$subs.sh ||
73340 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73341
73342 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73343 if test $ac_delim_n = $ac_delim_num; then
73344 break
73345 elif $ac_last_try; then
73346 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73347 else
73348 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73349 fi
73350 done
73351 rm -f conf$$subs.sh
73352
73353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73354 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73355 _ACEOF
73356 sed -n '
73357 h
73358 s/^/S["/; s/!.*/"]=/
73359 p
73360 g
73361 s/^[^!]*!//
73362 :repl
73363 t repl
73364 s/'"$ac_delim"'$//
73365 t delim
73366 :nl
73367 h
73368 s/\(.\{148\}\).*/\1/
73369 t more1
73370 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73371 p
73372 n
73373 b repl
73374 :more1
73375 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73376 p
73377 g
73378 s/.\{148\}//
73379 t nl
73380 :delim
73381 h
73382 s/\(.\{148\}\).*/\1/
73383 t more2
73384 s/["\\]/\\&/g; s/^/"/; s/$/"/
73385 p
73386 b
73387 :more2
73388 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73389 p
73390 g
73391 s/.\{148\}//
73392 t delim
73393 ' <conf$$subs.awk | sed '
73394 /^[^""]/{
73395 N
73396 s/\n//
73397 }
73398 ' >>$CONFIG_STATUS || ac_write_fail=1
73399 rm -f conf$$subs.awk
73400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73401 _ACAWK
73402 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73403 for (key in S) S_is_set[key] = 1
73404 FS = "\a"
73405
73406 }
73407 {
73408 line = $ 0
73409 nfields = split(line, field, "@")
73410 substed = 0
73411 len = length(field[1])
73412 for (i = 2; i < nfields; i++) {
73413 key = field[i]
73414 keylen = length(key)
73415 if (S_is_set[key]) {
73416 value = S[key]
73417 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73418 len += length(value) + length(field[++i])
73419 substed = 1
73420 } else
73421 len += 1 + keylen
73422 }
73423
73424 print line
73425 }
73426
73427 _ACAWK
73428 _ACEOF
73429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73430 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73431 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73432 else
73433 cat
73434 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73435 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73436 _ACEOF
73437
73438 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73439 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73440 # trailing colons and then remove the whole line if VPATH becomes empty
73441 # (actually we leave an empty line to preserve line numbers).
73442 if test "x$srcdir" = x.; then
73443 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73444 s/:*\$(srcdir):*/:/
73445 s/:*\${srcdir}:*/:/
73446 s/:*@srcdir@:*/:/
73447 s/^\([^=]*=[ ]*\):*/\1/
73448 s/:*$//
73449 s/^[^=]*=[ ]*$//
73450 }'
73451 fi
73452
73453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73454 fi # test -n "$CONFIG_FILES"
73455
73456 # Set up the scripts for CONFIG_HEADERS section.
73457 # No need to generate them if there are no CONFIG_HEADERS.
73458 # This happens for instance with `./config.status Makefile'.
73459 if test -n "$CONFIG_HEADERS"; then
73460 cat >"$tmp/defines.awk" <<\_ACAWK ||
73461 BEGIN {
73462 _ACEOF
73463
73464 # Transform confdefs.h into an awk script `defines.awk', embedded as
73465 # here-document in config.status, that substitutes the proper values into
73466 # config.h.in to produce config.h.
73467
73468 # Create a delimiter string that does not exist in confdefs.h, to ease
73469 # handling of long lines.
73470 ac_delim='%!_!# '
73471 for ac_last_try in false false :; do
73472 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73473 if test -z "$ac_t"; then
73474 break
73475 elif $ac_last_try; then
73476 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73477 else
73478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73479 fi
73480 done
73481
73482 # For the awk script, D is an array of macro values keyed by name,
73483 # likewise P contains macro parameters if any. Preserve backslash
73484 # newline sequences.
73485
73486 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73487 sed -n '
73488 s/.\{148\}/&'"$ac_delim"'/g
73489 t rset
73490 :rset
73491 s/^[ ]*#[ ]*define[ ][ ]*/ /
73492 t def
73493 d
73494 :def
73495 s/\\$//
73496 t bsnl
73497 s/["\\]/\\&/g
73498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73499 D["\1"]=" \3"/p
73500 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73501 d
73502 :bsnl
73503 s/["\\]/\\&/g
73504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73505 D["\1"]=" \3\\\\\\n"\\/p
73506 t cont
73507 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73508 t cont
73509 d
73510 :cont
73511 n
73512 s/.\{148\}/&'"$ac_delim"'/g
73513 t clear
73514 :clear
73515 s/\\$//
73516 t bsnlc
73517 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73518 d
73519 :bsnlc
73520 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73521 b cont
73522 ' <confdefs.h | sed '
73523 s/'"$ac_delim"'/"\\\
73524 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73525
73526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73527 for (key in D) D_is_set[key] = 1
73528 FS = "\a"
73529 }
73530 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73531 line = \$ 0
73532 split(line, arg, " ")
73533 if (arg[1] == "#") {
73534 defundef = arg[2]
73535 mac1 = arg[3]
73536 } else {
73537 defundef = substr(arg[1], 2)
73538 mac1 = arg[2]
73539 }
73540 split(mac1, mac2, "(") #)
73541 macro = mac2[1]
73542 prefix = substr(line, 1, index(line, defundef) - 1)
73543 if (D_is_set[macro]) {
73544 # Preserve the white space surrounding the "#".
73545 print prefix "define", macro P[macro] D[macro]
73546 next
73547 } else {
73548 # Replace #undef with comments. This is necessary, for example,
73549 # in the case of _POSIX_SOURCE, which is predefined and required
73550 # on some systems where configure will not decide to define it.
73551 if (defundef == "undef") {
73552 print "/*", prefix defundef, macro, "*/"
73553 next
73554 }
73555 }
73556 }
73557 { print }
73558 _ACAWK
73559 _ACEOF
73560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73561 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73562 fi # test -n "$CONFIG_HEADERS"
73563
73564
73565 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73566 shift
73567 for ac_tag
73568 do
73569 case $ac_tag in
73570 :[FHLC]) ac_mode=$ac_tag; continue;;
73571 esac
73572 case $ac_mode$ac_tag in
73573 :[FHL]*:*);;
73574 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73575 :[FH]-) ac_tag=-:-;;
73576 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73577 esac
73578 ac_save_IFS=$IFS
73579 IFS=:
73580 set x $ac_tag
73581 IFS=$ac_save_IFS
73582 shift
73583 ac_file=$1
73584 shift
73585
73586 case $ac_mode in
73587 :L) ac_source=$1;;
73588 :[FH])
73589 ac_file_inputs=
73590 for ac_f
73591 do
73592 case $ac_f in
73593 -) ac_f="$tmp/stdin";;
73594 *) # Look for the file first in the build tree, then in the source tree
73595 # (if the path is not absolute). The absolute path cannot be DOS-style,
73596 # because $ac_f cannot contain `:'.
73597 test -f "$ac_f" ||
73598 case $ac_f in
73599 [\\/$]*) false;;
73600 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73601 esac ||
73602 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73603 esac
73604 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73605 as_fn_append ac_file_inputs " '$ac_f'"
73606 done
73607
73608 # Let's still pretend it is `configure' which instantiates (i.e., don't
73609 # use $as_me), people would be surprised to read:
73610 # /* config.h. Generated by config.status. */
73611 configure_input='Generated from '`
73612 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73613 `' by configure.'
73614 if test x"$ac_file" != x-; then
73615 configure_input="$ac_file. $configure_input"
73616 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73617 $as_echo "$as_me: creating $ac_file" >&6;}
73618 fi
73619 # Neutralize special characters interpreted by sed in replacement strings.
73620 case $configure_input in #(
73621 *\&* | *\|* | *\\* )
73622 ac_sed_conf_input=`$as_echo "$configure_input" |
73623 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73624 *) ac_sed_conf_input=$configure_input;;
73625 esac
73626
73627 case $ac_tag in
73628 *:-:* | *:-) cat >"$tmp/stdin" \
73629 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73630 esac
73631 ;;
73632 esac
73633
73634 ac_dir=`$as_dirname -- "$ac_file" ||
73635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73636 X"$ac_file" : 'X\(//\)[^/]' \| \
73637 X"$ac_file" : 'X\(//\)$' \| \
73638 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73639 $as_echo X"$ac_file" |
73640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73641 s//\1/
73642 q
73643 }
73644 /^X\(\/\/\)[^/].*/{
73645 s//\1/
73646 q
73647 }
73648 /^X\(\/\/\)$/{
73649 s//\1/
73650 q
73651 }
73652 /^X\(\/\).*/{
73653 s//\1/
73654 q
73655 }
73656 s/.*/./; q'`
73657 as_dir="$ac_dir"; as_fn_mkdir_p
73658 ac_builddir=.
73659
73660 case "$ac_dir" in
73661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73662 *)
73663 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73664 # A ".." for each directory in $ac_dir_suffix.
73665 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73666 case $ac_top_builddir_sub in
73667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73669 esac ;;
73670 esac
73671 ac_abs_top_builddir=$ac_pwd
73672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73673 # for backward compatibility:
73674 ac_top_builddir=$ac_top_build_prefix
73675
73676 case $srcdir in
73677 .) # We are building in place.
73678 ac_srcdir=.
73679 ac_top_srcdir=$ac_top_builddir_sub
73680 ac_abs_top_srcdir=$ac_pwd ;;
73681 [\\/]* | ?:[\\/]* ) # Absolute name.
73682 ac_srcdir=$srcdir$ac_dir_suffix;
73683 ac_top_srcdir=$srcdir
73684 ac_abs_top_srcdir=$srcdir ;;
73685 *) # Relative name.
73686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73687 ac_top_srcdir=$ac_top_build_prefix$srcdir
73688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73689 esac
73690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73691
73692
73693 case $ac_mode in
73694 :F)
73695 #
73696 # CONFIG_FILE
73697 #
73698
73699 case $INSTALL in
73700 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73701 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73702 esac
73703 ac_MKDIR_P=$MKDIR_P
73704 case $MKDIR_P in
73705 [\\/$]* | ?:[\\/]* ) ;;
73706 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73707 esac
73708 _ACEOF
73709
73710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73711 # If the template does not know about datarootdir, expand it.
73712 # FIXME: This hack should be removed a few years after 2.60.
73713 ac_datarootdir_hack=; ac_datarootdir_seen=
73714 ac_sed_dataroot='
73715 /datarootdir/ {
73716 p
73717 q
73718 }
73719 /@datadir@/p
73720 /@docdir@/p
73721 /@infodir@/p
73722 /@localedir@/p
73723 /@mandir@/p'
73724 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73725 *datarootdir*) ac_datarootdir_seen=yes;;
73726 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73728 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73729 _ACEOF
73730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73731 ac_datarootdir_hack='
73732 s&@datadir@&$datadir&g
73733 s&@docdir@&$docdir&g
73734 s&@infodir@&$infodir&g
73735 s&@localedir@&$localedir&g
73736 s&@mandir@&$mandir&g
73737 s&\\\${datarootdir}&$datarootdir&g' ;;
73738 esac
73739 _ACEOF
73740
73741 # Neutralize VPATH when `$srcdir' = `.'.
73742 # Shell code in configure.ac might set extrasub.
73743 # FIXME: do we really want to maintain this feature?
73744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73745 ac_sed_extra="$ac_vpsub
73746 $extrasub
73747 _ACEOF
73748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73749 :t
73750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73751 s|@configure_input@|$ac_sed_conf_input|;t t
73752 s&@top_builddir@&$ac_top_builddir_sub&;t t
73753 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73754 s&@srcdir@&$ac_srcdir&;t t
73755 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73756 s&@top_srcdir@&$ac_top_srcdir&;t t
73757 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73758 s&@builddir@&$ac_builddir&;t t
73759 s&@abs_builddir@&$ac_abs_builddir&;t t
73760 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73761 s&@INSTALL@&$ac_INSTALL&;t t
73762 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73763 $ac_datarootdir_hack
73764 "
73765 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73766 || as_fn_error "could not create $ac_file" "$LINENO" 5
73767
73768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73769 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73772 which seems to be undefined. Please make sure it is defined." >&5
73773 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73774 which seems to be undefined. Please make sure it is defined." >&2;}
73775
73776 rm -f "$tmp/stdin"
73777 case $ac_file in
73778 -) cat "$tmp/out" && rm -f "$tmp/out";;
73779 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73780 esac \
73781 || as_fn_error "could not create $ac_file" "$LINENO" 5
73782 ;;
73783 :H)
73784 #
73785 # CONFIG_HEADER
73786 #
73787 if test x"$ac_file" != x-; then
73788 {
73789 $as_echo "/* $configure_input */" \
73790 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73791 } >"$tmp/config.h" \
73792 || as_fn_error "could not create $ac_file" "$LINENO" 5
73793 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73794 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73795 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73796 else
73797 rm -f "$ac_file"
73798 mv "$tmp/config.h" "$ac_file" \
73799 || as_fn_error "could not create $ac_file" "$LINENO" 5
73800 fi
73801 else
73802 $as_echo "/* $configure_input */" \
73803 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73804 || as_fn_error "could not create -" "$LINENO" 5
73805 fi
73806 # Compute "$ac_file"'s index in $config_headers.
73807 _am_arg="$ac_file"
73808 _am_stamp_count=1
73809 for _am_header in $config_headers :; do
73810 case $_am_header in
73811 $_am_arg | $_am_arg:* )
73812 break ;;
73813 * )
73814 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73815 esac
73816 done
73817 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73818 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73819 X"$_am_arg" : 'X\(//\)[^/]' \| \
73820 X"$_am_arg" : 'X\(//\)$' \| \
73821 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73822 $as_echo X"$_am_arg" |
73823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73824 s//\1/
73825 q
73826 }
73827 /^X\(\/\/\)[^/].*/{
73828 s//\1/
73829 q
73830 }
73831 /^X\(\/\/\)$/{
73832 s//\1/
73833 q
73834 }
73835 /^X\(\/\).*/{
73836 s//\1/
73837 q
73838 }
73839 s/.*/./; q'`/stamp-h$_am_stamp_count
73840 ;;
73841
73842 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73843 $as_echo "$as_me: executing $ac_file commands" >&6;}
73844 ;;
73845 esac
73846
73847
73848 case $ac_file$ac_mode in
73849 "default-1":C)
73850 # Only add multilib support code if we just rebuilt the top-level
73851 # Makefile.
73852 case " $CONFIG_FILES " in
73853 *" Makefile "*)
73854 ac_file=Makefile . ${multi_basedir}/config-ml.in
73855 ;;
73856 esac ;;
73857 "libtool":C)
73858
73859 # See if we are running on zsh, and set the options which allow our
73860 # commands through without removal of \ escapes.
73861 if test -n "${ZSH_VERSION+set}" ; then
73862 setopt NO_GLOB_SUBST
73863 fi
73864
73865 cfgfile="${ofile}T"
73866 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73867 $RM "$cfgfile"
73868
73869 cat <<_LT_EOF >> "$cfgfile"
73870 #! $SHELL
73871
73872 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73873 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73874 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73875 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73876 #
73877 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73878 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73879 # Written by Gordon Matzigkeit, 1996
73880 #
73881 # This file is part of GNU Libtool.
73882 #
73883 # GNU Libtool is free software; you can redistribute it and/or
73884 # modify it under the terms of the GNU General Public License as
73885 # published by the Free Software Foundation; either version 2 of
73886 # the License, or (at your option) any later version.
73887 #
73888 # As a special exception to the GNU General Public License,
73889 # if you distribute this file as part of a program or library that
73890 # is built using GNU Libtool, you may include this file under the
73891 # same distribution terms that you use for the rest of that program.
73892 #
73893 # GNU Libtool is distributed in the hope that it will be useful,
73894 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73895 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73896 # GNU General Public License for more details.
73897 #
73898 # You should have received a copy of the GNU General Public License
73899 # along with GNU Libtool; see the file COPYING. If not, a copy
73900 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73901 # obtained by writing to the Free Software Foundation, Inc.,
73902 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73903
73904
73905 # The names of the tagged configurations supported by this script.
73906 available_tags="CXX "
73907
73908 # ### BEGIN LIBTOOL CONFIG
73909
73910 # Which release of libtool.m4 was used?
73911 macro_version=$macro_version
73912 macro_revision=$macro_revision
73913
73914 # Whether or not to build shared libraries.
73915 build_libtool_libs=$enable_shared
73916
73917 # Whether or not to build static libraries.
73918 build_old_libs=$enable_static
73919
73920 # What type of objects to build.
73921 pic_mode=$pic_mode
73922
73923 # Whether or not to optimize for fast installation.
73924 fast_install=$enable_fast_install
73925
73926 # Shell to use when invoking shell scripts.
73927 SHELL=$lt_SHELL
73928
73929 # An echo program that protects backslashes.
73930 ECHO=$lt_ECHO
73931
73932 # The host system.
73933 host_alias=$host_alias
73934 host=$host
73935 host_os=$host_os
73936
73937 # The build system.
73938 build_alias=$build_alias
73939 build=$build
73940 build_os=$build_os
73941
73942 # A sed program that does not truncate output.
73943 SED=$lt_SED
73944
73945 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73946 Xsed="\$SED -e 1s/^X//"
73947
73948 # A grep program that handles long lines.
73949 GREP=$lt_GREP
73950
73951 # An ERE matcher.
73952 EGREP=$lt_EGREP
73953
73954 # A literal string matcher.
73955 FGREP=$lt_FGREP
73956
73957 # A BSD- or MS-compatible name lister.
73958 NM=$lt_NM
73959
73960 # Whether we need soft or hard links.
73961 LN_S=$lt_LN_S
73962
73963 # What is the maximum length of a command?
73964 max_cmd_len=$max_cmd_len
73965
73966 # Object file suffix (normally "o").
73967 objext=$ac_objext
73968
73969 # Executable file suffix (normally "").
73970 exeext=$exeext
73971
73972 # whether the shell understands "unset".
73973 lt_unset=$lt_unset
73974
73975 # turn spaces into newlines.
73976 SP2NL=$lt_lt_SP2NL
73977
73978 # turn newlines into spaces.
73979 NL2SP=$lt_lt_NL2SP
73980
73981 # An object symbol dumper.
73982 OBJDUMP=$lt_OBJDUMP
73983
73984 # Method to check whether dependent libraries are shared objects.
73985 deplibs_check_method=$lt_deplibs_check_method
73986
73987 # Command to use when deplibs_check_method == "file_magic".
73988 file_magic_cmd=$lt_file_magic_cmd
73989
73990 # The archiver.
73991 AR=$lt_AR
73992 AR_FLAGS=$lt_AR_FLAGS
73993
73994 # A symbol stripping program.
73995 STRIP=$lt_STRIP
73996
73997 # Commands used to install an old-style archive.
73998 RANLIB=$lt_RANLIB
73999 old_postinstall_cmds=$lt_old_postinstall_cmds
74000 old_postuninstall_cmds=$lt_old_postuninstall_cmds
74001
74002 # Whether to use a lock for old archive extraction.
74003 lock_old_archive_extraction=$lock_old_archive_extraction
74004
74005 # A C compiler.
74006 LTCC=$lt_CC
74007
74008 # LTCC compiler flags.
74009 LTCFLAGS=$lt_CFLAGS
74010
74011 # Take the output of nm and produce a listing of raw symbols and C names.
74012 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74013
74014 # Transform the output of nm in a proper C declaration.
74015 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74016
74017 # Transform the output of nm in a C name address pair.
74018 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74019
74020 # Transform the output of nm in a C name address pair when lib prefix is needed.
74021 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74022
74023 # The name of the directory that contains temporary libtool files.
74024 objdir=$objdir
74025
74026 # Used to examine libraries when file_magic_cmd begins with "file".
74027 MAGIC_CMD=$MAGIC_CMD
74028
74029 # Must we lock files when doing compilation?
74030 need_locks=$lt_need_locks
74031
74032 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74033 DSYMUTIL=$lt_DSYMUTIL
74034
74035 # Tool to change global to local symbols on Mac OS X.
74036 NMEDIT=$lt_NMEDIT
74037
74038 # Tool to manipulate fat objects and archives on Mac OS X.
74039 LIPO=$lt_LIPO
74040
74041 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74042 OTOOL=$lt_OTOOL
74043
74044 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74045 OTOOL64=$lt_OTOOL64
74046
74047 # Old archive suffix (normally "a").
74048 libext=$libext
74049
74050 # Shared library suffix (normally ".so").
74051 shrext_cmds=$lt_shrext_cmds
74052
74053 # The commands to extract the exported symbol list from a shared archive.
74054 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74055
74056 # Variables whose values should be saved in libtool wrapper scripts and
74057 # restored at link time.
74058 variables_saved_for_relink=$lt_variables_saved_for_relink
74059
74060 # Do we need the "lib" prefix for modules?
74061 need_lib_prefix=$need_lib_prefix
74062
74063 # Do we need a version for libraries?
74064 need_version=$need_version
74065
74066 # Library versioning type.
74067 version_type=$version_type
74068
74069 # Shared library runtime path variable.
74070 runpath_var=$runpath_var
74071
74072 # Shared library path variable.
74073 shlibpath_var=$shlibpath_var
74074
74075 # Is shlibpath searched before the hard-coded library search path?
74076 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74077
74078 # Format of library name prefix.
74079 libname_spec=$lt_libname_spec
74080
74081 # List of archive names. First name is the real one, the rest are links.
74082 # The last name is the one that the linker finds with -lNAME
74083 library_names_spec=$lt_library_names_spec
74084
74085 # The coded name of the library, if different from the real name.
74086 soname_spec=$lt_soname_spec
74087
74088 # Permission mode override for installation of shared libraries.
74089 install_override_mode=$lt_install_override_mode
74090
74091 # Command to use after installation of a shared archive.
74092 postinstall_cmds=$lt_postinstall_cmds
74093
74094 # Command to use after uninstallation of a shared archive.
74095 postuninstall_cmds=$lt_postuninstall_cmds
74096
74097 # Commands used to finish a libtool library installation in a directory.
74098 finish_cmds=$lt_finish_cmds
74099
74100 # As "finish_cmds", except a single script fragment to be evaled but
74101 # not shown.
74102 finish_eval=$lt_finish_eval
74103
74104 # Whether we should hardcode library paths into libraries.
74105 hardcode_into_libs=$hardcode_into_libs
74106
74107 # Compile-time system search path for libraries.
74108 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74109
74110 # Run-time system search path for libraries.
74111 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74112
74113 # Whether dlopen is supported.
74114 dlopen_support=$enable_dlopen
74115
74116 # Whether dlopen of programs is supported.
74117 dlopen_self=$enable_dlopen_self
74118
74119 # Whether dlopen of statically linked programs is supported.
74120 dlopen_self_static=$enable_dlopen_self_static
74121
74122 # Commands to strip libraries.
74123 old_striplib=$lt_old_striplib
74124 striplib=$lt_striplib
74125
74126
74127 # The linker used to build libraries.
74128 LD=$lt_LD
74129
74130 # How to create reloadable object files.
74131 reload_flag=$lt_reload_flag
74132 reload_cmds=$lt_reload_cmds
74133
74134 # Commands used to build an old-style archive.
74135 old_archive_cmds=$lt_old_archive_cmds
74136
74137 # A language specific compiler.
74138 CC=$lt_compiler
74139
74140 # Is the compiler the GNU compiler?
74141 with_gcc=$GCC
74142
74143 # Compiler flag to turn off builtin functions.
74144 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74145
74146 # How to pass a linker flag through the compiler.
74147 wl=$lt_lt_prog_compiler_wl
74148
74149 # Additional compiler flags for building library objects.
74150 pic_flag=$lt_lt_prog_compiler_pic
74151
74152 # Compiler flag to prevent dynamic linking.
74153 link_static_flag=$lt_lt_prog_compiler_static
74154
74155 # Does compiler simultaneously support -c and -o options?
74156 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74157
74158 # Whether or not to add -lc for building shared libraries.
74159 build_libtool_need_lc=$archive_cmds_need_lc
74160
74161 # Whether or not to disallow shared libs when runtime libs are static.
74162 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74163
74164 # Compiler flag to allow reflexive dlopens.
74165 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74166
74167 # Compiler flag to generate shared objects directly from archives.
74168 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74169
74170 # Whether the compiler copes with passing no objects directly.
74171 compiler_needs_object=$lt_compiler_needs_object
74172
74173 # Create an old-style archive from a shared archive.
74174 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74175
74176 # Create a temporary old-style archive to link instead of a shared archive.
74177 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74178
74179 # Commands used to build a shared archive.
74180 archive_cmds=$lt_archive_cmds
74181 archive_expsym_cmds=$lt_archive_expsym_cmds
74182
74183 # Commands used to build a loadable module if different from building
74184 # a shared archive.
74185 module_cmds=$lt_module_cmds
74186 module_expsym_cmds=$lt_module_expsym_cmds
74187
74188 # Whether we are building with GNU ld or not.
74189 with_gnu_ld=$lt_with_gnu_ld
74190
74191 # Flag that allows shared libraries with undefined symbols to be built.
74192 allow_undefined_flag=$lt_allow_undefined_flag
74193
74194 # Flag that enforces no undefined symbols.
74195 no_undefined_flag=$lt_no_undefined_flag
74196
74197 # Flag to hardcode \$libdir into a binary during linking.
74198 # This must work even if \$libdir does not exist
74199 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74200
74201 # If ld is used when linking, flag to hardcode \$libdir into a binary
74202 # during linking. This must work even if \$libdir does not exist.
74203 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74204
74205 # Whether we need a single "-rpath" flag with a separated argument.
74206 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74207
74208 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74209 # DIR into the resulting binary.
74210 hardcode_direct=$hardcode_direct
74211
74212 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74213 # DIR into the resulting binary and the resulting library dependency is
74214 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74215 # library is relocated.
74216 hardcode_direct_absolute=$hardcode_direct_absolute
74217
74218 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74219 # into the resulting binary.
74220 hardcode_minus_L=$hardcode_minus_L
74221
74222 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74223 # into the resulting binary.
74224 hardcode_shlibpath_var=$hardcode_shlibpath_var
74225
74226 # Set to "yes" if building a shared library automatically hardcodes DIR
74227 # into the library and all subsequent libraries and executables linked
74228 # against it.
74229 hardcode_automatic=$hardcode_automatic
74230
74231 # Set to yes if linker adds runtime paths of dependent libraries
74232 # to runtime path list.
74233 inherit_rpath=$inherit_rpath
74234
74235 # Whether libtool must link a program against all its dependency libraries.
74236 link_all_deplibs=$link_all_deplibs
74237
74238 # Fix the shell variable \$srcfile for the compiler.
74239 fix_srcfile_path=$lt_fix_srcfile_path
74240
74241 # Set to "yes" if exported symbols are required.
74242 always_export_symbols=$always_export_symbols
74243
74244 # The commands to list exported symbols.
74245 export_symbols_cmds=$lt_export_symbols_cmds
74246
74247 # Symbols that should not be listed in the preloaded symbols.
74248 exclude_expsyms=$lt_exclude_expsyms
74249
74250 # Symbols that must always be exported.
74251 include_expsyms=$lt_include_expsyms
74252
74253 # Commands necessary for linking programs (against libraries) with templates.
74254 prelink_cmds=$lt_prelink_cmds
74255
74256 # Specify filename containing input files.
74257 file_list_spec=$lt_file_list_spec
74258
74259 # How to hardcode a shared library path into an executable.
74260 hardcode_action=$hardcode_action
74261
74262 # The directories searched by this compiler when creating a shared library.
74263 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74264
74265 # Dependencies to place before and after the objects being linked to
74266 # create a shared library.
74267 predep_objects=$lt_predep_objects
74268 postdep_objects=$lt_postdep_objects
74269 predeps=$lt_predeps
74270 postdeps=$lt_postdeps
74271
74272 # The library search path used internally by the compiler when linking
74273 # a shared library.
74274 compiler_lib_search_path=$lt_compiler_lib_search_path
74275
74276 # ### END LIBTOOL CONFIG
74277
74278 _LT_EOF
74279
74280 case $host_os in
74281 aix3*)
74282 cat <<\_LT_EOF >> "$cfgfile"
74283 # AIX sometimes has problems with the GCC collect2 program. For some
74284 # reason, if we set the COLLECT_NAMES environment variable, the problems
74285 # vanish in a puff of smoke.
74286 if test "X${COLLECT_NAMES+set}" != Xset; then
74287 COLLECT_NAMES=
74288 export COLLECT_NAMES
74289 fi
74290 _LT_EOF
74291 ;;
74292 esac
74293
74294
74295 ltmain="$ac_aux_dir/ltmain.sh"
74296
74297
74298 # We use sed instead of cat because bash on DJGPP gets confused if
74299 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74300 # text mode, it properly converts lines to CR/LF. This bash problem
74301 # is reportedly fixed, but why not run on old versions too?
74302 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74303 || (rm -f "$cfgfile"; exit 1)
74304
74305 case $xsi_shell in
74306 yes)
74307 cat << \_LT_EOF >> "$cfgfile"
74308
74309 # func_dirname file append nondir_replacement
74310 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74311 # otherwise set result to NONDIR_REPLACEMENT.
74312 func_dirname ()
74313 {
74314 case ${1} in
74315 */*) func_dirname_result="${1%/*}${2}" ;;
74316 * ) func_dirname_result="${3}" ;;
74317 esac
74318 }
74319
74320 # func_basename file
74321 func_basename ()
74322 {
74323 func_basename_result="${1##*/}"
74324 }
74325
74326 # func_dirname_and_basename file append nondir_replacement
74327 # perform func_basename and func_dirname in a single function
74328 # call:
74329 # dirname: Compute the dirname of FILE. If nonempty,
74330 # add APPEND to the result, otherwise set result
74331 # to NONDIR_REPLACEMENT.
74332 # value returned in "$func_dirname_result"
74333 # basename: Compute filename of FILE.
74334 # value retuned in "$func_basename_result"
74335 # Implementation must be kept synchronized with func_dirname
74336 # and func_basename. For efficiency, we do not delegate to
74337 # those functions but instead duplicate the functionality here.
74338 func_dirname_and_basename ()
74339 {
74340 case ${1} in
74341 */*) func_dirname_result="${1%/*}${2}" ;;
74342 * ) func_dirname_result="${3}" ;;
74343 esac
74344 func_basename_result="${1##*/}"
74345 }
74346
74347 # func_stripname prefix suffix name
74348 # strip PREFIX and SUFFIX off of NAME.
74349 # PREFIX and SUFFIX must not contain globbing or regex special
74350 # characters, hashes, percent signs, but SUFFIX may contain a leading
74351 # dot (in which case that matches only a dot).
74352 func_stripname ()
74353 {
74354 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74355 # positional parameters, so assign one to ordinary parameter first.
74356 func_stripname_result=${3}
74357 func_stripname_result=${func_stripname_result#"${1}"}
74358 func_stripname_result=${func_stripname_result%"${2}"}
74359 }
74360
74361 # func_opt_split
74362 func_opt_split ()
74363 {
74364 func_opt_split_opt=${1%%=*}
74365 func_opt_split_arg=${1#*=}
74366 }
74367
74368 # func_lo2o object
74369 func_lo2o ()
74370 {
74371 case ${1} in
74372 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74373 *) func_lo2o_result=${1} ;;
74374 esac
74375 }
74376
74377 # func_xform libobj-or-source
74378 func_xform ()
74379 {
74380 func_xform_result=${1%.*}.lo
74381 }
74382
74383 # func_arith arithmetic-term...
74384 func_arith ()
74385 {
74386 func_arith_result=$(( $* ))
74387 }
74388
74389 # func_len string
74390 # STRING may not start with a hyphen.
74391 func_len ()
74392 {
74393 func_len_result=${#1}
74394 }
74395
74396 _LT_EOF
74397 ;;
74398 *) # Bourne compatible functions.
74399 cat << \_LT_EOF >> "$cfgfile"
74400
74401 # func_dirname file append nondir_replacement
74402 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74403 # otherwise set result to NONDIR_REPLACEMENT.
74404 func_dirname ()
74405 {
74406 # Extract subdirectory from the argument.
74407 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74408 if test "X$func_dirname_result" = "X${1}"; then
74409 func_dirname_result="${3}"
74410 else
74411 func_dirname_result="$func_dirname_result${2}"
74412 fi
74413 }
74414
74415 # func_basename file
74416 func_basename ()
74417 {
74418 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74419 }
74420
74421
74422 # func_stripname prefix suffix name
74423 # strip PREFIX and SUFFIX off of NAME.
74424 # PREFIX and SUFFIX must not contain globbing or regex special
74425 # characters, hashes, percent signs, but SUFFIX may contain a leading
74426 # dot (in which case that matches only a dot).
74427 # func_strip_suffix prefix name
74428 func_stripname ()
74429 {
74430 case ${2} in
74431 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74432 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74433 esac
74434 }
74435
74436 # sed scripts:
74437 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74438 my_sed_long_arg='1s/^-[^=]*=//'
74439
74440 # func_opt_split
74441 func_opt_split ()
74442 {
74443 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74444 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74445 }
74446
74447 # func_lo2o object
74448 func_lo2o ()
74449 {
74450 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74451 }
74452
74453 # func_xform libobj-or-source
74454 func_xform ()
74455 {
74456 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74457 }
74458
74459 # func_arith arithmetic-term...
74460 func_arith ()
74461 {
74462 func_arith_result=`expr "$@"`
74463 }
74464
74465 # func_len string
74466 # STRING may not start with a hyphen.
74467 func_len ()
74468 {
74469 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74470 }
74471
74472 _LT_EOF
74473 esac
74474
74475 case $lt_shell_append in
74476 yes)
74477 cat << \_LT_EOF >> "$cfgfile"
74478
74479 # func_append var value
74480 # Append VALUE to the end of shell variable VAR.
74481 func_append ()
74482 {
74483 eval "$1+=\$2"
74484 }
74485 _LT_EOF
74486 ;;
74487 *)
74488 cat << \_LT_EOF >> "$cfgfile"
74489
74490 # func_append var value
74491 # Append VALUE to the end of shell variable VAR.
74492 func_append ()
74493 {
74494 eval "$1=\$$1\$2"
74495 }
74496
74497 _LT_EOF
74498 ;;
74499 esac
74500
74501
74502 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74503 || (rm -f "$cfgfile"; exit 1)
74504
74505 mv -f "$cfgfile" "$ofile" ||
74506 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74507 chmod +x "$ofile"
74508
74509
74510 cat <<_LT_EOF >> "$ofile"
74511
74512 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74513
74514 # The linker used to build libraries.
74515 LD=$lt_LD_CXX
74516
74517 # How to create reloadable object files.
74518 reload_flag=$lt_reload_flag_CXX
74519 reload_cmds=$lt_reload_cmds_CXX
74520
74521 # Commands used to build an old-style archive.
74522 old_archive_cmds=$lt_old_archive_cmds_CXX
74523
74524 # A language specific compiler.
74525 CC=$lt_compiler_CXX
74526
74527 # Is the compiler the GNU compiler?
74528 with_gcc=$GCC_CXX
74529
74530 # Compiler flag to turn off builtin functions.
74531 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74532
74533 # How to pass a linker flag through the compiler.
74534 wl=$lt_lt_prog_compiler_wl_CXX
74535
74536 # Additional compiler flags for building library objects.
74537 pic_flag=$lt_lt_prog_compiler_pic_CXX
74538
74539 # Compiler flag to prevent dynamic linking.
74540 link_static_flag=$lt_lt_prog_compiler_static_CXX
74541
74542 # Does compiler simultaneously support -c and -o options?
74543 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74544
74545 # Whether or not to add -lc for building shared libraries.
74546 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74547
74548 # Whether or not to disallow shared libs when runtime libs are static.
74549 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74550
74551 # Compiler flag to allow reflexive dlopens.
74552 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74553
74554 # Compiler flag to generate shared objects directly from archives.
74555 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74556
74557 # Whether the compiler copes with passing no objects directly.
74558 compiler_needs_object=$lt_compiler_needs_object_CXX
74559
74560 # Create an old-style archive from a shared archive.
74561 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74562
74563 # Create a temporary old-style archive to link instead of a shared archive.
74564 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74565
74566 # Commands used to build a shared archive.
74567 archive_cmds=$lt_archive_cmds_CXX
74568 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74569
74570 # Commands used to build a loadable module if different from building
74571 # a shared archive.
74572 module_cmds=$lt_module_cmds_CXX
74573 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74574
74575 # Whether we are building with GNU ld or not.
74576 with_gnu_ld=$lt_with_gnu_ld_CXX
74577
74578 # Flag that allows shared libraries with undefined symbols to be built.
74579 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74580
74581 # Flag that enforces no undefined symbols.
74582 no_undefined_flag=$lt_no_undefined_flag_CXX
74583
74584 # Flag to hardcode \$libdir into a binary during linking.
74585 # This must work even if \$libdir does not exist
74586 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74587
74588 # If ld is used when linking, flag to hardcode \$libdir into a binary
74589 # during linking. This must work even if \$libdir does not exist.
74590 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74591
74592 # Whether we need a single "-rpath" flag with a separated argument.
74593 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74594
74595 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74596 # DIR into the resulting binary.
74597 hardcode_direct=$hardcode_direct_CXX
74598
74599 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74600 # DIR into the resulting binary and the resulting library dependency is
74601 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74602 # library is relocated.
74603 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74604
74605 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74606 # into the resulting binary.
74607 hardcode_minus_L=$hardcode_minus_L_CXX
74608
74609 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74610 # into the resulting binary.
74611 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74612
74613 # Set to "yes" if building a shared library automatically hardcodes DIR
74614 # into the library and all subsequent libraries and executables linked
74615 # against it.
74616 hardcode_automatic=$hardcode_automatic_CXX
74617
74618 # Set to yes if linker adds runtime paths of dependent libraries
74619 # to runtime path list.
74620 inherit_rpath=$inherit_rpath_CXX
74621
74622 # Whether libtool must link a program against all its dependency libraries.
74623 link_all_deplibs=$link_all_deplibs_CXX
74624
74625 # Fix the shell variable \$srcfile for the compiler.
74626 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74627
74628 # Set to "yes" if exported symbols are required.
74629 always_export_symbols=$always_export_symbols_CXX
74630
74631 # The commands to list exported symbols.
74632 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74633
74634 # Symbols that should not be listed in the preloaded symbols.
74635 exclude_expsyms=$lt_exclude_expsyms_CXX
74636
74637 # Symbols that must always be exported.
74638 include_expsyms=$lt_include_expsyms_CXX
74639
74640 # Commands necessary for linking programs (against libraries) with templates.
74641 prelink_cmds=$lt_prelink_cmds_CXX
74642
74643 # Specify filename containing input files.
74644 file_list_spec=$lt_file_list_spec_CXX
74645
74646 # How to hardcode a shared library path into an executable.
74647 hardcode_action=$hardcode_action_CXX
74648
74649 # The directories searched by this compiler when creating a shared library.
74650 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74651
74652 # Dependencies to place before and after the objects being linked to
74653 # create a shared library.
74654 predep_objects=$lt_predep_objects_CXX
74655 postdep_objects=$lt_postdep_objects_CXX
74656 predeps=$lt_predeps_CXX
74657 postdeps=$lt_postdeps_CXX
74658
74659 # The library search path used internally by the compiler when linking
74660 # a shared library.
74661 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74662
74663 # ### END LIBTOOL TAG CONFIG: CXX
74664 _LT_EOF
74665
74666 ;;
74667 "include/gstdint.h":C)
74668 if test "$GCC" = yes; then
74669 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74670 else
74671 echo "/* generated for $CC */" > tmp-stdint.h
74672 fi
74673
74674 sed 's/^ *//' >> tmp-stdint.h <<EOF
74675
74676 #ifndef GCC_GENERATED_STDINT_H
74677 #define GCC_GENERATED_STDINT_H 1
74678
74679 #include <sys/types.h>
74680 EOF
74681
74682 if test "$acx_cv_header_stdint" != stdint.h; then
74683 echo "#include <stddef.h>" >> tmp-stdint.h
74684 fi
74685 if test "$acx_cv_header_stdint" != stddef.h; then
74686 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74687 fi
74688
74689 sed 's/^ *//' >> tmp-stdint.h <<EOF
74690 /* glibc uses these symbols as guards to prevent redefinitions. */
74691 #ifdef __int8_t_defined
74692 #define _INT8_T
74693 #define _INT16_T
74694 #define _INT32_T
74695 #endif
74696 #ifdef __uint32_t_defined
74697 #define _UINT32_T
74698 #endif
74699
74700 EOF
74701
74702 # ----------------- done header, emit basic int types -------------
74703 if test "$acx_cv_header_stdint" = stddef.h; then
74704 sed 's/^ *//' >> tmp-stdint.h <<EOF
74705
74706 #ifndef _UINT8_T
74707 #define _UINT8_T
74708 #ifndef __uint8_t_defined
74709 #define __uint8_t_defined
74710 #ifndef uint8_t
74711 typedef unsigned $acx_cv_type_int8_t uint8_t;
74712 #endif
74713 #endif
74714 #endif
74715
74716 #ifndef _UINT16_T
74717 #define _UINT16_T
74718 #ifndef __uint16_t_defined
74719 #define __uint16_t_defined
74720 #ifndef uint16_t
74721 typedef unsigned $acx_cv_type_int16_t uint16_t;
74722 #endif
74723 #endif
74724 #endif
74725
74726 #ifndef _UINT32_T
74727 #define _UINT32_T
74728 #ifndef __uint32_t_defined
74729 #define __uint32_t_defined
74730 #ifndef uint32_t
74731 typedef unsigned $acx_cv_type_int32_t uint32_t;
74732 #endif
74733 #endif
74734 #endif
74735
74736 #ifndef _INT8_T
74737 #define _INT8_T
74738 #ifndef __int8_t_defined
74739 #define __int8_t_defined
74740 #ifndef int8_t
74741 typedef $acx_cv_type_int8_t int8_t;
74742 #endif
74743 #endif
74744 #endif
74745
74746 #ifndef _INT16_T
74747 #define _INT16_T
74748 #ifndef __int16_t_defined
74749 #define __int16_t_defined
74750 #ifndef int16_t
74751 typedef $acx_cv_type_int16_t int16_t;
74752 #endif
74753 #endif
74754 #endif
74755
74756 #ifndef _INT32_T
74757 #define _INT32_T
74758 #ifndef __int32_t_defined
74759 #define __int32_t_defined
74760 #ifndef int32_t
74761 typedef $acx_cv_type_int32_t int32_t;
74762 #endif
74763 #endif
74764 #endif
74765 EOF
74766 elif test "$ac_cv_type_u_int32_t" = yes; then
74767 sed 's/^ *//' >> tmp-stdint.h <<EOF
74768
74769 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74770 #ifndef _INT8_T
74771 #define _INT8_T
74772 #endif
74773 #ifndef _INT16_T
74774 #define _INT16_T
74775 #endif
74776 #ifndef _INT32_T
74777 #define _INT32_T
74778 #endif
74779
74780 #ifndef _UINT8_T
74781 #define _UINT8_T
74782 #ifndef __uint8_t_defined
74783 #define __uint8_t_defined
74784 #ifndef uint8_t
74785 typedef u_int8_t uint8_t;
74786 #endif
74787 #endif
74788 #endif
74789
74790 #ifndef _UINT16_T
74791 #define _UINT16_T
74792 #ifndef __uint16_t_defined
74793 #define __uint16_t_defined
74794 #ifndef uint16_t
74795 typedef u_int16_t uint16_t;
74796 #endif
74797 #endif
74798 #endif
74799
74800 #ifndef _UINT32_T
74801 #define _UINT32_T
74802 #ifndef __uint32_t_defined
74803 #define __uint32_t_defined
74804 #ifndef uint32_t
74805 typedef u_int32_t uint32_t;
74806 #endif
74807 #endif
74808 #endif
74809 EOF
74810 else
74811 sed 's/^ *//' >> tmp-stdint.h <<EOF
74812
74813 /* Some systems have guard macros to prevent redefinitions, define them. */
74814 #ifndef _INT8_T
74815 #define _INT8_T
74816 #endif
74817 #ifndef _INT16_T
74818 #define _INT16_T
74819 #endif
74820 #ifndef _INT32_T
74821 #define _INT32_T
74822 #endif
74823 #ifndef _UINT8_T
74824 #define _UINT8_T
74825 #endif
74826 #ifndef _UINT16_T
74827 #define _UINT16_T
74828 #endif
74829 #ifndef _UINT32_T
74830 #define _UINT32_T
74831 #endif
74832 EOF
74833 fi
74834
74835 # ------------- done basic int types, emit int64_t types ------------
74836 if test "$ac_cv_type_uint64_t" = yes; then
74837 sed 's/^ *//' >> tmp-stdint.h <<EOF
74838
74839 /* system headers have good uint64_t and int64_t */
74840 #ifndef _INT64_T
74841 #define _INT64_T
74842 #endif
74843 #ifndef _UINT64_T
74844 #define _UINT64_T
74845 #endif
74846 EOF
74847 elif test "$ac_cv_type_u_int64_t" = yes; then
74848 sed 's/^ *//' >> tmp-stdint.h <<EOF
74849
74850 /* system headers have an u_int64_t (and int64_t) */
74851 #ifndef _INT64_T
74852 #define _INT64_T
74853 #endif
74854 #ifndef _UINT64_T
74855 #define _UINT64_T
74856 #ifndef __uint64_t_defined
74857 #define __uint64_t_defined
74858 #ifndef uint64_t
74859 typedef u_int64_t uint64_t;
74860 #endif
74861 #endif
74862 #endif
74863 EOF
74864 elif test -n "$acx_cv_type_int64_t"; then
74865 sed 's/^ *//' >> tmp-stdint.h <<EOF
74866
74867 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74868 #ifndef _INT64_T
74869 #define _INT64_T
74870 #ifndef int64_t
74871 typedef $acx_cv_type_int64_t int64_t;
74872 #endif
74873 #endif
74874 #ifndef _UINT64_T
74875 #define _UINT64_T
74876 #ifndef __uint64_t_defined
74877 #define __uint64_t_defined
74878 #ifndef uint64_t
74879 typedef unsigned $acx_cv_type_int64_t uint64_t;
74880 #endif
74881 #endif
74882 #endif
74883 EOF
74884 else
74885 sed 's/^ *//' >> tmp-stdint.h <<EOF
74886
74887 /* some common heuristics for int64_t, using compiler-specific tests */
74888 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74889 #ifndef _INT64_T
74890 #define _INT64_T
74891 #ifndef __int64_t_defined
74892 #ifndef int64_t
74893 typedef long long int64_t;
74894 #endif
74895 #endif
74896 #endif
74897 #ifndef _UINT64_T
74898 #define _UINT64_T
74899 #ifndef uint64_t
74900 typedef unsigned long long uint64_t;
74901 #endif
74902 #endif
74903
74904 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74905 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74906 does not implement __extension__. But that compiler doesn't define
74907 __GNUC_MINOR__. */
74908 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74909 # define __extension__
74910 # endif
74911
74912 # ifndef _INT64_T
74913 # define _INT64_T
74914 # ifndef int64_t
74915 __extension__ typedef long long int64_t;
74916 # endif
74917 # endif
74918 # ifndef _UINT64_T
74919 # define _UINT64_T
74920 # ifndef uint64_t
74921 __extension__ typedef unsigned long long uint64_t;
74922 # endif
74923 # endif
74924
74925 #elif !defined __STRICT_ANSI__
74926 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74927
74928 # ifndef _INT64_T
74929 # define _INT64_T
74930 # ifndef int64_t
74931 typedef __int64 int64_t;
74932 # endif
74933 # endif
74934 # ifndef _UINT64_T
74935 # define _UINT64_T
74936 # ifndef uint64_t
74937 typedef unsigned __int64 uint64_t;
74938 # endif
74939 # endif
74940 # endif /* compiler */
74941
74942 #endif /* ANSI version */
74943 EOF
74944 fi
74945
74946 # ------------- done int64_t types, emit intptr types ------------
74947 if test "$ac_cv_type_uintptr_t" != yes; then
74948 sed 's/^ *//' >> tmp-stdint.h <<EOF
74949
74950 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74951 #ifndef __uintptr_t_defined
74952 #ifndef uintptr_t
74953 typedef u$acx_cv_type_intptr_t uintptr_t;
74954 #endif
74955 #endif
74956 #ifndef __intptr_t_defined
74957 #ifndef intptr_t
74958 typedef $acx_cv_type_intptr_t intptr_t;
74959 #endif
74960 #endif
74961 EOF
74962 fi
74963
74964 # ------------- done intptr types, emit int_least types ------------
74965 if test "$ac_cv_type_int_least32_t" != yes; then
74966 sed 's/^ *//' >> tmp-stdint.h <<EOF
74967
74968 /* Define int_least types */
74969 typedef int8_t int_least8_t;
74970 typedef int16_t int_least16_t;
74971 typedef int32_t int_least32_t;
74972 #ifdef _INT64_T
74973 typedef int64_t int_least64_t;
74974 #endif
74975
74976 typedef uint8_t uint_least8_t;
74977 typedef uint16_t uint_least16_t;
74978 typedef uint32_t uint_least32_t;
74979 #ifdef _UINT64_T
74980 typedef uint64_t uint_least64_t;
74981 #endif
74982 EOF
74983 fi
74984
74985 # ------------- done intptr types, emit int_fast types ------------
74986 if test "$ac_cv_type_int_fast32_t" != yes; then
74987 sed 's/^ *//' >> tmp-stdint.h <<EOF
74988
74989 /* Define int_fast types. short is often slow */
74990 typedef int8_t int_fast8_t;
74991 typedef int int_fast16_t;
74992 typedef int32_t int_fast32_t;
74993 #ifdef _INT64_T
74994 typedef int64_t int_fast64_t;
74995 #endif
74996
74997 typedef uint8_t uint_fast8_t;
74998 typedef unsigned int uint_fast16_t;
74999 typedef uint32_t uint_fast32_t;
75000 #ifdef _UINT64_T
75001 typedef uint64_t uint_fast64_t;
75002 #endif
75003 EOF
75004 fi
75005
75006 if test "$ac_cv_type_uintmax_t" != yes; then
75007 sed 's/^ *//' >> tmp-stdint.h <<EOF
75008
75009 /* Define intmax based on what we found */
75010 #ifndef intmax_t
75011 #ifdef _INT64_T
75012 typedef int64_t intmax_t;
75013 #else
75014 typedef long intmax_t;
75015 #endif
75016 #endif
75017 #ifndef uintmax_t
75018 #ifdef _UINT64_T
75019 typedef uint64_t uintmax_t;
75020 #else
75021 typedef unsigned long uintmax_t;
75022 #endif
75023 #endif
75024 EOF
75025 fi
75026
75027 sed 's/^ *//' >> tmp-stdint.h <<EOF
75028
75029 #endif /* GCC_GENERATED_STDINT_H */
75030 EOF
75031
75032 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75033 rm -f tmp-stdint.h
75034 else
75035 mv -f tmp-stdint.h include/gstdint.h
75036 fi
75037
75038 ;;
75039 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75040 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75041 "include/Makefile":F) cat > vpsed$$ << \_EOF
75042 s!`test -f '$<' || echo '$(srcdir)/'`!!
75043 _EOF
75044 sed -f vpsed$$ $ac_file > tmp$$
75045 mv tmp$$ $ac_file
75046 rm vpsed$$
75047 echo 'MULTISUBDIR =' >> $ac_file
75048 ml_norecursion=yes
75049 . ${multi_basedir}/config-ml.in
75050 { ml_norecursion=; unset ml_norecursion;}
75051 ;;
75052 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75053 s!`test -f '$<' || echo '$(srcdir)/'`!!
75054 _EOF
75055 sed -f vpsed$$ $ac_file > tmp$$
75056 mv tmp$$ $ac_file
75057 rm vpsed$$
75058 echo 'MULTISUBDIR =' >> $ac_file
75059 ml_norecursion=yes
75060 . ${multi_basedir}/config-ml.in
75061 { ml_norecursion=; unset ml_norecursion;}
75062 ;;
75063 "python/Makefile":F) cat > vpsed$$ << \_EOF
75064 s!`test -f '$<' || echo '$(srcdir)/'`!!
75065 _EOF
75066 sed -f vpsed$$ $ac_file > tmp$$
75067 mv tmp$$ $ac_file
75068 rm vpsed$$
75069 echo 'MULTISUBDIR =' >> $ac_file
75070 ml_norecursion=yes
75071 . ${multi_basedir}/config-ml.in
75072 { ml_norecursion=; unset ml_norecursion;}
75073 ;;
75074 "src/Makefile":F) cat > vpsed$$ << \_EOF
75075 s!`test -f '$<' || echo '$(srcdir)/'`!!
75076 _EOF
75077 sed -f vpsed$$ $ac_file > tmp$$
75078 mv tmp$$ $ac_file
75079 rm vpsed$$
75080 echo 'MULTISUBDIR =' >> $ac_file
75081 ml_norecursion=yes
75082 . ${multi_basedir}/config-ml.in
75083 { ml_norecursion=; unset ml_norecursion;}
75084 ;;
75085 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75086 s!`test -f '$<' || echo '$(srcdir)/'`!!
75087 _EOF
75088 sed -f vpsed$$ $ac_file > tmp$$
75089 mv tmp$$ $ac_file
75090 rm vpsed$$
75091 echo 'MULTISUBDIR =' >> $ac_file
75092 ml_norecursion=yes
75093 . ${multi_basedir}/config-ml.in
75094 { ml_norecursion=; unset ml_norecursion;}
75095 ;;
75096 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75097 s!`test -f '$<' || echo '$(srcdir)/'`!!
75098 _EOF
75099 sed -f vpsed$$ $ac_file > tmp$$
75100 mv tmp$$ $ac_file
75101 rm vpsed$$
75102 echo 'MULTISUBDIR =' >> $ac_file
75103 ml_norecursion=yes
75104 . ${multi_basedir}/config-ml.in
75105 { ml_norecursion=; unset ml_norecursion;}
75106 ;;
75107 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75108 s!`test -f '$<' || echo '$(srcdir)/'`!!
75109 _EOF
75110 sed -f vpsed$$ $ac_file > tmp$$
75111 mv tmp$$ $ac_file
75112 rm vpsed$$
75113 echo 'MULTISUBDIR =' >> $ac_file
75114 ml_norecursion=yes
75115 . ${multi_basedir}/config-ml.in
75116 { ml_norecursion=; unset ml_norecursion;}
75117 ;;
75118 "po/Makefile":F) cat > vpsed$$ << \_EOF
75119 s!`test -f '$<' || echo '$(srcdir)/'`!!
75120 _EOF
75121 sed -f vpsed$$ $ac_file > tmp$$
75122 mv tmp$$ $ac_file
75123 rm vpsed$$
75124 echo 'MULTISUBDIR =' >> $ac_file
75125 ml_norecursion=yes
75126 . ${multi_basedir}/config-ml.in
75127 { ml_norecursion=; unset ml_norecursion;}
75128 ;;
75129 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75130 s!`test -f '$<' || echo '$(srcdir)/'`!!
75131 _EOF
75132 sed -f vpsed$$ $ac_file > tmp$$
75133 mv tmp$$ $ac_file
75134 rm vpsed$$
75135 echo 'MULTISUBDIR =' >> $ac_file
75136 ml_norecursion=yes
75137 . ${multi_basedir}/config-ml.in
75138 { ml_norecursion=; unset ml_norecursion;}
75139 ;;
75140 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75141
75142 esac
75143 done # for ac_tag
75144
75145
75146 as_fn_exit 0
75147 _ACEOF
75148 ac_clean_files=$ac_clean_files_save
75149
75150 test $ac_write_fail = 0 ||
75151 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75152
75153
75154 # configure is writing to config.log, and then calls config.status.
75155 # config.status does its own redirection, appending to config.log.
75156 # Unfortunately, on DOS this fails, as config.log is still kept open
75157 # by configure, so config.status won't be able to write to it; its
75158 # output is simply discarded. So we exec the FD to /dev/null,
75159 # effectively closing config.log, so it can be properly (re)opened and
75160 # appended to by config.status. When coming back to configure, we
75161 # need to make the FD available again.
75162 if test "$no_create" != yes; then
75163 ac_cs_success=:
75164 ac_config_status_args=
75165 test "$silent" = yes &&
75166 ac_config_status_args="$ac_config_status_args --quiet"
75167 exec 5>/dev/null
75168 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75169 exec 5>>config.log
75170 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75171 # would make configure fail if this is the last instruction.
75172 $ac_cs_success || as_fn_exit $?
75173 fi
75174 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75176 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75177 fi
75178